CSR: Small: Running the Kernel Continuously with Simultaneous Multi-Threading

CSR:小:通过同时多线程连续运行内核

基本信息

  • 批准号:
    1617992
  • 负责人:
  • 金额:
    $ 50万
  • 依托单位:
  • 依托单位国家:
    美国
  • 项目类别:
    Standard Grant
  • 财政年份:
    2016
  • 资助国家:
    美国
  • 起止时间:
    2016-10-01 至 2020-09-30
  • 项目状态:
    已结题

项目摘要

Since 2002, many commodity computer processors include a feature called simultaneous multi-threading (SMT), marketed by Intel as Hyperthreading (tm). SMT enables a single processor core to perform two or more tasks in parallel. Until now, operating systems researchers have focused on accommodating SMT in existing operating system designs, investigating topics such as SMT-aware resource allocation, scheduling and synchronization methods. In this project, rather than merely accommodate SMT, we investigate a new low-level operating system design that is enabled by SMT hardware. In modern operating systems, the processor switches between the safe but quite limited 'user mode' which is used to run applications, and the unsafe but all-powerful 'supervisor mode' which is available only to the operating system. Sometimes, these switches occur millions of times per second, providing an illusion of parallel operation. In our new design, the user and supervisor modes are actually active simultaneously, but on separate SMT threads. This avoids the often high cost of frequent mode switches, and enables new efficiency and design improvements throughout the operating system. Based on preliminary measurements, we find that the throughput gains provided by conventional SMT diminishes rapidly with the number of processor cores in a system, as a result of sub-linear scalability in the application. To counter this, and to make better use of existing hardware, we propose the "cokernel" operating system design principle, where one hardware thread per CPU is dedicated to continuously executing the kernel. By offloading kernel duties from the other hardware thread(s), a cokernel operating system enables higher per-thread application throughput, avoiding scalability concerns. In addition, having a continuously executing kernel thread on each core enables a wide range of improvements to other aspects of the kernel, such as replacing most system calls with message passing, hybrid cooperative-preemptive process scheduling, kernel-assisted asynchronous inter-core and inter-socket communication and true kernel background tasks.
自2002年以来,许多商用计算机处理器都包含一种称为同步多线程(SMT)的功能,由英特尔以Hyperthreading(TM)的名称销售。SMT使单个处理器核心能够并行执行两个或多个任务。到目前为止,操作系统研究人员一直专注于在现有的操作系统设计中适应SMT,研究诸如SMT感知的资源分配、调度和同步方法等主题。在这个项目中,而不是仅仅适应SMT,我们调查了一个新的低层次的操作系统设计,是由SMT硬件。在现代操作系统中,处理器在用于运行应用程序的安全但相当有限的“用户模式”和仅对操作系统可用的不安全但全能的“管理员模式”之间切换。有时,这些开关每秒发生数百万次,提供并行操作的错觉。在我们的新设计中,用户和管理模式实际上是同时活动的,但在单独的SMT线程上。这避免了频繁模式切换的高昂成本,并在整个操作系统中实现了新的效率和设计改进。基于初步的测量,我们发现,传统的SMT提供的吞吐量增益迅速减少与系统中的处理器核心的数量,作为在应用程序中的次线性可扩展性的结果。为了解决这个问题,并更好地利用现有的硬件,我们提出了“cokernel”操作系统的设计原则,其中每个CPU的一个硬件线程专用于连续执行内核。通过从其他硬件线程卸载内核任务,协同内核操作系统可以实现更高的每线程应用程序吞吐量,避免可伸缩性问题。此外,在每个内核上具有连续执行的内核线程使得能够对内核的其他方面进行广泛的改进,例如用消息传递替换大多数系统调用、混合协作-抢占进程调度、内核辅助的异步内核间和套接字间通信以及真正的内核后台任务。

项目成果

期刊论文数量(0)
专著数量(0)
科研奖励数量(0)
会议论文数量(0)
专利数量(0)

数据更新时间:{{ journalArticles.updateTime }}

{{ item.title }}
{{ item.translation_title }}
  • DOI:
    {{ item.doi }}
  • 发表时间:
    {{ item.publish_year }}
  • 期刊:
  • 影响因子:
    {{ item.factor }}
  • 作者:
    {{ item.authors }}
  • 通讯作者:
    {{ item.author }}

数据更新时间:{{ journalArticles.updateTime }}

{{ item.title }}
  • 作者:
    {{ item.author }}

数据更新时间:{{ monograph.updateTime }}

{{ item.title }}
  • 作者:
    {{ item.author }}

数据更新时间:{{ sciAawards.updateTime }}

{{ item.title }}
  • 作者:
    {{ item.author }}

数据更新时间:{{ conferencePapers.updateTime }}

{{ item.title }}
  • 作者:
    {{ item.author }}

数据更新时间:{{ patent.updateTime }}

Jakob Eriksson其他文献

Optical Flow for Rigid Multi-Motion Scenes
刚性多运动场景的光流
A Feasibility Study of Mesh Networks for an All-Wireless Office
全无线办公室网状网络的可行性研究
  • DOI:
  • 发表时间:
    2005
  • 期刊:
  • 影响因子:
    0
  • 作者:
    Jakob Eriksson;S. Agarwal;V. Bahl;J. Padhye
  • 通讯作者:
    J. Padhye
Beyond Fairness : Flexible and Enforceable Sender Bandwidth Allocation with Justice
超越公平:灵活且可执行的发送方带宽公平分配
  • DOI:
  • 发表时间:
    2007
  • 期刊:
  • 影响因子:
    0
  • 作者:
    Jakob Eriksson
  • 通讯作者:
    Jakob Eriksson
Feasibility of Video-based Sub-meter Localization on Resource-constrained Platforms
资源受限平台上基于视频的亚米级定位的可行性
  • DOI:
  • 发表时间:
    2020
  • 期刊:
  • 影响因子:
    0
  • 作者:
    A. Musa;Jakob Eriksson
  • 通讯作者:
    Jakob Eriksson
Trading Off Accuracy, Timeliness, and Uplink Usage in Online GPS Tracking
在线 GPS 跟踪中权衡准确性、及时性和上行链路使用情况
  • DOI:
    10.1109/tmc.2015.2457432
  • 发表时间:
    2016
  • 期刊:
  • 影响因子:
    7.9
  • 作者:
    A. Musa;James Biagioni;Jakob Eriksson
  • 通讯作者:
    Jakob Eriksson

Jakob Eriksson的其他文献

{{ item.title }}
{{ item.translation_title }}
  • DOI:
    {{ item.doi }}
  • 发表时间:
    {{ item.publish_year }}
  • 期刊:
  • 影响因子:
    {{ item.factor }}
  • 作者:
    {{ item.authors }}
  • 通讯作者:
    {{ item.author }}

{{ truncateString('Jakob Eriksson', 18)}}的其他基金

CNS Core:Small:Revisiting Process Isolation with Compound Processes
CNS 核心:小:重新审视复合进程的进程隔离
  • 批准号:
    2210616
  • 财政年份:
    2022
  • 资助金额:
    $ 50万
  • 项目类别:
    Standard Grant
CNS Core: Small: Operating System Approaches for a Consolidated Rack Computer
CNS 核心:小型:整合机架计算机的操作系统方法
  • 批准号:
    2114218
  • 财政年份:
    2021
  • 资助金额:
    $ 50万
  • 项目类别:
    Standard Grant
CSR: Small: Delegation Systems for Efficient and Safe Multi-Core Programming
CSR:小型:用于高效、安全多核编程的委派系统
  • 批准号:
    1816714
  • 财政年份:
    2018
  • 资助金额:
    $ 50万
  • 项目类别:
    Standard Grant
CSR: SHF: Medium: Collaborative Research: New Horizons in Deterministic Execution
CSR:SHF:媒介:协作研究:确定性执行的新视野
  • 批准号:
    1703425
  • 财政年份:
    2017
  • 资助金额:
    $ 50万
  • 项目类别:
    Continuing Grant
Collaborative Research: CybeR-Enabled Demand-Interactive Transit for the Next-Generation Transportation Systems
合作研究:CybeR 支持的下一代交通系统的需求互动交通
  • 批准号:
    1402918
  • 财政年份:
    2014
  • 资助金额:
    $ 50万
  • 项目类别:
    Standard Grant
CSR: Small: Multi-Version Concurrency Control (MVCC) for Main Memory and its Implications for Deterministic Concurrency
CSR:小:主内存的多版本并发控制 (MVCC) 及其对确定性并发的影响
  • 批准号:
    1320235
  • 财政年份:
    2013
  • 资助金额:
    $ 50万
  • 项目类别:
    Standard Grant
CAREER: Sensor Fusion for Multi-Modal Traffic Sensing
职业:用于多模式交通传感的传感器融合
  • 批准号:
    1149989
  • 财政年份:
    2012
  • 资助金额:
    $ 50万
  • 项目类别:
    Continuing Grant
NeTS-Small: Real-Time Participatory Vehicular Sensing
NeTS-Small:实时参与式车辆传感
  • 批准号:
    1017877
  • 财政年份:
    2010
  • 资助金额:
    $ 50万
  • 项目类别:
    Standard Grant

相似国自然基金

“投早投小投硬科技”的载体构建与运行机制研究
  • 批准号:
    2025C35068
  • 批准年份:
    2025
  • 资助金额:
    0.0 万元
  • 项目类别:
    省市级项目
高速公路小净距“隧道-互通”驾驶行为与运行风险机理研究
  • 批准号:
    52302431
  • 批准年份:
    2023
  • 资助金额:
    30 万元
  • 项目类别:
    青年科学基金项目
基于小薄膜电容的三角形连接级联H桥STATCOM建模与运行研究
  • 批准号:
    52007111
  • 批准年份:
    2020
  • 资助金额:
    24.0 万元
  • 项目类别:
    青年科学基金项目
中国商业银行运行效率与经济增长
  • 批准号:
    71973148
  • 批准年份:
    2019
  • 资助金额:
    48.0 万元
  • 项目类别:
    面上项目
大学-产业界知识转移的小世界网络特性及运行模型研究
  • 批准号:
  • 批准年份:
    2019
  • 资助金额:
    14 万元
  • 项目类别:
    青年科学基金项目
大学-产业界知识转移的小世界网络特性及运行模型研究
  • 批准号:
    71904177
  • 批准年份:
    2019
  • 资助金额:
    14.0 万元
  • 项目类别:
    青年科学基金项目
基于分布式并网逆变器的微电网多谐振现象的建模分析和抑制机理研究
  • 批准号:
    51577113
  • 批准年份:
    2015
  • 资助金额:
    68.0 万元
  • 项目类别:
    面上项目
风电场次同步振荡非线性行为及稳定域的研究
  • 批准号:
    51507010
  • 批准年份:
    2015
  • 资助金额:
    20.0 万元
  • 项目类别:
    青年科学基金项目
基于小目标可见度与中间视觉理论的公路隧道照明节能运行模式研究
  • 批准号:
    61463020
  • 批准年份:
    2014
  • 资助金额:
    46.0 万元
  • 项目类别:
    地区科学基金项目
基于小微企业行为分析的安全生产服务运行机制与引导策略研究
  • 批准号:
    71373104
  • 批准年份:
    2013
  • 资助金额:
    56.0 万元
  • 项目类别:
    面上项目

相似海外基金

Powering Small Craft with a Novel Ammonia Engine
用新型氨发动机为小型船只提供动力
  • 批准号:
    10099896
  • 财政年份:
    2024
  • 资助金额:
    $ 50万
  • 项目类别:
    Collaborative R&D
"Small performances": investigating the typographic punches of John Baskerville (1707-75) through heritage science and practice-based research
“小型表演”:通过遗产科学和基于实践的研究调查约翰·巴斯克维尔(1707-75)的印刷拳头
  • 批准号:
    AH/X011747/1
  • 财政年份:
    2024
  • 资助金额:
    $ 50万
  • 项目类别:
    Research Grant
光干渉断層法(OCT)による表皮下小動脈・小静脈のin vivo動態観察と生理機能解明
使用光学相干断层扫描(OCT)对表皮下小动脉和小静脉进行体内动态观察和生理功能阐明
  • 批准号:
    24K15697
  • 财政年份:
    2024
  • 资助金额:
    $ 50万
  • 项目类别:
    Grant-in-Aid for Scientific Research (C)
成人診療科における小児期発症慢性疾患患者への成人移行支援ガイドラインの作成
制定指南,支持成人临床部门患有儿童期慢性疾病的患者过渡到成年
  • 批准号:
    24K13986
  • 财政年份:
    2024
  • 资助金额:
    $ 50万
  • 项目类别:
    Grant-in-Aid for Scientific Research (C)
バーチャルキャラクターで学ぶ小児とのコミュニケーションスキルプログラムの開発
开发一个沟通技巧项目,让孩子们学习使用虚拟角色
  • 批准号:
    24K13923
  • 财政年份:
    2024
  • 资助金额:
    $ 50万
  • 项目类别:
    Grant-in-Aid for Scientific Research (C)
中小企業の脱炭素経営に関する支援策のデザインとイノベーション普及メカニズムの解明
中小企业脱碳管理支持措施设计及创新扩散机制阐明
  • 批准号:
    24K15405
  • 财政年份:
    2024
  • 资助金额:
    $ 50万
  • 项目类别:
    Grant-in-Aid for Scientific Research (C)
老齢マウス心筋細胞における核小体低分子RNA(snoRNA)の機能解析
老年小鼠心肌细胞小核仁 RNA (snoRNA) 的功能分析
  • 批准号:
    24K14708
  • 财政年份:
    2024
  • 资助金额:
    $ 50万
  • 项目类别:
    Grant-in-Aid for Scientific Research (C)
人工知能に基づく非線形高次元小標本データ解析とその社会的応用
基于人工智能的非线性高维小样本数据分析及其社会应用
  • 批准号:
    24K14847
  • 财政年份:
    2024
  • 资助金额:
    $ 50万
  • 项目类别:
    Grant-in-Aid for Scientific Research (C)
Fragment to small molecule hit discovery targeting Mycobacterium tuberculosis FtsZ
针对结核分枝杆菌 FtsZ 的小分子片段发现
  • 批准号:
    MR/Z503757/1
  • 财政年份:
    2024
  • 资助金额:
    $ 50万
  • 项目类别:
    Research Grant
Bacteriophage control of host cell DNA transactions by small ORF proteins
噬菌体通过小 ORF 蛋白控制宿主细胞 DNA 交易
  • 批准号:
    BB/Y004426/1
  • 财政年份:
    2024
  • 资助金额:
    $ 50万
  • 项目类别:
    Research Grant
{{ showInfoDetail.title }}

作者:{{ showInfoDetail.author }}

知道了