![]() |
VME in CMS |
Printable (html) Printable (pdf) |
|
Performance Measurements
A measurement with the usb version of the CAEN Bridge (Model V2718_Kit) cane be looked at here. (The measurement has been obtained with the firmware v1718vub_rev0.12.rbf for the V1718 board. The rest of the measurement conditions have been identical to those for the optical bridge.) Performance for single accessesThis test was made running the "PerformanceTester" application contained in the HAL examples. It has been run one time with the dummy BusAdapter and one time with the BusAdapter for the VME Bridge. This allows to subtract the overhead due to the HAL library itself.Results using the VMEDummyBusAdapter=============================================================================== ATTENTION ==> the measured time values do not measure the process time but the total time elapsed during the measurement (laboratory-time) So, in order to get meaningfull measurements, be sure not to have other active processes on your machine. =============================================================================== (TimeoutException) Timeout during polling the item "rwFlagMask" 1000ms have passed wheras the timeout has been set to 1000ms 3680000 polls have been carried out (HardwareDevice::pollItem) read r/w-item with full mask : 2.57833us read r/w-item with full mask and offset : 2.95839us write r/w-item with full mask : 2.99179us write r/w-item with full mask and offset : 3.42508us read r-item with full mask : 2.53569us read r-item with full mask and offset : 2.91862us write w-item with full mask : 2.66218us write w-item with full mask and offset: 3.07601us unmaskedRead r/w-item with full mask : 2.66056us unmaskedRead r/w-item with full mask and offset : 2.90977us unmaskedWrite r/w-item with full mask : 2.65765us unmaskedWrite r/w-item with full mask and offset : 2.92356us setBit r/w-item with 1bit mask : 3.26963us setBit r/w-item with 1bit mask and offset : 3.71627us resetBit r/w-item with 1bit mask : 3.26833us resetBit r/w-item with 1bit mask and offset : 3.69591us setBit w-item with 1bit mask : 2.95803us setBit w-item with 1bit mask and offset : 3.35657us resetBit w-item with 1bit mask : 2.85544us resetBit w-item with 1bit mask and offset : 3.37863us =============================================================================== Results using the CAEN2718LinuxPCIBusAdapterRemark: The items which need significant more time involve two VME accesses. (This is documented in the HAL documentation). In order to obtain the overhead due to the driver and the hardware the measured values of the values above measured with the DummyBusadapter must be subtracted from the values below.=============================================================================== ATTENTION ==> the measured time values do not measure the process time but the total time elapsed during the measurement (laboratory-time) So, in order to get meaningfull measurements, be sure not to have other active processes on your machine. =============================================================================== (TimeoutException) Timeout during polling the item "rwFlagMask" 1009ms have passed wheras the timeout has been set to 1000ms 100000 polls have been carried out (HardwareDevice::pollItem) read r/w-item with full mask : 14.2928us read r/w-item with full mask and offset : 14.7548us write r/w-item with full mask : 24.1194us write r/w-item with full mask and offset : 24.6097us read r-item with full mask : 14.1733us read r-item with full mask and offset : 14.7672us write w-item with full mask : 13.5404us write w-item with full mask and offset: 14.0083us unmaskedRead r/w-item with full mask : 14.1884us unmaskedRead r/w-item with full mask and offset : 14.8598us unmaskedWrite r/w-item with full mask : 13.7226us unmaskedWrite r/w-item with full mask and offset : 14.3353us setBit r/w-item with 1bit mask : 24.3967us setBit r/w-item with 1bit mask and offset : 24.9829us resetBit r/w-item with 1bit mask : 24.3639us resetBit r/w-item with 1bit mask and offset : 24.9634us setBit w-item with 1bit mask : 14.0308us setBit w-item with 1bit mask and offset : 14.5417us resetBit w-item with 1bit mask : 13.821us resetBit w-item with 1bit mask and offset : 14.4us =============================================================================== Performance for Block TransfersMeasurement conditions:
ResultsRead and write performance as a function of the block size.
![]()
Distribution of read throughput for fixed block sizes (100 Measurements).
![]() ![]()
Distribution of write throughput for fixed block sizes (100 Measurements).
![]() ![]() |
||||||||||
|