Status of the ALFA/FairRoot
Mohammad Al-Turany
ALFA/FairRoot activites
• Framework level
– Modularity
– Serialization
– DDS and Topology
• Prototypes and benchmarks
– New Prototype for CBM FLES
– Benchmarks with O2 on the DAQ test cluster
– Benchmarks with O2 on the GSI test cluster
• Parameter management in ALFA
June 27, 2014
M. Al-Turany, ALICE offline week
Improve modularity
FairSoft
• New installation option for FairSoft
– ./configure mqonly
• Only CMake, BOOST, ROOT, ZMQ, gtest , gsl are build
• Exclude Geant3/4, Millepede, VMC, VGM, pluto,
HEPMC, Pythia6/8
> git clone https://github.com/MohammadAlTurany/FairSoft/
> git checkout MQ_only
June 27, 2014
M. Al-Turany, ALICE offline week
Improve modularity
FairRoot/ALFA
• New installation option for FairRoot
– Cmake -DRECO_ONLY=1
• Exclude simulation and event generators
June 27, 2014
M. Al-Turany, ALICE offline week
Currently implemented and ready to
use transport formats
• Boost serialization
• Protocol buffers
• Root serialization
June 27, 2014
M. Al-Turany, ALICE offline week
Current status of tests
• Examples are installed on the test cluster
• Example scripts are available on the gateway
machine :
– /local/home/cwg13/new_test_21.05.2014/single/
• Message (part) size can be set from script
– Message part size = 40 x eventSize (Bytes)
June 27, 2014
M. Al-Turany, ALICE offline week
Current status of tests
• Different scenarios can be tested by changing
the configuration
• Documentation for the configuration are
available:
https://github.com/FairRootGroup/FairRoot/tree/dev/example/Tutorial3/macro
June 27, 2014
M. Al-Turany, ALICE offline week
Nicolas Winkler
Proto type for CBM FLES
• A Prototype which read simulated data, fill the
RAW data format and send it on the wire is
implemented for the CBM experiment
• BOOST serialization is used
– Sampler:
• which read the root files produced by the cbmroot
simulation and convert the data in the FLES format and fill
the STS microslices
– Processor:
– which get the STS microslices and merge them into one timeslice
– Filesink:
• which get the timeslices
June 27, 2014
M. Al-Turany, ALICE offline week
Benchmarks
June 27, 2014
M. Al-Turany, ALICE offline week
Running the Zero MQ performance test on the
DAQ test cluster
aidrefma02  aidrefma01
Throughput Gbyte/s
5.00
4.00
1-Processes
3.00
2-Processes
3-Processes
4-processes
2.00
1.00
0
June 27, 2014
10
20
30
40
Msg size in MByte
M. Al-Turany, ALICE offline week
50
60
Performance test with FairMQ
FLP 2 EPN
FLP
EPN
aidrefma02
aidrefma01
Push-Pull pattern
Message size= 10 Mbyte
Throughput = 2,6 Gbyte/s
June 27, 2014
M. Al-Turany, ALICE offline week
Performance test with FairMQ
FLP 2 EPN
FLP
EPN
aidrefma02
aidrefma01
Push-Pull pattern
Message size= 10 Mbyte
Throughput = 3,7 Gbyte/s
June 27, 2014
M. Al-Turany, ALICE offline week
Performance test with FairMQ
FLP 2 EPN
FLP
EPN
aidrefma03
aidrefma01
Push-Pull pattern
Message size= 10 Mbyte
Throughput = 4,8 Gbyte/s
June 27, 2014
M. Al-Turany, ALICE offline week
GSI test cluster
4 identical machines with 40 Gbit infiniband
network connection
June 27, 2014
M. Al-Turany, ALICE offline week
IP over IB
Tests on the GSI test cluster
FLP
EPN
lxb1193
EPN
lxb1196
EPN
lxb1197
lxb1194
Push-Pull pattern
Message size= 10 Mbyte
June 27, 2014
M. Al-Turany, ALICE offline week
IP over IB
June 27, 2014
FLP Network load
M. Al-Turany, ALICE offline week
IP over IB
June 27, 2014
FLP CPU load
M. Al-Turany, ALICE offline week
IP over IB
June 27, 2014
EPN CPU load
M. Al-Turany, ALICE offline week
IP over IB
June 27, 2014
EPN Network load
M. Al-Turany, ALICE offline week
IP over IB
June 27, 2014
Cluster load
M. Al-Turany, ALICE offline week
Parameter management in ALFA
June 27, 2014
M. Al-Turany, ALICE offline week
Parameter manager in FairRoot
Parameter Manager
RtDB
ROOT
FairD
B
June 27, 2014
ASSCII
M. Al-Turany, ALICE offline week
Initialization scheme in FairRoot
Parameter Manager
RtDB
ROOT
ASSCII
FairDB
Parameter
containers
Unique Id 2
June 27, 2014
ReInit
exec()
M. Al-Turany, ALICE offline week
Unique Id 2
Parameter
containers
exec()
Unique Id 1
Unique Id 1
SetContainers
Init()
Parameter manager for ALFA
Parameter Manager
RtDB
ROOT
FairD
B
ASSCII
REQ (Unique Id 1)
REQ
SUB
Device
(Task)
June 27, 2014
Unique Id 1
PUB
REQ
REP
Parameter
containers
M. Al-Turany, ALICE offline week
Unique Id 1
Parameter
containers
SUB
Device
(Task)
Next steps:
• Port code from the HLT to O2 prototype
• Test different scenarios for the FLP/EPN
configurations.
• Use the HLT dev Cluster for testing
June 27, 2014
M. Al-Turany, ALICE offline week