Please use this identifier to cite or link to this item: https://hdl.handle.net/20.500.11779/2246
Title: EAFT: Evolutionary algorithms for GCC flag tuning
Other Titles: EAFT: Evrimsel algoritmalar ile GCC işaretçi optimizasyonu
Authors: Tağteki̇n, Burak
Advisors: Çakar, Tuna
Keywords: Bilgisayar Mühendisliği Bilimleri-Bilgisayar ve Kontrol
Computer Engineering and Computer Science and Control
Publisher: MEF Üniversitesi
Source: Tağteki̇n, B., (2023). EAFT: Evolutionary algorithms for GCC flag tuning, MEF Üniversitesi, Fen Bilimleri Enstitüsü, Fen Bilimleri Ana Bilim Dalı. ss. 1-64
Abstract: Yazılan kodların çalışma süresi, özellikle de bir kez derlenip birden fazla kez çalıştırılacak olanlar için çok büyük önem arz etmektedir. Çalışma süresi boyunca kodun kullanacağı kaynakların verimli hale getirilmesi ya da bekleme sürelerinin azaltılması birçok geliştirici için çok önemlidir. C, C++ gibi kodların derlenip çalıştırılması hususunda GCC ya da LLVM gibi derleyiciler kullananlar bu konuda optimizasyon işini manuel bir şekilde yapıp kodun belirli optimizasyon işaretçileri ile daha kısa sürede çalışmasını sağlayabilir. Bu durum yukarıda bahsi gecen yararları sağlayacaktır ancak seçimi yapmak her geliştirici için o kadar da kolay olmamaktadır zira 200'den fazla flag içerisinden doğru kombinasyonu seçmek uzmanlık isteyen bir alandır. Bu problemin de önüne geçmek için literatürde birçok çalışma yapılmıştır. Bu çalışma kapsamında ise bu soruna bir çözüm olarak EAFT: Evolutionary Algorithms for GCC Flag Tuning geliştirilmiştir. Tamamen açık kaynaklı olan bu Autotuner, son kullanıcının temin edeceği kodu, yine son kullanıcının seçeceği özellikler doğrultusunda çalıştırıp onun için en uygun olan optimizasyon işaretçilerini arar. Son kullanıcıya özellikle hitap eden bu çalışma doğrultusunda verilecek olan kod için kullanıcı hangi seçim metodunu kullanacağından hangi çaprazlamanın kullanılmasını istediğine kadar birçok noktada direkt olarak Terminal üzerinden seçim yapılabilmesine olanak sağlar. Bu seçimler EAFT içerisinde bir kısım ya da kod değiştirilmeden yapılabilecek kolaylıktadır. Kullanılacak olan evrimsel algoritma da EAFT içerisinde kullanıcının seçimine sunulmuştur ve evrimsel algoritmalar diğer çalışmalardan farklı olarak bir değil birden fazla model içerir.
The runtime of written codes is a matter of great importance, especially for code that is compiled once and executed multiple times. It is very important for developers to ensure that the resources required by a code are used as efficiently as possible, and that the runtime is as low as possible. Developers who use compilers such as GCC or LLVM to compile and run code written in C or C++ can optimize their code manually and, with certain optimization pointers, are able to make it run faster. This will provide the shorter runtime, but completıng this manual optimization is within the abilities of every developer since determining the right combination from more than 200 flags requires significant expertise. Many studies have tackled this issue. In this study, Evolutionary Algorithms for GCC Flag Tuning (EAFT) have been developed as a solution to this problem. This Autotuner, which is completely open-source, runs the code provided by the end user according to the specifications also selected by the end user, and searches for the most suitable optimization markers. For the code to be given In line with this study, which specifically addresses the end user, the user can input the code path directly from the Terminal, as well as specify the selection method and the crossover to be used. These choices can be made without the need to alter the code. The genetic algorithm and particle swarm optimization to be used is also presented to the user in EAFT, and unlike in other studies, genetic algorithm contain not one but several models.
URI: https://tez.yok.gov.tr/UlusalTezMerkezi/TezGoster?key=nLNfCsWgUluh5T2iyudShgWzDnr5KLF3Szx6nFy9ikogIW4cXAmAbG7rz6-wLvMM
https://hdl.handle.net/20.500.11779/2246
Appears in Collections:FBE, Yüksek Lisans - Tez Koleksiyonu

Files in This Item:
File Description SizeFormat 
827943.pdfTez Dosyası2.71 MBAdobe PDFThumbnail
View/Open
Show full item record



CORE Recommender

Page view(s)

6
checked on Jun 26, 2024

Google ScholarTM

Check





Items in GCRIS Repository are protected by copyright, with all rights reserved, unless otherwise indicated.