FlexPoll: adaptive event polling for network-intensive applications

被引:0
|
作者
Wu, Xingbo [1 ]
Long, Xiang [1 ]
Wang, Lei [1 ]
机构
[1] Beihang Univ, Sch Comp Sci & Engn, Beijing 100191, Peoples R China
基金
中国国家自然科学基金; 国家高技术研究发展计划(863计划);
关键词
operating systems; performance evaluation and modeling; storage systems and networks; workload characterization; NOSQL DATABASES;
D O I
10.1007/s11704-016-3453-x
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
In today's data centers supporting Internet-scale computing and input/output (I/O) services, increasinglymore network-intensive applications are deployed on the network as a service. To this end, it is critical for the applications to quickly retrieve requests from the network and send their responses to the network. To facilitate this network function, operating system usually provides an event notification mechanism so that the applications (or the library) know if the network is ready to supply data for them to read or to receive data for them to write. As a widely used and representative notification mechanism, epoll in Linux provides a scalable and high-performance implementation by allowing applications to specifically indicate which connections and what events on them need to be watched. As epoll has been used in some major systems, including key-value (KV) systems, such as Redis and Memcached, and web server systems such as NGINX, we have identified a substantial performance issue in its use. For the sake of efficiency, applications usually use epoll's system calls to inform the kernel exactly of what events they are interested in and always keep the information up-to-date. However, in a system with demanding network traffic, such a rigid maintenance of the information is not necessary and the excess number of system calls for this purpose can substantially degrade the system's performance. In this paper, we use Redis as an example to explore the issue. We propose a strategy of informing the kernel of the interest events in a manner adaptive to the current network load, so that the epoll system calls can be reduced and the events can be efficiently delivered. We have implemented an event-polling library, named as FlexPoll, purely in user-level without modifying any kernel code. Our evaluation on Redis shows that the query throughput can be improved by up to 46.9% on micro-benchmarks, and even up to 67.8% on workloads emulating real-world access patterns. FlexPoll is a generic mechanism thus it can be adopted by other applications in a straightforward manner, such as NGINX and Memcached.
引用
收藏
页码:532 / 542
页数:11
相关论文
共 50 条
  • [31] Interleaved polling with adaptive cycle time (IPACT): A dynamic bandwidth distribution scheme in an optical access network
    Kramer, G
    Mukherjee, B
    Pesavento, G
    PHOTONIC NETWORK COMMUNICATIONS, 2002, 4 (01) : 89 - 107
  • [32] A Programmable Beamforming Network for Adaptive Arrays Applications
    Mitilineos, Stelios A.
    Mougiakos, Konstantinos S.
    Lampropoulos, Ioannis G.
    Kordoni, Maria D.
    Capsalis, Christos N.
    JOURNAL OF ACTIVE AND PASSIVE ELECTRONIC DEVICES, 2011, 6 (1-2): : 141 - 156
  • [33] Performance evaluation of an adaptive FPGA for network applications
    Kachris, Christoforos
    Vassiliadis, Stamatis
    SEVENTEENTH IEEE INTERNATIONAL WORKSHOP ON RAPID SYSTEM PROTOTYPING, 2006, : 54 - +
  • [34] Efficient polling cycle adaptive passive optical network for low-latency 5G fronthaul
    Zhang, Shizong
    Gu, Rentao
    Ji, Yuefeng
    Bai, Lin
    Ma, Zhuang
    Chen, Aimin
    OPTICAL SWITCHING AND NETWORKING, 2019, 33 : 122 - 130
  • [35] A Polling-Based Transmission Scheme Using a Network Traffic Uniformity Metric for Industrial IoT Applications
    Igarashi, Yuichi
    Nakano, Ryo
    Wakamiya, Naoki
    SENSORS, 2019, 19 (01)
  • [36] The design of adaptive platform for visual-intensive applications over the grid
    Xiang, H
    Gong, B
    Meng, XX
    Kong, XL
    GRID AND COOPERATIVE COMPUTING, PT 1, 2004, 3032 : 172 - 175
  • [37] Network resource control for data intensive applications in heterogeneous infrastructures
    Zhao, Zhiming
    Dumitru, Cosmin
    Grosso, Paola
    de Laat, Cees
    2012 IEEE 26TH INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM WORKSHOPS & PHD FORUM (IPDPSW), 2012, : 2069 - 2076
  • [38] Faster enclave transitions for IO-intensive network applications
    Svenningsson, Jakob
    Paladi, Nicolae
    Vahidi, Arash
    PROCEEDINGS OF THE 2021 ACM SIGCOMM WORKSHOP ON SECURE PROGRAMMABLE NETWORK INFRASTRUCTURE (SPIN '21), 2021, : 1 - 8
  • [39] The architecture of an event correlation service for adaptive middleware-based applications
    Liu, Yan
    Gorton, Ian
    Lee, Vinh Kah
    JOURNAL OF SYSTEMS AND SOFTWARE, 2008, 81 (12) : 2134 - 2145
  • [40] An Energy Efficient Adaptive Event Detection Scheme for Wireless Sensor Network
    Zhou, Zheng
    Qu, Gang
    ASAP 2011 - 22ND IEEE INTERNATIONAL CONFERENCE ON APPLICATION-SPECIFIC SYSTEMS, ARCHITECTURES AND PROCESSORS (ASAP 2011), 2011, : 235 - 238