Movatterモバイル変換


[0]ホーム

URL:


CN102222034A - Virtualized platform performance evaluating method based on program contour analysis - Google Patents

Virtualized platform performance evaluating method based on program contour analysis
Download PDF

Info

Publication number
CN102222034A
CN102222034ACN2011102000159ACN201110200015ACN102222034ACN 102222034 ACN102222034 ACN 102222034ACN 2011102000159 ACN2011102000159 ACN 2011102000159ACN 201110200015 ACN201110200015 ACN 201110200015ACN 102222034 ACN102222034 ACN 102222034A
Authority
CN
China
Prior art keywords
read
cpu
resource
virtual machine
write speed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011102000159A
Other languages
Chinese (zh)
Inventor
何钦铭
黄达伟
叶德仕
陈建海
李星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang University ZJU
Original Assignee
Zhejiang University ZJU
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang University ZJUfiledCriticalZhejiang University ZJU
Priority to CN2011102000159ApriorityCriticalpatent/CN102222034A/en
Publication of CN102222034ApublicationCriticalpatent/CN102222034A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Landscapes

Abstract

Translated fromChinese

本发明公开了一种基于轮廓分析的虚拟化平台性能评测方法,包括:利用轮廓分析技术获取宏观负载的资源请求,包括:CPU各类操作数量、造成虚拟机上下文切换的虚拟机敏感操作数量、内存读写数量及缓存命中率、磁盘读写数据量、网络读写数据量;利用微观基准测试获取待测虚拟化平台的资源供给能力,包括:CPU各类操作速度、虚拟机敏感操作延时、内存读写速度及缓存读写速度、磁盘读写速度、网络读写速度;计算宏观负载的响应时间、CPU利用率、磁盘利用率和网络利用率。本发明方法使用程序轮廓分析技术获取宏观负载的资源请求,利用微观基准测试得到待测虚拟平台的资源供给,并结合前两者分析计算宏观性能,降低了测试的复杂度与成本。The invention discloses a method for evaluating the performance of a virtualization platform based on profile analysis, which includes: using profile analysis technology to obtain resource requests for macro loads, including: the number of various CPU operations, the number of virtual machine sensitive operations that cause virtual machine context switching, The number of memory reads and writes and cache hit rate, the amount of disk read and written data, and the amount of network read and written data; use micro-benchmark tests to obtain the resource supply capabilities of the virtualization platform to be tested, including: CPU various operating speeds, virtual machine sensitive operation delays , Memory read and write speed, cache read and write speed, disk read and write speed, network read and write speed; calculate the response time, CPU utilization, disk utilization and network utilization of macro load. The method of the invention uses the program profile analysis technology to obtain the resource request of the macro load, uses the micro benchmark test to obtain the resource supply of the virtual platform to be tested, and combines the former two to analyze and calculate the macro performance, thereby reducing the complexity and cost of the test.

Description

Virtual platform performance evaluating method based on the program profile analysis
Technical field
The present invention relates to a kind of computer system performance method of testing, relate in particular to a kind of virtual platform performance evaluating method of analyzing based on program profile.
Background technology
Benchmark test (Benchmark) is the main method of computing power evaluation and test, and it refers to by carrying out a series of application program or instruction manipulation and estimates the performance of certain computing system.Specifically can be divided into microcosmic benchmark test (Micro Benchmark) and macroscopical benchmark test (Macro Benchmark) two classes.The speed that microcosmic benchmark test is tested this operation of computing system by the operation that repeats certain hardware level or operating system grade, for example CPU arithmetic speed, memory read-write speed, disk read-write speed, network read or write speed, process switching speed etc.Macroscopical benchmark test is is then evaluated and tested the performance of computing system class practical application by carrying out significant typical mission program, for example Web application performance, database service application performance, high performance computing service performance, file service performance etc.
Real daily use program is made of the sequence that comprises various operations, and the performance that is difficult to exactly all kinds of single operations that obtain from microcosmic benchmark test is inferred.Therefore, macroscopical benchmark test instrument is used in the evaluation and test of traditional services applicator platform usually, for example the SPEC of performance evaluating standardization body (Standard Performance Evaluation Corporation) comprises the SPECcpu of test CPU mission performance at macroscopical benchmark of all kinds of server application scenarios issues, the SPECmpi of test high-performance calculation, the SPECweb of test webpage service performance, the SPECmail of test mail service performance, the SPECsfs of test file system service performance, the SPECjEnterprise of test application service performance, the SPECjvm of test JAVA service performance, SPECvirt_sc of test virtual platform Server Consolidation performance or the like.These macroscopical benchmark test instruments are in order to allow test result more accurately more near the true performance of using, adopted fairly large exemplary operation load (Workload), cause test process slow, SPECcpu needs of entire run more than 12 hours on Intel Q66004 core processor for example, and the microcosmic benchmark test of test CPU operating speed only needs a few minutes even a few second.In short, microcosmic benchmark test is compared in macroscopical benchmark test, and its advantage is to reflect the true performance of using, and shortcoming is a testing complex degree height.
The computing system Intel Virtualization Technology refers to physical resource and operating system uncoupling, makes operating system on virtual hardware resource, and real hardware resource virtual machine manager (Virtual Machine Manager) is managed and dispatched.On the one hand realized Server Consolidation (Server Consolidation), made and to move a plurality of operating systems simultaneously on the physical platform, improved resource utilization, reduced demand resources such as electric power, spaces; Each operating system can be moved in separate space on the other hand, and the performance of each operating system and availability are not subjected to influence each other under the management of virtual machine manager, have guaranteed good isolation performance and availability.
This Server Consolidation ability of virtual platform has greatly enriched its application scenarios, comprises web service, mail service, database service, application program service, file system service etc.Therefore, need comprise macroscopical benchmark test of all these application scenarioss to the performance evaluating of virtual platform, this macroscopical benchmark test that makes its testing complex degree compare traditional single scene further increases, the installation of various macroscopical benchmark tests configuration needs complicated manually-operated in addition, and these factors have all improved testing cost greatly.
Profile analysis is a kind of dynamic routine analysis, and it obtains the relevant information of program behavior in the process that program is carried out, and usually is used for causing in the discovery procedure code part of performance bottleneck, so that developers' optimizer performance.
Summary of the invention
The invention provides a kind of virtual platform performance evaluating method based on profile analysis, it is too high to have solved traditional macro benchmark test complexity, and the time is long, the problem that cost is high.
A kind of virtual platform performance evaluating method based on profile analysis comprises:
(1) utilizes pitching pile, sampling and outer monitoring three class profile analysis technology to obtain the resource request of macroscopical load, comprising: all kinds of operation amounts of CPU, virtual machine sensitive operation quantity, memory read-write quantity and the cache hit rate, disk read-write data volume, the network amount of reading and writing data that cause virtual machine context to switch;
(2) virtual platform to be measured is carried out microcosmic benchmark test, obtain the resource provision ability of virtual platform to be measured, comprising: all kinds of operating speeds of CPU, the time-delay of virtual machine sensitive operation, memory read-write speed and cache read writing rate, disk read-write speed, network read or write speed;
(3) response time, cpu busy percentage, disk utilization factor and the network utilization of the macroscopical load of calculating.
As all resource operations all is serial, and then the response time can be expressed as:
T=Σi=1mTi·Ni
T is the response time of macroscopical load, TiRepresent the time-delay of i class resource operation, NiThe quantity of representing i class resource operation, m is a resource operation kind quantity.
When all resource operations all walk abreast, then the response time can be expressed as:
T=maxj=1nTj
T is the response time of macroscopical load, TjBe the time-delay of j class resource operation, n is a resource operation kind quantity.
When all resource operations are parallel and serial mixes, then calculate the final response time step by step by serial and parallel formula.
And cpu busy percentage, disk utilization factor and network utilization can be expressed as:
UCPU=TCPU/T,UDisk=TDisk/T,UNet=TNet/T
T whereinCPU, TDisk, TNetBe respectively CPU, disk, network operation and always delay time, only need respectively the delayed addition of their all operations can be tried to achieve, because can not there be two kinds of operations in same resource at synchronization.Described resource operation is meant the operation of CPU, internal memory, buffer memory, disk and network.
The inventive method service routine profile analysis technology is obtained the resource request of macroscopical load, utilizes microcosmic benchmark test to obtain the resource provision of virtual platform to be measured, and in conjunction with the above two analytical calculation macro properties.Because program profile analysis and platform independence to be measured can obtain the resource request information of macroscopical load in advance, only carry out microcosmic benchmark test during actual the test.Therefore, the inventive method can be analyzed the macroscopical application performance that obtains virtual platform to be measured under all kinds of scenes with the complexity of microcosmic benchmark test, has reduced the complexity and the cost of test.
Description of drawings
Fig. 1 is the inventive method operating process synoptic diagram;
Fig. 2 is the inventive method profile analysis operating process synoptic diagram;
Fig. 3 is the structural representation under the parallel and serial of all resource operation one-levels of macroscopical load.
Embodiment
As depicted in figs. 1 and 2, a kind of virtual platform performance evaluating method based on profile analysis comprises:
1) using the GCC compiler that the source code of macroscopical load is carried out pitching pile recompiles, the performance monitoring code is added in the original load program, the load of performance monitoring code is monitored all kinds of instructions, and when the load program end of run, all kinds of instruction numbers are outputed to specified file, comprise CPU operation amount, memory read-write quantity, virtual machine sensitive operation quantity.
2) backstage starts Oprofile hardware sampling instrument and exterior I O monitoring tools, the interrupt event that the Oprofile instrument is responsible for all kinds of performances such as cache invalidation are caused carries out sample record, obtain cache hit rate, the IO monitoring tools that adopts Linux to provide is responsible for writing down total disk read-write data volume, the network amount of reading and writing data of foreground program.
3) carry out macroscopical load program that this pitching pile is crossed, macroscopical load resource solicited message of collecting comprises: all kinds of operation amounts of CPU, virtual machine sensitive operation quantity, memory read-write quantity and the cache hit rate, disk read-write data volume, the network amount of reading and writing data that cause virtual machine context to switch;
4) virtual platform is carried out microcosmic benchmark test, obtain the resource provision ability of platform to be measured, comprising: all kinds of operating speeds of CPU, the time-delay of virtual machine sensitive operation, memory read-write speed and cache read writing rate, disk read-write speed, network read or write speed;
5) overall response time, the resource utilization of the macroscopical load of calculating.
As all resource operations all is serial, and then the response time can be expressed as:
T=Σi=1mTi·Ni
T is the response time of macroscopical load, TiRepresent the time-delay of i class resource operation, NiThe quantity of representing i class resource operation, m is a resource operation kind quantity.
When all resource operations all walk abreast, then the response time can be expressed as:
T=maxj=1nTj
T is the response time of macroscopical load, TjBe the time-delay of j class resource operation, n is a resource operation kind quantity.
When all resource operations are parallel and serial mixes, following in parallel and series connection is an example with one-level, illustrates computing method, and as shown in Figure 3, macroscopical load comprises the sync section of X serial, and each sync section comprises ksIndividual parallel resource operation, then overall response time can be expressed as:
T=Σ1Xmax1≤l≤ksTBsl
T is the response time of macroscopical load, TBSlBe the time-delay of l resource operation of s sync section, as exist multistage serial parallel, according to above-mentioned formula and the like get final product.
Resource utilization can get final product total time-delay of related resource operation divided by overall response time, can be expressed as respectively as cpu busy percentage, disk utilization factor and network utilization: UCPU=TCPU/ T, UDisk=TDisk/ T, UNet=TNet/ T.
Be example with the bzip load among the computation-intensive macroscopic view benchmark test SPECcpu below, specifically set forth said method, the configuration of virtual platform is as follows:
The physical machine configuration: Intel Q66004 core processor, dominant frequency are 2.4GHz; Internal memory 4G;
The virtual machine manager configuration: Xen 3.3.1 operates on the linux kernel 2.6.27;
Virtual machine configuration: 1 VCPU, 1G internal memory
Step a: profile analysis obtains the quantity of all kinds of resource operations in the table 1 to load bzip, because bzip is the load of CPU intensity, these CPU arithmetic operations obtain by the method for profile analysis that recompiles pitching pile.
Step b:, obtain the unit operation time-delay in the table 1 to the benchmark test of virtual platform operation LMbench microcosmic.
Step c: according to formula 1: analytical calculation, obtain the response time analysis result of table 2, The actual running results relatively, its error is 5.4%.
Profile analysis and the microcosmic benchmark results of table-1 load bzip
Figure BDA0000076059560000051
Table-2 load bizip performance Analysis and Calculation and errors thereof
Analysis resultThe actual running resultsError
The bzip response time 950.0022255 903 5.4266%

Claims (1)

1. virtual platform performance evaluating method based on profile analysis comprises:
(1) utilizes pitching pile, sampling and outer monitoring three class profile analysis technology to obtain the resource request of macroscopical load, comprising: all kinds of operation amounts of CPU, virtual machine sensitive operation quantity, memory read-write quantity and the cache hit rate, disk read-write data volume, the network amount of reading and writing data that cause virtual machine context to switch;
(2) virtual platform to be measured is carried out microcosmic benchmark test, obtain the resource provision ability of virtual platform to be measured, comprising: all kinds of operating speeds of CPU, the time-delay of virtual machine sensitive operation, memory read-write speed and cache read writing rate, disk read-write speed, network read or write speed;
(3) response time, cpu busy percentage, disk utilization factor and the network utilization of the macroscopical load of calculating.
CN2011102000159A2011-07-152011-07-15Virtualized platform performance evaluating method based on program contour analysisPendingCN102222034A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN2011102000159ACN102222034A (en)2011-07-152011-07-15Virtualized platform performance evaluating method based on program contour analysis

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN2011102000159ACN102222034A (en)2011-07-152011-07-15Virtualized platform performance evaluating method based on program contour analysis

Publications (1)

Publication NumberPublication Date
CN102222034Atrue CN102222034A (en)2011-10-19

Family

ID=44778590

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN2011102000159APendingCN102222034A (en)2011-07-152011-07-15Virtualized platform performance evaluating method based on program contour analysis

Country Status (1)

CountryLink
CN (1)CN102222034A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102662836A (en)*2012-03-282012-09-12易云捷讯科技(北京)有限公司Evaluation system and method for virtual machine
CN102681940A (en)*2012-05-152012-09-19兰雨晴Method for carrying out performance test on memory management subsystem of Linux operation system
CN102722434A (en)*2012-05-242012-10-10兰雨晴Performance test method and tool aiming at Linux process scheduling
CN103116539A (en)*2012-02-152013-05-22无锡江南计算技术研究所Performance loss testing method and device of fine-grained virtual system
WO2013097176A1 (en)*2011-12-302013-07-04华为技术有限公司User experience index monitoring method and monitoring virtual machine
WO2013186645A1 (en)*2012-06-152013-12-19International Business Machines CorporationReal time measurement of virtualization i/o processing delays
CN103729263A (en)*2013-12-232014-04-16国云科技股份有限公司XEN virtual machine fault-tolerant mechanism with high success rate
CN103793327A (en)*2014-02-242014-05-14浪潮电子信息产业股份有限公司Method for testing performance of JVM of virtual platform
CN108491325A (en)*2018-03-202018-09-04广东欧珀移动通信有限公司file system test method, device, storage medium and terminal
CN108874535A (en)*2018-05-142018-11-23中国平安人寿保险股份有限公司A kind of task adjusting method, computer readable storage medium and terminal device
CN113032231A (en)*2021-03-092021-06-25中国人民解放军63660部队Virtualization platform comprehensive performance evaluation method
CN113342515A (en)*2021-05-112021-09-03北京大学Method, device and equipment for selecting server-free computing resources and storage medium
CN117234883A (en)*2023-10-072023-12-15方心科技股份有限公司Performance evaluation method and system for power business application

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20050120341A1 (en)*2003-09-032005-06-02Andreas BlumenthalMeasuring software system performance using benchmarks
CN102073535A (en)*2011-01-112011-05-25华中科技大学Hardware counter virtualization-based performance analysis method for multiple virtual machines

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20050120341A1 (en)*2003-09-032005-06-02Andreas BlumenthalMeasuring software system performance using benchmarks
CN102073535A (en)*2011-01-112011-05-25华中科技大学Hardware counter virtualization-based performance analysis method for multiple virtual machines

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
高清华: "基于IntelVT技术的虚拟化系统性能测试研究", 《中国优秀硕士学位论文全文数据库》*

Cited By (22)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2013097176A1 (en)*2011-12-302013-07-04华为技术有限公司User experience index monitoring method and monitoring virtual machine
CN103116539A (en)*2012-02-152013-05-22无锡江南计算技术研究所Performance loss testing method and device of fine-grained virtual system
CN102662836A (en)*2012-03-282012-09-12易云捷讯科技(北京)有限公司Evaluation system and method for virtual machine
CN102662836B (en)*2012-03-282015-06-03易云捷讯科技(北京)有限公司Evaluation system and method for virtual machine
CN102681940A (en)*2012-05-152012-09-19兰雨晴Method for carrying out performance test on memory management subsystem of Linux operation system
CN102681940B (en)*2012-05-152015-06-10北京航空航天大学Method for carrying out performance test on memory management subsystem of Linux operation system
CN102722434B (en)*2012-05-242015-01-14北京航空航天大学Performance test method and tool aiming at Linux process scheduling
CN102722434A (en)*2012-05-242012-10-10兰雨晴Performance test method and tool aiming at Linux process scheduling
WO2013186645A1 (en)*2012-06-152013-12-19International Business Machines CorporationReal time measurement of virtualization i/o processing delays
US9122508B2 (en)2012-06-152015-09-01International Business Machines CorporationReal time measurement of I/O interrupt delay times by hypervisor by selectively starting and/or stopping corresponding LPARs
US9122512B2 (en)2012-06-152015-09-01International Business Machines CorporationReal time measurement of I/O interrupt delay times by hypervisor for hot spot analysis
CN103729263A (en)*2013-12-232014-04-16国云科技股份有限公司XEN virtual machine fault-tolerant mechanism with high success rate
CN103729263B (en)*2013-12-232017-07-07国云科技股份有限公司A kind of XEN virtual machine fault tolerant mechanisms of high success rate
CN103793327A (en)*2014-02-242014-05-14浪潮电子信息产业股份有限公司Method for testing performance of JVM of virtual platform
CN108491325B (en)*2018-03-202021-12-07Oppo广东移动通信有限公司File system testing method and device, storage medium and terminal
CN108491325A (en)*2018-03-202018-09-04广东欧珀移动通信有限公司file system test method, device, storage medium and terminal
CN108874535A (en)*2018-05-142018-11-23中国平安人寿保险股份有限公司A kind of task adjusting method, computer readable storage medium and terminal device
CN113032231A (en)*2021-03-092021-06-25中国人民解放军63660部队Virtualization platform comprehensive performance evaluation method
CN113032231B (en)*2021-03-092024-03-15中国人民解放军63660部队Comprehensive performance evaluation method for virtualization platform
CN113342515A (en)*2021-05-112021-09-03北京大学Method, device and equipment for selecting server-free computing resources and storage medium
CN117234883A (en)*2023-10-072023-12-15方心科技股份有限公司Performance evaluation method and system for power business application
CN117234883B (en)*2023-10-072024-06-04方心科技股份有限公司Performance evaluation method and system for power business application

Similar Documents

PublicationPublication DateTitle
CN102222034A (en)Virtualized platform performance evaluating method based on program contour analysis
CN102722434B (en)Performance test method and tool aiming at Linux process scheduling
Koh et al.An analysis of performance interference effects in virtual environments
TWI410864B (en)Controlling instruction execution in a processing environment
US12373329B2 (en)Deterministic replay of a multi-threaded trace on a multi-threaded processor
Klug et al.autopin–automated optimization of thread-to-core pinning on multicore systems
CN107092541A (en)A kind of method that utilization virtual machine carries out storage performance test
Ye et al.Analyzing and modeling the performance in xen-based virtual cluster environment
US20140012561A1 (en)Modeling and evaluating application performance in a new environment
US7890314B2 (en)Method for modeling performance of embedded processors having combined cache and memory hierarchy
CN101986280A (en)Automatic testing platform for virtual computing system
US20220100512A1 (en)Deterministic replay of a multi-threaded trace on a multi-threaded processor
CN105630575B (en)For the performance estimating method of KVM virtualization server
CN102073535A (en)Hardware counter virtualization-based performance analysis method for multiple virtual machines
CN106293881A (en)A kind of Network Performance Monitor and monitoring method thereof accessing framework based on nonuniformity I/O
CN104794058A (en)Testing method for cloud desktop virtual environment performance
CN114595054A (en)Method and apparatus for generating graphics processing unit long instruction traces
Diener et al.Evaluating thread placement based on memory access patterns for multi-core processors
Choi et al.Interference-aware co-scheduling method based on classification of application characteristics from hardware performance counter using data mining
Jayakumar et al.A Holistic Approach for Performance Analysis of Embedded Storage Array
Uddin et al.Collecting signatures to model latency tolerance in high-level simulations of microthreaded cores
CN101583926B (en)Method and system for employing a buffer to facilitate instruction execution
DeBonis et al.A Power API for the HPC Community.
Uddin et al.Analytical-based high-level simulation of the microthreaded many-core architectures
Maleszewski et al.Managing and enhancing performance benchmarks

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C12Rejection of a patent application after its publication
RJ01Rejection of invention patent application after publication

Application publication date:20111019


[8]ページ先頭

©2009-2025 Movatter.jp