From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,13afd3dc35e2da38 X-Google-Attributes: gidf7344,public X-Google-Thread: f7cd1,13afd3dc35e2da38 X-Google-Attributes: gidf7cd1,public X-Google-Thread: f73f6,13afd3dc35e2da38 X-Google-Attributes: gidf73f6,public X-Google-Thread: 1164f8,13afd3dc35e2da38 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-02-05 02:30:12 PST Xref: sparky vmsnet.internals:1831 vmsnet.misc:1207 comp.sys.dec:7333 comp.os.vms:22769 Newsgroups: vmsnet.internals,vmsnet.misc,comp.sys.dec,comp.os.vms Path: sparky!uunet!UB.com!pacbell.com!sgiblab!swrinde!cs.utexas.edu!sun-barr!decwrl!pa.dec.com!nntpd2.cxo.dec.com!highd.enet.dec.com!fisher From: fisher@highd.enet.dec.com Subject: Re: Driver questions Message-ID: <1993Feb5.103012.1@highd.enet.dec.com> Sender: usenet@nntpd2.cxo.dec.com (USENET News System) Organization: Digital Equipment Corporation References: <1993Jan15.142835.1014@dragon.com> Date: Fri, 5 Feb 1993 10:30:12 GMT In article <1993Jan15.142835.1014@dragon.com>, cts@dragon.com writes: > I have an application which is being moved from a PDP11/44 (may it rest in > peace real soon now) to a MicroVAX system (actually, its one of the redundant > Mira systems). Anyway, this application used to use a DR11-W on the PDP > side; this is being changed to a DRV11-W. > This should not pose problem. The DRV11-W is the correct Q-BUS equivelant for a DR11-W. > The driver used for this device is custom; it was started on by an individual > who then left the company; I picked it up; I should have thrown it out > and started from scratch... however. > Does it appear to you the customized device driver was written from scratch, or was the XADRIVER.MAR in SYS$EXAMPLES used as a starting point? XADRIVER does a pretty good job at being a straight forward QIO-driven DMA device driver. > > At best, we're seeing about 25 I/Os per second (from the user program point > of view) out of this device. Changing the packet size doesn't appear to > make a lot of difference; the PDP seems to be able to do around 80 I/Os > per second (this could include the double I/O); in any case, it's > not fast enough. > I've been able to get a 250 word structure cycled in and out of memory at a rate of 50 HZ (20ms) with the stock XADRIVER running on a MicroVAX 3600 (rated at 2.7 VUPS). This is 100 I/O operations per second. > Any thoughts, suggestions, or comments; any hints on the DRV11-W > would be appreciated. > Take a look at SYS$EXAMPLES:XADRIVER.MAR to see if what you have is close. Also, get a copy of Digital's Realtime User's Guide (dec order number AA-PE1WA-TE). This book has a very good explanation of ways to tune VMS to improve realtime performance, and how to reduce system overhead in device i/o. You should be able to get it either through your local Sales Office or from one of the Digital 800 order numbers like Dec-Direct. I would consider the book mandatory reading for anyone serious about doing realtime work on a VAX. > Also, in the same project, we will be using a DRV11-J to create an > interrupt (from a button push on a control pannel). This interrupt > needs to be handled, and cause an output to the above DRV11-W in > 4/30's of a second or less. Is this a reasonable thing to achieve > on a Vax? > You should be able to do this if you are careful with your process priorities. Also, does your VAX have to be running VAX/VMS? Or can it be running VAXeln for the realtime kernel? If so, you would have a whole new dimension to what you can do with the realtime application. The Realtime User's Guide also has a very nice overview of VAXeln. -- ----------------------------------------------------------------------------- Lawrence Fisher Realtime Software Specialist Fisher@HIGHD.ENET.DEC.COM Digital Equipment Corporation Southern California -- From the desert to the sea, helping meet Digital's Realtime needs -- * This message reflects my own views/opinions, not those of my company * -----------------------------------------------------------------------------