From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,8c41b88748d69db9,start X-Google-Attributes: gidfee84,public From: Ron Harter Subject: Device driver question Date: 1996/08/24 Message-ID: <321F7903.1C00@flash.net>#1/1 X-Deja-AN: 176262240 content-type: text/plain; charset=us-ascii organization: Flash-Net Internet Service Provider, 888-FLASHNET mime-version: 1.0 reply-to: rharter@flash.net newsgroups: comp.unix.osf.osf1 x-mailer: Mozilla 3.0b6Gold (WinNT; I) 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 | -------------------------------------------------------------