Improving ns-3 Emulation Performance for Fast Prototyping of Network Protocols

Bibliographic Details
Main Author: Tiago Bluemel Cardoso
Publication Date: 2015
Format: Master thesis
Language: eng
Source: Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
Download full: https://hdl.handle.net/10216/88536
Summary: The development of new protocols for communication systems usually starts in a network simulator, such as ns-3, where the variables that influence the network scenario can be easily controlled to create specific and reproducible test conditions. The results of such simulations are then analyzed and used to tweak and improve the protocol. After this phase, the protocol must also be tested in a real environment to obtain more accurate and credible results. To do this, the simulation code must be ported to a real system. This process of porting code from the simulation to the implementation of the protocol leads to an increase in development time and in the chance of introducing errors. Fast prototyping is a protocol development process that attempts to solve this problem by reusing ns-3 simulation code for the implementation. This is possible because ns-3 provides emulation capabilities that allow nodes inside the simulator to communicate with those outside through an emulated network device. The problem with this approach is that emulation introduces overhead to packet processing which degrades the node's performance limiting the amount of network traffic that can be processed. We propose an approach to reduce the performance problem associated with fast prototyping that consists in migrating the data plane operations processing to outside of ns-3. In a network node, there are two planes of operation: control and data. The control plane is responsible for discovering and maintaining network routes and ensuring connectivity. The data plane uses the routing information generated by the control plane to forward network packets. In a well designed network, most of the traffic corresponds to data. By moving the data plane operations outside of ns-3 the overhead associated with this kind of traffic is greatly reduced. To validate our proposed solution, we extended the Wireless Metropolitan Routing Protocol (WMRP) and Optimized Link State Routing (OLSR) protocols to use the developed architecture, tested their performance in real environments and verified the amount of code reuse between the simulator and the real system.
id RCAP_a8e91019b54bca4551e3122a8fdbb5a9
oai_identifier_str oai:repositorio-aberto.up.pt:10216/88536
network_acronym_str RCAP
network_name_str Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
repository_id_str https://opendoar.ac.uk/repository/7160
spelling Improving ns-3 Emulation Performance for Fast Prototyping of Network ProtocolsEngenharia electrotécnica, electrónica e informáticaElectrical engineering, Electronic engineering, Information engineeringThe development of new protocols for communication systems usually starts in a network simulator, such as ns-3, where the variables that influence the network scenario can be easily controlled to create specific and reproducible test conditions. The results of such simulations are then analyzed and used to tweak and improve the protocol. After this phase, the protocol must also be tested in a real environment to obtain more accurate and credible results. To do this, the simulation code must be ported to a real system. This process of porting code from the simulation to the implementation of the protocol leads to an increase in development time and in the chance of introducing errors. Fast prototyping is a protocol development process that attempts to solve this problem by reusing ns-3 simulation code for the implementation. This is possible because ns-3 provides emulation capabilities that allow nodes inside the simulator to communicate with those outside through an emulated network device. The problem with this approach is that emulation introduces overhead to packet processing which degrades the node's performance limiting the amount of network traffic that can be processed. We propose an approach to reduce the performance problem associated with fast prototyping that consists in migrating the data plane operations processing to outside of ns-3. In a network node, there are two planes of operation: control and data. The control plane is responsible for discovering and maintaining network routes and ensuring connectivity. The data plane uses the routing information generated by the control plane to forward network packets. In a well designed network, most of the traffic corresponds to data. By moving the data plane operations outside of ns-3 the overhead associated with this kind of traffic is greatly reduced. To validate our proposed solution, we extended the Wireless Metropolitan Routing Protocol (WMRP) and Optimized Link State Routing (OLSR) protocols to use the developed architecture, tested their performance in real environments and verified the amount of code reuse between the simulator and the real system.2015-07-142015-07-14T00:00:00Zinfo:eu-repo/semantics/publishedVersioninfo:eu-repo/semantics/masterThesisapplication/pdfhttps://hdl.handle.net/10216/88536TID:201321670engTiago Bluemel Cardosoinfo:eu-repo/semantics/openAccessreponame:Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)instname:FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologiainstacron:RCAAP2025-02-27T16:33:06Zoai:repositorio-aberto.up.pt:10216/88536Portal AgregadorONGhttps://www.rcaap.pt/oai/openaireinfo@rcaap.ptopendoar:https://opendoar.ac.uk/repository/71602025-05-28T21:46:32.284546Repositórios Científicos de Acesso Aberto de Portugal (RCAAP) - FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologiafalse
dc.title.none.fl_str_mv Improving ns-3 Emulation Performance for Fast Prototyping of Network Protocols
title Improving ns-3 Emulation Performance for Fast Prototyping of Network Protocols
spellingShingle Improving ns-3 Emulation Performance for Fast Prototyping of Network Protocols
Tiago Bluemel Cardoso
Engenharia electrotécnica, electrónica e informática
Electrical engineering, Electronic engineering, Information engineering
title_short Improving ns-3 Emulation Performance for Fast Prototyping of Network Protocols
title_full Improving ns-3 Emulation Performance for Fast Prototyping of Network Protocols
title_fullStr Improving ns-3 Emulation Performance for Fast Prototyping of Network Protocols
title_full_unstemmed Improving ns-3 Emulation Performance for Fast Prototyping of Network Protocols
title_sort Improving ns-3 Emulation Performance for Fast Prototyping of Network Protocols
author Tiago Bluemel Cardoso
author_facet Tiago Bluemel Cardoso
author_role author
dc.contributor.author.fl_str_mv Tiago Bluemel Cardoso
dc.subject.por.fl_str_mv Engenharia electrotécnica, electrónica e informática
Electrical engineering, Electronic engineering, Information engineering
topic Engenharia electrotécnica, electrónica e informática
Electrical engineering, Electronic engineering, Information engineering
description The development of new protocols for communication systems usually starts in a network simulator, such as ns-3, where the variables that influence the network scenario can be easily controlled to create specific and reproducible test conditions. The results of such simulations are then analyzed and used to tweak and improve the protocol. After this phase, the protocol must also be tested in a real environment to obtain more accurate and credible results. To do this, the simulation code must be ported to a real system. This process of porting code from the simulation to the implementation of the protocol leads to an increase in development time and in the chance of introducing errors. Fast prototyping is a protocol development process that attempts to solve this problem by reusing ns-3 simulation code for the implementation. This is possible because ns-3 provides emulation capabilities that allow nodes inside the simulator to communicate with those outside through an emulated network device. The problem with this approach is that emulation introduces overhead to packet processing which degrades the node's performance limiting the amount of network traffic that can be processed. We propose an approach to reduce the performance problem associated with fast prototyping that consists in migrating the data plane operations processing to outside of ns-3. In a network node, there are two planes of operation: control and data. The control plane is responsible for discovering and maintaining network routes and ensuring connectivity. The data plane uses the routing information generated by the control plane to forward network packets. In a well designed network, most of the traffic corresponds to data. By moving the data plane operations outside of ns-3 the overhead associated with this kind of traffic is greatly reduced. To validate our proposed solution, we extended the Wireless Metropolitan Routing Protocol (WMRP) and Optimized Link State Routing (OLSR) protocols to use the developed architecture, tested their performance in real environments and verified the amount of code reuse between the simulator and the real system.
publishDate 2015
dc.date.none.fl_str_mv 2015-07-14
2015-07-14T00:00:00Z
dc.type.status.fl_str_mv info:eu-repo/semantics/publishedVersion
dc.type.driver.fl_str_mv info:eu-repo/semantics/masterThesis
format masterThesis
status_str publishedVersion
dc.identifier.uri.fl_str_mv https://hdl.handle.net/10216/88536
TID:201321670
url https://hdl.handle.net/10216/88536
identifier_str_mv TID:201321670
dc.language.iso.fl_str_mv eng
language eng
dc.rights.driver.fl_str_mv info:eu-repo/semantics/openAccess
eu_rights_str_mv openAccess
dc.format.none.fl_str_mv application/pdf
dc.source.none.fl_str_mv reponame:Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
instname:FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologia
instacron:RCAAP
instname_str FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologia
instacron_str RCAAP
institution RCAAP
reponame_str Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
collection Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
repository.name.fl_str_mv Repositórios Científicos de Acesso Aberto de Portugal (RCAAP) - FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologia
repository.mail.fl_str_mv info@rcaap.pt
_version_ 1833599418016727040