Based on the method and device performance testing software to create a virtual machine environment

2014 
The present invention relates to a virtual machine, which discloses a method based on a virtual machine environment to create software performance testing method and apparatus, the method comprising: in response to obtaining the virtual machine virtual CPU drives the reader trigger request, notifies virtual CPU scheduling records the amount of time T1 CPU virtual CPU in the current CPU scheduling period has been consumed; in response to detecting a write to the hard disk corresponding to the write request to the hard disk is completed, the predicted target environment corresponding to the hard disk read and write requests disk write delay t; virtual CPU scheduler notifies the CPU according to the amount of recording time t1 and the time delay t drives the reader CPU determines that the current scheduling period time limit in the virtual CPU CPU has consumed; determined according to current virtual CPU scheduling period the amount of CPU time consumed to adjust the CPU clock system virtual machine. Software performance test results consistent high configuration server according to an embodiment of the method of the present invention can be detected in software performance testing environment created with the target environment.
    • Correction
    • Source
    • Cite
    • Save
    • Machine Reading By IdeaReader
    0
    References
    0
    Citations
    NaN
    KQI
    []