Efficient Data-Race Detection 4/26/2011 Efficient
1 / 1

Efficient Data-Race Detection 4/26/2011 Efficient

Author : conchita-marotz | Published Date : 2025-05-12

Description: Efficient DataRace Detection 4262011 Efficient DataRace Detection 1 Recap Happensbefore based datarace detection Shazs guest lecture Vector clock algorithm Lockset based datarace detection Eraser paper discussion 4262011

Presentation Embed Code

Download Presentation

Download Presentation The PPT/PDF document "Efficient Data-Race Detection 4/26/2011 Efficient" is the property of its rightful owner. Permission is granted to download and print the materials on this website for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.

Transcript:Efficient Data-Race Detection 4/26/2011 Efficient:
Efficient Data-Race Detection 4/26/2011 Efficient Data-Race Detection 1 Recap Happens-before based data-race detection Shaz’s guest lecture Vector clock algorithm Lock-set based data-race detection Eraser paper discussion 4/26/2011 Efficient Data-Race Detection 2 New Definition of a Data Race Two instruction conflict if They access the same memory location At least one of them is a write A program contains a data race if One can schedule the program on a multiprocessor Such that conflicting instructions execute simultaneously 4/26/2011 Efficient Data-Race Detection 3 New Definition vs Happens-Before 4/26/2011 Efficient Data-Race Detection 4 Lock L X = 1 X = 3 Unlock L Lock L X = 2 Unlock L New Definition vs Happens-Before 4/26/2011 Efficient Data-Race Detection 5 Lock L X = 1 X = 3 Unlock L Lock L X = 2 Unlock L New Definition vs Happens-Before True or False ? If a program has a data race as per the new definition Then it has a data race as per the happens-before definition 4/26/2011 Efficient Data-Race Detection 6 New Definition vs Happens-Before True or False ? If a program has a data race as per the new definition Then it has a happens-before data race If a program has a happens-before data race Then it has a data race as per the new definition 4/26/2011 Efficient Data-Race Detection 7 New Definition vs Lock Set True or False ? If a program has a data race as per the new definition Then it has a lock-set based data race If a program has a lock-set based data race Then it has a data race as per the new definition 4/26/2011 Efficient Data-Race Detection 8 Challenges For Dynamic Data Race Detection Dynamically monitor memory accesses Need instrumentation infrastructure Performance overhead 4/26/2011 Efficient Data-Race Detection 9 Challenges For Dynamic Data Race Detection Dynamically monitor memory accesses Need instrumentation infrastructure Performance overhead Understand synchronization mechanisms Handle home-grown locks Need to annotate the happens-before relationship 4/26/2011 Efficient Data-Race Detection 10 Challenges For Dynamic Data Race Detection Dynamically monitor memory accesses Need instrumentation infrastructure Performance overhead Understand synchronization mechanisms Handle home-grown locks Need to annotate the happens-before relationship Maintain detection meta-data per variable, per synchronization object Manage memory Performance overhead 4/26/2011 Efficient Data-Race Detection 11 DataCollider [OSDI ‘10] Lightweight < 5% overhead Effective Found data races in all applications we have run Easy to implement The algorithm can be described in ~ 10 lines 4/26/2011

Download Document

Here is the link to download the presentation.
"Efficient Data-Race Detection 4/26/2011 Efficient"The content belongs to its owner. You may download and print it for personal use, without modification, and keep all copyright notices. By downloading, you agree to these terms.

Related Presentations

Talking About Race: Critical Race Theory, Intersectionality Race ≠Racism Lightweight Data Race Detection for Production Runs Lightweight Data Race Detection for Production Runs Effective Data-Race Detection for the Kernel NICOSIA RACE CLUB RESULTS OF THE 93rd RACE MEETING HELD ON   22 / 11 / THE KENTUCKY DERBY The Kentucky Derby is the most famous horse race in the world.  The THE KENTUCKY DERBY The Kentucky Derby is the most famous horse race in the world.  The Critical Race Theory What is Critical Race Theory? Accelerating Precise Race Detection Using Commercially-Available Hardware Transactional Race Age by Race SAS Deep Learning   Object Detection, Keypoint Detection A Probabilistic Misbehavior Detection Scheme towards Efficient Trust Establishment in