...
首页> 外文期刊>Proceedings of the Workshop on Principles of Advanced and Distributed Simulation >Time-Sharing Time Warp via Lightweight Operating System Support
【24h】

Time-Sharing Time Warp via Lightweight Operating System Support

机译:通过轻量级操作系统支持实现分时时间扭曲

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

获取外文期刊封面封底 >>

       

摘要

The order according to which the different tasks are carried out within a Time Warp platform has a direct impact on performance, given that event processing is speculative, thus being subject to the possibility of being rolled-back. It is typically recognized that not-yet-executed events having lower timestamps should be given higher CPU-schedule priority, since this contributes to keep low the amount of rollbacks. However, common Time Warp platforms usually execute events as atomic actions. Hence control is bounced back to the underlying simulation platform only at the end of the current event processing routine. In other words, CPU-scheduling of events resembles classical batch-multitasking scheduling, which is recognized not to promptly react to variations of the priority of pending tasks (e.g. associated with the injection of new events in the system). In this article we present the design and implementation of a timesharing Time Warp platform, to be run on multi-core machines, where the platform-level software is allowed to take back control on a periodical basis (with fine grain period), and to possibly preempt any ongoing event processing activity in favor of dispatching (along the same thread) any other event that is revealed to have higher priority. Our proposal is based on an ad-hoc kernel module for Linux, which implements a fine grain timer-interrupt mechanism with lightweight management, which is fully integrated with the modern top/bottom-half timer-interrupt Linux architecture, and which does not induce any bias in terms of relative CPU-usage planning across Time Warp vs non-Time Warp threads running on the machine. Our time-sharing architecture has been integrated within the open source ROOT-Sim optimistic simulation package, and we also report some experimental data for an assessment of our proposal.
机译:考虑到事件处理是推测性的,因此在时间扭曲平台中执行不同任务的顺序对性能有直接影响,因此可能会被回滚。通常认识到,应将具有较低时间戳的尚未执行的事件分配给较高的CPU调度优先级,因为这有助于保持较低的回滚量。但是,常见的时间扭曲平台通常将事件作为原子动作执行。因此,仅在当前事件处理例程结束时,控制才被弹回到底层的仿真平台。换句话说,事件的CPU调度类似于经典的批处理多任务调度,其被认为不会迅速对待处理任务的优先级的变化做出反应(例如,与系统中新事件的注入相关联)。在本文中,我们介绍了一种分时共享的Time Warp平台的设计和实现,该平台将在多核计算机上运行,​​该平台级别的软件被允许定期(以细粒度周期)收回控制权,并可能抢先进行任何正在进行的事件处理活动,而有利于调度(沿着同一线程)显示优先级更高的其他事件。我们的建议基于Linux的临时内核模块,该模块实现了具有轻量级管理的精细计时器中断机制,该机制与现代的上/下半计时器中断Linux体系结构完全集成,并且不会导致在计算机上运行的时间扭曲和非时间扭曲线程之间相对CPU使用计划方面的任何偏差。我们的分时架构已集成到开放源代码ROOT-Sim乐观模拟程序包中,并且我们还报告了一些实验数据以评估我们的建议。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号