Mishal Shah, Mehnaz Yunus, Pavan Vachhani, Leslie Monis, M. Tahiliani, B. Talawar
{"title":"PowerDPDK: Software-Based Real-Time Power Measurement for DPDK Applications","authors":"Mishal Shah, Mehnaz Yunus, Pavan Vachhani, Leslie Monis, M. Tahiliani, B. Talawar","doi":"10.1109/NFV-SDN50289.2020.9289896","DOIUrl":null,"url":null,"abstract":"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.","PeriodicalId":283280,"journal":{"name":"2020 IEEE Conference on Network Function Virtualization and Software Defined Networks (NFV-SDN)","volume":"29 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-11-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2020 IEEE Conference on Network Function Virtualization and Software Defined Networks (NFV-SDN)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/NFV-SDN50289.2020.9289896","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
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.
数据平面开发工具包(Data Plane Development Kit, DPDK)提供了一组用于快速数据包处理的库,允许用户空间中的应用程序直接与NIC交互。目前,DPDK提供了一个电源管理库,使应用程序能够节省电力。但缺乏有效测量系统功耗的特性。在本文中,我们提出了一个基于软件的实时库PowerDPDK来测量DPDK应用程序的功耗。PowerDPDK利用现代英特尔处理器上可用的运行平均功率限制(RAPL)功能来提供CPU封装和DRAM所消耗的功率。我们讨论了PowerDPDK的体系结构,并描述了将其合并到DPDK应用程序中的过程。随后,我们使用PowerDPDK来测量OpenNetVM中几个示例DPDK应用程序和虚拟网络功能链(VNFs)的功耗,OpenNetVM是一个基于高性能容器的网络功能虚拟化(NFV)平台。我们表明,DPDK消耗的大部分功率是由于使用了轮询模式驱动程序(PMD),因此,即使是简单的第二层转发应用程序也会消耗大量功率。