From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10f8a1,b3bc575461bc75c5,start X-Google-Attributes: gid10f8a1,public X-Google-Thread: fee84,b3bc575461bc75c5,start X-Google-Attributes: gidfee84,public From: labenter@icil64.cilea.it Subject: AXPVME interrupt latency time Date: 1997/07/29 Message-ID: <5rkmbu$ph1@sharon.cilea.it>#1/1 X-Deja-AN: 260132761 Organization: CILEA Reply-To: labenter@icil64.cilea.it Newsgroups: comp.unix.osf.osf1,vmsnet.alpha 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. 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? 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? 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? Thanks in advance. Please e-mail to: villani.g@laben.it