Barriers reconsidered, friendlier still
Read and write barriers mediate access to the heap allowing the collector to control and monitor mutator actions. For this reason, barriers are a powerful tool in the design of any heap management algorithm, but the prevailing wisdom is that they impose significant costs. However, changes in hardwar...
Gespeichert in:
Veröffentlicht in: | SIGPLAN notices 2012-11, Vol.47 (11), p.37-48 |
---|---|
Hauptverfasser: | , , , |
Format: | Artikel |
Sprache: | eng |
Online-Zugang: | Volltext |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
container_end_page | 48 |
---|---|
container_issue | 11 |
container_start_page | 37 |
container_title | SIGPLAN notices |
container_volume | 47 |
creator | Yang, Xi Blackburn, Stephen M. Frampton, Daniel Hosking, Antony L. |
description | Read and write barriers mediate access to the heap allowing the collector to control and monitor mutator actions. For this reason, barriers are a powerful tool in the design of any heap management algorithm, but the prevailing wisdom is that they impose significant costs. However, changes in hardware and workloads make these costs a moving target. Here, we measure the cost of a range of useful barriers on a range of modern hardware and workloads. We confirm some old results and overturn others. We evaluate the microarchitectural sensitivity of barrier performance and the differences among benchmark suites. We also consider barriers in context, focusing on their behavior when used in combination, and investigate a known pathology and evaluate solutions. Our results show that read and write barriers have average overheads as low as 5.4% and 0.9% respectively. We find that barrier overheads are more exposed on the workload provided by the modern DaCapo benchmarks than on old SPECjvm98 benchmarks. Moreover, there are differences in barrier behavior between in-order and out-of- order machines, and their respective memory subsystems, which indicate different barrier choices for different platforms. These changing costs mean that algorithm designers need to reconsider their design choices and the nature of their resulting algorithms in order to exploit the opportunities presented by modern hardware. |
doi_str_mv | 10.1145/2426642.2259004 |
format | Article |
fullrecord | <record><control><sourceid>crossref</sourceid><recordid>TN_cdi_crossref_primary_10_1145_2426642_2259004</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>10_1145_2426642_2259004</sourcerecordid><originalsourceid>FETCH-LOGICAL-c307t-104f5fdb4e17078b1cd6a5eac4cc32168182546a620809ddb87a722c54dbc7033</originalsourceid><addsrcrecordid>eNotzztLA0EUBeBBFFyjte12Nk5y7507j5QajAoBG62H2XnAyprITBr_vRG3OnAOHPiEuEVYIrJeEZMxTEsivQbgM9Gh1k4iGjgXHShDEhXDpbhq7RMAFJDrxN1jqHXMtfU1x8O-jSnXnO77cir3aTotfTuO03QtLkqYWr6ZcyE-tk_vmxe5e3t-3TzsZFRgjxKBiy5p4IwWrBswJhN0DpFjVITGoSPNJhgCB-uUBmeDJYqa0xAtKLUQq__fWA-t1Vz8dx2_Qv3xCP7P6Wenn53qF4KbQ-c</addsrcrecordid><sourcetype>Aggregation Database</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype></control><display><type>article</type><title>Barriers reconsidered, friendlier still</title><source>ACM Digital Library Complete</source><creator>Yang, Xi ; Blackburn, Stephen M. ; Frampton, Daniel ; Hosking, Antony L.</creator><creatorcontrib>Yang, Xi ; Blackburn, Stephen M. ; Frampton, Daniel ; Hosking, Antony L.</creatorcontrib><description>Read and write barriers mediate access to the heap allowing the collector to control and monitor mutator actions. For this reason, barriers are a powerful tool in the design of any heap management algorithm, but the prevailing wisdom is that they impose significant costs. However, changes in hardware and workloads make these costs a moving target. Here, we measure the cost of a range of useful barriers on a range of modern hardware and workloads. We confirm some old results and overturn others. We evaluate the microarchitectural sensitivity of barrier performance and the differences among benchmark suites. We also consider barriers in context, focusing on their behavior when used in combination, and investigate a known pathology and evaluate solutions. Our results show that read and write barriers have average overheads as low as 5.4% and 0.9% respectively. We find that barrier overheads are more exposed on the workload provided by the modern DaCapo benchmarks than on old SPECjvm98 benchmarks. Moreover, there are differences in barrier behavior between in-order and out-of- order machines, and their respective memory subsystems, which indicate different barrier choices for different platforms. These changing costs mean that algorithm designers need to reconsider their design choices and the nature of their resulting algorithms in order to exploit the opportunities presented by modern hardware.</description><identifier>ISSN: 0362-1340</identifier><identifier>EISSN: 1558-1160</identifier><identifier>DOI: 10.1145/2426642.2259004</identifier><language>eng</language><ispartof>SIGPLAN notices, 2012-11, Vol.47 (11), p.37-48</ispartof><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed><citedby>FETCH-LOGICAL-c307t-104f5fdb4e17078b1cd6a5eac4cc32168182546a620809ddb87a722c54dbc7033</citedby><cites>FETCH-LOGICAL-c307t-104f5fdb4e17078b1cd6a5eac4cc32168182546a620809ddb87a722c54dbc7033</cites></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>314,776,780,27903,27904</link.rule.ids></links><search><creatorcontrib>Yang, Xi</creatorcontrib><creatorcontrib>Blackburn, Stephen M.</creatorcontrib><creatorcontrib>Frampton, Daniel</creatorcontrib><creatorcontrib>Hosking, Antony L.</creatorcontrib><title>Barriers reconsidered, friendlier still</title><title>SIGPLAN notices</title><description>Read and write barriers mediate access to the heap allowing the collector to control and monitor mutator actions. For this reason, barriers are a powerful tool in the design of any heap management algorithm, but the prevailing wisdom is that they impose significant costs. However, changes in hardware and workloads make these costs a moving target. Here, we measure the cost of a range of useful barriers on a range of modern hardware and workloads. We confirm some old results and overturn others. We evaluate the microarchitectural sensitivity of barrier performance and the differences among benchmark suites. We also consider barriers in context, focusing on their behavior when used in combination, and investigate a known pathology and evaluate solutions. Our results show that read and write barriers have average overheads as low as 5.4% and 0.9% respectively. We find that barrier overheads are more exposed on the workload provided by the modern DaCapo benchmarks than on old SPECjvm98 benchmarks. Moreover, there are differences in barrier behavior between in-order and out-of- order machines, and their respective memory subsystems, which indicate different barrier choices for different platforms. These changing costs mean that algorithm designers need to reconsider their design choices and the nature of their resulting algorithms in order to exploit the opportunities presented by modern hardware.</description><issn>0362-1340</issn><issn>1558-1160</issn><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2012</creationdate><recordtype>article</recordtype><recordid>eNotzztLA0EUBeBBFFyjte12Nk5y7507j5QajAoBG62H2XnAyprITBr_vRG3OnAOHPiEuEVYIrJeEZMxTEsivQbgM9Gh1k4iGjgXHShDEhXDpbhq7RMAFJDrxN1jqHXMtfU1x8O-jSnXnO77cir3aTotfTuO03QtLkqYWr6ZcyE-tk_vmxe5e3t-3TzsZFRgjxKBiy5p4IwWrBswJhN0DpFjVITGoSPNJhgCB-uUBmeDJYqa0xAtKLUQq__fWA-t1Vz8dx2_Qv3xCP7P6Wenn53qF4KbQ-c</recordid><startdate>20121101</startdate><enddate>20121101</enddate><creator>Yang, Xi</creator><creator>Blackburn, Stephen M.</creator><creator>Frampton, Daniel</creator><creator>Hosking, Antony L.</creator><scope>AAYXX</scope><scope>CITATION</scope></search><sort><creationdate>20121101</creationdate><title>Barriers reconsidered, friendlier still</title><author>Yang, Xi ; Blackburn, Stephen M. ; Frampton, Daniel ; Hosking, Antony L.</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-c307t-104f5fdb4e17078b1cd6a5eac4cc32168182546a620809ddb87a722c54dbc7033</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2012</creationdate><toplevel>online_resources</toplevel><creatorcontrib>Yang, Xi</creatorcontrib><creatorcontrib>Blackburn, Stephen M.</creatorcontrib><creatorcontrib>Frampton, Daniel</creatorcontrib><creatorcontrib>Hosking, Antony L.</creatorcontrib><collection>CrossRef</collection><jtitle>SIGPLAN notices</jtitle></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext</fulltext></delivery><addata><au>Yang, Xi</au><au>Blackburn, Stephen M.</au><au>Frampton, Daniel</au><au>Hosking, Antony L.</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>Barriers reconsidered, friendlier still</atitle><jtitle>SIGPLAN notices</jtitle><date>2012-11-01</date><risdate>2012</risdate><volume>47</volume><issue>11</issue><spage>37</spage><epage>48</epage><pages>37-48</pages><issn>0362-1340</issn><eissn>1558-1160</eissn><abstract>Read and write barriers mediate access to the heap allowing the collector to control and monitor mutator actions. For this reason, barriers are a powerful tool in the design of any heap management algorithm, but the prevailing wisdom is that they impose significant costs. However, changes in hardware and workloads make these costs a moving target. Here, we measure the cost of a range of useful barriers on a range of modern hardware and workloads. We confirm some old results and overturn others. We evaluate the microarchitectural sensitivity of barrier performance and the differences among benchmark suites. We also consider barriers in context, focusing on their behavior when used in combination, and investigate a known pathology and evaluate solutions. Our results show that read and write barriers have average overheads as low as 5.4% and 0.9% respectively. We find that barrier overheads are more exposed on the workload provided by the modern DaCapo benchmarks than on old SPECjvm98 benchmarks. Moreover, there are differences in barrier behavior between in-order and out-of- order machines, and their respective memory subsystems, which indicate different barrier choices for different platforms. These changing costs mean that algorithm designers need to reconsider their design choices and the nature of their resulting algorithms in order to exploit the opportunities presented by modern hardware.</abstract><doi>10.1145/2426642.2259004</doi><tpages>12</tpages><oa>free_for_read</oa></addata></record> |
fulltext | fulltext |
identifier | ISSN: 0362-1340 |
ispartof | SIGPLAN notices, 2012-11, Vol.47 (11), p.37-48 |
issn | 0362-1340 1558-1160 |
language | eng |
recordid | cdi_crossref_primary_10_1145_2426642_2259004 |
source | ACM Digital Library Complete |
title | Barriers reconsidered, friendlier still |
url | https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-27T15%3A53%3A43IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-crossref&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=Barriers%20reconsidered,%20friendlier%20still&rft.jtitle=SIGPLAN%20notices&rft.au=Yang,%20Xi&rft.date=2012-11-01&rft.volume=47&rft.issue=11&rft.spage=37&rft.epage=48&rft.pages=37-48&rft.issn=0362-1340&rft.eissn=1558-1160&rft_id=info:doi/10.1145/2426642.2259004&rft_dat=%3Ccrossref%3E10_1145_2426642_2259004%3C/crossref%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_id=info:pmid/&rfr_iscdi=true |