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

Detalhes bibliográficos
Autor(a) principal: Tiago Bluemel Cardoso
Data de Publicação: 2015
Tipo de documento: Dissertação
Idioma: eng
Título da fonte: Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)
Texto Completo: https://hdl.handle.net/10216/88536
Resumo: 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ório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)
repository_id_str 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ório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)instname:Agência para a Sociedade do Conhecimento (UMIC) - FCT - Sociedade da Informaçãoinstacron:RCAAP2023-11-29T12:27:02Zoai:repositorio-aberto.up.pt:10216/88536Portal AgregadorONGhttps://www.rcaap.pt/oai/openaireopendoar:71602024-03-19T23:20:34.233131Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos) - Agência para a Sociedade do Conhecimento (UMIC) - FCT - Sociedade da Informaçãofalse
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ório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)
instname:Agência para a Sociedade do Conhecimento (UMIC) - FCT - Sociedade da Informação
instacron:RCAAP
instname_str Agência para a Sociedade do Conhecimento (UMIC) - FCT - Sociedade da Informação
instacron_str RCAAP
institution RCAAP
reponame_str Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)
collection Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos)
repository.name.fl_str_mv Repositório Científico de Acesso Aberto de Portugal (Repositórios Cientìficos) - Agência para a Sociedade do Conhecimento (UMIC) - FCT - Sociedade da Informação
repository.mail.fl_str_mv
_version_ 1799135505483300864