Abstract: This paper presents a platform named vCourse based on virtualization technology. vCourse supports multiple operating systems and multiple online courses simultaneously. Teachers can create a course template and deploy it as multiple virtual machines (VMs). Students can perform exercises on these VMs and interact with peers and instructors. This paper discusses the features, structure, and key mechanisms of vCourse, evaluating its performance through two experiments. Results indicate that vCourse runs typical software smoothly and maintains performance stability regardless of the number of virtual machines.
Introduction
Traditional computer science and engineering education relies heavily on physical laboratory experiences. However, maintaining these labs presents significant hurdles, including high hardware costs for specialized equipment, the administrative burden of manually configuring diverse software environments for different classes, and the difficulty of providing remote students with an equivalent hands-on experience.
vCourse addresses these issues by leveraging virtualization to "encapsulate" hardware. This allows multiple courses to share the same physical resources while remaining isolated from one another, streamlining deployment and ensuring a consistent environment for all students.
System Architecture
The vCourse architecture is divided into two primary functional blocks: the Designer and the Manager, coordinated through a centralized Virtual Machine Monitor (VMM).
- The Designer: This administrative backend allows instructors to create "course templates." It utilizes a VM Factory and VNet Factory to automate the creation of virtual machines and virtual networks (including switches, routers, and drivers).
- The Manager: This component handles the user experience. It includes a web-based interface for students to access their VMs and a VM Container that manages the lifecycle (start, stop, resume) of the instances.
Key technical features include the use of KVM (Kernel-based Virtual Machine) for hardware virtualization and online migration, and a robust snapshot/rollback system that allows students to save progress or recover from system crashes instantly. Additionally, the platform supports collaborative tools like VNC-based screen recording and TCP multicast for real-time instructional broadcasting.
Evaluation and Performance
To evaluate the platform, the authors benchmarked vCourse using a suite of standard technical software, including Adobe Photoshop, CPU 2006, Quartus II, Microsoft Visual Studio 2010, and MS SQL Server 2005.
Performance Overhead
The first experiment compared software performance on a vCourse VM against native physical hardware. As shown in the figure below, the performance overhead is remarkably low across various workloads.
- CPU-intensive tasks (CPU2006): Experienced less than 5% performance loss.
- Database tasks (SQL Server): Showed approximately 10% loss.
- Complex GUI/Design tasks (Photoshop, Quartus II): Resulted in approximately 15% loss.
These results demonstrate that the overhead is minimal enough to provide a user experience nearly identical to a physical machine.
Operational Efficiency
A second experiment measured the time required for common administrative tasks across 8 and 16 nodes. Most operations, such as starting, stopping, or resuming a VM, took between 1 and 16 seconds. While deploying 16 nodes took 93 seconds, this is typically performed by the instructor in advance and does not impact active class time.
Key Insights and Conclusion
vCourse introduces the "Seed" concept, where a single verified template ensures every student starts with an identical environment, eliminating the common "it works on my machine" issue. By decoupling resources from physical hardware, a single server cluster can dynamically host different classes throughout the day without manual reconfiguration.
While deployment time scales with the number of nodes, the system remains efficient for typical classroom sizes. Future work will focus on optimizing large-scale deployments and enhancing user customization options for specialized teaching courses.
Summary updated