Patent · US Active

Creating a software performance testing environment on a virtual machine system

US9921939B2 · kind B2 · utility

0Cited by
2References
12Claims
0Family size

Assignee

Inventors

Key dates

Filing dateSep 13, 2016
Grant dateMar 20, 2018
Priority date
Expiry dateSep 13, 2036

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F2201/865
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

The present invention relates to a virtual machine, and specifically discloses a method and apparatus for creating a software performance testing environment based on a virtual machine, wherein the method comprises: in response to obtaining a hard disk read/write request triggered by a virtual CPU of the virtual machine, notifying a virtual CPU scheduler to record a CPU time quota t1 already consumed by the virtual CPU in a current CPU schedule period; in response to detecting completion of hard disk read/write processing corresponding to the hard disk read/write request, predicting a hard disk read/write latency t corresponding to the hard disk read/write request in a target environment; notifying the virtual CPU scheduler to determine a CPU time quota already consumed by the virtual CPU in the current CPU schedule period based on the recorded CPU time quota t1 and the hard disk read/write latency t; and adjusting a system clock of the virtual machine based on the determined CPU time quota already consumed by the virtual CPU in the current CPU schedule period. The method according to the embodiments of the present invention may obtain, in the created software performance testing e…

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.