{"id":{"repo_id":"rice","oai_identifier":"oai:repository.rice.edu:1911/113882"},"canonical_url":"https://search.ndltd.org/etd/rice/oai:repository.rice.edu:1911/113882","repository":{"repo_id":"rice","name":"Rice University","base_url":"https://repository.rice.edu/server/oai/request"},"display":{"title":"Dynamic data race detection for OpenMP programs","abstract":"Two concurrent accesses to a shared variable that are unordered by synchronization are said to be a data race if at least one access is a write. Data races cause shared memory parallel programs to behave unpredictably and are typically considered a bug. It is hard to manually identify memory access instructions causing data races in large concurrent programs due to non-deterministic behavior affected by thread schedule. Tools for detecting data races are desired to help application developers debug data races in an efficient way. Dynamic data race detection tools detect data races by monitoring programs as they execute. Building accurate and efficient data race detection tools requires domain knowledge of concurrency control primitives provided by the specific parallel programming model upon which a program is built. OpenMP is the de-facto standard API for node level shared memory parallel programming. The complexity of OpenMP, which includes primitives for managing data environments, SPMD parallelism, work sharing, tasking, mutual exclusion, and ordering, presents a formidable challenge for precise dynamic data race detection. This dissertation describes several techniques that enable accurate dynamic data race detection for OpenMP programs. First, I describe a hybrid data race detection algorithm that allows data race detection to be executed in parallel. Second, I describe an OpenMP task labeling technique that assigns each OpenMP task a label to facilitate OpenMP-aware accurate happens-before analysis. This technique is the foundation for callback functions provided by the OpenMP Tools interface known as OMPT to get notifications about OpenMP synchronization events and create task labels based on a set of label creation rules. Third, I propose techniques for optimizing dynamic data race detection performance via a redundant memory access pruning algorithm, a readers-writer concurrency control protocol for coordinating threads as they maintain access histories for memory locations, and an OpenMP-aware access record management protocol. The second and third contributions combine to form a system called ROMP, which is a dynamic data race detector for OpenMP programs. Experiments with standard data race detection benchmarks shows that ROMP achieves high accuracy for detecting data races in OpenMP programs that contain host-side CPU-centric parallel constructs. Experiments with several OpenMP performance benchmarks show the effectiveness of proposed optimization techniques.","abstract_html":"Two concurrent accesses to a shared variable that are unordered by synchronization are said to be a data race if at least one access is a write. Data races cause shared memory parallel programs to behave unpredictably and are typically considered a bug. It is hard to manually identify memory access instructions causing data races in large concurrent programs due to non-deterministic behavior affected by thread schedule. Tools for detecting data races are desired to help application developers debug data races in an efficient way. Dynamic data race detection tools detect data races by monitoring programs as they execute. Building accurate and efficient data race detection tools requires domain knowledge of concurrency control primitives provided by the specific parallel programming model upon which a program is built. OpenMP is the de-facto standard API for node level shared memory parallel programming. The complexity of OpenMP, which includes primitives for managing data environments, SPMD parallelism, work sharing, tasking, mutual exclusion, and ordering, presents a formidable challenge for precise dynamic data race detection. This dissertation describes several techniques that enable accurate dynamic data race detection for OpenMP programs. First, I describe a hybrid data race detection algorithm that allows data race detection to be executed in parallel. Second, I describe an OpenMP task labeling technique that assigns each OpenMP task a label to facilitate OpenMP-aware accurate happens-before analysis. This technique is the foundation for callback functions provided by the OpenMP Tools interface known as OMPT to get notifications about OpenMP synchronization events and create task labels based on a set of label creation rules. Third, I propose techniques for optimizing dynamic data race detection performance via a redundant memory access pruning algorithm, a readers-writer concurrency control protocol for coordinating threads as they maintain access histories for memory locations, and an OpenMP-aware access record management protocol. The second and third contributions combine to form a system called ROMP, which is a dynamic data race detector for OpenMP programs. Experiments with standard data race detection benchmarks shows that ROMP achieves high accuracy for detecting data races in OpenMP programs that contain host-side CPU-centric parallel constructs. Experiments with several OpenMP performance benchmarks show the effectiveness of proposed optimization techniques.","abstract_has_math":false,"creators":["Gu, Yizi"],"institution":"Rice University","degree_name":"Doctor of Philosophy","degree_level":"Doctoral","degree_discipline":"Engineering","degree_department":"Computer Science","school":null,"contributors":[],"advisors":["Mellor-Crummey, John"],"committee_chairs":[],"committee_members":[],"year":2022,"date_issued":"2022-10-21","date_published":"2022-10-21","updated_at":"2026-11-19T09:23:58Z","subjects":["OpenMP","data race detection","dynamic data race detection"],"languages":["eng"],"rights":["Copyright is held by the author, unless otherwise indicated. Permission to reuse, publish, or reproduce the work beyond the bounds of fair use or other exemptions to copyright law must be obtained from the copyright holder."],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["Gu, Yizi. \"Dynamic data race detection for OpenMP programs.\" (2022) Diss., Rice University. https://hdl.handle.net/1911/11388"],"render_values":[{"text":"Gu, Yizi. \"Dynamic data race detection for OpenMP programs.\" (2022) Diss., Rice University. https://hdl.handle.net/1911/11388","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/1911/113882","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/1911/113882","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":"embargoed","embargo_until":"2024-12-01","access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Arice%3Aoai%3Arepository.rice.edu%3A1911%2F113882","prefix":"oai_dc"},"source_record":{"url":"https://repository.rice.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Arepository.rice.edu%3A1911%2F113882","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Mellor-Crummey, John"]},{"key":"dc:creator","label":"Author","values":["Gu, Yizi"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2022-11-09T19:26:34Z"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2022-12"]},{"key":"dc:date.issued","label":"Date","values":["2022-10-21"]},{"key":"dc:date.liftdate","label":"Dc Date Liftdate","values":["2024-12-01"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["December 2022"]},{"key":"dc:date.updated","label":"Dc Date Updated","values":["2022-11-09T19:26:34Z"]},{"key":"dc:type","label":"Dc Type","values":["Thesis","Text"]},{"key":"thesis:degree_department","label":"Department","values":["Computer Science"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Engineering"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Doctoral"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Doctor of Philosophy"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Rice University"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["OpenMP","data race detection","dynamic data race detection"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["eng"]},{"key":"dc:rights","label":"Dc Rights","values":["Copyright is held by the author, unless otherwise indicated. Permission to reuse, publish, or reproduce the work beyond the bounds of fair use or other exemptions to copyright law must be obtained from the copyright holder."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["Gu, Yizi. \"Dynamic data race detection for OpenMP programs.\" (2022) Diss., Rice University. https://hdl.handle.net/1911/11388"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/1911/113882"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Two concurrent accesses to a shared variable that are unordered by synchronization are said to be a data race if at least one access is a write. Data races cause shared memory parallel programs to behave unpredictably and are typically considered a bug. It is hard to manually identify memory access instructions causing data races in large concurrent programs due to non-deterministic behavior affected by thread schedule. Tools for detecting data races are desired to help application developers debug data races in an efficient way. Dynamic data race detection tools detect data races by monitoring programs as they execute. Building accurate and efficient data race detection tools requires domain knowledge of concurrency control primitives provided by the specific parallel programming model upon which a program is built. OpenMP is the de-facto standard API for node level shared memory parallel programming. The complexity of OpenMP, which includes primitives for managing data environments, SPMD parallelism, work sharing, tasking, mutual exclusion, and ordering, presents a formidable challenge for precise dynamic data race detection. This dissertation describes several techniques that enable accurate dynamic data race detection for OpenMP programs. First, I describe a hybrid data race detection algorithm that allows data race detection to be executed in parallel. Second, I describe an OpenMP task labeling technique that assigns each OpenMP task a label to facilitate OpenMP-aware accurate happens-before analysis. This technique is the foundation for callback functions provided by the OpenMP Tools interface known as OMPT to get notifications about OpenMP synchronization events and create task labels based on a set of label creation rules. Third, I propose techniques for optimizing dynamic data race detection performance via a redundant memory access pruning algorithm, a readers-writer concurrency control protocol for coordinating threads as they maintain access histories for memory locations, and an OpenMP-aware access record management protocol. The second and third contributions combine to form a system called ROMP, which is a dynamic data race detector for OpenMP programs. Experiments with standard data race detection benchmarks shows that ROMP achieves high accuracy for detecting data races in OpenMP programs that contain host-side CPU-centric parallel constructs. Experiments with several OpenMP performance benchmarks show the effectiveness of proposed optimization techniques."]},{"key":"dc:embargo.terms","label":"Dc Embargo Terms","values":["2024-12-01"]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Dynamic data race detection for OpenMP programs"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Mellor-Crummey, John"],"dc:creator":["Gu, Yizi"],"dc:date.accessioned":["2022-11-09T19:26:34Z"],"dc:date.created":["2022-12"],"dc:date.issued":["2022-10-21"],"dc:date.liftdate":["2024-12-01"],"dc:date.submitted":["December 2022"],"dc:date.updated":["2022-11-09T19:26:34Z"],"dc:description.abstract":["Two concurrent accesses to a shared variable that are unordered by synchronization are said to be a data race if at least one access is a write. Data races cause shared memory parallel programs to behave unpredictably and are typically considered a bug. It is hard to manually identify memory access instructions causing data races in large concurrent programs due to non-deterministic behavior affected by thread schedule. Tools for detecting data races are desired to help application developers debug data races in an efficient way. Dynamic data race detection tools detect data races by monitoring programs as they execute. Building accurate and efficient data race detection tools requires domain knowledge of concurrency control primitives provided by the specific parallel programming model upon which a program is built. OpenMP is the de-facto standard API for node level shared memory parallel programming. The complexity of OpenMP, which includes primitives for managing data environments, SPMD parallelism, work sharing, tasking, mutual exclusion, and ordering, presents a formidable challenge for precise dynamic data race detection. This dissertation describes several techniques that enable accurate dynamic data race detection for OpenMP programs. First, I describe a hybrid data race detection algorithm that allows data race detection to be executed in parallel. Second, I describe an OpenMP task labeling technique that assigns each OpenMP task a label to facilitate OpenMP-aware accurate happens-before analysis. This technique is the foundation for callback functions provided by the OpenMP Tools interface known as OMPT to get notifications about OpenMP synchronization events and create task labels based on a set of label creation rules. Third, I propose techniques for optimizing dynamic data race detection performance via a redundant memory access pruning algorithm, a readers-writer concurrency control protocol for coordinating threads as they maintain access histories for memory locations, and an OpenMP-aware access record management protocol. The second and third contributions combine to form a system called ROMP, which is a dynamic data race detector for OpenMP programs. Experiments with standard data race detection benchmarks shows that ROMP achieves high accuracy for detecting data races in OpenMP programs that contain host-side CPU-centric parallel constructs. Experiments with several OpenMP performance benchmarks show the effectiveness of proposed optimization techniques."],"dc:embargo.terms":["2024-12-01"],"dc:format.mimetype":["application/pdf"],"dc:identifier.citation":["Gu, Yizi. \"Dynamic data race detection for OpenMP programs.\" (2022) Diss., Rice University. https://hdl.handle.net/1911/11388"],"dc:identifier.uri":["https://hdl.handle.net/1911/113882"],"dc:language.iso":["eng"],"dc:rights":["Copyright is held by the author, unless otherwise indicated. Permission to reuse, publish, or reproduce the work beyond the bounds of fair use or other exemptions to copyright law must be obtained from the copyright holder."],"dc:subject":["OpenMP","data race detection","dynamic data race detection"],"dc:title":["Dynamic data race detection for OpenMP programs"],"dc:type":["Thesis","Text"],"others:access_status":["open.access"],"thesis:degree_department":["Computer Science"],"thesis:degree_discipline":["Engineering"],"thesis:degree_level":["Doctoral"],"thesis:degree_name":["Doctor of Philosophy"],"thesis:institution_name":["Rice University"]},"updated_at":"2026-11-19T09:23:58Z"}