From: fisher@highd.enet.dec.com
Subject: Re: Driver questions
Date: Fri, 5 Feb 1993 10:30:12 GMT [thread overview]
Message-ID: <1993Feb5.103012.1@highd.enet.dec.com> (raw)
In-Reply-To: 1993Jan15.142835.1014@dragon.com
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 *
-----------------------------------------------------------------------------
prev parent reply other threads:[~1993-02-05 10:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-01-15 19:28 Driver questions cts
1993-01-18 14:08 ` Bob Koehler
1993-02-05 10:30 ` fisher [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox