Digitala Vetenskapliga Arkivet

Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Exploring the Search Space of Hybrid E/P Cores Prefetch Configurations using Machine Learning
Uppsala University, Disciplinary Domain of Science and Technology, Mathematics and Computer Science, Department of Information Technology.
2025 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesis
Abstract [en]

In modern computer architecture, prefetching is a technique used to improve performance by bridging the memory latency gap between the processor and the memory. Prefetchers predict which data or instructions will be needed soon and fetch them from higher levels of the memory hierarchy to lower levels. However, overly aggressive prefetching can lead to [pollution] in the last-level cache, disrupt efficient workload distribution across cores by altering the per-thread cache hit rate, and can significantly increase memory bandwidth usage. This issue is particularly pronounced in heterogeneous CPU architectures, such as Intel's Arrow Lake, which combines Performance cores (P-cores) and Efficiency cores (E-cores).

E-cores offer fine-grained control over prefetching, making it crucial to co-optimize E-core prefetching alongside the overall system configurations to achieve the best performance. A pilot study has explored the energy and performance behavior of E-cores and P-cores with a subset of different thread counts on an Intel Meteor Lake processor. The study also examined the search space and estimated the potential performance gains a dynamic optimizer could achieve.

The main goal of this thesis is to design a system that attempts to search for an optimal prefetcher configuration along with other system settings to maximize performance while minimizing energy consumption. We also aim to determine whether the best-performing configurations for a given benchmark suite remain effective across different benchmarks.

The Intel Arrow Lake architecture provides 35 tunable parameters for its hardware E-core prefetchers, accessible through various Model-Specific Registers (MSRs). In this thesis, we selected 15 prefetcher parameters from the available set and combined them with other system-level parameters, such as E-core and P-core frequencies, number of threads, OpenMP scheduling strategies, and compiler flags, resulting in a configuration space of over 6 billion unique combinations.

Given the vast configuration search space, we use machine learning techniques, specifically Bayesian Optimization, to search the vast space. Then we analyze data and effectively select the top-performing and/or energy-efficient configurations. Through the combination of dynamic search techniques and data analytics methods such as Random Forest classification and K-means clustering, this thesis successfully identified configuration parameters that strongly influence performance, energy consumption, and EDP. To further assess the role of prefetcher tuning, we conducted three focused case studies where only prefetcher settings were optimized under fixed core frequency regimes (low, mid, and high range). Despite the vast search space, these techniques allowed us to efficiently explore meaningful regions and uncover high-impact configurations, demonstrating that intelligent tuning can lead to significant system-level improvements.

Place, publisher, year, edition, pages
2025.
Series
IT ; mDV 25 026
Keywords [en]
Heterogeneous architecture, Prefetcher tuning, Efficiency cores, Performance optimization, Energy consumption, Machine learning, Feature importance
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:uu:diva-564090OAI: oai:DiVA.org:uu-564090DiVA, id: diva2:1985357
Educational program
Master Programme in Computer Science
Supervisors
Examiners
Available from: 2025-07-24 Created: 2025-07-23 Last updated: 2025-08-11Bibliographically approved

Open Access in DiVA

fulltext(3921 kB)306 downloads
File information
File name FULLTEXT02.pdfFile size 3921 kBChecksum SHA-512
579debeeb5d7d06b26547d52167ba87a6fb1e19cb2f288548a17cc019d304c46f845a119fb7faa9f6de31050207692743fbe26911ff35c41456db150f3fc45bd
Type fulltextMimetype application/pdf

By organisation
Department of Information Technology
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 368 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 2024 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf