Addressing the Software and Hardware Trade-Offs of an Embedded Distributed System The Case of the ANTARES Data Acquisition and Detector Control S. Anvar,

Slides:



Advertisements
Similar presentations
Computer Networks TCP/IP Protocol Suite.
Advertisements

1 UNIT I (Contd..) High-Speed LANs. 2 Introduction Fast Ethernet and Gigabit Ethernet Fast Ethernet and Gigabit Ethernet Fibre Channel Fibre Channel High-speed.
1 Ethernet Wiring Qutaibah Malluhi CSE Department Qatar University.
CHEP 2000 Padova Stefano Veneziano 1 The Read-Out Crate in the ATLAS DAQ/EF prototype -1 The Read-Out Crate model The Read-Out Buffer The ROBin ROB performance.
Greening Backbone Networks Shutting Off Cables in Bundled Links Will Fisher, Martin Suchara, and Jennifer Rexford Princeton University.
The ANTARES Offshore Data Acquisition A Highly Distributed, Embedded and COTS-based System S. Anvar, H. Le Provost, F. Louis – CEA Saclay DAPNIA.
19 Copyright © 2005, Oracle. All rights reserved. Distributing Modular Applications: Developing Web Services.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
How Much Do I Remember? Are you ready to play.....
So far Binary numbers Logic gates Digital circuits process data using gates – Half and full adder Data storage – Electronic memory – Magnetic memory –
Chapter 5 Input/Output 5.1 Principles of I/O hardware
XFEL 2D Pixel Clock and Control System Train Builder Meeting, DESY 22 October 2009 Martin Postranecky, Matt Warren, Matthew Wing.
1 Communication in Distributed Systems REKs adaptation of Tanenbaums Distributed Systems Chapter 2.
Nios Multi Processor Ethernet Embedded Platform Final Presentation
Real Time Versions of Linux Operating System Present by Tr n Duy Th nh Quách Phát Tài 1.
The VARAN Bus, the Real-Time Ethernet Bus System 1 / 23 The VARAN Bus.
BLM System for NSRL HLS PCaPAC 2000, Oct.9 ~ 12, 2000Page 1 PC and CAN Bus in Beam Loss Monitor System for NSRL Yonggang Cui, Beibei Shao Department of.
Utility Optimization for Event-Driven Distributed Infrastructures Cristian Lumezanu University of Maryland, College Park Sumeer BholaMark Astley IBM T.J.
Presenter : Cheng-Ta Wu Kenichiro Anjo, Member, IEEE, Atsushi Okamura, and Masato Motomura IEEE JOURNAL OF SOLID-STATE CIRCUITS, VOL. 39,NO. 5, MAY 2004.
Chapter 1 Introduction to the Programmable Logic Controllers.
Campus02.at don't stop thinking about tomorrow DI Anton Scheibelmasser Setubal ICINCO /25 Device integration into automation systems with.
DAQmx下多點(Multi-channels)訊號量測
Processes Management.
Executional Architecture
Addition 1’s to 20.
25 seconds left…...
Week 1.
© DEEDS – OS Course WS11/12 Lecture 10 - Multiprocessing Support 1 Administrative Issues  Exam date candidates  CW 7 * Feb 14th (Tue): * Feb 16th.
From Model-based to Model-driven Design of User Interfaces.
TCP/IP Protocol Suite 1 Chapter 18 Upon completion you will be able to: Remote Login: Telnet Understand how TELNET works Understand the role of NVT in.
Kay Graf Physics Institute 1 University of Erlangen ARENA 2006 University of Northumbria June 28 – 30, 2006 Integration of Acoustic Neutrino Detection.
CHEP04 - Interlaken - Sep. 27th - Oct. 1st 2004T. M. Steinbeck for the Alice Collaboration1/20 New Experiences with the ALICE High Level Trigger Data Transport.
TRIGGER-LESS AND RECONFIGURABLE DATA ACQUISITION SYSTEM FOR POSITRON EMISSION TOMOGRAPHY Grzegorz Korcyl 2013.
Data acquisition system for the Baikal-GVD neutrino telescope Denis Kuleshov Valday, February 3, 2015.
ATCA based LLRF system design review DESY Control servers for ATCA based LLRF system Piotr Pucyk - DESY, Warsaw University of Technology Jaroslaw.
6-10 Oct 2002GREX 2002, Pisa D. Verkindt, LAPP 1 Virgo Data Acquisition D. Verkindt, LAPP DAQ Purpose DAQ Architecture Data Acquisition examples Connection.
A Software Solution for the Control, Acquisition, and Storage of CAPTAN Network Topologies Ryan Rivera, Marcos Turqueti, Alan Prosser, Simon Kwan Electronic.
An Architecture and Prototype Implementation for TCP/IP Hardware Support Mirko Benz Dresden University of Technology, Germany TERENA 2001.
Latest ideas in DAQ development for LHC B. Gorini - CERN 1.
VLVnT09A. Belias1 The on-shore DAQ system for a deep-sea neutrino telescope A.Belias NOA-NESTOR.
LHCb front-end electronics and its interface to the DAQ.
Antares Slow Control Status 2007 International Conference on Accelerator and Large Experimental Physics Control Systems - Knoxville, Tennessee - October.
Sep. 17, 2002BESIII Review Meeting BESIII DAQ System BESIII Review Meeting IHEP · Beijing · China Sep , 2002.
Disk Towards a conceptual design M. de Jong  Introduction  Design considerations  Design concepts  Summary.
XLV INTERNATIONAL WINTER MEETING ON NUCLEAR PHYSICS Tiago Pérez II Physikalisches Institut For the PANDA collaboration FPGA Compute node for the PANDA.
Online Control and Configuration KM3NeT Design. KM3NeT Detection Units VLVnT2011 S. Anvar, CEA Irfu Saclay – KM3NeT 2.
Cluster Computers. Introduction Cluster computing –Standard PCs or workstations connected by a fast network –Good price/performance ratio –Exploit existing.
S.Anvar, V.Gautard, H.Le Provost, F.Louis, K.Menager, Y.Moudden, B.Vallage, E.Zonca, on behalf of the KM3NeT consortium 1 IRFU/SEDI-CEA Saclay F
KM3NeT Offshore Readout System On Chip A highly integrated system using FPGA COTS S. Anvar, H. Le Provost, F. Louis, B.Vallage – CEA Saclay IRFU – Amsterdam/NIKHEF,
COMPASS DAQ Upgrade I.Konorov, A.Mann, S.Paul TU Munich M.Finger, V.Jary, T.Liska Technical University Prague April PANDA DAQ/FEE WS Игорь.
System On Chip Offshore Node S. Anvar, H. Le Provost, Y.Moudden, F. Louis, B.Vallage, E.Zonca – CEA Saclay IRFU – Amsterdam/NIKHEF, 2010 July 5.
Generic and Re-usable Developments for Online Software Slow Control, Configuration, Data Format & Online Processing Shebli Anvar, CEA Irfu January 12,
DOM Electronics (Digital Optical Module) 1 WPFLElectronics PPMDOM ElectronicsF. Louis.
Firmware and Software for the PPM DU S. Anvar, H. Le Provost, Y.Moudden, F. Louis, E.Zonca – CEA Saclay IRFU – Amsterdam/NIKHEF, 2011 March 30.
IRFU The ANTARES Data Acquisition System S. Anvar, F. Druillole, H. Le Provost, F. Louis, B. Vallage (CEA) ACTAR Workshop, 2008 June 10.
WPFL General Meeting, , Nikhef A. Belias1 Shore DAQ system - report on studies A.Belias NOA-NESTOR.
Shebli Anvar – CEA Saclay, Irfu On behalf of the KM3Net Consortium
Deep-sea neutrino telescopes
DAQ read out system Status Report
“FPGA shore station demonstrator for KM3NeT”
LHC experiments Requirements and Concepts ALICE
Enrico Gamberini, Giovanna Lehmann Miotto, Roland Sipos
Controlling a large CPU farm using industrial tools
RT2003, Montreal Niko Neufeld, CERN-EP & Univ. de Lausanne
CoBo - Different Boundaries & Different Options of
Example of DAQ Trigger issues for the SoLID experiment
Network Processors for a 1 MHz Trigger-DAQ System
The CMS Tracking Readout and Front End Driver Testing
TELL1 A common data acquisition board for LHCb
Presentation transcript:

Addressing the Software and Hardware Trade-Offs of an Embedded Distributed System The Case of the ANTARES Data Acquisition and Detector Control S. Anvar, CEA Saclay Dapnia On behalf of the Antares collaboration

2 RT2005 – S. Anvar – CEA Dapnia – Adressing the HW and SW trade-offs of an embedded distributed system: the case of the Antares DAQ and detector control A Neutrino Telescope

3 RT2005 – S. Anvar – CEA Dapnia – Adressing the HW and SW trade-offs of an embedded distributed system: the case of the Antares DAQ and detector control The Antares Collaboration Institutes Particle physics Astronomy Sea science

4 RT2005 – S. Anvar – CEA Dapnia – Adressing the HW and SW trade-offs of an embedded distributed system: the case of the Antares DAQ and detector control Constraints Environmental constraints Baseline data rate of ~100 kHz / PMT Data rate fluctuations ~2MHz / PMT due to bioluminescence Strong uncertainties on environment parameters Reduced space and thermal conductivity … Reliability (MTBF) Maximize simplicity Minimize consumption Minimize number of components … Deployment constraints High cost of submarine cables Limits on string cable rigidity or sea operations …

5 RT2005 – S. Anvar – CEA Dapnia – Adressing the HW and SW trade-offs of an embedded distributed system: the case of the Antares DAQ and detector control Design principle String control Junction box Electro-mechanical cable Electro-optical cable (50 km) Detectors Slow control Data Clock Energy Processing nodes Acquisition nodes OffshoreOnshore 12 strings 25 detecting nodes per string (every 12.5m) 3 optical modules (PMTs) per acquisition node 2 "ARS" digitizing chips per optical module Real time processing: Offshore: readout 1800 ARS chips spread out over m 2500m underwater Onshore: perform real time trigger computations on incoming data.

6 RT2005 – S. Anvar – CEA Dapnia – Adressing the HW and SW trade-offs of an embedded distributed system: the case of the Antares DAQ and detector control Each offshore acquisition node: one DAQ/SC Board ARS readout/SC Local trigger 10 6 gates Xilinx FPGA Real-time embedded CPU PPC MPC860 VxWorks SDRAM Memory 64 MB SDRAM Memory 64 MB DAQ/SC Board Achieved power consumption of ~5W including optical Ethernet tranceiver laser Ethernet 100 Serial links (RS485, RS232)

7 RT2005 – S. Anvar – CEA Dapnia – Adressing the HW and SW trade-offs of an embedded distributed system: the case of the Antares DAQ and detector control DAQ/SC Board ARS chip The ARS chip and the DAQ/SC board

8 RT2005 – S. Anvar – CEA Dapnia – Adressing the HW and SW trade-offs of an embedded distributed system: the case of the Antares DAQ and detector control Network Topology (1) Cable rigidity Cable diameter Connection complexity Each LCM has its own I/O data flow (Slow Control & Physics Data) SCM Sectors M SCM M To Shore (DWDM) 100 Mb/s 1 Gb/s

9 RT2005 – S. Anvar – CEA Dapnia – Adressing the HW and SW trade-offs of an embedded distributed system: the case of the Antares DAQ and detector control Network Topology (2)

10 RT2005 – S. Anvar – CEA Dapnia – Adressing the HW and SW trade-offs of an embedded distributed system: the case of the Antares DAQ and detector control Offshore switch Board Allayer chip The offshore switch board

11 RT2005 – S. Anvar – CEA Dapnia – Adressing the HW and SW trade-offs of an embedded distributed system: the case of the Antares DAQ and detector control The electronic crate

12 RT2005 – S. Anvar – CEA Dapnia – Adressing the HW and SW trade-offs of an embedded distributed system: the case of the Antares DAQ and detector control Used as data concentrator many input ports one output port Network Topology (3) Solution barrel shifting synchronized by global clock PC ON-SHORE SWITCH: (in: 60x1000, out: 20x1000) SECTOR SWITCH (in: 5x100, out: 1x1000) NNNNN NNNNN risks of congestion intelligent flow control in node ~15 Mb/s Instant ~6 Gb/s

13 RT2005 – S. Anvar – CEA Dapnia – Adressing the HW and SW trade-offs of an embedded distributed system: the case of the Antares DAQ and detector control Massively Distributed and Heterogeneous System Final System: A Network of ~320 Nodes ~300 Offshore Nodes (MPC860 + VxWorks) ~20 Onshore Nodes (PC + Linux) A number of distributed applications running in parallel and communicating DAQ L2 Trigger Slow Control / Acoustic positioning acquisition L1 trigger ? Run control

14 RT2005 – S. Anvar – CEA Dapnia – Adressing the HW and SW trade-offs of an embedded distributed system: the case of the Antares DAQ and detector control Software Technologies Programming Languages C/C++ for offshore software components C++ / Java for onshore processing Java / C++ for onshore display Distribution Multiple messaging and data servers (ControlHost) TCP/IP based VxWorks Zero-copy TCP/IP (~25Mb/s ~38 Mb/s per node) Offshore network traffic control (barrel shifting) Data and configuration storage Oracle database Root files Design & Development Object Paradigm UML (Unified Modeling Language) + Extensions Model-driven engineering

15 RT2005 – S. Anvar – CEA Dapnia – Adressing the HW and SW trade-offs of an embedded distributed system: the case of the Antares DAQ and detector control Interrupt – shared memory communication ARS readout (FPGA) intrHandler (RTOS) frameSender task (RTOS) Semaphore (RTOS) Data Memory (SDRAM) write read and write Actual frame formatting and sending through TCP/IP socket

16 RT2005 – S. Anvar – CEA Dapnia – Adressing the HW and SW trade-offs of an embedded distributed system: the case of the Antares DAQ and detector control Interrupt – shared memory communication seen as asynchronous method call ARS_Read +fillBuffers(id:int) frameSender1 6 FrameSender +acq(in frameID:int) acq(in frameID:int) :ARS_Readout:FrameSender 6 > AR_Node readout Interrupt - SharedMem 1 > FS_Node framer FrameSenderARS_Readout > asynchronous method call reference to design pattern

17 RT2005 – S. Anvar – CEA Dapnia – Adressing the HW and SW trade-offs of an embedded distributed system: the case of the Antares DAQ and detector control Applying the design pattern: model transformation ARS_Read +fillBuffers(id:int) frame Sender 1 6 FrameSender +acq(in x:Frame) Implemented in VHDL IntrSharedMemProxy +doIntr(in x:PrmRefType) FrameSender Skeleton +accept(in x:Frame) IntrSharedMemSkeleton #run() #installInterrupt() +accept(in pr:PrmRefType) PrmRefType {bind(Frame)} RealTime::Thread #run() reusable software 1

18 RT2005 – S. Anvar – CEA Dapnia – Adressing the HW and SW trade-offs of an embedded distributed system: the case of the Antares DAQ and detector control Widespread belief Performance goes against abstraction & flexibility Wrong if the issue is explicitly addressed Actually Abstraction modularity specific optimization perf. Wrong if the issue is explicitly addressed Actually Abstraction modularity specific optimization perf.

19 RT2005 – S. Anvar – CEA Dapnia – Adressing the HW and SW trade-offs of an embedded distributed system: the case of the Antares DAQ and detector control Evolutions (1) ARS readout/SC Local trigger 10 6 gates Xilinx FPGA Real-time embedded CPU PPC MPC860 VxWorks SDRAM Memory 64 MB SDRAM Memory 64 MB DAQ/SC Board Ethernet 100 Serial links (RS485, RS232) ARS readout/SC Local trigger Real-time embedded CPU System On Chip Xilinx Virtex II Pro? Xilinx Virtex IV ARS readout/SC Local trigger Real-time embedded CPU System On Chip Xilinx Virtex II Pro? Xilinx Virtex IV SDRAM Memory 64 MB SDRAM Memory 64 MB DAQ/SC Board Ethernet 100 Serial links (RS485, RS232) Lower consumption Reduced number of components increased reliability

20 RT2005 – S. Anvar – CEA Dapnia – Adressing the HW and SW trade-offs of an embedded distributed system: the case of the Antares DAQ and detector control Evolutions (2) Present scheme: « all data to shore » Unexpected variable baseline rates: ~ kHz instead of ~70

21 RT2005 – S. Anvar – CEA Dapnia – Adressing the HW and SW trade-offs of an embedded distributed system: the case of the Antares DAQ and detector control Evolutions (2) Present scheme: « all data to shore » Unexpected variable baseline rates: ~ kHz instead of ~100 Software L1 trigger Reduced L1 partial data sent from offshore to central L1 workstation Central L1 computes trigger with global vision of detector Trigger decision broadcasted through software Expected gain in data rate: x1000 From 5 to 30 cm/s (!)

22 RT2005 – S. Anvar – CEA Dapnia – Adressing the HW and SW trade-offs of an embedded distributed system: the case of the Antares DAQ and detector control Conclusions Slow control Data Clock Energy HEP DAQ and trigger techniques High data rates Very weak signal Highly distributed system Soft real time constraints … Challenges unusual for HEP No known beam (calibration) Very embedded system Very hostile environment Uncontrolled factors (biolum) … Both Robust and Flexible Design Allows adaptation Allows for remote evolution …