CN106445759A - A general cloud server testing method - Google Patents
A general cloud server testing method Download PDFInfo
- Publication number
- CN106445759A CN106445759A CN201610962746.XA CN201610962746A CN106445759A CN 106445759 A CN106445759 A CN 106445759A CN 201610962746 A CN201610962746 A CN 201610962746A CN 106445759 A CN106445759 A CN 106445759A
- Authority
- CN
- China
- Prior art keywords
- test
- memory
- cpu
- sysbench
- during
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2273—Test methods
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
本发明提供一种通用的云服务器测试方法,属于云测试领域,本发明主要从四方面进行:CPU、内存、硬盘、网络。CPU的性能主要是从其计算能力方面考虑,其中包括整型计算能力、浮点型计算能力;内存的性能主要是从其读取、写入、复制、潜伏期等方面考虑;而硬盘的性能主要从读取(顺序、随机/大块、小块)、写入(顺序、随机/大块、小块)、混合模式等方面考虑;网络的性能主要从网络延迟、丢包率等方面考虑。The invention provides a general cloud server testing method, which belongs to the field of cloud testing. The invention is mainly carried out from four aspects: CPU, memory, hard disk, and network. The performance of the CPU is mainly considered from its computing power, including integer computing power and floating-point computing power; the performance of the memory is mainly considered from its reading, writing, copying, latency, etc.; and the performance of the hard disk is mainly Consider reading (sequential, random/large block, small block), writing (sequential, random/large block, small block), mixed mode, etc.; network performance is mainly considered in terms of network delay, packet loss rate, etc.
Description
技术领域technical field
本发明涉及云测试技术,尤其涉及一种通用的云服务器测试方法。The invention relates to cloud testing technology, in particular to a general cloud server testing method.
背景技术Background technique
云服务器是云计算在基础设施应用上的重要组成部分,位于云计算产业链金字塔底层,产品源自云计算平台。该平台整合了互联网应用的三大核心要素:计算、存储、网络,面向用户提供公用化的互联网基础设施服务。云服务器是在一组集群主机上虚拟出多个类似独立主机的部分,集群中每个主机上都有云服务器的一个镜像,从而大大提高了虚拟主机的安全稳定性,除非所有的集群内主机全部出现问题,云服务器才会无法访问。Cloud server is an important part of cloud computing in infrastructure applications. It is located at the bottom of the cloud computing industry chain pyramid, and its products are derived from cloud computing platforms. The platform integrates three core elements of Internet applications: computing, storage, and network, and provides public Internet infrastructure services for users. The cloud server is a group of cluster hosts that virtualize multiple parts similar to independent hosts. Each host in the cluster has a mirror image of the cloud server, which greatly improves the security and stability of the virtual host, unless all hosts in the cluster If all problems occur, the cloud server will be inaccessible.
目前已具有云平台的测试方法模型,在此模型中描述了云平台测试需要的环境及搭建布局,也有很多云厂商都给出了自己的一套云服务器测试方法,然而对于云用户来说,一套标准的云服务器测试方法显得尤为重要。At present, there is a test method model for the cloud platform. In this model, the environment and construction layout required for cloud platform testing are described. Many cloud vendors have also given their own set of cloud server test methods. However, for cloud users, A set of standard cloud server testing methods is particularly important.
发明内容Contents of the invention
为了解决以上问题,本发明提出了一种通用的云服务器测试方法。用于以后标准、规范的测试各大云厂商的云服务器。In order to solve the above problems, the present invention proposes a general cloud server testing method. It is used to test the cloud servers of major cloud vendors in the future according to standards and specifications.
本发明的技术方案是:Technical scheme of the present invention is:
云服务器按照操作系统大类分为:linux、windows.According to the operating system category, cloud servers are divided into: linux, windows.
针对linux的云服务器:Cloud server for linux:
CPU:CPU:
UnixBench内置复杂操作,测试云主机的整体性能;UnixBench has built-in complex operations to test the overall performance of the cloud host;
Sysbench通过计算最大素数,测试CPU的整型运算性能;Sysbench tests the CPU's integer computing performance by calculating the largest prime number;
Super_pi通过对pi值的计算,测试CPU的浮点型运算性能。Super_pi tests the floating-point computing performance of the CPU by calculating the pi value.
内存:Memory:
Sysbench测试内存分配及传输速度;Sysbench test memory allocation and transmission speed;
Ramspeed测试整型、浮点型计算时内存的读写速率。Ramspeed tests the read and write speed of memory during integer and floating-point calculations.
硬盘:hard disk:
dd测试硬盘的读写速率;dd tests the read and write speed of the hard disk;
iozone测试加载文件系统的读写速率。iozone tests the read and write rates of mounted filesystems.
网络:The internet:
Iperf测试网络延迟、带宽。Iperf tests network latency and bandwidth.
针对windows系统的云服务器:Cloud server for windows system:
CPU:CPU:
Everest是windows系统下一款常用的CPU性能测试工具。它本身包含很多的整型、浮点型运算模型,通过对这几种模型的模拟运算,来测试CPU的计算能力;Everest is a commonly used CPU performance testing tool under Windows system. It itself contains a lot of integer and floating-point computing models, and tests the computing power of the CPU by simulating these models;
内存:Memory:
Everest也是windows系统下一款内存测试工具。包括内存的读写测试、内存复制测试、内存潜伏测试,也可以对一级缓存、二级缓存进行测试;Everest is also a memory testing tool for Windows system. Including memory read and write test, memory copy test, memory latency test, and can also test the first-level cache and second-level cache;
硬盘:hard disk:
Iometer是windows系统下常用的I/O性能测试工具。通过模拟不同块大小不同操作,测试相应操作的I/O性能。Iometer is a commonly used I/O performance testing tool under the windows system. Test the I/O performance of corresponding operations by simulating different operations with different block sizes.
网络:The internet:
Iperf测试网络延迟、带宽。Iperf tests network latency and bandwidth.
具体实施方式detailed description
下面对本发明的内容进行更加详细的阐述:The content of the present invention is described in more detail below:
本发明从CPU、内存、硬盘、网络四方面对云服务器的性能进行有效评估。从CPU、内存、硬盘、网络四方面对云服务器的性能进行有效评估。方法如下:The invention effectively evaluates the performance of the cloud server from the four aspects of CPU, memory, hard disk and network. Effectively evaluate the performance of cloud servers from four aspects: CPU, memory, hard disk, and network. Methods as below:
Linux云服务器的测试方法:Test method of Linux cloud server:
1、CPU:1. CPU:
UnixBench测试时,测试命令如下:During the UnixBench test, the test command is as follows:
./unixbench./unixbench
Sysbench测试时,测试命令如下:During the Sysbench test, the test command is as follows:
sysbench --test=cpu --num-threads=1 --cpu-max-prime=5000runsysbench --test=cpu --num-threads=1 --cpu-max-prime=5000run
sysbench --test=cpu --num-threads=4 --cpu-max-prime=20000runsysbench --test=cpu --num-threads=4 --cpu-max-prime=20000run
sysbench--test=cpu--num-threads=8--cpu-max-prime=40000runsysbench --test=cpu --num-threads=8 --cpu-max-prime=40000run
2、内存:2. Memory:
Sysbench测试时,测试命令如下:During the Sysbench test, the test command is as follows:
Sysbench --test=memory --num-threads=1sysbench --test=memory --num-threads=1
--memory-block-size1=4096 --memory-total-size1=1G run--memory-block-size1=4096 --memory-total-size1=1G run
Sysbench --test=memory --num-threads=4sysbench --test=memory --num-threads=4
--memory-block-size1=4096 --memory-total-size1=1G run--memory-block-size1=4096 --memory-total-size1=1G run
Sysbench --test=memory --num-threads=8sysbench --test=memory --num-threads=8
--memory-block-size1=4096 --memory-total-size1=1G run--memory-block-size1=4096 --memory-total-size1=1G run
Ramspeed测试时,测试命令如下:During the Ramspeed test, the test command is as follows:
./ramspeed –b3 –g2 –m32(整型计算)./ramspeed –b3 –g2 –m32 (integer calculation)
./ramspeed –b9 –g2 –m32(浮点型计算)./ramspeed –b9 –g2 –m32 (floating point calculation)
3、硬盘:3. Hard disk:
dd测试时,测试命令如下:During the dd test, the test command is as follows:
dd if=/dev/zero of=/data/test4k.data bs=4K count=1000oflag=dsyncdd if=/dev/zero of=/data/test4k.data bs=4K count=1000oflag=dsync
dd if=/dev/zero of=/data/test4k.data bs=64K count=1000oflag=dsyncdd if=/dev/zero of=/data/test4k.data bs=64K count=1000oflag=dsync
dd if=/dev/zero of=/data/test4k.databs=1M count=1000oflag=dsyncdd if=/dev/zero of=/data/test4k.databs=1M count=1000oflag=dsync
Iozone测试时,测试命令如下:During the Iozone test, the test command is as follows:
./iozone –a –r 4K –s 8G –i 0 –i 1 –i 2 -o./iozone –a –r 4K –s 8G –i 0 –i 1 –i 2 -o
./iozone –a –r 64K –s 8G –i 0 –i 1 –i 2 -o./iozone –a –r 64K –s 8G –i 0 –i 1 –i 2 -o
./iozone –a –r 1M –s 8G –i 0 –i 1 –i 2 -o./iozone –a –r 1M –s 8G –i 0 –i 1 –i 2 -o
4、网络4. Network
iperf测试时,测试命令如下:During the iperf test, the test command is as follows:
/opt/iperf/bin/iperf-c${desc_ip}-n 10G。/opt/iperf/bin/iperf -c ${desc_ip} -n 10G.
Windows云服务器的测试方法:Test method of Windows cloud server:
1、CPU:1. CPU:
Everest测试时,测试项为:During the Everest test, the test items are:
CPU queueCPU queue
CPU photoworxxCPU photoworxx
CPU zlibCPU zlib
CPU AESCPU AES
FPU JULIAFPU JULIA
FPU MANDELFPU MANDEL
FPU SINJULIAFPU SINJULIA
2、内存:2. Memory:
Everest、maxxMEM测试时,测试项都为:When testing Everest and maxxMEM, the test items are:
内存复制memory copy
内存读取memory read
内存写入memory write
内存潜伏memory latency
3、硬盘:3. Hard disk:
IOMeter测试时,测试项为:During the IOMeter test, the test items are:
512B、4K、64K、1M块大小的顺序读、顺序写、随机读、随机写测试Sequential read, sequential write, random read, random write test of 512B, 4K, 64K, 1M block size
4、网络:4. Network:
Iperf测试时,命令行输入以下命令:During the Iperf test, enter the following command on the command line:
/opt/iperf/bin/iperf-c${desc_ip}-n 10G。/opt/iperf/bin/iperf -c ${desc_ip} -n 10G.
Claims (3)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610962746.XA CN106445759A (en) | 2016-10-28 | 2016-10-28 | A general cloud server testing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610962746.XA CN106445759A (en) | 2016-10-28 | 2016-10-28 | A general cloud server testing method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106445759A true CN106445759A (en) | 2017-02-22 |
Family
ID=58181125
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610962746.XA Pending CN106445759A (en) | 2016-10-28 | 2016-10-28 | A general cloud server testing method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106445759A (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109062768A (en) * | 2018-08-09 | 2018-12-21 | 网宿科技股份有限公司 | The IO performance estimating method and device of cache server |
| CN109327355A (en) * | 2018-10-25 | 2019-02-12 | 平安科技(深圳)有限公司 | Cloud storage system performance evaluation methodology, device and computer readable storage medium |
| CN110175107A (en) * | 2019-05-13 | 2019-08-27 | 华中科技大学 | A kind of test method and test macro of FPGA Cloud Server performance |
| CN111198792A (en) * | 2019-12-31 | 2020-05-26 | 上海派森诺生物科技股份有限公司 | Batch test system based on sysbench and test method thereof |
| CN113609027A (en) * | 2021-08-31 | 2021-11-05 | 北京百度网讯科技有限公司 | ARM cloud server testing method and device, electronic equipment and storage medium |
| CN117785485A (en) * | 2024-02-26 | 2024-03-29 | 浪潮计算机科技有限公司 | Cloud computing virtual machine task allocation method, device, equipment and medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101246446A (en) * | 2008-03-12 | 2008-08-20 | 浪潮电子信息产业股份有限公司 | A method for testing the performance of PC server |
| US7975177B2 (en) * | 2009-06-24 | 2011-07-05 | Hon Hai Precision Industry Co., Ltd. | System and method for testing network performance |
| CN102413500A (en) * | 2011-12-08 | 2012-04-11 | 深圳市共进电子股份有限公司 | Method and system for testing throughput of wireless network card in wireless local area network |
| CN102708056A (en) * | 2012-05-15 | 2012-10-03 | 浪潮电子信息产业股份有限公司 | Method for evaluating performances of servers |
| CN104333488A (en) * | 2014-11-04 | 2015-02-04 | 哈尔滨工业大学 | Cloud service platform performance test method |
-
2016
- 2016-10-28 CN CN201610962746.XA patent/CN106445759A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101246446A (en) * | 2008-03-12 | 2008-08-20 | 浪潮电子信息产业股份有限公司 | A method for testing the performance of PC server |
| US7975177B2 (en) * | 2009-06-24 | 2011-07-05 | Hon Hai Precision Industry Co., Ltd. | System and method for testing network performance |
| CN102413500A (en) * | 2011-12-08 | 2012-04-11 | 深圳市共进电子股份有限公司 | Method and system for testing throughput of wireless network card in wireless local area network |
| CN102708056A (en) * | 2012-05-15 | 2012-10-03 | 浪潮电子信息产业股份有限公司 | Method for evaluating performances of servers |
| CN104333488A (en) * | 2014-11-04 | 2015-02-04 | 哈尔滨工业大学 | Cloud service platform performance test method |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109062768A (en) * | 2018-08-09 | 2018-12-21 | 网宿科技股份有限公司 | The IO performance estimating method and device of cache server |
| CN109062768B (en) * | 2018-08-09 | 2020-09-18 | 网宿科技股份有限公司 | IO performance evaluation method and device for cache server |
| US11106561B2 (en) | 2018-08-09 | 2021-08-31 | Wangsu Science & Technology Co., Ltd. | Method and device for evaluating IO performance of cache servers |
| CN109327355A (en) * | 2018-10-25 | 2019-02-12 | 平安科技(深圳)有限公司 | Cloud storage system performance evaluation methodology, device and computer readable storage medium |
| CN110175107A (en) * | 2019-05-13 | 2019-08-27 | 华中科技大学 | A kind of test method and test macro of FPGA Cloud Server performance |
| CN111198792A (en) * | 2019-12-31 | 2020-05-26 | 上海派森诺生物科技股份有限公司 | Batch test system based on sysbench and test method thereof |
| CN111198792B (en) * | 2019-12-31 | 2023-09-08 | 上海派森诺生物科技股份有限公司 | Batch test system and method based on sysbankh |
| CN113609027A (en) * | 2021-08-31 | 2021-11-05 | 北京百度网讯科技有限公司 | ARM cloud server testing method and device, electronic equipment and storage medium |
| CN117785485A (en) * | 2024-02-26 | 2024-03-29 | 浪潮计算机科技有限公司 | Cloud computing virtual machine task allocation method, device, equipment and medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106445759A (en) | A general cloud server testing method | |
| TW202107297A (en) | Systems and methods implementing high-speed data communication fabric for cloud gaming data storage and retrieval | |
| TWI410864B (en) | Controlling instruction execution in a processing environment | |
| Guz et al. | Performance characterization of nvme-over-fabrics storage disaggregation | |
| CN107092541A (en) | A kind of method that utilization virtual machine carries out storage performance test | |
| US11042519B2 (en) | Reinforcement learning for optimizing data deduplication | |
| CN107924293A (en) | Copy on write redirects | |
| CN109828896B (en) | A test method for the performance of solid-state disk FTL algorithm | |
| CN113886162B (en) | Computing device performance test method, computing device and storage medium | |
| CN103984619A (en) | Performance monitoring method of network storage system | |
| US11748241B2 (en) | Method and apparatus for generating simulated test IO operations | |
| Mullerikkal et al. | A comparative study of openstack and cloudstack | |
| Xu et al. | Performance characterization of hyperscale applicationson on nvme ssds | |
| CN104182343A (en) | Performance test method and device for operating system | |
| US11379390B1 (en) | In-line data packet transformations | |
| Lee et al. | Big data benchmarks of high-performance storage systems on commercial bare metal clouds | |
| TWI813383B (en) | Transport control word architecture for physical port mirroring | |
| US20180120379A1 (en) | Driving pervasive commands using breakpoints in a hardware-accelerated simulation environment | |
| US10445218B2 (en) | Execution of graphic workloads on a simulated hardware environment | |
| Walker | SPDK: Building blocks for scalable, high performance storage applications | |
| US20210216850A1 (en) | Storage recommender system using generative adversarial networks | |
| Baun et al. | Building a private cloud with Eucalyptus | |
| Martinovic et al. | Performance Evaluation of Recent Windows Operating Systems. | |
| CN116701175A (en) | GDS system read and write performance test method, device and electronic equipment of server | |
| Gu et al. | DFS-PERF: A scalable and unified benchmarking framework for distributed file systems |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170222 |
|
| RJ01 | Rejection of invention patent application after publication |