SCT Bytestream Hacking Bruce Gallop RAL High mu upgrade - 16 th May 2012.

Slides:



Advertisements
Similar presentations
Chapter 4 Memory Management Page Replacement 补充:什么叫页面抖动?
Advertisements

Status of the CTP O.Villalobos Baillie University of Birmingham April 23rd 2009.
More FED FE Testing Results Mathew Pearson & Gareth Rogers.
Track Trigger Designs for Phase II Ulrich Heintz (Brown University) for U.H., M. Narain (Brown U) M. Johnson, R. Lipton (Fermilab) E. Hazen, S.X. Wu, (Boston.
Slink TX Slink merger Teststand setup Slink merger firmware and testing Firmware features - DAQ RAMs for saving out input and output data - Possible to.
1 Virtual Memory Management B.Ramamurthy. 2 Demand Paging Main memory LAS 0 LAS 1 LAS 2 (Physical Address Space -PAS) LAS - Logical Address.
Cluster Processor Module : Status, test progress and plan Joint Meeting, Mainz, March 2003.
Track quality - impact on hardware of different strategies Paola FTK meeting Performances on WH and Bs   2.Now we use all the layers.
Recap of Feb 27: Disk-Block Access and Buffer Management Major concepts in Disk-Block Access covered: –Disk-arm Scheduling –Non-volatile write buffers.
DSP online algorithms for the ATLAS TileCal Read Out Drivers Cristobal Cuenca Almenar IFIC (University of Valencia-CSIC)
Linda R. Coney – 24th April 2009 Online Reconstruction & a little about Online Monitoring Linda R. Coney 18 August, 2009.
1 Analysis code for KEK Test-Beam M. Ellis Daresbury Tracker Meeting 30 th August 2005.
1 Pulsar firmware status March 12th, 2004 Overall firmware status Pulsar Slink formatter Slink merger Muon Reces SVT L2toTS Transmitters How to keep firmware.
Virtual Memory Management B.Ramamurthy. Paging (2) The relation between virtual addresses and physical memory addres- ses given by page table.
1 Virtual Memory Management B.Ramamurthy Chapter 10.
Simulation Tasks  Understanding Tracking  Understanding Hardware 1.Two types of tasks: a.Implementing known functions in ATLAS framework b.Understanding.
1 Raw Event : ByteStream implementation Muon Workshop, April 2002 A. Nisati, for the Muon Trigger group.
1 ROD US ATLAS FDR, ROD Overview Atlas Wisconsin Group Khang Dao, Damon Fasching, Douglas Ferguson, Owen Hayes, Richard Jared, John Joseph, Krista Marks,
Memory Management ◦ Operating Systems ◦ CS550. Paging and Segmentation  Non-contiguous memory allocation  Fragmentation is a serious problem with contiguous.
SSD Status P. Christakoglou (NIKHEF-UU) for the SSD collaboration Thanks to: Marco vL, Enrico, Mino, Marek and Massimo.
The Pixel Detector ByteStream Converter M.Cobal (1), L. Santi (2) (1) University of Udine and INFN Trieste, Italy (2) University of Trieste and INFN Trieste,
PicoTDC Features of the picoTDC (operating at 1280 MHz with 64 delay cells) Focus of the unit on very small time bins, 12ps basic, 3ps interpolation Interpolation.
Cluster Finder Report Laura Sartori (INFN Pisa) For the L2Cal Team Chicago, Fermilab, Madrid, Padova, Penn, Pisa, Purdue.
STAR Analysis Meeting, BNL, Dec 2004 Alexandre A. P. Suaide University of Sao Paulo Slide 1 BEMC software and calibration L3 display 200 GeV February.
1 CPC2-CPR2 Assemblies Testing Status Tim Woolliscroft.
To make ByteStream Data There is a plan that the High Level Trigger (HLT) software uses the offline framework (Athena). HLT group wants to read in ByteStream.
Upgrade to the Read-Out Driver for ATLAS Silicon Detectors Atlas Wisconsin/LBNL Group John Joseph March 21 st 2007 ATLAS Pixel B-Layer Upgrade Workshop.
1 ATLAS Lehman Review, Silicon ROD Douglas Ferguson, Richard Jared, John Joseph and Lukas Tomasek Wisconsin May 21 to May 23, 2003.
Argonne National Laboratory Tom LeCompte1 Testbeam Requirements and Requests ATLAS Software Week Tom LeCompte Argonne National Laboratory
TB1: Data analysis Antonio Bulgheroni on behalf of the TB24 team.
Sep. 17, 2002BESIII Review Meeting BESIII DAQ System BESIII Review Meeting IHEP · Beijing · China Sep , 2002.
SCT Readiness for Heavy Ion Collisions Dave Robinson on behalf of SCT 15/9/101Dave Robinson Heavy Ion Review.
Level-1 Calorimeter Trigger Readout Driver FDR/PRR 15 th August 2006 Introduction to the ROD Norman Gee 15-Aug-2006 Norman Gee.
Tony WeidbergOpto WG April '081 SCT Links Long Term Monitoring Summary quality installed links Techniques for monitoring long term performance –Data links.
MICE CM28 Oct 2010Jean-Sebastien GraulichSlide 1 Detector DAQ o Achievements Since CM27 o DAQ Upgrade o CAM/DAQ integration o Online Software o Trigger.
Internet Protocol Version 4 VersionHeader Length Type of Service Total Length IdentificationFragment Offset Time to LiveProtocolHeader Checksum Source.
LHCb VELO Upgrade Strip Chip Option: Data Processing Algorithms Giulio Forcolin, Abdul Afandi, Chris Parkes, Tomasz Szumlak* * AGH-Krakow Part I: LCMS.
Peter W. PhillipsATLAS SCT Week, CERN, September/October 2002 Electrical Tests of SCT modules using RODs Peter W Phillips Rutherford Appleton Laboratory.
David Hutchcroft 1 VELO software. Lite clusters in Kalman fit 2 The VELO clusters are available both as a lite and “full” version Two consecutive blocks.
1 FTK AUX Design Review Functionality & Specifications M. Shochet November 11, 2014AUX design review.
TELL1 command line tools Guido Haefeli EPFL, Lausanne Tutorial for TELL1 users : 25.February
Threshold Scan Inject various charges and histogram number of hits seen (occupancy plot) for each pixel Vcal (charge) from 0V to 200V (101 steps) For each.
FELIX Design FELIX Design Upgrades of detector readout meeting 9 June 2014 Lorne Levinson, for the FELIX group Upgrades of detector readout meeting, 9.
LKr readout and trigger R. Fantechi 3/2/2010. The CARE structure.
ALICE Offline Week October 4 th 2006 Silvia Arcelli & Chiara Zampolli TOF Online Calibration - Strategy - TOF Detector Algorithm - TOF Preprocessor.
Atlas SCT ROD FDR Implementation Model August 20, 2002 Atlas Wisconsin Group Khang Dao, Damon Fasching, Douglas Ferguson, Owen Hayes, Richard Jared, John.
1 Tracker Software Status M. Ellis MICE Collaboration Meeting 27 th June 2005.
14 th IEEE-NPSS Real Time Stockholm - June 9 th 2005 P. F. Zema The GNAM monitoring system and the OHP histogram presenter for ATLAS 14 th IEEE-NPSS Real.
Overview of EMU Software Rick Wilkinson. Slice Test DAQ We succeeded in using Slice Test DAQ code to take test beam data, combining chamber and trigger.
July 10, 2001 Status Report of the ROD Testing at BNL Kin Yip Activity update of the ROD system at BNL: DAQ-1 with trigger controller Data corruption testing.
1 4 July 2006 Alan Barr - SCT DAQ Experience and plans from running the (SCT) DAQ at SR1 HEP Cosmics setup Running modes Problems Future.
FTK high level simulation & the physics case The FTK simulation problem G. Volpi Laboratori Nazionali Frascati, CERN Associate FP07 MC Fellow.
Status and Plans for Xilinx Development
D. Elia (INFN Bari)ALICE Offline week / CERN Update on the SPD Offline Domenico Elia in collaboration with H. Tydesjo, A. Mastroserio Overview:
Calliope-Louisa Sotiropoulou FTK: E RROR D ETECTION AND M ONITORING Aristotle University of Thessaloniki FTK WORKSHOP, ALEXANDROUPOLI: 10/03/2014.
Off-Detector Processing for Phase II Track Trigger Ulrich Heintz (Brown University) for U.H., M. Narain (Brown U) M. Johnson, R. Lipton (Fermilab) E. Hazen,
Data Link Control. The two main functions of the data link layer are data link control and media access control. The first, data link control, deals with.
GUIDO VOLPI – UNIVERSITY DI PISA FTK-IAPP Mid-Term Review 07/10/ Brussels.
ATLAS Pre-Production ROD Status SCT Version
Network Architecture Layered system with alternative abstractions available at a given layer.
SCT readout limitation estimate with data
DAQ for ATLAS SCT macro-assembly
Experience with DAQ for ATLAS SCT
6 /30 Meeting and Deliverables
CPM plans: the short, the medium and the long
CP/JEP Rod Prototype Tests
CGS 3763 Operating Systems Concepts Spring 2013
Tracker Software Status
L1 simulation review Aug 2005 Jamie Boyd
VELO Software Update TELL1 Algorithms Error analysis
Presentation transcript:

SCT Bytestream Hacking Bruce Gallop RAL High mu upgrade - 16 th May 2012

ROD Dataflow 96*40Mbs links into ROD – 3.84Gbps 32*40Mbs S-Link out of ROD – 1.28Gbs It doesn’t fit!! ABCD format has redundancy – Fixed header, trailer – BC and L1ID should be the same on all links – Three time bins -> 4 bits per hit

SCT Bytestream The ROD formatter converts data from ABCD bitstream to “bytestream” Sent to ROS over S-link Becomes a ROD event fragment Wrapped up by ROS and put into the ATLAS event Interpreted offline by bytestream decoder

ROD Event Fragment 9 32-bit words header: – Header, size, version, RODID, run, L1, BC, ttype, event type DATA (n*16-bit words) – Link header (present if hits on link) – Hit words – Link trailer (present if errors in trailer) 5 32-bit words trailer – 2*status, size, nwords, format

Data Words Link header “following words are from this link” Clusters of hits (within a chip) stored in sequence – Expanded: Start of cluster 1FFFFCCCCCCC0DDD 1 hit cluster 1xxxxxxx0xxx1DDD 2 hit cluster 1xxxxxxx1DDD1DDD 3 hits = S + 2, 4 hits = S etc – Condensed: One hit 1FFFFCCCCCCCxfx0 Two hit 1FFFFCCCCCCCsfx1 3 hits = 2 + 1, 4 hits = etc Trailer “there were errors in the trailer”

Unused Bits ROD fragment header/trailer – But only once per fragment In data words (x on previous page) Condensed mode assumes 1 or 2 hit clusters – 3 or more hits repeats the chip and channel Error flags – Link header/trailer

New Format Strawman Keep fragment header/trailer One of many possibilities Based on bits – Link header 8 bits (0) + 7 bits – Cluster 12 + n*2 bits (1) + 11 (chip+channel) + 2 bits per hit – No error bits (still have fragment trailer) Simulation suggests (qv Susumu’s talk) – ~15% improvement 44-58

Variations Drop link header for “no hits on this link” Cluster: chip+channel + 4bits n-hits (16bits) – cluster of 16 or more uses more words Restore some bits for errors Fragment H/T based on ATLAS format 3 – Can be substantially reduced in 4 – L1, BC absolutely required, check others

Why Not? ROD is stable – Last format change was a bit in the link header to signify a disabled link Lots of software to update – Histogramming engine in ROD DSP – Byte stream converter in offline – ROS monitoring code Possibly lose details of errors Needs lots of testing

Time estimates ROD FPGAs – Formatter converts bitstream to stream of words – EFB collects link fragments and checks some errors – Router transfers data to SLink 16-bit words: – Changes mostly in formatter, also handling of errors Couple of months for firmware Testing a few months (schedule permitting) Software similar Irregular words: – Changes to other parts of datapath Affects Pixel too (formatter only detector specific code) Estimate at least double time for implementation

Conclusions There is room for improvement in the bytestream mainly due to the packing of larger clusters Suggestion from simulation is a gain of 15% with a naive scheme Quite a bit of disruption to different areas – Significant ROD firmware update – Different software

ABCD format Header – Counters – LLLLBBBBBBBB Hits – 01CCCCccccccc(0xxx)* No hit – 001 Trailer –

Hit data Header: 001ptlbKdMMMMMMM Trailer: 010zhvxxxxxxxxxx 1 hit condensed 1FFFFCCCCCCCxfx0 2 hits condensed 1FFFFCCCCCCCsfx1 1st hit cluster expanded 1FFFFCCCCCCC0DDD 1 hit cluster expanded 1xxxxxxx0xxx1DDD 2 hit cluster expanded 1xxxxxxx1DDD1DDD Flagged error 000xxxxxxFFFFEEE Raw data 011nnnxxWWWWWWWW