A Low-Level Virtual Machine Just-In-Time Prototype for Running an Energy-Saving Hardware-Aware Mapping Algorithm on C/C++ Applications That Use Pthreads

POSIX线程 计算机科学 编译程序 线程(计算) 并行计算 虚拟机 操作系统 嵌入式系统
作者
Iulia Știrb,Gilbert-Rainer Gillich
出处
期刊:Energies [MDPI AG]
卷期号:16 (19): 6781-6781
标识
DOI:10.3390/en16196781
摘要

Low-Level Virtual Machine (LLVM) compiler infrastructure is a useful tool for building just-in-time (JIT) compilers, besides its reliable front end represented by a clang compiler and its elaborated middle end containing different optimizations that improve the runtime performance. This paper specifically addresses the part of building a JIT compiler using an LLVM with the scope of obtaining the hardware architecture details of the underlying machine such as the number of cores and the number of logical cores per processing unit and providing them to the NUMA-BTLP static thread classification algorithm and to the NUMA-BTDM static thread mapping algorithm. Afterwards, the hardware-aware algorithms are run using the JIT compiler within an optimization pass. The JIT compiler in this paper is designed to run on a parallel C/C++ application (which creates threads using Pthreads), before the first time the application is executed on a machine. To achieve this, the JIT compiler takes the native code of the application, obtains the corresponding LLVM IR (Intermediate Representation) for the native code and executes the hardware-aware thread classification and the thread mapping algorithms on the IR. The NUMA-Balanced Task and Loop Parallelism (NUMA-BTLP) and NUMA-Balanced Thread and Data Mapping (NUMA-BTDM) are expected to optimize the energy consumption by up to 15% on the NUMA systems.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
大幅提高文件上传限制,最高150M (2024-4-1)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
娜尼啊发布了新的文献求助10
刚刚
jupi完成签到,获得积分10
1秒前
Akim应助艾雪采纳,获得10
1秒前
1秒前
2秒前
滴滴哩哩发布了新的文献求助10
2秒前
旺旺饼干发布了新的文献求助10
2秒前
4秒前
苏幕遮发布了新的文献求助10
5秒前
屋子完成签到,获得积分10
6秒前
6秒前
Novajet发布了新的文献求助10
7秒前
王小头要查文献完成签到,获得积分10
7秒前
香蕉觅云应助旺旺饼干采纳,获得10
8秒前
寒蕾发布了新的文献求助10
8秒前
小张不吃香菜完成签到,获得积分10
8秒前
9秒前
娜尼啊完成签到,获得积分10
10秒前
粉星星完成签到,获得积分20
11秒前
sqdgs完成签到,获得积分10
11秒前
洋洋爱吃枣完成签到 ,获得积分10
15秒前
吴先生发布了新的文献求助10
15秒前
小漆完成签到,获得积分10
18秒前
寒蕾完成签到,获得积分10
20秒前
FOB完成签到,获得积分10
24秒前
27秒前
丘比特应助贰鸟采纳,获得10
27秒前
自由尔柳完成签到 ,获得积分10
28秒前
魔幻若血发布了新的文献求助30
29秒前
29秒前
2345发布了新的文献求助10
31秒前
31秒前
heyiyi发布了新的文献求助10
31秒前
32秒前
星辰大海应助何默采纳,获得10
32秒前
海滨之鹅发布了新的文献求助10
34秒前
34秒前
许多多发布了新的文献求助10
34秒前
35秒前
qing完成签到 ,获得积分10
36秒前
高分求助中
Teaching Social and Emotional Learning in Physical Education 900
Recherches Ethnographiques sue les Yao dans la Chine du Sud 500
Plesiosaur extinction cycles; events that mark the beginning, middle and end of the Cretaceous 500
Two-sample Mendelian randomization analysis reveals causal relationships between blood lipids and venous thromboembolism 500
Chinese-English Translation Lexicon Version 3.0 500
[Lambert-Eaton syndrome without calcium channel autoantibodies] 440
薩提亞模式團體方案對青年情侶輔導效果之研究 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 有机化学 工程类 生物化学 纳米技术 物理 内科学 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 电极 光电子学 量子力学
热门帖子
关注 科研通微信公众号,转发送积分 2388810
求助须知:如何正确求助?哪些是违规求助? 2094918
关于积分的说明 5275114
捐赠科研通 1822006
什么是DOI,文献DOI怎么找? 908730
版权声明 559485
科研通“疑难数据库(出版商)”最低求助积分说明 485587