Towards Reducing Energy Consumption Using Inter-Process Scheduling in Preemptive Multitasking OS

S. Mostafa, S. Kusakabe
{"title":"Towards Reducing Energy Consumption Using Inter-Process Scheduling in Preemptive Multitasking OS","authors":"S. Mostafa, S. Kusakabe","doi":"10.1109/PLATCON.2016.7456832","DOIUrl":null,"url":null,"abstract":"In this paper, we propose a new approach to efficiently reduce energy consumption when running multithreaded processes concurrently. Current proportional sharing schedulers of general purpose OSs don't take into account greedy behavior of multithreaded process (processes with more threads receive more aggregate CPU time from the scheduler relative to processes with fewer threads) when scheduling threads. In order to reduce energy consumption for simultaneous multithreaded (SMT) architectures, we investigate the effect of adjusting the weights of running sibling threads (threads forked from the same process) using novel proportional sharing scheduler, Thread Weight Readjustment Scheduler (TWRS), which aims to reduce the greedy behavior and the number of context switches. The context switches time is a pure overhead because the system does no useful work while switching. Reducing such overhead leads to minimizing energy consumption. TWRS provides a practical solution for multitasking OSs because it operates in concert with existing kernels. We have implemented TWRS in Linux 2.6.24-1, which represents the most prevalent scheduler design, e.g. Completely Fair Scheduler (CFS). The proposed scheduler based on a modification on the Linux kernel to schedule multithreaded processes in a multitasking OS environment. Our evaluation shows that our scheduler reduces energy consumption.","PeriodicalId":247342,"journal":{"name":"2016 International Conference on Platform Technology and Service (PlatCon)","volume":"65 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-02-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2016 International Conference on Platform Technology and Service (PlatCon)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/PLATCON.2016.7456832","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 5

Abstract

In this paper, we propose a new approach to efficiently reduce energy consumption when running multithreaded processes concurrently. Current proportional sharing schedulers of general purpose OSs don't take into account greedy behavior of multithreaded process (processes with more threads receive more aggregate CPU time from the scheduler relative to processes with fewer threads) when scheduling threads. In order to reduce energy consumption for simultaneous multithreaded (SMT) architectures, we investigate the effect of adjusting the weights of running sibling threads (threads forked from the same process) using novel proportional sharing scheduler, Thread Weight Readjustment Scheduler (TWRS), which aims to reduce the greedy behavior and the number of context switches. The context switches time is a pure overhead because the system does no useful work while switching. Reducing such overhead leads to minimizing energy consumption. TWRS provides a practical solution for multitasking OSs because it operates in concert with existing kernels. We have implemented TWRS in Linux 2.6.24-1, which represents the most prevalent scheduler design, e.g. Completely Fair Scheduler (CFS). The proposed scheduler based on a modification on the Linux kernel to schedule multithreaded processes in a multitasking OS environment. Our evaluation shows that our scheduler reduces energy consumption.
在抢占式多任务操作系统中利用进程间调度降低能耗
在本文中,我们提出了一种新的方法来有效地降低多线程进程并发运行时的能耗。当前通用操作系统的比例共享调度器在调度线程时没有考虑多线程进程的贪婪行为(线程较多的进程相对于线程较少的进程从调度器获得更多的聚合CPU时间)。为了降低同步多线程(SMT)架构的能耗,我们研究了使用一种新型的比例共享调度程序——线程权重调整调度程序(TWRS)来调整运行的兄弟线程(从同一进程派生的线程)的权重的效果,该调度程序旨在减少贪婪行为和上下文切换的数量。上下文切换时间是纯粹的开销,因为系统在切换时没有做任何有用的工作。减少这类开销可以最大限度地减少能源消耗。TWRS为多任务操作系统提供了一个实用的解决方案,因为它可以与现有的内核协同工作。我们在Linux 2.6.24-1中实现了TWRS,它代表了最流行的调度器设计,例如完全公平调度器(CFS)。该调度器基于对Linux内核的修改,用于在多任务操作系统环境中调度多线程进程。我们的评估表明,我们的调度器减少了能源消耗。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信