{"title":"Revitalizing ns-3’s Direct Code Execution","authors":"Partho Pratim Chatterjee, Thomas R. Henderson","doi":"10.1145/3532577.3532606","DOIUrl":"https://doi.org/10.1145/3532577.3532606","url":null,"abstract":"This paper reports on significant updates that were made to ns-3’s Direct Code Execution (DCE) feature to restore its compatibility with modern Linux distributions and kernel stacks. Recent versions of the GNU C standard library introduced security features that blocked DCE’s preferred mode of operation, and DCE’s ability to incorporate the TCP/IP kernel stack from recent Linux kernels was also disrupted by kernel evolution. This paper describes the challenges and possible solutions to each issue and summarizes the solution that was implemented to restore compatibility. Finally, a Docker-based environment was configured to ease the installation and usage of DCE for ns-3, expanding the range of Linux distributions supported. The result of this project is a forthcoming DCE release supporting Ubuntu 20.04 distributions natively, and others via Docker, and initial support for Linux kernel 5.10 use for IPv4-based applications. Our performance evaluation highlights the need to next work on performance profiling to improve execution speed.","PeriodicalId":210067,"journal":{"name":"Proceedings of the 2022 Workshop on ns-3","volume":"35 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127060647","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"From LENA to LENA-NB: Implementation and Performance Evaluation of NB-IoT and Early Data Transmission in ns-3","authors":"Pascal Jörke, Tim Gebauer, C. Wietfeld","doi":"10.1145/3532577.3532600","DOIUrl":"https://doi.org/10.1145/3532577.3532600","url":null,"abstract":"With the growing Internet of Things, more small devices require internet connections. To address the scaling number of Internet of Things devices, Narrowband Internet of Things is enhanced with new features for more efficient transmission of small data. With Early Data Transmission, a promising feature has been introduced in 3GPP Release 15, which aims to reduce the overall overhead of NB-IoT data transmissions by transmitting data without an active Radio Resource Control connection. To evaluate the impact of Early Data Transmission on the efficiency and scalability from a user and network provider perspective, we have implemented NB-IoT in ns-3, called LENA-NB. It features performance improvements such as Cellular-IoT C-Plane Optimization, Early Data Transmission, RRC Resume procedure, as well as a new cross-subframe scheduler, adaptive modulation and coding, and a detailed energy state machine. Using LENA-NB, a performance comparison of different NB-IoT transmission modes is performed, which results in a clear recommendation to use Early Data transmission per default, since it improves latency, battery lifetime, and spectral efficiency, especially in scenarios with a large number of devices.","PeriodicalId":210067,"journal":{"name":"Proceedings of the 2022 Workshop on ns-3","volume":"14 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"114602268","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Evaluation of Reinforcement-Learning Queue Management Algorithm for Undersea Acoustic Networks Using ns-3","authors":"Peng Zhang, P. Forero, D. Yap, D. Radosevic","doi":"10.1145/3532577.3532601","DOIUrl":"https://doi.org/10.1145/3532577.3532601","url":null,"abstract":"Addressing quality-of-service (QoS) requirements for software applications in undersea acoustic networks is challenging. This is in part due to the strong dependency of the characteristics on the acoustic propagation environment and the lack of effective congestion control protocols for undersea acoustic networks. In this work we propose a deep reinforcement learning (DRL) based algorithm for allocating bandwidth resources across different traffic types. Bandwidth allocations are periodically updated based on traffic prioritization, QoS delay requirements, and queue occupancy levels. A DRL agent learns the optimal bandwidth allocation policy via a Soft Actor-Critic (SAC) algorithm. In order to test the effectiveness of our proposed algorithm, we developed a weighted fair queuing (WFQ) module in ns-3 to enable testing in a high fidelity simulation environment. The WFQ module enables the use of queueing disciplines together with an ns-3 library for underwater acoustic communications and networking. The interaction between the DRL agent and the simulated environment is enabled by the ns3-gym framework. Numerical tests illustrate the performance of the DRL-based policy and a use case for the new WFQ ns-3 module.","PeriodicalId":210067,"journal":{"name":"Proceedings of the 2022 Workshop on ns-3","volume":"54 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"126588661","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Andrea Ramos, Yanet Estrada, Miguel Cantero, Jaime Romero, David Martín-Sacristán, S. Inca, M. Fuentes, J. Monserrat
{"title":"Implementation and Calibration of the 3GPP Industrial Channel Model for ns-3","authors":"Andrea Ramos, Yanet Estrada, Miguel Cantero, Jaime Romero, David Martín-Sacristán, S. Inca, M. Fuentes, J. Monserrat","doi":"10.1145/3532577.3532596","DOIUrl":"https://doi.org/10.1145/3532577.3532596","url":null,"abstract":"The Fifth Generation (5G) of mobile communications has brought a change of paradigm in the way cellular technologies are conceived. 5G has been designed to provide services not only to people, but also to industries and verticals. One of the verticals that will benefit most from the 5G is the Industry 4.0. Channel modeling for this vertical is receiving significant attention, mainly due to the increased complexity that comes with multipath fading scenarios. In order to overcome this problem, the Third Generation Partnership Project (3GPP) defined a new stochastic channel model as part of Release-16, called Indoor Factory (InF). This paper describes the implementation process of this channel model as an extension tool for one of the most well-known open-source software simulators, ns-3. Calibration results have been obtained and compared with other 3GPP references. This work permits to use ns-3 as a reliable tool for evaluating new industrial scenarios and use cases.","PeriodicalId":210067,"journal":{"name":"Proceedings of the 2022 Workshop on ns-3","volume":"35 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"123083517","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Shyam Krishnan Venkateswaran, Ching-Lun Tai, Y. Ben-Yehezkel, Yaron Alpert, Raghupathy Sivakumar
{"title":"IEEE 802.11 PSM in ns-3: A Novel Implementation and Evaluation under Channel Congestion","authors":"Shyam Krishnan Venkateswaran, Ching-Lun Tai, Y. Ben-Yehezkel, Yaron Alpert, Raghupathy Sivakumar","doi":"10.1145/3532577.3532603","DOIUrl":"https://doi.org/10.1145/3532577.3532603","url":null,"abstract":"With the proliferation of high-throughput Wi-Fi devices, low-power Wi-Fi enabled devices, such as Internet of Things (IoT) sensors, that generate sparse or sporadic traffic must co-exist in increasingly dense wireless network conditions. A key technology that enables Wi-Fi as a connectivity solution for low power operation is the Power Save Mechanism (PSM). While the Wi-Fi module in Network Simulator-3 (ns-3) is detailed, it lacks an implementation of PSM to simulate and study the behavior of devices utilizing PSM. In this paper, we develop an open-source model for simulating PSM in ns-3 that supports uplink (UL) and downlink (DL) unicast and multicast traffic and maintains proper PHY layer states. We couple our implementation with a power model that accounts for energy consumed during state transitions and use this simulation framework to evaluate the performance of PSM with sparse UL traffic under high channel congestion with increasing number of nodes competing for channel access. We show that with 20 contending stations with high load, the average current and awake time of a Power Saving (PS) station with sparse UL TCP (Transmission Control Protocol) traffic increase by as much as 108% and 254% respectively. We also show that the bidirectional nature of TCP traffic increases the average current and awake time of the PS station by 25% and 75% respectively with 10 contending stations.","PeriodicalId":210067,"journal":{"name":"Proceedings of the 2022 Workshop on ns-3","volume":"67 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"130438094","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Emily Ekaireb, Xiaofan Yu, Kazim Ergun, Quanling Zhao, Kai Lee, Muhammad Huzaifa, T. Simunic
{"title":"ns3-fl: Simulating Federated Learning with ns-3","authors":"Emily Ekaireb, Xiaofan Yu, Kazim Ergun, Quanling Zhao, Kai Lee, Muhammad Huzaifa, T. Simunic","doi":"10.1145/3532577.3532591","DOIUrl":"https://doi.org/10.1145/3532577.3532591","url":null,"abstract":"In recent years, there has been a spike in interest in the field of federated learning (FL). As a result, an increasing number of federated learning algorithms have been developed. Large-scale deployments to validate these algorithms are often not feasible, resulting in a need for simulation tools which closely emulate real deployment conditions. Existing federated learning simulators lack complex network settings, and instead focus on data and algorithmic development. ns-3 is a discrete event network simulator, which has a plethora of models to represent network components and can simulate complex networking scenarios. In this paper, we present ns3-fl, which is a tool that connects an existing FL simulator, flsim, with ns-3 to produce a federated learning simulator that considers data, algorithm, and network. We first discuss the learning, network and power models used to develop our tool. We then present an overview of our implementation, including the Client/Server ns-3 applications and interprocess communication protocols. A real Raspberry Pi-based deployment is setup to validate our tool. Finally, we perform a simulation emulating FL training on 40 clients throughout the UCSD campus and analyze the performance of our tool, in terms of real clock execution time for various FL rounds.","PeriodicalId":210067,"journal":{"name":"Proceedings of the 2022 Workshop on ns-3","volume":"518 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"123107761","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Muhammad Naeem, M. Albano, D. Magrin, Brian Nielsen, K. Larsen
{"title":"A Sigfox Module for the Network Simulator 3","authors":"Muhammad Naeem, M. Albano, D. Magrin, Brian Nielsen, K. Larsen","doi":"10.1145/3532577.3532599","DOIUrl":"https://doi.org/10.1145/3532577.3532599","url":null,"abstract":"In recent years, Sigfox has earned a prominent place in the Low-Power Wide-Area Network arena, attracting the attention of industry, academia, and standards development organizations. As sensors and actuators used in the Sigfox devices aim to be operated for a long time with no maintenance, Sigfox’s low energy consumption characteristics are part of its appeal to real-world applications. Prior to the work described in this paper, Network Simulator 3 had no support for the Sigfox protocol, and this paper presents a module to simulate the Sigfox protocol. The module is parametric with respect to the energy consumed by devices in different states, and we present simulation results obtained by calibrating the model using measurements obtained from a real Sigfox hardware module. Moreover, this work models a battery that is affected by self-discharge current. By means of this ns-3 module, it is possible to simulate a scenario prior to its deployment, thus helping with planning the deployment itself. To showcase the benefits of our work, we designed a behavioral model of devices using different communication strategies, and we present results on how long a device lasts and how much data delivery costs for different strategies. We plan to contribute the module to the ns-3 App Store.","PeriodicalId":210067,"journal":{"name":"Proceedings of the 2022 Workshop on ns-3","volume":"93 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"126817951","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Evaluating OSPF Convergence with ns-3 DCE","authors":"Nicolas Rybowski, O. Bonaventure","doi":"10.1145/3532577.3532597","DOIUrl":"https://doi.org/10.1145/3532577.3532597","url":null,"abstract":"OSPF routers flood link-state packets to distribute the network topology. When a link fails, the attached routers flood an updated link-state packet. These packets trigger updates to the forwarding tables of potentially all routers inside the network. This process can take from a few hundreds of milliseconds to a few seconds in large networks. The convergence affects the forwarding of data packets as transient micro-loops and black holes can happen while routers update their forwarding tables asynchronously. We leverage ns-3, DCE and the BIRD open-source implementation of OSPF to develop a ns-3 model of an OSPF router. We propose techniques to detect micro-loops and black holes. We report our experience in simulating the convergence of OSPF. We also evaluate the scalability of our model and discuss further work.","PeriodicalId":210067,"journal":{"name":"Proceedings of the 2022 Workshop on ns-3","volume":"52 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"121098302","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"IEEE WLANs in 5 vs 6 GHz: A Comparative Study","authors":"Hao Yin, Sumit Roy, S. Jin","doi":"10.1145/3532577.3532580","DOIUrl":"https://doi.org/10.1145/3532577.3532580","url":null,"abstract":"US Federal Communications Commission (FCC) has adopted new rules to open the 6 GHz bands for unlicensed access as the increasing demand for wireless networks. The new ruling limits operation by a Power Spectral Density (PSD) limit in 6 GHz bands that differs from the total average power independent of the channel bandwidth in 5 GHz bands. The new power rules impact the transmission range, and the unequal power of the Access Points (AP) and stations (STA) also impact the system performance in wireless local area networks (WLANs). In this paper, we analyze the throughput of Wi-Fi distributed coordination function (DCF) with two physical (PHY) layer considerations, including the different power rules in 5 and 6 GHz bands as well as the unequal power setup among APs and STAs. To our best knowledge, this is the first work to analyze the cross-layer performance of Wi-Fi in 6 GHz bands and unequal power setups. Using ns-3 simulations, we validate our throughput analysis results and show the related insights.","PeriodicalId":210067,"journal":{"name":"Proceedings of the 2022 Workshop on ns-3","volume":"50 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"125677617","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Symbolic ns-3 for Efficient Exhaustive Testing: Design, Implementation, and Simulations","authors":"Jianfei Shao, Minh Vu, Mingrui Zhang, Asmita Jayswal, Lisong Xu","doi":"10.1145/3532577.3532604","DOIUrl":"https://doi.org/10.1145/3532577.3532604","url":null,"abstract":"Exhaustive testing is an important type of simulation, where a user exhaustively simulates a protocol for all possible cases with respect to some uncertain factors, such as all possible packet delays or headers. It is useful for completely evaluating the protocol performance, finding the worst-case performance, and detecting possible design or implementation bugs of a protocol. It is, however, time consuming to use the brute force method with current ns-3 for exhaustive testing. In this paper, we present our work on sym-ns-3 for more efficient exhaustive testing, which leverages a powerful program analysis technique called symbolic execution. Intuitively, sym-ns-3 groups all the cases leading to the same simulator execution path together as an equivalence class, and simulates a protocol only once for each equivalence class. We present our design choices and implementation details on how we extend ns-3 to support symbolic execution, and also present several exhaustive testing results to demonstrate the significantly improved testing speeds of sym-ns-3 over current ns-3.","PeriodicalId":210067,"journal":{"name":"Proceedings of the 2022 Workshop on ns-3","volume":"9 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"126992243","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}