From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,13afd3dc35e2da38,start X-Google-Attributes: gidf7344,public X-Google-Thread: f7cd1,13afd3dc35e2da38,start X-Google-Attributes: gidf7cd1,public X-Google-Thread: f73f6,13afd3dc35e2da38,start X-Google-Attributes: gidf73f6,public X-Google-Thread: 1164f8,13afd3dc35e2da38,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-01-15 11:28:35 PST Xref: sparky vmsnet.internals:1750 vmsnet.misc:1137 comp.sys.dec:6892 comp.os.vms:21120 Path: sparky!uunet!haven.umd.edu!ames!saimiri.primate.wisc.edu!sdd.hp.com!swrinde!emory!dragon!cts From: cts@dragon.com Newsgroups: vmsnet.internals,vmsnet.misc,comp.sys.dec,comp.os.vms Subject: Driver questions Message-ID: <1993Jan15.142835.1014@dragon.com> Date: 15 Jan 93 14:28:35 EST Organization: Computer Projects Unlimited 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. The application in question sends a data stream to a custom hardware device which translates it into videotext. This process works more or less pretty well; the issues we're seeing are in the performance area. 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. The application requires that each I/O be sent twice. This is handled in the driver. Further, as things are set up now, each QIO write requires 4 write cycles. The first strobes the FC1 bit high - this tells the custom hardware on the other end to prepare itself. Then, the data is transfered. Then we repeat the previous two steps. We're waiting for an interrupt back from the device for each of these. (Note, the FC1 bit is a replacement for the old GO line on the DR11-W, apparently this cycle did not exist on the PDP side) 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. Putting the application on a PDP is not an option, perhaps unfortunately. Any thoughts, suggestions, or comments; any hints on the DRV11-W would be appreciated. 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?