Download RU Builder User Manual
Transcript
9 Exported configuration parameters User Manual 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 RU Builder The default values of the BU control parameters were calculated as follows: To prevent a BU from monopolizing event ids, each BU has a maximum number of event ids it can acquire at any moment in time. Assuming all BUs are equal, each BU is allowed to acquire: rubuilder::bu::Application::maxEvtsUnderConstruction = nbEvtIdsInBuilder / number of BUs = 4096 / 64 = 64 The blockFIFO of a BU (see figure 2 in section 3.2) is responsible for buffering incoming event data. In the worst case this FIFO would have to buffer the blocks of all outstanding requests for event data: rubuilder::bu::Application::blockFIFOCapacity = maxEvtIdsUnderConstruction × size of an event / block size = 64 × 1 MB / 4 KB = 64 ×256 = 16384 A BU has a single FIFO called discardFIFO for FU discard messages, and one FIFO per FU called requestFIFO for FU request messages. Knowing that a BU can service a maximum of 64 FUs and assuming that a single FU will never have more than 1024 outstanding requests for events: rubuilder::bu::Application::discardFIFOCapacity = 1024 × maximum number of FUs = 1024 × 64 = 65536 rubuilder::bu::Application::requestFIFOCapacity = 1024 The default values of the RU exported parameters were calculated as follows: The blockFIFO of the RU is responsible for buffering incoming super-fragment data. Assuming a RUI only gives as many super-fragments to a RU as the TA gives triggers to the EVM, then in the worst case the blockFIFO must hold the blocks of as many super-fragments as there are event ids in the RU builder: rubuilder::ru::Application::blockFIFOCapacity = nbEvtIdsInBuilder × (size of a super-fragment / block size) = 4096 × (16K / 4KB) = 16384 The parameters of the form _Packing should not normally be modified as they have only been tested with the default value of 8. However the user may modify them if they are experiencing performance problems with the RU builder. 45 CERN PH/CMD - 2008 Page 35 of 54