A top popular approach for the automatic tuning of compiler optimizations

Due to the large number of optimization sequences available in the modern compilers, creating large search areas, a comprehensive exploration of all possible sequences of passes is not possible practically. Therefore, to realize optimal performance, the process of selecting a sequence of passes is a...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Al Baity, Rafeef M., Alwan, Esraa H., Fanfakh, Ahmed B. M.
Format: Tagungsbericht
Sprache:eng
Schlagworte:
Online-Zugang:Volltext
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
container_end_page
container_issue 1
container_start_page
container_title
container_volume 2398
creator Al Baity, Rafeef M.
Alwan, Esraa H.
Fanfakh, Ahmed B. M.
description Due to the large number of optimization sequences available in the modern compilers, creating large search areas, a comprehensive exploration of all possible sequences of passes is not possible practically. Therefore, to realize optimal performance, the process of selecting a sequence of passes is a very difficult problem. In addition, finding the best optimization sequence arrangement can improve performance even for a simple program is not an easy task. However, it will additional another problem called phase order issue. In this paper, the proposed approach provides the potential to use techniques inspired by the field of Recommendation System (RS) as a solution to the compiler Autotuning problem. Our method is based on generating random optimization sequences and applying them to a group of different programs, and thus, recommending the ones that give the best execution time. Then, applying the unseen programs to the obtained optimization sequence according to the order of preferences predicted by the Top Popular (TP) algorithm. The results show that this method exceeds the standard -O3 level of the LLVM compiler in improving execution time using TP algorithm. The approach suggested using the standard evaluation of the three benchmark suites PolyBench, Shootout, and Stanford, including 50 different programs and using LLVM (Low Level Virtual Machine) compiler under Linux Ubuntu. The results obtained show that this method performs better than standard optimization level -O3 of LLVM compiler in improving the execution time by an average of 8 % for TP without rate, 20% for TP with rate for senario1 and finally 35% for TP with rate for scenario2.
doi_str_mv 10.1063/5.0094022
format Conference Proceeding
fullrecord <record><control><sourceid>proquest_scita</sourceid><recordid>TN_cdi_scitation_primary_10_1063_5_0094022</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2728287991</sourcerecordid><originalsourceid>FETCH-LOGICAL-p168t-7fe02d2876b3d96ddcc9b9ab72c2fb21921f36b1c6fb74dd1abe2a45a9dbab943</originalsourceid><addsrcrecordid>eNp9kE1LAzEYhIMoWKsH_0HAm7A1ye4mm2MpfhQKXhS8hXxsbMruJiZZQX-9W1vw5mngnYd5hwHgGqMFRrS8qxcI8QoRcgJmuK5xwSimp2C2vxakKt_OwUVKO4QIZ6yZgfUSZh9g8GHsZIQyhOil3kLrI8zbFsox-15mp2EeBze8Q2-h9n1wXRuhD9n17nuy_ZAuwZmVXWqvjjoHrw_3L6unYvP8uF4tN0XAtMkFsy0ihjSMqtJwaozWXHGpGNHEKoI5wbakCmtqFauMwVK1RFa15EZJxatyDm4OuVPTj7FNWez8GIfppSCMNFMy53iibg9U0i7_FhQhul7GL4GR2E8lanGc6j_408c_UARjyx_IzGsr</addsrcrecordid><sourcetype>Aggregation Database</sourcetype><iscdi>true</iscdi><recordtype>conference_proceeding</recordtype><pqid>2728287991</pqid></control><display><type>conference_proceeding</type><title>A top popular approach for the automatic tuning of compiler optimizations</title><source>AIP Journals Complete</source><creator>Al Baity, Rafeef M. ; Alwan, Esraa H. ; Fanfakh, Ahmed B. M.</creator><contributor>Ali, Tammar Hussein ; Kadhem, Safaa Kareem ; Al-Mussawi, Hana Kadum ; Almurshedi, Ahmed Fadhil ; Majeed, Sadiq ; Hussain, Firas Faeq K. ; Jawad, Laith Abdul Hassan M.</contributor><creatorcontrib>Al Baity, Rafeef M. ; Alwan, Esraa H. ; Fanfakh, Ahmed B. M. ; Ali, Tammar Hussein ; Kadhem, Safaa Kareem ; Al-Mussawi, Hana Kadum ; Almurshedi, Ahmed Fadhil ; Majeed, Sadiq ; Hussain, Firas Faeq K. ; Jawad, Laith Abdul Hassan M.</creatorcontrib><description>Due to the large number of optimization sequences available in the modern compilers, creating large search areas, a comprehensive exploration of all possible sequences of passes is not possible practically. Therefore, to realize optimal performance, the process of selecting a sequence of passes is a very difficult problem. In addition, finding the best optimization sequence arrangement can improve performance even for a simple program is not an easy task. However, it will additional another problem called phase order issue. In this paper, the proposed approach provides the potential to use techniques inspired by the field of Recommendation System (RS) as a solution to the compiler Autotuning problem. Our method is based on generating random optimization sequences and applying them to a group of different programs, and thus, recommending the ones that give the best execution time. Then, applying the unseen programs to the obtained optimization sequence according to the order of preferences predicted by the Top Popular (TP) algorithm. The results show that this method exceeds the standard -O3 level of the LLVM compiler in improving execution time using TP algorithm. The approach suggested using the standard evaluation of the three benchmark suites PolyBench, Shootout, and Stanford, including 50 different programs and using LLVM (Low Level Virtual Machine) compiler under Linux Ubuntu. The results obtained show that this method performs better than standard optimization level -O3 of LLVM compiler in improving the execution time by an average of 8 % for TP without rate, 20% for TP with rate for senario1 and finally 35% for TP with rate for scenario2.</description><identifier>ISSN: 0094-243X</identifier><identifier>EISSN: 1551-7616</identifier><identifier>DOI: 10.1063/5.0094022</identifier><identifier>CODEN: APCPCS</identifier><language>eng</language><publisher>Melville: American Institute of Physics</publisher><subject>Algorithms ; Compilers ; Low level ; Optimization ; Performance enhancement ; Recommender systems ; Sequences ; Virtual environments</subject><ispartof>AIP conference proceedings, 2022, Vol.2398 (1)</ispartof><rights>Author(s)</rights><rights>2022 Author(s). Published by AIP Publishing.</rights><lds50>peer_reviewed</lds50><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><linktohtml>$$Uhttps://pubs.aip.org/acp/article-lookup/doi/10.1063/5.0094022$$EHTML$$P50$$Gscitation$$H</linktohtml><link.rule.ids>309,310,314,780,784,789,790,794,4510,23929,23930,25139,27923,27924,76155</link.rule.ids></links><search><contributor>Ali, Tammar Hussein</contributor><contributor>Kadhem, Safaa Kareem</contributor><contributor>Al-Mussawi, Hana Kadum</contributor><contributor>Almurshedi, Ahmed Fadhil</contributor><contributor>Majeed, Sadiq</contributor><contributor>Hussain, Firas Faeq K.</contributor><contributor>Jawad, Laith Abdul Hassan M.</contributor><creatorcontrib>Al Baity, Rafeef M.</creatorcontrib><creatorcontrib>Alwan, Esraa H.</creatorcontrib><creatorcontrib>Fanfakh, Ahmed B. M.</creatorcontrib><title>A top popular approach for the automatic tuning of compiler optimizations</title><title>AIP conference proceedings</title><description>Due to the large number of optimization sequences available in the modern compilers, creating large search areas, a comprehensive exploration of all possible sequences of passes is not possible practically. Therefore, to realize optimal performance, the process of selecting a sequence of passes is a very difficult problem. In addition, finding the best optimization sequence arrangement can improve performance even for a simple program is not an easy task. However, it will additional another problem called phase order issue. In this paper, the proposed approach provides the potential to use techniques inspired by the field of Recommendation System (RS) as a solution to the compiler Autotuning problem. Our method is based on generating random optimization sequences and applying them to a group of different programs, and thus, recommending the ones that give the best execution time. Then, applying the unseen programs to the obtained optimization sequence according to the order of preferences predicted by the Top Popular (TP) algorithm. The results show that this method exceeds the standard -O3 level of the LLVM compiler in improving execution time using TP algorithm. The approach suggested using the standard evaluation of the three benchmark suites PolyBench, Shootout, and Stanford, including 50 different programs and using LLVM (Low Level Virtual Machine) compiler under Linux Ubuntu. The results obtained show that this method performs better than standard optimization level -O3 of LLVM compiler in improving the execution time by an average of 8 % for TP without rate, 20% for TP with rate for senario1 and finally 35% for TP with rate for scenario2.</description><subject>Algorithms</subject><subject>Compilers</subject><subject>Low level</subject><subject>Optimization</subject><subject>Performance enhancement</subject><subject>Recommender systems</subject><subject>Sequences</subject><subject>Virtual environments</subject><issn>0094-243X</issn><issn>1551-7616</issn><fulltext>true</fulltext><rsrctype>conference_proceeding</rsrctype><creationdate>2022</creationdate><recordtype>conference_proceeding</recordtype><recordid>eNp9kE1LAzEYhIMoWKsH_0HAm7A1ye4mm2MpfhQKXhS8hXxsbMruJiZZQX-9W1vw5mngnYd5hwHgGqMFRrS8qxcI8QoRcgJmuK5xwSimp2C2vxakKt_OwUVKO4QIZ6yZgfUSZh9g8GHsZIQyhOil3kLrI8zbFsox-15mp2EeBze8Q2-h9n1wXRuhD9n17nuy_ZAuwZmVXWqvjjoHrw_3L6unYvP8uF4tN0XAtMkFsy0ihjSMqtJwaozWXHGpGNHEKoI5wbakCmtqFauMwVK1RFa15EZJxatyDm4OuVPTj7FNWez8GIfppSCMNFMy53iibg9U0i7_FhQhul7GL4GR2E8lanGc6j_408c_UARjyx_IzGsr</recordid><startdate>20221025</startdate><enddate>20221025</enddate><creator>Al Baity, Rafeef M.</creator><creator>Alwan, Esraa H.</creator><creator>Fanfakh, Ahmed B. M.</creator><general>American Institute of Physics</general><scope>8FD</scope><scope>H8D</scope><scope>L7M</scope></search><sort><creationdate>20221025</creationdate><title>A top popular approach for the automatic tuning of compiler optimizations</title><author>Al Baity, Rafeef M. ; Alwan, Esraa H. ; Fanfakh, Ahmed B. M.</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-p168t-7fe02d2876b3d96ddcc9b9ab72c2fb21921f36b1c6fb74dd1abe2a45a9dbab943</frbrgroupid><rsrctype>conference_proceedings</rsrctype><prefilter>conference_proceedings</prefilter><language>eng</language><creationdate>2022</creationdate><topic>Algorithms</topic><topic>Compilers</topic><topic>Low level</topic><topic>Optimization</topic><topic>Performance enhancement</topic><topic>Recommender systems</topic><topic>Sequences</topic><topic>Virtual environments</topic><toplevel>peer_reviewed</toplevel><toplevel>online_resources</toplevel><creatorcontrib>Al Baity, Rafeef M.</creatorcontrib><creatorcontrib>Alwan, Esraa H.</creatorcontrib><creatorcontrib>Fanfakh, Ahmed B. M.</creatorcontrib><collection>Technology Research Database</collection><collection>Aerospace Database</collection><collection>Advanced Technologies Database with Aerospace</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext</fulltext></delivery><addata><au>Al Baity, Rafeef M.</au><au>Alwan, Esraa H.</au><au>Fanfakh, Ahmed B. M.</au><au>Ali, Tammar Hussein</au><au>Kadhem, Safaa Kareem</au><au>Al-Mussawi, Hana Kadum</au><au>Almurshedi, Ahmed Fadhil</au><au>Majeed, Sadiq</au><au>Hussain, Firas Faeq K.</au><au>Jawad, Laith Abdul Hassan M.</au><format>book</format><genre>proceeding</genre><ristype>CONF</ristype><atitle>A top popular approach for the automatic tuning of compiler optimizations</atitle><btitle>AIP conference proceedings</btitle><date>2022-10-25</date><risdate>2022</risdate><volume>2398</volume><issue>1</issue><issn>0094-243X</issn><eissn>1551-7616</eissn><coden>APCPCS</coden><abstract>Due to the large number of optimization sequences available in the modern compilers, creating large search areas, a comprehensive exploration of all possible sequences of passes is not possible practically. Therefore, to realize optimal performance, the process of selecting a sequence of passes is a very difficult problem. In addition, finding the best optimization sequence arrangement can improve performance even for a simple program is not an easy task. However, it will additional another problem called phase order issue. In this paper, the proposed approach provides the potential to use techniques inspired by the field of Recommendation System (RS) as a solution to the compiler Autotuning problem. Our method is based on generating random optimization sequences and applying them to a group of different programs, and thus, recommending the ones that give the best execution time. Then, applying the unseen programs to the obtained optimization sequence according to the order of preferences predicted by the Top Popular (TP) algorithm. The results show that this method exceeds the standard -O3 level of the LLVM compiler in improving execution time using TP algorithm. The approach suggested using the standard evaluation of the three benchmark suites PolyBench, Shootout, and Stanford, including 50 different programs and using LLVM (Low Level Virtual Machine) compiler under Linux Ubuntu. The results obtained show that this method performs better than standard optimization level -O3 of LLVM compiler in improving the execution time by an average of 8 % for TP without rate, 20% for TP with rate for senario1 and finally 35% for TP with rate for scenario2.</abstract><cop>Melville</cop><pub>American Institute of Physics</pub><doi>10.1063/5.0094022</doi><tpages>10</tpages></addata></record>
fulltext fulltext
identifier ISSN: 0094-243X
ispartof AIP conference proceedings, 2022, Vol.2398 (1)
issn 0094-243X
1551-7616
language eng
recordid cdi_scitation_primary_10_1063_5_0094022
source AIP Journals Complete
subjects Algorithms
Compilers
Low level
Optimization
Performance enhancement
Recommender systems
Sequences
Virtual environments
title A top popular approach for the automatic tuning of compiler optimizations
url https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-13T01%3A52%3A13IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-proquest_scita&rft_val_fmt=info:ofi/fmt:kev:mtx:book&rft.genre=proceeding&rft.atitle=A%20top%20popular%20approach%20for%20the%20automatic%20tuning%20of%20compiler%20optimizations&rft.btitle=AIP%20conference%20proceedings&rft.au=Al%20Baity,%20Rafeef%20M.&rft.date=2022-10-25&rft.volume=2398&rft.issue=1&rft.issn=0094-243X&rft.eissn=1551-7616&rft.coden=APCPCS&rft_id=info:doi/10.1063/5.0094022&rft_dat=%3Cproquest_scita%3E2728287991%3C/proquest_scita%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_pqid=2728287991&rft_id=info:pmid/&rfr_iscdi=true