From: Fred Zwarts <ZWARTS@KVIASV.KVI.nl>
Subject: Re: AXPVME interrupt latency time
Date: 1997/07/30 [thread overview]
Message-ID: <5rmr1v$j0p$1@info.service.rug.nl> (raw)
In-Reply-To: 5rkmbu$ph1@sharon.cilea.it
Unknown writes:
> We are trying to test the VME I/F of an AXPVME 230 sbc.
> In order to do this we followed the DEC documentation
> available with Digital UNIX 4.0b. The documents used are:
> - Writing Device Drivers: Tutorial (AA-PUBVD-TE);
> - Writing VMEbus Device Drivers (AA-Q0R7F-TE), June 1997.
I don't know if I am the right person to reply, but since your previous post did
not get any response, I'll try anyway.
> Following the examples provided in that documents and the
> procedure to obtain either the dynamic or the static installation
> and using as interrupt generator a Motorola CPU (68020 + interrupt
> generator + timer PCC chip based), we observed the following behaviour:
>
> a) with Digital UNIX it is not possible to use a simple interfacing
> mechanism different from a complete device driver; it is impossible
> to call a claim_vector mechanism or to associate an interrupt vector
> to a signal.
> Is this true?
I don't know. I have little experience with Unix.
> b) The latency time observed has been 562 uS. Repeating the test
> the maximum latency time observed has been 1 mS.
> Is there a way to lower this interval time?
Yes. Use a real time operating system. We use VxWorks and we observe latency
times at least a factor of ten less on a similar AXPvme system.
> c) The memory of the AXPVME is mapped onto the VMEbus as blocks having
> 8 kB size even if the user requires less. This means that the user,
> after the buffer allocation, does not have to use the unused part of
> the allocated buffer. Example: current buffer size is 1 kB,
> required data transfer 256 bytes, the DMA can transfer up to 8 kB
> and can corrupt the data from 256 to 1 kB.
> Is this true?
I don't know if I understand your problem.
Yes, if you need a 1kB buffer, 7kB is not used. This is a hardware limitation.
Yes, if you setup your DMA incorrectly, you can corrupt data. But why would you
transfer 8 kB if you need only 256 bytes? The hardware allows smaller transfers.
Is this a Unix limitation?
> Thanks in advance.
>
> Please e-mail to:
> villani.g@laben.it
Fred Zwarts KVI Internet: F.Zwarts@KVI.nl
Phone: (+31)50-3633619 Telefax: (+31)50-3634003
X400: C=nl;ADMD=400net;PRMD=surf;O=KVI;S=Zwarts;G=Fred
Zernikelaan 25, 9747 AA Groningen, The Netherlands
next prev parent reply other threads:[~1997-07-30 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-07-29 4:00 AXPVME interrupt latency time labenter
1997-07-30 4:00 ` Fred Zwarts [this message]
-- strict thread matches above, loose matches on Subject: below --
1997-07-18 4:00 labenter
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