Proceedings of the Institute for System Programming of the RAS
RUS  ENG    JOURNALS   PEOPLE   ORGANISATIONS   CONFERENCES   SEMINARS   VIDEO LIBRARY   PACKAGE AMSBIB  
General information
Latest issue
Archive

Search papers
Search references

RSS
Latest issue
Current issues
Archive issues
What is RSS



Proceedings of ISP RAS:
Year:
Volume:
Issue:
Page:
Find






Personal entry:
Login:
Password:
Save password
Enter
Forgotten password?
Register


Proceedings of the Institute for System Programming of the RAS, 2016, Volume 28, Issue 5, Pages 175–198
DOI: https://doi.org/10.15514/ISPRAS-2016-28(5)-11
(Mi tisp75)
 

Link-time optimization speedup

K. Dolgorukova, S. Arishin

Institute for System Programming of the Russian Academy of Sciences
References:
Abstract: This paper proposes the two different approaches to speed-up program build: making link-time optimization work in parallel and lightweight optimization approach. The former technique is achieved by scaling LTO system. The latter makes link to work faster because of using summaries to manage some of interprocedural optimization passes instead of full IR code in memory. The problem of horizontal LTO system scaling leads to the problem of partition of the large task to several subtasks that can be performed concurrently. The problem is complicated by the compiler pipeline model: interprocedural optimization passes works consequentially and depends on previous performed ones. That means we can divide just data on which passes works, not passes themselves. We need to divide IR code to sub-independent parts and run LTO on them in parallel. We use program call graph analysis to divide a program to parts. Therefore, our goal is to divide call graph that is one of NP-compete problems. Nevertheless, the choice of the dividing algorithm strongly depends on properties of divided graph. The main goal of our investigation is to find lightweight graph partition algorithm that works efficiently on call graphs of real programs and that does not spoil LTO performance achievements after optimizing code pieces separately. This paper proposes new graph partition algorithm for program call graphs, results of comparing this one with two other methods on SPEC CPU2000 benchmark and implementation of the algorithm in scalable LLVM-based LTO system. The implementation of this approach in LTO system shows 31% link speedup and 3% of performance degradation for 4 threads. The lightweight optimization shows 0,5% speedup for single run in lazy code loading mode.
Keywords: compilers, link-time optimization, scalability, graph division, graph clustering.
Bibliographic databases:
Document Type: Article
Language: Russian
Citation: K. Dolgorukova, S. Arishin, “Link-time optimization speedup”, Proceedings of ISP RAS, 28:5 (2016), 175–198
Citation in format AMSBIB
\Bibitem{DolAri16}
\by K.~Dolgorukova, S.~Arishin
\paper Link-time optimization speedup
\jour Proceedings of ISP RAS
\yr 2016
\vol 28
\issue 5
\pages 175--198
\mathnet{http://mi.mathnet.ru/tisp75}
\crossref{https://doi.org/10.15514/ISPRAS-2016-28(5)-11}
\elib{https://elibrary.ru/item.asp?id=27679159}
Linking options:
  • https://www.mathnet.ru/eng/tisp75
  • https://www.mathnet.ru/eng/tisp/v28/i5/p175
  • Citing articles in Google Scholar: Russian citations, English citations
    Related articles in Google Scholar: Russian articles, English articles
    Proceedings of the Institute for System Programming of the RAS
    Statistics & downloads:
    Abstract page:148
    Full-text PDF :129
    References:31
     
      Contact us:
     Terms of Use  Registration to the website  Logotypes © Steklov Mathematical Institute RAS, 2024