当前位置: X-MOL 学术arXiv.cs.OS › 论文详情
Our official English website, www.x-mol.net, welcomes your feedback! (Note: you will need to create a separate account there.)
Thread Evolution Kit for Optimizing Thread Operations on CE/IoT Devices
arXiv - CS - Operating Systems Pub Date : 2021-01-20 , DOI: arxiv-2101.08062
Geunsik Lim, Donghyun Kang, Young Ik Eom

Most modern operating systems have adopted the one-to-one thread model to support fast execution of threads in both multi-core and single-core systems. This thread model, which maps the kernel-space and user-space threads in a one-to-one manner, supports quick thread creation and termination in high-performance server environments. However, the performance of time-critical threads is degraded when multiple threads are being run in low-end CE devices with limited system resources. When a CE device runs many threads to support diverse application functionalities, low-level hardware specifications often lead to significant resource contention among the threads trying to obtain system resources. As a result, the operating system encounters challenges, such as excessive thread context switching overhead, execution delay of time-critical threads, and a lack of virtual memory for thread stacks. This paper proposes a state-of-the-art Thread Evolution Kit (TEK) that consists of three primary components: a CPU Mediator, Stack Tuner, and Enhanced Thread Identifier. From the experiment, we can see that the proposed scheme significantly improves user responsiveness (7x faster) under high CPU contention compared to the traditional thread model. Also, TEK solves the segmentation fault problem that frequently occurs when a CE application increases the number of threads during its execution.

中文翻译:

线程演化套件,用于优化CE / IoT设备上的线程操作

大多数现代操作系统都采用了一对一线程模型来支持多核和单核系统中线程的快速执行。该线程模型以一对一的方式映射内核空间和用户空间线程,支持在高性能服务器环境中快速创建和终止线程。但是,当在具有有限系统资源的低端CE设备中运行多个线程时,对时间要求严格的线程的性能会降低。当CE设备运行许多线程以支持各种应用程序功能时,低级别的硬件规范通常会导致试图获取系统资源的线程之间出现大量资源争用。结果,操作系统遇到了挑战,例如过多的线程上下文切换开销,时间紧迫的线程的执行延迟,并且缺少用于线程堆栈的虚拟内存。本文提出了一种最新的线程演化套件(TEK),该套件包括三个主要组件:CPU介体,堆栈调整器和增强型线程标识符。从实验中我们可以看到,与传统线程模型相比,该方案在高CPU争用情况下显着提高了用户响应速度(快7倍)。此外,TEK解决了分段错误问题,该分段错误问题通常在CE应用程序在执行过程中增加线程数时发生。我们可以看到,与传统线程模型相比,该方案在高CPU争用情况下可显着提高用户响应速度(快7倍)。此外,TEK解决了分段错误问题,该分段错误问题通常在CE应用程序在执行过程中增加线程数时发生。我们可以看到,与传统线程模型相比,该方案在高CPU争用情况下可显着提高用户响应速度(快7倍)。此外,TEK解决了分段错误问题,该分段错误问题通常在CE应用程序在执行过程中增加线程数时发生。
更新日期:2021-01-21
down
wechat
bug