{"title":"优化锁定密集型多线程并行应用程序的跟踪工具开销","authors":"Ajit Singh, P. Chakraborty","doi":"10.1109/PDGC50313.2020.9315323","DOIUrl":null,"url":null,"abstract":"Often a tool collecting traces for lock-intensive applications adds overheads of its own and distorts the lock-related measurements. We highlight why tool-overhead is particularly problematic for lock-intensive applications. Tool-overhead has received limited attention in existing research. The primary reason for high tool-overhead, as per our analysis is cache- coherence related overheads for tracing tool data structure. Using the insight, we develop Mutexis, an optimized user-level dynamic binary instrumentation (DBI) tracing PIN tool. To show tool effectiveness, we use lock-intensive applications from PARSEC and Splash3X benchmarks. We compare the proposed tool's overhead with tool-overhead of other researchers. The tool-overhead of mutexis is minimal, growing up to 2.1X for lock- intensive applications (4X to lOOX for others) and is negligible in most cases. This is so, even when our tool captures detail cycle- stamped traces of POSIX lock function compared to limited aggregate statistics collected by other researchers tools.","PeriodicalId":347216,"journal":{"name":"2020 Sixth International Conference on Parallel, Distributed and Grid Computing (PDGC)","volume":"57 2 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-11-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Optimizing Trace Tool-overhead for Lock-Intensive Multi-threaded Parallel Applications\",\"authors\":\"Ajit Singh, P. Chakraborty\",\"doi\":\"10.1109/PDGC50313.2020.9315323\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Often a tool collecting traces for lock-intensive applications adds overheads of its own and distorts the lock-related measurements. We highlight why tool-overhead is particularly problematic for lock-intensive applications. Tool-overhead has received limited attention in existing research. The primary reason for high tool-overhead, as per our analysis is cache- coherence related overheads for tracing tool data structure. Using the insight, we develop Mutexis, an optimized user-level dynamic binary instrumentation (DBI) tracing PIN tool. To show tool effectiveness, we use lock-intensive applications from PARSEC and Splash3X benchmarks. We compare the proposed tool's overhead with tool-overhead of other researchers. The tool-overhead of mutexis is minimal, growing up to 2.1X for lock- intensive applications (4X to lOOX for others) and is negligible in most cases. This is so, even when our tool captures detail cycle- stamped traces of POSIX lock function compared to limited aggregate statistics collected by other researchers tools.\",\"PeriodicalId\":347216,\"journal\":{\"name\":\"2020 Sixth International Conference on Parallel, Distributed and Grid Computing (PDGC)\",\"volume\":\"57 2 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2020-11-06\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2020 Sixth International Conference on Parallel, Distributed and Grid Computing (PDGC)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/PDGC50313.2020.9315323\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2020 Sixth International Conference on Parallel, Distributed and Grid Computing (PDGC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/PDGC50313.2020.9315323","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Optimizing Trace Tool-overhead for Lock-Intensive Multi-threaded Parallel Applications
Often a tool collecting traces for lock-intensive applications adds overheads of its own and distorts the lock-related measurements. We highlight why tool-overhead is particularly problematic for lock-intensive applications. Tool-overhead has received limited attention in existing research. The primary reason for high tool-overhead, as per our analysis is cache- coherence related overheads for tracing tool data structure. Using the insight, we develop Mutexis, an optimized user-level dynamic binary instrumentation (DBI) tracing PIN tool. To show tool effectiveness, we use lock-intensive applications from PARSEC and Splash3X benchmarks. We compare the proposed tool's overhead with tool-overhead of other researchers. The tool-overhead of mutexis is minimal, growing up to 2.1X for lock- intensive applications (4X to lOOX for others) and is negligible in most cases. This is so, even when our tool captures detail cycle- stamped traces of POSIX lock function compared to limited aggregate statistics collected by other researchers tools.