* Re: Device driver question
[not found] <4h2o1k$89t@hernmaster.us.newbridge.com>
@ 1996-03-04 5:00 ` Mark Parenti
0 siblings, 0 replies; 3+ messages in thread
From: Mark Parenti @ 1996-03-04 5:00 UTC (permalink / raw)
There is a release note dealing with this problem and a workaround is
provided. You need to edit the kernel makefile to have it generate the
correct .mod. It should then load correctly.
Mark Parenti
Digital Equipement Corporation
In article <4h2o1k$89t@hernmaster.us.newbridge.com>, cmoffitt@Newbridge.COM (Curtis Moffitt) writes:
|>2) I experimented with ld to try and produce a none.mod file. I used
|>this:
|>
|>ld -r -d -o none.mod none.oA
|>
|>It seemed to work, however, when I followed the rest of the README
|>instructions on how to load the driver, it failed. After trying to
|>run the 'sysconfig -c none' command, it gave me the following error:
|>
|>framework error: loading/unloading subsystem
|>
|>My question is, why is it failing? Why would it give this error?
|>and, is there any way to find out some more details about what failed
|>other than this brief error message? Any info would be appreciated.
|>
|>Thanks,
|>Curt
|>
|>--
|>+-----------------------------------------+----------------------------------+
|>| Curt Moffitt - Software Engineer | VIVID - VIdeo Voice Image Data |
|>| email: cmoffitt@newbridge.com | |
|>| Research & Development - VIVID group | "ATM - And we ain't talkin' |
|>| Newbridge Networks, Inc., Herndon, VA. | bank machines!" |
|>+-----------------------------------------+----------------------------------+
|>
|>
|>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Device driver question
@ 1996-08-24 4:00 Ron Harter
1996-08-26 4:00 ` Christian Worley
0 siblings, 1 reply; 3+ messages in thread
From: Ron Harter @ 1996-08-24 4:00 UTC (permalink / raw)
Hello
I have been tasked with performing some performace enhancements on a
custom in-house developed device driver for VXLI interface. The main
bottleneck that has been observed is the time to lock down the users
memory pages during the i/o operations. The average tiome is approx
125-150 microseconds. The read/write interface uses the physio call to
lock the memory down and branch to the appropriate strategy portion of
the driver to setup and initiate the DMA operations. Does anyone have
any suggestions as to how to reduce this amount of time? One method
being discussed is to force the user to lock down their pages using
mlock prior to doing any io operations and then just calling the stratgy
portions of the driver directly.
Please respond via e-mail. (rharter@flash.net)
Thanks in advance
--
-------------------------------------------------------------
| Ron Harter | Tongue Tied and Twisted |
| rharter@flash.net | Just an Earth Bound Misfit ... I |
| | David Gilmour & Pink Floyd |
-------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Device driver question
1996-08-24 4:00 Device driver question Ron Harter
@ 1996-08-26 4:00 ` Christian Worley
0 siblings, 0 replies; 3+ messages in thread
From: Christian Worley @ 1996-08-26 4:00 UTC (permalink / raw)
To: rharter
Ron Harter wrote:
>
> Hello
>
> I have been tasked with performing some performace enhancements on a
> custom in-house developed device driver for VXLI interface. The main
> bottleneck that has been observed is the time to lock down the users
> memory pages during the i/o operations. The average tiome is approx
> 125-150 microseconds. The read/write interface uses the physio call to
> lock the memory down and branch to the appropriate strategy portion of
> the driver to setup and initiate the DMA operations. Does anyone have
> any suggestions as to how to reduce this amount of time? One method
> being discussed is to force the user to lock down their pages using
> mlock prior to doing any io operations and then just calling the stratgy
> portions of the driver directly.
>
try vm_map_pageable(...) with VM_PROT_READ or VM_PROT_WRITE arguments
to lock down the users buffer, VM_PROT_NONE to clear the lock.
Chris
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1996-08-26 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-08-24 4:00 Device driver question Ron Harter
1996-08-26 4:00 ` Christian Worley
[not found] <4h2o1k$89t@hernmaster.us.newbridge.com>
1996-03-04 5:00 ` Mark Parenti
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox