CN105446846B - Performance test methods based on cloud desktop - Google Patents

Performance test methods based on cloud desktop Download PDF

Info

Publication number
CN105446846B
CN105446846B CN201510861841.6A CN201510861841A CN105446846B CN 105446846 B CN105446846 B CN 105446846B CN 201510861841 A CN201510861841 A CN 201510861841A CN 105446846 B CN105446846 B CN 105446846B
Authority
CN
China
Prior art keywords
virtual machine
server
performance
estimated
performance indicator
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.)
Active
Application number
CN201510861841.6A
Other languages
Chinese (zh)
Other versions
CN105446846A (en
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.)
CLP SECTION HUAYUN INFORMATION TECHNOLOGY Co Ltd
Original Assignee
CLP SECTION HUAYUN INFORMATION TECHNOLOGY Co Ltd
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 CLP SECTION HUAYUN INFORMATION TECHNOLOGY Co Ltd filed Critical CLP SECTION HUAYUN INFORMATION TECHNOLOGY Co Ltd
Priority to CN201510861841.6A priority Critical patent/CN105446846B/en
Publication of CN105446846A publication Critical patent/CN105446846A/en
Application granted granted Critical
Publication of CN105446846B publication Critical patent/CN105446846B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The present invention provides a kind of performance test methods based on cloud desktop, including:According to the hardware configuration of server, the virtual machine quantity that server can carry is estimated;Automatized script is run in virtual machine, to simulate client's real scene;In the server, it presses to the virtual machine of virtual machine quantity estimated, and monitoring server performance;The quantity of virtual machine is adjusted according to performance indicator result, obtains the maximum virtual machine quantity that server can carry.Beneficial effects of the present invention are:During being tested for the property to desktop cloud, simulation office scene is gone without expending practical manpower and materials, can be reached by the method for automation;By pressing in virtual machine, monitoring server performance indicator is to achieve the purpose that performance test.

Description

Performance test methods based on cloud desktop
Technical field
The present invention relates to desktop technical field of measurement and test, and in particular, to a kind of method of cloud desktop performance test.
Background technology
Cloud desktop Performance Testing Technology is mainly that the server tested under certain configuration can carry normal operation virtual machine Quantity.
At present, although there is similar performance test in existing technology, mainly there is following defect:
1. server performance criterion is defined, it is generally consistent with the standard in industry.
2. the virtual machine quantity carried in certain configuration server is not assessed, and not in pressure test process In by increasing or decreasing virtual machine quantity come monitoring server performance to judge maximum carrying number.
3. user's simulated operation is not carried out to virtual machine by the script of automation, it is difficult to simulate the environment of reality.
4. server CPU, memory, disk I/O performance data are not monitored, to judge that server various aspects of performance refers to Whether mark reaches bottleneck.
5. server performance is not monitored during performance test.
For example, through retrieval, the patent document (Shen of entitled " a kind of test method of cloud desktop virtual environments performance " is found Please number:201510231016.8;Publication number:CN104794058A), this publication disclose a kind of cloud desktop virtual environments The test method of energy, includes the following steps:The quantity of virtual machine opened in server is obtained, according to test condition, to all Non- virtual machine to be measured carries out applied voltage test, and the occupancy situation of the physical resource of server is made to meet test condition;According to acquisition OS Type, CPU and the memory parameters setting test loop number of virtual machine to be measured;According to the virtual machine to be measured of acquisition OS Type carries out multichannel thread loop test to the CPU of virtual machine to be measured, memory and IO performances respectively, calculates to be measured CPU, memory, IO performances average and the comprehensive performance score of virtual machine.The patent document points out it directly against virtual machine It is tested, so as to intuitively reflect the performance of practical virtual environment.
Invention content
For the defects in the prior art, the object of the present invention is to provide a kind of performance test methods based on cloud desktop.
According to a kind of performance test methods based on cloud desktop provided by the invention, including:
Step 1:According to the hardware configuration of server, the virtual machine quantity that server can carry, the void estimated are estimated Plan machine quantity;
Step 2:Automatized script is run in virtual machine, to simulate client's real scene;
Step 3:In the server, it presses to the virtual machine of virtual machine quantity estimated, and monitoring server performance, Obtain the performance indicator result of server;
Step 4:The quantity of virtual machine is adjusted according to performance indicator result, obtains the maximum that server can carry Virtual machine quantity.
Preferably, the step 1 includes:
The virtual machine quantity estimated server and can carried is configured according to server CPU, is denoted as quantity A;
The virtual machine quantity estimated server and can carried is configured according to server memory, is denoted as quantity B;
The virtual machine quantity estimated server and can carried is configured according to server hard disc, is denoted as quantity C;
Using the minimum value in quantity A, quantity B and quantity C as the virtual machine quantity estimated.
Preferably, the step 2 includes:
Step 2.1:With AutoIT design automation scripts, client's real scene is simulated;
Step 2.2:The virtual machine of virtual machine quantity estimated is created in management platform, by automatized script virtual Installation and operation is carried out in machine;
Step 2.3:Timed task is formulated, to ensure that automatized script runs without interruption, with terminal connecting virtual machine, KVM Switch carries out multi-dummy machine IO input and output simulation.
Preferably, the step 3 includes:
Step 3.1:Each performance indicator of server is inquired and recorded by performance monitor command.
Preferably, the step 4 includes:
Judge in performance indicator result, if there is the performance indicator for having exceeded preset range;
If in the presence of, it is pressed to server to be tested for the property again after reducing by a virtual machine every time, Zhi Daosuo There is performance indicator without departing from preset range;The maximum virtual machine that current virtual machine quantity can be carried as the server Quantity;
If being not present, pressed to server to be tested for the property again after increasing a virtual machine every time, until There is the performance indicator beyond preset range, can be carried the value that current virtual machine quantity subtracts one as the server most Big virtual machine quantity.
Compared with prior art, the present invention has following advantageous effect:
1st, during being tested for the property to desktop cloud, simulation office scene is gone without expending practical manpower and materials, It can be reached by the method for automation.
2nd, by pressing in virtual machine, monitoring server performance indicator is to achieve the purpose that performance test.
Description of the drawings
Upon reading the detailed description of non-limiting embodiments with reference to the following drawings, other feature of the invention, Objects and advantages will become more apparent upon:
Fig. 1 is the step flow chart of the performance test methods based on cloud desktop.
Specific embodiment
With reference to specific embodiment, the present invention is described in detail.Following embodiment will be helpful to the technology of this field Personnel further understand the present invention, but the invention is not limited in any way.It should be pointed out that the ordinary skill to this field For personnel, without departing from the inventive concept of the premise, several changes and improvements can also be made.These belong to the present invention Protection domain.
The present invention provides a kind of performance test methods based on cloud desktop, including:
Step 1:According to the hardware configuration of server, the virtual machine quantity that server can carry, the void estimated are estimated Plan machine quantity;Hardware configuration can be memory configurations, CPU configurations and hard disk configuration;It specifically, can be according to the hardware of server Configuration, if the virtual machine quantity of server carrying is estimated in the configuration of memory, CPU and hard disk, such as:E5-2620 is 2 tunnel, 6 core totally 12 Core, a physical core are used to 2 users, then a server can support 24 user virtual machines.According to every user 2G Memory calculates, then the server at least needs 48G memories;
Step 2:Automatized script is run in virtual machine, to simulate client's real scene;Specifically, it is automatic by designing Change script to run in virtual machine, to simulate the scene that client actually uses virtual machine, reduce the artificial performance that participates in this way and survey The workload of examination can change script according to user's actual scene, more can real simulation client actual conditions;
Step 3:In the server, it presses to the virtual machine of virtual machine quantity estimated, i.e.,:It is run in virtual machine Script, simulation client actually use scene, make to generate pressure on server, and monitoring server performance, obtain the property of server It can index result;While terminal connecting virtual machine carries out analog subscriber pressure, performance test personnel are ordered by performance monitoring Inquiry in time and record each performance indicator of server are enabled, such as:CPU, memory, disk I/O, network I/O etc.;
Step 4:The quantity of virtual machine is adjusted according to performance indicator result, obtains the maximum that server can carry Virtual machine quantity;The adjustment refers to increase or decrease.Specifically, it is pressed according to the virtual machine quantity estimated, virtual In machine simultaneously Run Script, monitoring server performance.If a certain index has been more than receptible range at this time, need gradually It reduces virtual machine quantity to be tested, is subject to the performance indicator for reaching and specifying;If each property of server on the basis of estimating Energy index is shown well, then can gradually increase the quantity of virtual machine, performance monitoring is carried out to server, until reaching what is specified Until performance indicator;The virtual machine quantity maximum value that can be carried on the server being centainly configured can be calculated in this way.
The step 1 includes:
The virtual machine quantity estimated server and can carried is configured according to server CPU, is denoted as quantity A;
The virtual machine quantity estimated server and can carried is configured according to server memory, is denoted as quantity B;
The virtual machine quantity estimated server and can carried is configured according to server hard disc, is denoted as quantity C;
Using the minimum value in quantity A, quantity B and quantity C as the virtual machine quantity estimated.
The step 2 includes:
Step 2.1:With AutoIT design automation scripts, client's real scene is simulated;
Step 2.2:The virtual machine of virtual machine quantity estimated is created in management platform, by automatized script virtual Installation and operation is carried out in machine;Specifically, a virtual machine is created in management platform, design automation script simultaneously imported into the virtual machine In, ensure the script energy normal operation in the separate unit virtual machine;The virtual machine is fabricated to masterplate, is used by the masterplate Mass production Family virtual machine.Management platform be VDI cloud desktop management consoles, administrator can by management platform carry out virtual machine creating, The various management operations such as change state.
Step 2.3:Timed task is formulated, to ensure that automatized script runs without interruption, with terminal connecting virtual machine, KVM Switch carries out multi-dummy machine IO input and output simulation.
The step 3 includes:
Step 3.1:Each performance indicator of server is inquired and recorded by performance monitor command.
The step 4 includes:
Judge in performance indicator result, if there is the performance indicator for having exceeded preset range;
If in the presence of, it is pressed to server to be tested for the property again after reducing by a virtual machine every time, Zhi Daosuo There is performance indicator without departing from preset range;The maximum virtual machine that current virtual machine quantity can be carried as the server Quantity;Wherein it is possible to server performance criterion or range are defined, such as:CPU is no more than 70%.
If being not present, pressed to server to be tested for the property again after increasing a virtual machine every time, until There is the performance indicator beyond preset range, can be carried the value that current virtual machine quantity subtracts one as the server most Big virtual machine quantity.
Specific embodiments of the present invention are described above.It is to be appreciated that the invention is not limited in above-mentioned Particular implementation, those skilled in the art can make a variety of changes or change within the scope of the claims, this not shadow Ring the substantive content of the present invention.In the absence of conflict, the feature in embodiments herein and embodiment can arbitrary phase Mutually combination.

Claims (2)

1. a kind of performance test methods based on cloud desktop, which is characterized in that including:
Step 1:According to the hardware configuration of server, the virtual machine quantity that server can carry, the virtual machine estimated are estimated Quantity;
Step 2:Automatized script is run in virtual machine, to simulate client's real scene;
Step 3:In the server, it presses, and monitoring server performance, obtains to the virtual machine of virtual machine quantity estimated The performance indicator result of server;
Step 4:The quantity of virtual machine is adjusted according to performance indicator result, show that the maximum that server can carry is virtual Machine quantity;
The step 1 includes:
The virtual machine quantity estimated server and can carried is configured according to server CPU, is denoted as quantity A;
The virtual machine quantity estimated server and can carried is configured according to server memory, is denoted as quantity B;
The virtual machine quantity estimated server and can carried is configured according to server hard disc, is denoted as quantity C;
Using the minimum value in quantity A, quantity B and quantity C as the virtual machine quantity estimated;
The step 2 includes:
Step 2.1:With AutoIT design automation scripts, client's real scene is simulated;
Step 2.2:The virtual machine of virtual machine quantity estimated is created in management platform, by automatized script in virtual machine Carry out installation and operation;
Step 2.3:Timed task is formulated, to ensure that automatized script runs without interruption, with terminal connecting virtual machine, KVM switchings Device carries out multi-dummy machine IO input and output simulation;
The step 4 includes:
Judge in performance indicator result, if there is the performance indicator for having exceeded preset range;
If in the presence of being pressed to server to be tested for the property again after reducing by a virtual machine every time, until institute is sexual Energy index is without departing from preset range;The maximum virtual machine number that current virtual machine quantity can be carried as the server Amount;
If being not present, pressed to server to be tested for the property again after increasing a virtual machine every time, until occurring Beyond the performance indicator of preset range, the maximum void that the value that current virtual machine quantity subtracts one can be carried as the server Plan machine quantity.
2. the performance test methods according to claim 1 based on cloud desktop, which is characterized in that the step 3 includes:
Step 3.1:Each performance indicator of server is inquired and recorded by performance monitor command.
CN201510861841.6A 2015-11-30 2015-11-30 Performance test methods based on cloud desktop Active CN105446846B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510861841.6A CN105446846B (en) 2015-11-30 2015-11-30 Performance test methods based on cloud desktop

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510861841.6A CN105446846B (en) 2015-11-30 2015-11-30 Performance test methods based on cloud desktop

Publications (2)

Publication Number Publication Date
CN105446846A CN105446846A (en) 2016-03-30
CN105446846B true CN105446846B (en) 2018-07-10

Family

ID=55557078

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510861841.6A Active CN105446846B (en) 2015-11-30 2015-11-30 Performance test methods based on cloud desktop

Country Status (1)

Country Link
CN (1) CN105446846B (en)

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106776165B (en) * 2016-12-05 2020-08-25 阿里巴巴(中国)有限公司 Server performance test method and system
CN106850330B (en) * 2016-12-09 2021-02-09 中电科华云信息技术有限公司 Intelligent cloud desktop performance test system and method
CN106815127A (en) * 2016-12-09 2017-06-09 中电科华云信息技术有限公司 The cloud desktop method for testing pressure of controllable load
CN107391373B (en) * 2017-07-19 2020-08-14 西安精雕软件科技有限公司 AutoIT-based automatic performance testing method
CN107577519A (en) * 2017-09-18 2018-01-12 郑州云海信息技术有限公司 A kind of virtual machine pressure method and device
CN107943626A (en) * 2017-11-08 2018-04-20 中国银联股份有限公司 The performance test methods and associated server of a kind of transaction system
CN107908535B (en) * 2017-11-13 2020-12-08 珠海金山网络游戏科技有限公司 Distributed client simulation method and device
CN109783221B (en) * 2017-11-14 2020-12-29 中国移动通信有限公司研究院 Virtual machine resource allocation method and device and resource server
CN108156054B (en) * 2017-12-26 2020-08-18 蚌埠中科云巢信息科技有限公司 Method and device for testing performance of cloud desktop
CN108897656A (en) * 2018-05-30 2018-11-27 郑州云海信息技术有限公司 A kind of method and system of automatic test NAS store function
CN109460278B (en) * 2018-11-05 2022-04-01 长沙远大住工智能科技有限公司 Cloud desktop building design software management method and device and computer equipment
CN109634825B (en) * 2018-12-11 2021-11-05 郑州云海信息技术有限公司 Virtualization platform stability testing method
CN110149243A (en) * 2019-05-13 2019-08-20 四川长虹电器股份有限公司 A kind of advertisement distributing system performance test methods
CN110569157B (en) * 2019-08-30 2023-07-14 华云数据有限公司 Storage testing method, device, server and storage medium
CN111124853B (en) * 2019-11-22 2022-08-23 福建升腾资讯有限公司 Cloud desktop scale evaluation system and method based on CPU performance
CN111913768A (en) * 2020-05-27 2020-11-10 广州铁路职业技术学院(广州铁路机械学校) Virtualized cloud desktop and construction method thereof
CN112306639B (en) * 2020-11-11 2023-02-24 新华三大数据技术有限公司 Virtual desktop testing method and device
CN113032231B (en) * 2021-03-09 2024-03-15 中国人民解放军63660部队 Comprehensive performance evaluation method for virtualization platform
CN113609027A (en) * 2021-08-31 2021-11-05 北京百度网讯科技有限公司 ARM cloud server testing method and device, electronic equipment and storage medium
CN115225548B (en) * 2022-05-27 2024-03-22 福建升腾资讯有限公司 Method for evaluating cloud desktop bearing capacity by server and storage medium
CN115167770A (en) * 2022-07-04 2022-10-11 中航机载系统共性技术有限公司 Storage system IOPS performance evaluation method based on VDI scene

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1506823A (en) * 2002-12-13 2004-06-23 英业达股份有限公司 Test method of overall server performance
CN101072327A (en) * 2007-06-19 2007-11-14 中兴通讯股份有限公司 Flow media performance testing method
CN103186412A (en) * 2011-12-31 2013-07-03 北京新媒传信科技有限公司 Performance optimization method based on JVM (java virtual machine) server
CN103473118A (en) * 2013-09-25 2013-12-25 浪潮电子信息产业股份有限公司 Method for testing desktop virtualization pressure
CN104333488A (en) * 2014-11-04 2015-02-04 哈尔滨工业大学 Cloud service platform performance test method
CN104794058A (en) * 2015-05-07 2015-07-22 合肥云中信息科技有限公司 Testing method for cloud desktop virtual environment performance

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1506823A (en) * 2002-12-13 2004-06-23 英业达股份有限公司 Test method of overall server performance
CN101072327A (en) * 2007-06-19 2007-11-14 中兴通讯股份有限公司 Flow media performance testing method
CN103186412A (en) * 2011-12-31 2013-07-03 北京新媒传信科技有限公司 Performance optimization method based on JVM (java virtual machine) server
CN103473118A (en) * 2013-09-25 2013-12-25 浪潮电子信息产业股份有限公司 Method for testing desktop virtualization pressure
CN104333488A (en) * 2014-11-04 2015-02-04 哈尔滨工业大学 Cloud service platform performance test method
CN104794058A (en) * 2015-05-07 2015-07-22 合肥云中信息科技有限公司 Testing method for cloud desktop virtual environment performance

Also Published As

Publication number Publication date
CN105446846A (en) 2016-03-30

Similar Documents

Publication Publication Date Title
CN105446846B (en) Performance test methods based on cloud desktop
CN107480015B (en) Load testing method, device and system, storage medium and pressure testing server
CN107302450B (en) Data acquisition task changing method and device
CN103150238B (en) A kind of service request processing method, simulated performance method of testing and device
KR101814560B1 (en) Virtual machine migration management method, apparatus, and system
US20170302545A1 (en) Device Cloud Monitoring and Stability
CN102857578B (en) A kind of file uploading method of network hard disc, system and net dish client
CN107038120B (en) Software testing method and device
CN107659455B (en) Method, storage medium, device and system for Mock data of iOS (internet operating system) end
CN106610896A (en) Adaptive pressure testing method and device
US9256828B2 (en) Alarm correlation analysis method, apparatus and system
CN108108296B (en) Cloud testing method, server and client
CN111224845A (en) Equipment automatic testing system and method based on Internet of things cloud
CN105653338B (en) A kind of update method and device of application
CN109284229B (en) Dynamic adjustment method based on QPS and related equipment
CN104360921A (en) Method, device and system for monitoring performance of mobile terminal
CN109144846B (en) Test method and device for testing server
CN107634878B (en) Performance test management platform
JP5957419B2 (en) QoE estimation apparatus, QoE estimation method and program
CN105022663B (en) Power system monitoring and control system
CN104967667B (en) A kind of software stability test remote monitoring system based on cloud service
CN106201810A (en) A kind of method of testing, device
CN106055441B (en) The network port performance test method and system of server under a kind of Linux system
CN114116487B (en) Pressure testing method and device, electronic equipment and storage medium
CN106909472B (en) Input/output load adjusting method and device of distributed file system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant