Wireless Networks

Peng Jiang, Ligang He, Shenyuan Ren, Zhiyan Chen, Rui Mao, L Cheng, C Wang, W Huang, M Koop, D Panda, H Kim, H Lim, J Jeong, H Jo, J Lee, K Kim, C Kim, S Jung, H Shin, J Kim, M Lee, A Krishnakumar, P Krishnan, N Singh, S Yajnik, I Leslie, D Mcauley, R Black, T Roscoe, P Barham, D Evers, K Li, C Liu, A Zomaya, J Mei, X Tang, B Veeravalli, C Xu, D Ongaro, A Cox, S Rixner, Z Tang, W Ma, G Tran, Y Chen, D Kang, J Walters, S Crago, Y Wang, H Chen, J Wu, J Li, S Xi, J Wilson, C Lu, C Gill, S Gamage, H Lu, R Kompella, D Xu, P Rao, A Kangarlou, L Zhang, Y Xu, F ZhangWireless 2013 · OpenAlex

Abstract

Big data analysis requires the speedup of parallel computing. However, in virtualized systems, the power of parallel computing is not fully exploited due to the limits of current Virtual Machine Monitor (VMM) schedulers. Xen, a popular virtualization platform, is widely used to host parallel jobs. In practice, virtualized systems must accommodate both parallel and serial jobs, where resource contention between virtual machines (VMs) results in severe performance degradation for parallel tasks. Furthermore, physical resources are often wasted during communication processes due to ineffective scheduling. This paper presents vChecker, an application-level co-scheduler that mitigates performance degradation and optimizes hardware utilization. vChecker balances the number of available CPU cores with the needs of parallel jobs, assisting Xen's credit scheduler without requiring hypervisor modifications. Experimental results demonstrate that vChecker optimizes parallel job performance in Xen and enhances overall system utilization.

Introduction

In the era of big data, parallel computing is essential for processing vast datasets efficiently. However, when these workloads run on virtualized platforms like Xen, they often encounter significant performance bottlenecks. The primary issue lies in Xen’s default Credit Scheduler, which was designed primarily for serial workloads. It focuses on "fairness," ensuring every Virtual Machine (VM) receives a proportional slice of CPU time.

Parallel jobs, however, consist of multiple interdependent subtasks that require frequent synchronization. If the Credit Scheduler activates one subtask on a physical CPU (pCPU) while leaving its communication partner in a wait queue, the active subtask "spins," wasting hardware cycles while waiting for a response. This lack of synchronization, known as the co-scheduling problem, leads to severe performance degradation and resource waste.

The vChecker Architecture

To address these challenges, we propose vChecker, a demand-based co-scheduler. Unlike traditional solutions that require complex modifications to the Xen hypervisor, vChecker operates entirely at the application level within the privileged dom0 domain. This design allows for deployment without patching or rebooting the core virtualization layer.

The modular architecture of the vChecker co-scheduler, showing the flow from initialization to domain operation.

As shown in the architecture diagram, vChecker employs a multi-stage process:

  1. Monitoring: It tracks available pCPUs and identifies VMs hosting parallel subtasks.
  2. Threshold-Based Scheduling: vChecker waits until a sufficient number of pCPUs are free to run subtasks concurrently, rather than scheduling them piecemeal.
  3. Safety Mechanism: To prevent starvation, a timer forces subtasks to run if the wait time exceeds a predefined threshold.
  4. Control: Using standard management APIs (libvirt and Xl), it pauses serial VMs and resumes parallel ones to enforce co-scheduling.

Experimental Evaluation

We evaluated vChecker using the NAS Parallel Benchmark (NPB) suite, an industry standard for testing parallel systems. The test environment consisted of a quad-core host running Xen 4.2.0, supporting 32 uniprocessor guest VMs. We tested various workloads (BT, CG, EP, FT, IS, LU, MG, and SP) representing different computation and communication patterns.

Results and Discussion

The experimental results confirm that vChecker significantly improves performance for communication-intensive workloads. By synchronizing subtask execution, vChecker reduced execution times for the IS benchmark by 15%, LU by 10.6%, and FT by 6.7%.

Normalized execution time comparison between Native, Credit Scheduler, and vChecker across various NPB benchmarks.

Beyond speedups, resource efficiency improved markedly. The "Normalized communications per unit time" (NCUT) metric showed increases of 38% for IS and 17% for LU, indicating that pCPUs spent more time on productive communication rather than idle waiting.

However, a trade-off was observed: for computation-heavy tasks like the BT benchmark, performance decreased by 8.7%. This suggests that the overhead of waiting for a synchronized start can be counterproductive for jobs that do not rely heavily on inter-task communication.

Conclusion

vChecker demonstrates that significant performance gains for parallel jobs in Xen can be achieved through application-level co-scheduling without hypervisor modification. While highly effective for communication-heavy tasks, future work will focus on dynamic workload detection to automatically toggle co-scheduling for different job types and exploring scalability on modern many-core servers.

Summary updated

Abstract

Big data analysis requires the speedup of parallel computing.However, in the virtualized systems, the power of parallel computing is not fully exploited due to the limit of current VMM schedulers.Xen, one of the most popular virtualization platforms, has been widely used by industry to host parallel job.In practice, the virtualized systems are expected to accommodate both parallel jobs and serial jobs, and resource contention between virtual machines results in severe performance degradation of the parallel jobs.Moreover, the physical resource is vastly wasted during the communication process due to the ineffective scheduling of parallel jobs.Unfortunately, the existing schedulers of Xen are initially targeting at serial jobs, which are not capable of correctly scheduling the parallel jobs.This paper presents vChecker, an application-level co-scheduler which mitigates the performance degradation of the parallel job and optimizes the utilization of the hardware resource.Our co-scheduler takes number of available CPU cores in one hand, and satisfies need of the parallel jobs in other hand, which helps the credit scheduler of Xen to appropriately schedule the parallel job.As our coscheduler is implemented at application level, no modifications on the hypervisor is required.The experimental result shows that the vChecker optimizes the performance of the parallel job in Xen and enhances the utilization of the system.
BibTeX
@inproceedings{jiang2013wireless,
  author = {Peng Jiang and Ligang He and Shenyuan Ren and Zhiyan Chen and Rui Mao and L Cheng and C Wang and L Cheng and C Wang and W Huang and M Koop and D Panda and P Jiang and L He and H Kim and H Lim and J Jeong and H Jo and J Lee and K Kim and C Kim and S Jung and H Shin and J Kim and M Lee and A Krishnakumar and P Krishnan and N Singh and S Yajnik and I Leslie and D Mcauley and R Black and T Roscoe and P Barham and D Evers and K Li and C Liu and K Li and A Zomaya and K Li and J Mei and K Li and K Li and X Tang and K Li and K Li and X Tang and B Veeravalli and K Li and C Liu and K Li and C Xu and K Li and D Ongaro and A Cox and S Rixner and Z Tang and W Ma and K Li and K Li and G Tran and Y Chen and D Kang and J Walters and S Crago and Y Wang and K Li and H Chen and L He and K Li and J Wu and C Wang and J Li and S Xi and J Wilson and C Lu and C Gill and C Xu and S Gamage and H Lu and R Kompella and D Xu and C Xu and S Gamage and P Rao and A Kangarlou and R Kompella and D Xu and L Zhang and K Li and Y Xu and J Mei and F Zhang and K Li},
  title = {{Wireless Networks}},
  booktitle = {Wireless},
  year = {2013},
  doi = {10.1007/11276.1572-8196},
}

Loading related content...

Figure