Implementation and Comparative Evaluation of an Outsourcing Approach to Real-Time Network Services in Commodity Hosted Environments

Commodity operating systems (OS) often sacrifice real-time (RT) performance (e.g., consistent low latency) in favor of optimized average latency and throughput. This can cause latency variance problems when an OS hosts virtual machines that run network services. This paper proposes a software-based RT method in Linux KVM-based hosted environments. First, this method solves the priority inversion problem in interrupt handling of vanilla Linux using the RT Preempt patch. Second, this method solves another priority inversion problem in the softirq mechanism of Linux by explicitly separating the RT softirq handling from the non-RT softirq handling. Finally, this method mitigates the cache pollution problem by co-located non-RT services and avoids the second priority inversion in a guest OS by socket outsourcing. Compared to the RT Preempt Patch Only method, the proposed method has the 76% lower standard deviation, 15% higher throughput, and 33% lower CPU overhead. Compared to the dedicated processor method, the proposed method has the 63% lower standard deviation, higher total throughput by a factor of 2, and avoids under-utilization of the dedicated processor.

[1]  Thomas Prevot,et al.  NextGen technologies for mid-term and far-term air traffic control operations , 2009, 2009 IEEE/AIAA 28th Digital Avionics Systems Conference.

[2]  Alex Landau,et al.  Towards exitless and efficient paravirtual I/O , 2012, SYSTOR '12.

[3]  Christian Werner,et al.  Bandwidth and Latency Considerations for Efficient SOAP Messaging , 2006, Int. J. Web Serv. Res..

[4]  Ayers,et al.  Introducing Real-Time Linux , 1997 .

[5]  Jiuxing Liu,et al.  Virtualization polling engine (VPE): using dedicated CPU cores to accelerate I/O virtualization , 2009, ICS.

[6]  Peter Druschel,et al.  Lazy receiver processing (LRP): a network subsystem architecture for server systems , 1996, OSDI '96.

[7]  Wei Tan,et al.  A Low-Delay, Light-Weight Publish/Subscribe Architecture for Delay-Sensitive IOT Services , 2013, Int. J. Web Serv. Res..

[8]  Douglas C. Schmidt,et al.  The design and performance of a real-time I/O subsystem , 1999, Proceedings of the Fifth IEEE Real-Time Technology and Applications Symposium.

[9]  Ramana Rao Kompella,et al.  Protocol Responsibility Offloading to Improve TCP Throughput in Virtualized Environments , 2013, ACM Trans. Comput. Syst..

[10]  Haibing Guan,et al.  Optimizing virtual machines using hybrid virtualization , 2012, J. Syst. Softw..

[11]  Jeffrey F. Naughton,et al.  A software-defined networking based approach for performance management of analytical queries on distributed data stores , 2014, SIGMOD Conference.

[12]  Calton Pu,et al.  Fast networking with socket-outsourcing in hosted virtual machine environments , 2009, SAC '09.

[13]  Dag Johansen,et al.  Paravirtualizing TCP , 2012, VTDC '12.

[14]  Ing-Ray Chen,et al.  Trust as a Service for SOA-based IoT Systems , 2017 .

[15]  Ismael Ripoll,et al.  Partitioned Embedded Architecture Based on Hypervisor: The XtratuM Approach , 2010, 2010 European Dependable Computing Conference.

[16]  Luigi Rizzo,et al.  netmap: A Novel Framework for Fast Packet I/O , 2012, USENIX ATC.

[17]  Zhenhua Liu,et al.  HUG: Multi-Resource Fairness for Correlated and Elastic Demands , 2016, NSDI.

[18]  Burak Kantarci,et al.  SUPPORT SYSTEMS FOR HEALTH MONITORING USING INTERNET-OF-THINGS DRIVEN DATA ACQUISITION , 2016 .

[19]  Jonathan Walpole,et al.  Supporting time-sensitive applications on a commodity OS , 2002, OPSR.

[20]  Justine Sherry,et al.  Silo: Predictable Message Latency in the Cloud , 2015, Comput. Commun. Rev..

[21]  Chao Wu,et al.  Measuring the Service Quality of E-Commerce and Competitive Strategies , 2014, Int. J. Web Serv. Res..

[22]  Tzi-cker Chiueh,et al.  A Comprehensive Implementation and Evaluation of Direct Interrupt Delivery , 2015, VEE.

[23]  Alex Landau,et al.  ELI: bare-metal performance for I/O virtualization , 2012, ASPLOS XVII.

[24]  Li Duan,et al.  Event-Driven SOA for IoT Services , 2014, 2014 IEEE International Conference on Services Computing.