Skip to main content

2020 | OriginalPaper | Buchkapitel

STC: Improving the Performance of Virtual Machines Based on Task Classification

verfasst von : Jiancheng Zhao, Zhiqiang Zhu, Lei Sun, Songhui Guo, Jin Wu

Erschienen in: Trusted Computing and Information Security

Verlag: Springer Singapore

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Virtualization technology provides crucial support for cloud computing, and the virtual CPU (vCPU) scheduling in a virtualization system is one of the key factors to determine the system’s performance. However, due to the semantic gap in the virtualization system, the mainstream current scheduling policy does not take the tasks’ characteristics and spin lock into account, which leads to performance degradation in a virtual machine. This paper proposes a vCPU scheduling system STC (Virtual CPU Scheduling Based on Task Classification) in KVM to bridge the semantic gap. In STC, every virtual machine is configured with two types of vCPUs, among which the one with a shorter scheduling period is called the short vCPU (svCPU) and the ones with the default period are called the long vCPU (lvCPU). STC utilizes the Naïve Bayes classifier to classify the tasks, and the I/O-bound tasks are allocated to the svCPU, while the CPU-bound tasks are processed by lvCPUs. Correspondingly, in a host, two types of physical CPUs, the sCPU and lCPUs, are set to process the thread svCPU and lvCPUs. Moreover, lvCPUs adopt dispersive scheduling to alleviate Lock-Holder Preemption (LHP). STC improves the I/O response speed and saves the resources. Compared with the default algorithm, STC has achieved an 18% time delay decrease, a 17%–25% bandwidth improvement, and a 21% overhead decrease and ensured the fairness of the whole system.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literatur
1.
Zurück zum Zitat Mell, P., Grance, T.: The NIST definition of cloud computing. Commun. Acm 53(6), 50–50 (2011) Mell, P., Grance, T.: The NIST definition of cloud computing. Commun. Acm 53(6), 50–50 (2011)
5.
Zurück zum Zitat Uhlig, V., et al.: Towards scalable multiprocessor virtual machines. In: Proceedings of the Virtual Machine Research & Technology Symposium, vol. 3, pp. 43–56 (2004) Uhlig, V., et al.: Towards scalable multiprocessor virtual machines. In: Proceedings of the Virtual Machine Research & Technology Symposium, vol. 3, pp. 43–56 (2004)
6.
Zurück zum Zitat Kim, H., Lim, H., Jeong, J., et al.: Task-aware virtual machine scheduling for I/O performance. In: International Conference on Virtual Execution Environments, VEE 2009, Washington, Dc, Usa, pp. 101–110. DBLP, March 2009 Kim, H., Lim, H., Jeong, J., et al.: Task-aware virtual machine scheduling for I/O performance. In: International Conference on Virtual Execution Environments, VEE 2009, Washington, Dc, Usa, pp. 101–110. DBLP, March 2009
7.
Zurück zum Zitat Jin, H., Zhong, A., Wu, S., et al.: Research on virtual cpu scheduling in multi-core environment: problems and challenges. J. Comput. Res. Dev. 48(7), 1216–1224 (2011) Jin, H., Zhong, A., Wu, S., et al.: Research on virtual cpu scheduling in multi-core environment: problems and challenges. J. Comput. Res. Dev. 48(7), 1216–1224 (2011)
9.
Zurück zum Zitat Xu, C., Gamage, S., Rao, P.N., Kangarlou, A., Kompella, R.R., Xu, D.: vSlicer: Latency-Aware virtual machine scheduling via differentiated-frequency CPU slicing. In: Proceedings of the 21st ACM International Symposium on High Performance Distributed Computing, pp. 3–14. ACM, New York (2012). [https://doi.org/10.1145/2287076.2287080] Xu, C., Gamage, S., Rao, P.N., Kangarlou, A., Kompella, R.R., Xu, D.: vSlicer: Latency-Aware virtual machine scheduling via differentiated-frequency CPU slicing. In: Proceedings of the 21st ACM International Symposium on High Performance Distributed Computing, pp. 3–14. ACM, New York (2012). [https://​doi.​org/​10.​1145/​2287076.​2287080]
10.
Zurück zum Zitat Liu, K., Tong, W., Feng, D., et al.: Flexible and efficient VCPU scheduling algorithm. J. Softw. 28(2), 398–410 (2017)MathSciNet Liu, K., Tong, W., Feng, D., et al.: Flexible and efficient VCPU scheduling algorithm. J. Softw. 28(2), 398–410 (2017)MathSciNet
11.
Zurück zum Zitat Xu, C., Gamage, S., Lu, H., et al.: vTurbo: accelerating virtual machine I/O processing using designated turbo-sliced core. In: Proceedings of the 2013 USENIX Annual Technical Conf. (USENIX ATC 2013), pp. 243–254. USENIX, Berkeley (2013) Xu, C., Gamage, S., Lu, H., et al.: vTurbo: accelerating virtual machine I/O processing using designated turbo-sliced core. In: Proceedings of the 2013 USENIX Annual Technical Conf. (USENIX ATC 2013), pp. 243–254. USENIX, Berkeley (2013)
14.
Zurück zum Zitat Zhuang, J.: The designation and performance appraisement between virtualization solution of Xen and KVM. Beijing University of Technology, Beijing (2016) Zhuang, J.: The designation and performance appraisement between virtualization solution of Xen and KVM. Beijing University of Technology, Beijing (2016)
16.
Zurück zum Zitat Domingos, P., Pazzani, M.: Beyond independence: conditions for the optimality of the simple Bayesian classifier. In: Proceedings of the International Conference Machine Learning, pp. 105–112 (1996) Domingos, P., Pazzani, M.: Beyond independence: conditions for the optimality of the simple Bayesian classifier. In: Proceedings of the International Conference Machine Learning, pp. 105–112 (1996)
18.
Zurück zum Zitat Xuan, J., He, J., Ren, Z., et al.: Automatic bug triage using semi-supervised text classification. In: International Conference on Software Engineering & Knowledge Engineering, pp. 209–214. DBLP (2010) Xuan, J., He, J., Ren, Z., et al.: Automatic bug triage using semi-supervised text classification. In: International Conference on Software Engineering & Knowledge Engineering, pp. 209–214. DBLP (2010)
Metadaten
Titel
STC: Improving the Performance of Virtual Machines Based on Task Classification
verfasst von
Jiancheng Zhao
Zhiqiang Zhu
Lei Sun
Songhui Guo
Jin Wu
Copyright-Jahr
2020
Verlag
Springer Singapore
DOI
https://doi.org/10.1007/978-981-15-3418-8_7