首页> 外文学位 >Architecture support for operating system survivability and efficient bulk memory copying and initialization.
【24h】

Architecture support for operating system survivability and efficient bulk memory copying and initialization.

机译:体系结构支持操作系统的生存能力以及有效的大容量内存复制和初始化。

获取原文
获取原文并翻译 | 示例

摘要

Operating System (OS) is the fundamental layer that provides and mediates accesses to a computer system's resources for user application programs. The ever increasing size and complexity of the OS code bring the inevitable increase in the number of security vulnerabilities that can be exploited by attackers. A successful security attack on the OS has a profound impact because the OS runs at the highest processor privilege level. An OS kernel crash can freeze the entire system, terminate all running processes, and cause a long period of system unavailability. Given the increasing trend of OS security faults and the dire consequences of successful OS kernel attacks, we strive to make the OS kernel survivable, i.e. able to keep normal system operation despite security faults.;This works makes several contributions. First, we propose an OS survivability scheme that consists of three inseparable components: (1) Security attack detection mechanism, (2) security fault isolation mechanism, and (3) recovery mechanism that resumes normal system operation. We analyze the underlying performance requirement for each of the components and propose simple but carefully-designed architecture support to reduce the performance overhead. When testing with real world security attacks, our survivability scheme automatically isolates the security faults from corrupting the kernel state or affecting other executing processes, recovers the 2 kernel state and resumes execution.;Second, in order to overcome the performance overhead incurred by the checkpointing-based recovery mechanism that extensively uses bulk memory copying and initialization operations, we propose efficient architecture support for improving bulk memory copying and initialization performance. While many of the current systems rely on a loop of loads and stores, or use a single copying instruction to perform memory copying, in this work we demonstrate that the key to significantly improving the performance is removing pipeline and cache bottlenecks of the code that follows the copying instructions. We show that the bottlenecks arise due to (1) the pipeline clogged by the copying instruction, (2) lengthened critical path due to dependent instructions stalling while waiting for the copying to complete, and (3) the inability to specify (separately) the cacheability of the source and destination regions. We propose FastBCI, an architecture support that achieves the granularity efficiency of a bulk copying/initialization instruction, but without its pipeline and cache bottlenecks. When applied to OS kernel buffer management, we show that on average FastBCI achieves anywhere between 23% to 32% speedup ratios, which is roughly 3x--4x of an alternative scheme, and 1.5x--2x of a highly optimistic DMA; When applied to our OS survivability scheme, we show that an average of 1.0% performance overhead can be achieved by our survivability scheme.
机译:操作系统(OS)是基础层,可为用户应用程序提供和调解对计算机系统资源的访问。不断增长的OS代码大小和复杂性带来了不可避免的攻击者可以利用的安全漏洞数量增加。对操作系统的成功安全攻击具有深远的影响,因为操作系统以最高的处理器特权级别运行。 OS内核崩溃可能会冻结整个系统,终止所有正在运行的进程,并导致长时间的系统不可用。鉴于OS安全性故障的趋势不断增加以及成功进行OS内核攻击的可怕后果,我们努力使OS内核能够生存,即即使存在安全性故障也能够保持正常的系统运行。首先,我们提出了一个OS可生存性方案,该方案包括三个不可分割的组成部分:(1)安全攻击检测机制,(2)安全故障隔离机制和(3)恢复正常系统运行的恢复机制。我们分析了每个组件的基本性能要求,并提出了简单但经过精心设计的体系结构支持,以减少性能开销。当使用现实世界的安全攻击进行测试时,我们的生存方案会自动将安全故障与破坏内核状态或影响其他正在执行的进程隔离开来,恢复2种内核状态并恢复执行。其次,为了克服检查点所产生的性能开销基于恢复的机制广泛使用大容量存储器复制和初始化操作,我们提出了有效的体系结构支持,以提高大容量存储器复制和初始化性能。尽管当前的许多系统都依赖于加载和存储的循环,或使用一条复制指令来执行内存复制,但在这项工作中,我们证明了显着提高性能的关键在于消除后续代码的流水线和缓存瓶颈复制说明。我们显示出瓶颈是由于(1)复制指令阻塞了管道,(2)由于依赖指令在等待复制完成时停顿而延长了关键路径以及(3)无法指定(单独)源和目标区域的可缓存性。我们提出FastBCI,这是一种体系结构支持,可实现批量复制/初始化指令的粒度效率,但不存在流水线和缓存瓶颈。当应用于OS内核缓冲区管理时,我们显示平均而言,FastBCI可以实现23%到32%的加速比,大约是替代方案的3x--4x,而高度乐观DMA的1.5x--2x。当将其应用于我们的操作系统可生存性方案时,我们表明,我们的可生存性方案平均可以实现1.0%的性能开销。

著录项

  • 作者

    Jiang, Xiaowei.;

  • 作者单位

    North Carolina State University.;

  • 授予单位 North Carolina State University.;
  • 学科 Computer Science.
  • 学位 Ph.D.
  • 年度 2010
  • 页码 131 p.
  • 总页数 131
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号