Conference Papers
Permanent URI for this collectionhttps://idr.nitk.ac.in/handle/123456789/28506
Browse
3 results
Search Results
Item Extending network emulation support in ns-3 using DPDK(Association for Computing Machinery, 2019) Patel, H.; Hiraskar, H.; Tahiliani, M.P.ns-3 network simulator provides support for network emulation by enabling simulated nodes to communicate with real hosts by using a network device called EmuFdNetDevice. Network emulation is an important feature in ns-3 and can be used to validate its models by comparing the emulation results to those obtained from real testbeds. Typically, ns-3 uses raw sockets of host's kernel stack to support network emulation. However, there is an active interest to enhance ns-3's network emulation features by using kernel bypass libraries. Recently, a new network device called NetmapNetDevice has been proposed for ns-3 to enable its interaction with netmap. In this paper, we extend network emulation support in ns-3 by using Data Plane Development Kit (DPDK). DPDK provides a set of fast packet processing libraries to bypass host network stack and obtain a direct access to Network Interface Card (NIC). We propose a new network device in ns-3 called DpdkNetDevice, intermediating between ns-3 Internet stack and DPDK environment to read/write packets from/to the NIC. We validate the working of DpdkNetDevice by performing various experiments and comparing results obtained from it to those obtained from EmuFdNetDevice and NetmapNetDevice. We observe that network emulations using DpdkNetDevice on a Gigabit Ethernet NIC provide higher throughput with significantly lesser CPU cycles per packet. © 2019 ACM.Item DPDK-FQM: Framework for Queue Management Algorithms in DPDK(Institute of Electrical and Electronics Engineers Inc., 2020) Pandey, A.; Bargaje, G.; Avinash; Krishnam, S.; Anand, T.; Monis, L.; Tahiliani, M.P.The advantages of Network Function Virtualization (NFV) have attracted many use cases ranging from virtual Customer Premises Equipment (vCPE) to virtual Radio Access Network (vRAN) and virtual Evolved Packet Core (vEPC). Fast packet processing libraries such as Data Plane Development Kit (DPDK) are necessary to enable NFV. Currently, DPDK provides a framework for Quality of Service (QoS) which is used for queue management, traffic shaping and policing, but it lacks a general purpose queue management framework. In this paper, we propose DPDK-FQM, a framework to implement queue management algorithms in DPDK, run them and collect the desired statistics. Subsequently, we implement Proportional Integral controller Enhanced (PIE) and Controlled Delay (CoDel) queue management algorithms by using the proposed framework. We develop a new DPDK application to demonstrate the usage of APIs in DPDK-FQM, and verify the correctness of the framework and implementations of PIE and CoDel. Our experiments on a high speed network testbed show that PIE and CoDel exhibit their key characteristics by controlling the queue delay at a desired target, while fully utilizing the bottleneck bandwidth. © 2020 IEEE.Item PowerDPDK: Software-Based Real-Time Power Measurement for DPDK Applications(Institute of Electrical and Electronics Engineers Inc., 2020) Shah, M.; Yunus, M.; Vachhani, P.; Monis, L.; Tahiliani, M.P.; Talawar, B.Data Plane Development Kit (DPDK) provides a set of libraries for fast packet processing that allow applications in the user space to directly interact with the NIC. Currently, DPDK provides a power management library that enables the applications to save power. However, it lacks features to effectively measure the power consumption of the system. In this paper we propose PowerDPDK, a software-based real-time library to measure the power consumption of DPDK applications. PowerDPDK leverages the Running Average Power Limit (RAPL) feature available on modern Intel processors to provide the power consumed by the CPU package and DRAM. We discuss the architecture of PowerDPDK and describe the process to incorporate it into DPDK applications. Subsequently, we use PowerDPDK to measure the power consumption of a few sample DPDK applications and a chain of Virtual Network Functions (VNFs) in OpenNetVM, a high-performance container-based platform for Network Function Virtualization (NFV). We show that a major share of the power consumed by DPDK is due to the use of Poll Mode Drivers (PMD), and hence, even a simple Layer 2 forwarding application consumes a large amount of power. © 2020 IEEE.
