暂无图片
暂无图片
暂无图片
暂无图片
暂无图片
S-Bridge_性能非对称多核处理器下负载均衡代理机制-赵姗,郝春亮,翟健,李明树.pdf
69
16页
0次
2022-05-24
免费下载
软件学报 ISSN 1000-9825, CODEN RUXUEW
Journal of Software, [doi: 10.13328/j.cnki.jos.005815]
©国科学院软件研究所版权所.
S-Bridge面向性能对称异构
多核处理
1,2
,
1
,
1
,
1
1
(国科学院软件研究所基软件国家工程研究中心,
2
(国科学院研究生院, 100190)
通讯作者: , E-mail: chunliang@iscas.ac.cn
摘要: 近年来,在移动计算环境中
异构多核处理器已经逐渐成为主
多核处理器以更低的功耗成本满足设备的计算需求.
但是
一些基本方法提出了新的挑.本文面向性能非对称
异构多核环
负载均衡机制 S-Bridge,可以减少处理器微架
差异以及任务执行需求差异对传统负载均衡带来的影响
的主要贡献是从系统层提供了通用的、适配
异构性的负载均衡相关接口
器系统进行适配.本文基于 CFS HMP 调度器在
ARM
的验证,结果表明,S-Bridge 可以支持不同真实
平台和内核版本的
65%.
关键词: 异构多核;异构调度;负载均衡;
统一指令集异构多核
图法类号: TP302
: ,,,.S-Bridge
.http://www.jos.org.cn/1000-9825/5815.htm
英文引用格式: Zhao S, Hao CL, Zhai J, Li MS. S-Bridge:
The
processors. Ruan Jian Xue Bao/Journal of Software,
(in Chinese).http://www.jos.org.cn/1000
S-BridgeCPU Load Balancing A
gent for
Processors
ZHAO Shan
1,2
, HAO Chun-Liang
1
, ZHAI Jian
1
,
LI Ming
1
(
Institute of Software Chinese Academy of Science, Beijing 100190, Chin
2
(
Graduate University of Chinese Academy of Science, Beijing 100190, China
Abstract: In recent years, heterogeneous multi-
core processors have gradually become
environment. Compared with the traditional processor design, they can meet the computing needs of devices at a lower power co
Microarchitecture differences between the CPU cores also pose new challenges for some ba
paper, in order to resolve the load balancing problem of heterogeneous scheduling, a new load balancing mechanism called S
proposed, which reduces the influence of the processor microarchitecture and
S-Bridge is to provide an universal, heterogeneity-aware
load balancing interface, so that any scheduler can easily adapt to the
heterogeneous multi-
core processor systems. The experiments based on C
can be implemented on different platforms with different kernel versions. The average performance increases by more than 15%,
some best cases 65% is achieved.
Key words: heterogeneous multi-
core; heterogeneous scheduling; load balancing; single
基金项目: 家自然科学基金青年基(61305054)
收稿时间:
2018-08-04; 改时: 2018-11-15; 用时:
E-mail: jos@iscas.ac.cn
http://www.jos.org.cn
Tel: +86-10-62562563
多核处理
的负载均衡代机制
110190)
异构多核处理器已经逐渐成为主
.与传统同构的处理器设计相比,此类异
但是
,异构环境下 CPU 核之间的微架构差异也为操作系统中的
异构多核环
下调度的负载均衡问题,从系统层面提出了一
差异以及任务执行需求差异对传统负载均衡带来的影响
.S-Bridge
异构性的负载均衡相关接口
,使任意调度器都能方便地与异构多核处理
ARM
平台上进行实验,同时在 X86 平台上进行 S-Bridge 通用性
平台和内核版本的
快速实现,平均性能提升超过 15%,部分情况下可达
统一指令集异构多核
.
The
CPU load balancing agent for performance asymmetric multicore
(in Chinese).http://www.jos.org.cn/1000
-9825/5815.htm
gent for
Performance Asymmetric Multicore
LI Ming
-Shu
1
Institute of Software Chinese Academy of Science, Beijing 100190, Chin
a)
Graduate University of Chinese Academy of Science, Beijing 100190, China
)
core processors have gradually become
the mainstream in the mobile computing
environment. Compared with the traditional processor design, they can meet the computing needs of devices at a lower power co
st.
Microarchitecture differences between the CPU cores also pose new challenges for some ba
sic methods in the operating systems. In this
paper, in order to resolve the load balancing problem of heterogeneous scheduling, a new load balancing mechanism called S
-Bridge is
proposed, which reduces the influence of the processor microarchitecture and
the task requirement diversity. The main contribution of
load balancing interface, so that any scheduler can easily adapt to the
core processor systems. The experiments based on C
FS and HMP on the X86 and ARM platforms show that S-Bridge
can be implemented on different platforms with different kernel versions. The average performance increases by more than 15%,
and in
core; heterogeneous scheduling; load balancing; single
-ISA heterogeneous multi-core
2019-01-10; jos 在线出版时间: 2020-04-21
2
Journal of Software 软件学报
1
性能对称异构多核理器AMPs,asymmetric multicore processors)在同一理器集成不同架构
设计 CPU 心(Core,核心有不同的,比如高性功耗,协同作提供良的性功耗
比(效)
[1-3]
.典型代表 ARM big.LITTLE
[4]
构设计(如:通骁 855 华为麒麟 980,
普遍用在动终端场,可以据手上不同应的需
[5]
择不同的 CPU 心(Core,以便达到
性能功耗平衡.
,核处提供同时,也为的任诸多
[1]
,任务
高多系统能和源利的重手段
[6]
,其中个重问题 CPU 度的载均
[7][8]
.由于统负
均衡要是同构核处设计,其基思想证负各个之间分布,不均,要将
务从载核移到载核
[9][10]
.然而构环,同核的微存在,同任不同
型核运行对负不尽,再以务的分布作为载均单一别标.,于不
同类任务 CPU 的利情况异显
[2-3]
,的负均衡导致不合的决.
于此,已有向异调度的设
[7][11-15]
,为异供了
的调均衡;而由平台,无环境调度支持,而降
了系调度制适配的扩展性.在上背景,本文出一新的负载衡机 S-Bridge,在系统层现对
CPU 架构任务异构的感;而对所有度器供相应开接口,助调器进异构感知负载.
本文主要献如下:1出一种新负载衡机 S-Bridge,修改调度法的提下,系统
现接参数,行处和工载的的适.S-Bridge 的贡构环可以
助没异构持的调度进行速适和性能优;2)提出一种新负载量模,在传负载度量法的
基础进行,基于任务运行能的验分,为负均衡决策供感决策;3在不的内版本上针
对不的调算法实现 S-Bridge, S-Bridge 有效性和用性.
本文 1 绍研究背和主贡献; 2 介绍构调的相工作; 3 描述构多环境下的
均衡; 4 细介 S-Bridge 设计与实; 5 绍相实验结果讨论; 6 结论及展.
2 关工
构多器最优势类型可以特定需求
[1]
.因此,任务,
感知来的的差任务,为任适的.持的化出
多研,满足
[7][11-14][16-21]
能效
[22-26]
平性
[15][27-28]
优化调度.
要是能为要优化目,面将点介已有研究.
HASS
[18]
,,
保存构签,包括在不配置上的访信息,程序否受大核.文献
[7][11][19]
根据
用的行时(比性能件信息)进行度策略的,文献
[19]
通过线程配到不同型核运行一段
时间期性进行 IPC 采样,在大核和核上行的 IPC 加速比进线程的迁,了避 IPC
带来频繁,调度策依据历 IPC 当前 IPC 权平.
[7]
建立 CPI 模型,内阻塞、外阻
塞和正执占用的周数组,过在同核采样证明线程 CPI 以执期为主时,线具有大核
(BIAS),,,.
[11]
性的计性事件(包LLC 失数,,指令间的依赖离分等)建立栈模,硬件的架
数进 MLP ILP 预测,根据测结做出调度.文献
[20]
提出种异感知的负均衡,保证
行的功耗,并通使用略提行性,线线程工作
测线迁移,根据代价行线移的.文献
[21]
采用
[20]
类似核优的调
,
[20]
.
[12]
interval
of 16
免费下载
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文档的来源(墨天轮),文档链接,文档作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论

关注
最新上传
暂无内容,敬请期待...
下载排行榜
Top250 周榜 月榜