Abstract

In virtualized sensor networks, virtual machines (VMs) share the same hardware for sensing service consolidation and saving power. For those VMs that reside in the same hardware, frequent interdomain data transfers are invoked for data analytics, and sensor collaboration and actuation. Traditional ways of interdomain communications are based on virtual network interfaces of bilateral VMs for data sending and receiving. Since these network communications use TCP/IP (Transmission Control Protocol/Internet Protocol) stacks, they result in lengthy communication paths and frequent kernel interactions, which deteriorate the I/O (Input/Output) performance of involved VMs. In this paper, we propose an optimized interdomain communication approach based on shared memory to improve the interdomain communication performance of multiple VMs residing in the same sensor hardware. In our approach, the sending data are shared in memory pages maintained by the hypervisor, and the data are not transferred through the virtual network interface via a TCP/IP stack. To avoid security trapping, the shared data are mapped in the user space of each VM involved in the communication, therefore reducing tedious system calls and frequent kernel context switches. In implementation, the shared memory is created by a customized shared-device kernel module that has bidirectional event channels between both communicating VMs. For performance optimization, we use state flags in a circular buffer to reduce wait-and-notify operations and system calls during communications. Experimental results show that our proposed approach can provide five times higher throughput and 2.5 times less latency than traditional TCP/IP communication via a virtual network interface.

Highlights

  • In a virtualized system, physical resources are abstracted, partitioned, and sliced as virtual resources to virtual machines (VMs)

  • This paper presents a model for optimizing interdomain communication between VMs in a single physical machine in a virtualized sensor network environment

  • This model is based on shared memory and the key idea consists of mapping pages of shared memory directly into the user space, getting rid of useless system calls

Read more

Summary

Introduction

Physical resources are abstracted, partitioned, and sliced as virtual resources to virtual machines (VMs). To complete interdomain communication between different VMs on the same physical device under the Xen virtualization environment, first a request needs to be sent to the front driver; the front driver transfers the request to the corresponding backend driver in Domain0 (the hypervisor domain) [41,42] In this way, the transferring data first need to be copied from the application to the kernel, encapsulated by the TCP/IP protocol, and transferred to the other domain through a complex flow control protocol. This paper presents a model for optimizing interdomain communication between VMs in a single physical machine in a virtualized sensor network environment. This model is based on shared memory and the key idea consists of mapping pages of shared memory directly into the user space, getting rid of useless system calls.

Related Works
Interdomain
The model consists of twoof two TheThe overall structure modelisisshown shown
Shared Memory Device Kernel Module
Shared Memory Creation
Instance Initialization
Mapping Memory into the User Space
Event Channel
Sharing Memory Termination
Implementation of the Interdomain Communication Channel Interface Library
Circular Buffer Optimization
Deadlock Avoidance
Channel Closing
Interdomain Communication Process
Throughput
Latency of important
CPU Utilization of Colocated Domains
Hypercalls and Context Switches during Interdomain Communications
Conclusions

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.