Taming Wild Horses: The Need for Virtual Time-Based Scheduling of VMs in Network Simulations

The next generation of scalable network simulators employ virtual machines (VMs) to act as high-fidelity models of traffic producer/consumer nodes in simulated networks. However, network simulations could be inaccurate if VMs are not scheduled according to virtual time, especially when many VMs are hosted per simulator core in a multi-core simulator environment. Since VMs are by default free-running, on the outset, it is not clear if, and to what extent, their untamed execution affects the results in simulated scenarios. Here, we provide the first quantitative basis for establishing the need for generalized virtual time scheduling of VMs in network simulators, based on an actual prototyped implementations. To exercise breadth, our system is tested with disparate applications: (a) a set of message passing parallel programs, (b) a computer worm propagation phenomenon, and (c) a mobile ad-hoc wireless network simulation. We define and use error metrics and benchmarks in scaled tests to empirically report the poor match of traditional, fairness-based VM scheduling to VM-based network simulation, and also clearly show the better performance of our simulation-specific scheduler, with up to 64 VMs hosted on a 12-core simulator node.

[1]  Jason Liu,et al.  Model-driven network emulation with virtual time machine , 2010, Proceedings of the 2010 Winter Simulation Conference.

[2]  R.M. Fujimoto,et al.  Parallel and distributed simulation systems , 2001, Proceeding of the 2001 Winter Simulation Conference (Cat. No.01CH37304).

[3]  Srinidhi Varadarajan,et al.  The Distributed Open Network Emulator: Using Relativistic Time for Distributed Scalable Simulation , 2006, 20th Workshop on Principles of Advanced and Distributed Simulation (PADS'06).

[4]  Yue Li,et al.  A large-scale real-time network simulation study using PRIME , 2009, Proceedings of the 2009 Winter Simulation Conference (WSC).

[5]  Brian J. Henz,et al.  Large scale MANET emulations using U.S. Army waveforms with application: VoIP , 2011, 2011 - MILCOM 2011 Military Communications Conference.

[6]  Mark Handley,et al.  SIP: Session Initiation Protocol , 1999, RFC.

[7]  Randy H. Katz,et al.  Above the Clouds: A Berkeley View of Cloud Computing , 2009 .

[8]  Kurt Rothermel,et al.  Time Jails: A Hybrid Approach to Scalable Network Emulation , 2008, 2008 22nd Workshop on Principles of Advanced and Distributed Simulation.

[9]  Dejan Kostic,et al.  Scalability and accuracy in a large-scale network emulator , 2002, CCRV.

[10]  Srikanth B. Yoginath,et al.  Efficiently Scheduling Multi-Core Guest Virtual Machines on Multi-Core Hosts in Network Simulation , 2011, 2011 IEEE Workshop on Principles of Advanced and Distributed Simulation.

[11]  Henning Schulzrinne,et al.  RTP: A Transport Protocol for Real-Time Applications , 1996, RFC.

[12]  Amin Vahdat,et al.  DieCast: Testing Distributed Systems with an Accurate Scale Model , 2008, TOCS.

[13]  George Apostolopoulos,et al.  V-eM: A Cluster of Virtual Machines for Robust, Detailed, and High-Performance Network Emulation , 2006, 14th IEEE International Symposium on Modeling, Analysis, and Simulation.

[14]  Mike Hibler,et al.  An integrated experimental environment for distributed systems and networks , 2002, OPSR.

[15]  Amin Vahdat,et al.  To infinity and beyond: time warped network emulation , 2005, SOSP '05.

[16]  Kevin R. Fall,et al.  Network emulation in the VINT/NS simulator , 1999, Proceedings IEEE International Symposium on Computers and Communications (Cat. No.PR00250).

[17]  Asad Waqar Malik,et al.  Parallel and Distributed Simulation in the Cloud , 2010 .

[18]  Philippe Jacquet,et al.  Optimized Link State Routing Protocol (OLSR) , 2003, RFC.

[19]  David Chisnall,et al.  The Definitive Guide to the Xen Hypervisor , 2007 .