Enhancing Simulation Mode Operation of ospfd

Weigao Xie, Balaji Polepalli, M. Goyal, S. Hosseini
{"title":"Enhancing Simulation Mode Operation of ospfd","authors":"Weigao Xie, Balaji Polepalli, M. Goyal, S. Hosseini","doi":"10.1109/NBiS.2009.72","DOIUrl":null,"url":null,"abstract":"In this paper, we describe our modifications to ospfd, a popular open-source implementation of OSPF routing protocol. The ospfd software can also be run in simulation mode, where processes, representing individual routers, communicate with each other over UDP sockets. Even though ospfd provides a fine-granularity implementation of OSPF protocol, its simulation mode operation leaves a lot to be desired. The main weakness of ospfd’s simulation mode operation is its lack of distinction between the real time and simulated time. The simulated time is represented in terms of ticks and increases at the same rate as the real time, i.e. the duration of an individual tick is fixed (e.g. 50ms). Consequently, the amount of work done by a router process in a given tick depends on how long this process has access to CPU during this tick. In our modifications, we introduced separation between the real time and simulated time by assigning specific (simulated) time durations with individual protocol tasks such as routing calculations and processing of OSPF packets (Hello, LSUpdate etc.). In modified ospfd, a tick gets over only when all router processes have completed the work they are supposed to do during the current tick. Additionally, we introduced several other modifications such as event based advancement of simulated time, script-based specification of topology change events and allowing router processes to run on multiple machines.","PeriodicalId":312802,"journal":{"name":"2009 International Conference on Network-Based Information Systems","volume":"28 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2009-08-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2009 International Conference on Network-Based Information Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/NBiS.2009.72","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

In this paper, we describe our modifications to ospfd, a popular open-source implementation of OSPF routing protocol. The ospfd software can also be run in simulation mode, where processes, representing individual routers, communicate with each other over UDP sockets. Even though ospfd provides a fine-granularity implementation of OSPF protocol, its simulation mode operation leaves a lot to be desired. The main weakness of ospfd’s simulation mode operation is its lack of distinction between the real time and simulated time. The simulated time is represented in terms of ticks and increases at the same rate as the real time, i.e. the duration of an individual tick is fixed (e.g. 50ms). Consequently, the amount of work done by a router process in a given tick depends on how long this process has access to CPU during this tick. In our modifications, we introduced separation between the real time and simulated time by assigning specific (simulated) time durations with individual protocol tasks such as routing calculations and processing of OSPF packets (Hello, LSUpdate etc.). In modified ospfd, a tick gets over only when all router processes have completed the work they are supposed to do during the current tick. Additionally, we introduced several other modifications such as event based advancement of simulated time, script-based specification of topology change events and allowing router processes to run on multiple machines.
增强ospfd的仿真模式操作
在本文中,我们描述了我们对ospfd的修改,ospfd是一个流行的OSPF路由协议的开源实现。ospfd软件也可以在模拟模式下运行,其中代表单个路由器的进程通过UDP套接字相互通信。虽然ospfd提供了对OSPF协议的细粒度实现,但是它的模拟模式操作还有很多需要改进的地方。ospfd仿真模式操作的主要缺点是缺乏对实时和仿真时间的区分。模拟时间以节拍表示,并以与实际时间相同的速率增加,即单个节拍的持续时间是固定的(例如50ms)。因此,路由器进程在给定时间内完成的工作量取决于该进程在此时间内访问CPU的时间。在我们的修改中,我们引入了实时时间和模拟时间之间的分离,通过为单个协议任务分配特定的(模拟)时间持续时间,例如路由计算和OSPF数据包的处理(Hello, LSUpdate等)。在修改后的ospfd中,只有当所有的路由器进程都完成了它们在当前时间内应该做的工作时,一个tick才会结束。此外,我们还介绍了其他一些修改,例如基于事件的模拟时间改进、基于脚本的拓扑更改事件规范以及允许路由器进程在多台机器上运行。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信