MétaCan
Menu
Back to cohort
Record W7132870557

Improving Multi-threaded Application Performance on Modern Chip Multiprocessors

2023· dissertation· W7132870557 on OpenAlexaff
Shehab Elsayed

Bibliographic record

VenueTSpace · 2023
Typedissertation
Language
FieldComputer Science
TopicParallel Computing and Optimization Techniques
Canadian institutionsUniversity of Toronto
Fundersnot available
KeywordsThread (computing)CriticalityInstruction setLearning to rankExecution time
DOInot available

Abstract

fetched live from OpenAlex

Multi-threading is one way of leveraging the increasing number of cores in today's processors to speed up applications by dividing the workload, that would otherwise be executed sequentially, across multiple threads that run in parallel. However, if one thread lags behind the rest of the threads, it will limit the overall achievable benefit from parallelization. To unlock the full potential of multi-threading such critical threads have to be predicted and optimized during runtime in a way that minimizes the difference in performance between them and the remaining threads. The large number of factors that can affect a thread's performance make critical thread prediction a very challenging task. Moreover, these factors are not completely independent of each other and can be indirectly related in ways that are difficult to model accurately. Therefore, previous works that addressed the issue of thread criticality only focused on a limited set of factors when predicting which threads are critical. However, the results presented in this thesis show that none of these factors strongly correlates to thread criticality when considered separately resulting in suboptimal thread criticality predictions. Instead of focusing on a limited set of factors, this thesis leverages machine learning to facilitate the study of a wide variety of factors that can potentially affect a thread's progress. Specifically, this thesis formulates the problem of thread criticality as a Learning-to-Rank problem. Each thread is represented by a set of runtime statistics representing the input features to the ranking model and the predicted scores reflect how critical a thread is. Using a ranking model puts more emphasis on threads' criticality scores relative to each other rather than exactly matching the criticality score for each thread. This work shows how the proposed thread criticality prediction methodology can be applied to two types of run environments. The first runs the benchmarks on a real system and uses Linux Trace Toolkit: next generation (LTTng) for data collection while the second uses Gem5 to simulate the required multi-core system. Collected results show that single features are not very accurate predictors for thread criticality compared to a model that considers several features. The obtained model performs 17% better than a single-metric based predictor in predicting threads' criticality. Finally, a case study where critical threads are prioritized by doubling the corresponding core frequency shows the potential benefit the proposed ranking model offers compared to a predictor that is based on a single feature.

Fetched live from OpenAlex and de-inverted. Abstracts are not stored in this database: the inverted indexes are 8.6 GB of the frame’s 9.3 GB of text, and the host has 13 GB free.

How this classification was reachedexpand

Full frame distilled prediction

Teacher imitation

Not calibrated prevalence, not ground truth. Human validation pending. Learned from the 10,348 direct Codex labels and 10,348 direct Gemma labels. Candidate is the union of thresholded teacher heads; consensus is their intersection. These outputs are machine_predicted_unvalidated and are not human labels or direct frontier model labels.

metaresearch head score (Codex)0.001
metaresearch head score (Gemma)0.000
Version: codex-gemma-dda1882f352aValidation status: machine_predicted_unvalidated
Candidate categoriesMeta-epidemiology (narrow)
Consensus categoriesnone
DomainCandidate signal: none · Consensus signal: none
Study designCandidate signal: Simulation or modeling · Consensus signal: none
GenreCandidate signal: Empirical · Consensus signal: none
Teacher disagreement score0.771
Threshold uncertainty score0.999

Codex and Gemma teacher scores by category

CategoryCodexGemma
Metaresearch0.0010.000
Meta-epidemiology (narrow)0.0010.001
Meta-epidemiology (broad)0.0010.000
Bibliometrics0.0010.002
Science and technology studies0.0010.000
Scholarly communication0.0010.000
Open science0.0020.000
Research integrity0.0010.001
Insufficient payload (model declined to judge)0.0000.001

Machine scores (provisional)

The two teacher heads of the student model, read on this work. A score orders the frame for review; it never asserts a category, and the validation status ships verbatim with every row.

Baseline scores from an immature model (maturity gate not passed, 7 training rounds). Scores rank; they never assert a category.

Opus teacher head0.037
GPT teacher head0.334
Teacher spread0.297 · how far apart the two teachers sit on this one work
Validation statusscore_only:v0-immature-baseline · verbatim from the scoring run: score_only means the number may rank works, and no category label ships from it

Classification

machine, unvalidated

Machine predicted; a candidate call from one teacher head, not a consensus.

Study designSimulation or modeling
Domainnot available
GenreEmpirical

How this classification was reached, model by model and score by score, is at the end of the page under "How this classification was reached".

Quick stats

Citations0
Published2023
Admission routes1
Has abstractyes

Explore more

Same venueTSpaceSame topicParallel Computing and Optimization TechniquesFrench-language works237,207