• DocumentCode
    692876
  • Title

    Detection of false sharing using machine learning

  • Author

    Jayasena, Sanath ; Amarasinghe, Saman ; Abeyweera, Asanka ; Amarasinghe, Gayashan ; De Silva, Himeshi ; Rathnayake, Sunimal ; Xiaoqiao Meng ; Yanbin Liu

  • Author_Institution
    Dept. of Comput. Sci. & Eng., Univ. of Moratuwa, Moratuwa, Sri Lanka
  • fYear
    2013
  • fDate
    17-22 Nov. 2013
  • Firstpage
    1
  • Lastpage
    9
  • Abstract
    False sharing is a major class of performance bugs in parallel applications. Detecting false sharing is difficult as it does not change the program semantics. We introduce an efficient and effective approach for detecting false sharing based on machine learning. We develop a set of mini-programs in which false sharing can be turned on and off. We then run the mini-programs both with and without false sharing, collect a set of hardware performance event counts and use the collected data to train a classifier. We can use the trained classifier to analyze data from arbitrary programs for detection of false sharing. Experiments with the PARSEC and Phoenix benchmarks show that our approach is indeed effective. We detect published false sharing regions in the benchmarks with zero false positives. Our performance penalty is less than 2%. Thus, we believe that this is an effective and practical method for detecting false sharing.
  • Keywords
    learning (artificial intelligence); parallel programming; program debugging; PARSEC; Phoenix benchmarks; data analysis; false sharing detection; hardware performance event counts; machine learning; miniprograms; performance bugs; program semantics; trained classifier; Accuracy; Arrays; Hardware; Instruction sets; Training; Training data; Vectors; False Sharing; Machine Learning; Performance Events;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    High Performance Computing, Networking, Storage and Analysis (SC), 2013 International Conference for
  • Conference_Location
    Denver, CO
  • Print_ISBN
    978-1-4503-2378-9
  • Type

    conf

  • DOI
    10.1145/2503210.2503269
  • Filename
    6877463