CN101883019B - Test method for verifying video application of storage server - Google Patents

Test method for verifying video application of storage server Download PDF

Info

Publication number
CN101883019B
CN101883019B CN2010101240292A CN201010124029A CN101883019B CN 101883019 B CN101883019 B CN 101883019B CN 2010101240292 A CN2010101240292 A CN 2010101240292A CN 201010124029 A CN201010124029 A CN 201010124029A CN 101883019 B CN101883019 B CN 101883019B
Authority
CN
China
Prior art keywords
server
storage server
test
windows
script
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
CN2010101240292A
Other languages
Chinese (zh)
Other versions
CN101883019A (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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Langchao Electronic Information Industry 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 Langchao Electronic Information Industry Co Ltd filed Critical Langchao Electronic Information Industry Co Ltd
Priority to CN2010101240292A priority Critical patent/CN101883019B/en
Publication of CN101883019A publication Critical patent/CN101883019A/en
Application granted granted Critical
Publication of CN101883019B publication Critical patent/CN101883019B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a test method for verifying the video application of a storage server. In the method, the test scheme for verifying whether the storage server can be applied in the video industry or not is realized through a certain program. The method is mainly characterized in that: a test program is improved on the basis of the general test method of an original storage server and a simulation method which is accordant with the application in the video industry is used. Due to the adoption of the improved storage server test method, the application of the storage server in the video industry can be verified efficiently, an effective basis is laid for the development stage of the storage server, the accuracy of product development is improved, development period is shortened, product quality is enhanced and high competitiveness is achieved.

Description

Whether a kind of storage server of verifying satisfies the method for testing of Video Applications
Technical field
The present invention relates to storage server Video Applications field tests, be specifically related to a kind of storage server of verifying and whether satisfy the method for testing of Video Applications.
Background technology
Along with developing rapidly of Internet video industry and reaching its maturity of industry business model, the value of hardware platform highlights day by day, is much accounted of.Show that according to the IDC data first quarter in 2008, internet industry market increased by on a year-on-year basis up to 216% than 07 year first quarter, growth rate occupies first of all industries, and has 81% to be the Internet video user among China 2.1 hundred million netizens.But the employed server of Internet video industry is universal product basically before this, and this has become a bottleneck of demanding urgently breaking through for the internet industry that the user is the king, content is king.The IT of an Internet video enterprise is responsible for and tells the reporter; " universal server product can only be done temporary transient substituting; this series products memory space often can not satisfy the demand of the storage that rises steadily, if add disk array, the I/O performance has satisfied not demand again.Increase the overall input on the basic IT architecture on this not only big degree, more can influence user's experience, reduction client viscosity.
As the storage system development company of a specialty, should enough understandings be arranged to sector application.Video industry application demand amount is unprecedented soaring at present; Some storage manufacturer is in order to satisfy market faster, and video industry more blindly pushes away storage server, and in face of the harsh industry user of condition; High application testing threshold has but blocked numerous Qian Lu that store manufacturer; Because they do not catch industry user's actual application environment, do not design and develop storage server to user's practical application, cause the product that much develops can't squeeze in the video industry application and go; Influence product development effect and company's benefit, and directly had influence on the smooth implementation of business model.Otherness and particularity because of Video Applications; The authoritative method of testing of in the industry the performance test neither one of video server being generally acknowledged at present; Just under the windows environment, utilize the performance and the stability of general IOmeter testing tool test storage server, can't simulate the program request test of actual video sector application video stream media.
In order to satisfy above demand, seek a kind ofly to verify whether storage server satisfies the method for testing that video industry uses and be necessary, and is a kind of strong foundation to product development.
Summary of the invention
The purpose of this invention is to provide the method for testing whether the checking storage server satisfies Video Applications.
The objective of the invention is to realize that the concrete steps that this method realizes are following by following mode:
Test environment:
Hardware: the storage server of full configuration hard disk, all hard disk is a RAID5; The windows2003 server of many function admirables
Software: windows storage server 2003; IOmeter2006; CentOS5.1x86_64; LoadRunner8.1;
(1) IOmeter2006 test under main frame windows storage server 2003 environment
This project mainly is the maximum bandwidth of the single network interface of Test Host.
F. the host stores server is installed windows storage server 2003 operating systems, and it can realize the iSCSI function.
G. many windows server ends are installed IOmeter2006, Microsoft initiator software.
H. the host stores server end is set up the target client, and local RAID5 segment space is shone upon the server client to windows, and the space that Storage Mapping is come in the server customer side is formatted as the local subregion of NTFS, and distributes drive;
I.Windows server customer side is moved IOmeter2006 simultaneously, and each script operation 5min preserves test result;
J. with the statistical summaries as a result of windows server client test, draw total bandwidth, be the bandwidth value of the single network interface of storage, and the record maximum bandwidth, like 110MB/s, be used for the reference of following test.
(2) user's simulation test under the host C ent0S5.1 x86_64 environment
J. the host stores server is installed CentOS5.1 x86_64, and the data hard disk is a RAID5, and the space is greater than 3TB, be the xfs form with its subregion under the system, and carry is under root/video;
K. root/video copies the video format file of a 60MB size down, like t.flv, and editor's batch processing script t.sh; Be somebody's turn to do this through carrying out; Can say that t.flv duplicates, reach more than 75%, can stop script executing until root/video usage space;
L. utilize Ngnix software that the host stores server configures is become a high performance http server.According to existing storage server bibliographic structure, revise nginx.conf, nginx.init and nginx file content to meet our desired http server effect;
M. the http server of setting up for last step is created particular user group, user; And startup ngnix service; This storage server is linked on the network; Whether effective through checking httpd server on server client IE6, if the unsuccessful nginx that then reconfigures serves till success, otherwise can't carry out following test;
-----
N.Windows server server end is all installed the LoadRunner8.1 Chinese edition, and registration can be simulated 1000 users' sequence number;
O. according to the storage server http server of being built; On LoadRunner, write the analog subscriber accesses script,, set the number of users of simulation in the script for the maximum performance of ability detection of stored server and the stability of Video Applications; Iterations, the access time; And this script all is applied on every windows server client;
P. after configuring the LoadRunner script, the windows server client starts LoadRunner simultaneously
Q. analog access shell script; For real-time monitored throughput, resources occupation rate, corresponding window, program are opened.
R. the value of each window writing routine of real time record;
The invention has the beneficial effects as follows: realized on original storage server performance test basis through programming, through revising test program and test script, with the process of checking storage server Video Applications test; This method of testing is through special test script; The testing software of special use well is applied to the test of storage server industry; For product development provides foundation, simultaneously through this test, the bandwidth that also can obtain storing, performance situation; Performance tuning, hardware development to storage have reasonable reference value, relatively are fit in the sector application storage server Development and Production.
Description of drawings
Accompanying drawing 1 is http-server analog subscriber visit topological diagram.
Embodiment
With reference to Figure of description to explanation at length below the work of the present invention.
Below in conjunction with accompanying drawing 1 process of the inventive method practical implementation once is described:
1) at first under the er of windows storage serv 2003 R2 environment, passes through the maximum bandwidth BWwin that server moves the single network interface of IOmeter2006 test script test storage server; This theory of testing maximum bandwidth is 125MB/s; Because receive the influence of environment and transmission medium, optimum bandwidth is 110MB/s, if test does not reach this bandwidth; Can transfer network environment and excellently test again, with this standard foundation as the LoadRunner test data;
2) test the maximum capability bandwidth of single network interface after; Build http-server with storage server; Carry out user's analog access test, test effect in order to reach optimum, and can embody the optimum bandwidth of Video Applications; Minimum three of windows client-server is according to the topology connection storage of accompanying drawing 1;
3) put up http-server after; The user that the windows server moves LoadRunner8.1 and establishment simultaneously simulates script; Behind the script program operation, LoadRunner can serve according to the http of the number of iterations of setting through the access to netwoks storage server by analog subscriber, and the video file in the http service is read at random; The initial processes that can set user's analog access can be improved network bandwidth performance like this for slowly pressurization;
4) the LoadRunner analog subscriber read the operation of storage server video file process after 20 minutes; The throughput window of LoadRunner software is opened; The numerical quantity of handling up in the form demonstration certain hour interval of meeting with curve in the window is described curve, and the while is at the concrete numerical value of the real-time demonstration of this beneath window meeting throughput; The things number that passes through in the detection window is greater than the things number of failure;
Be connected on the storage server with SSH software, operation iptraf program is opened network interface network traffics window to be tested, and this window can show the network state of tested network interface in real time, as give out a contract for a project number, packet receiving number, packet receiving and packet sending speed etc.; Start the vmstat program with another SSH window simultaneously; In order to check the value of information attention wa such as cpu, can set and whenever refresh numerical value, according to the video industry application performance requirement of routine at a distance from 2 seconds; This value generally can not surpass 50%, otherwise can't guarantee Video Applications performance fluency; Moreover, use SSH
Window is opened the top order, and the performance condition that the detection of stored server is whole comprises CPU, memory usage etc., and this resources occupation rate of two can not surpass 50% equally;
5) treat that the LoadRunner operation is after 20 minutes; The analog subscriber visit pressure of every windows server slowly rises to maximum and tends to be steady, and at this moment, detects the parameters window of mentioning in (4); And whenever at a distance from the 10 minutes once every partition window mouth numerical value of record, record at least ten groups;
6) ten groups of numerical value with record in the step (5) compare according to time sequencing, judge that the condition whether performance satisfies is:
A. the value of wa all can not surpass 50%+5% among resources occupation rate, the vmstat;
B. throughput curve needs held stationary in ten groups of data time, can not surpass the fluctuation of 10MB;
C. the number of transactions of passing through needs the number of transactions greater than failure;
D. average throughput numerical value is according to public
Figure GSA00000054645100041
formula: calculate average loan BW, the BW need are greater than 65% of BWwin value;
These four testing standards can be judged very intuitively, also are convenient to operation;
7) this analog subscriber access program script of long-play, stability that can test storage server Video Applications, and detect throughput curve, criterion:
A. storage server does not have the dish of falling;
B. throughput curve is level and smooth, does not have very big fluctuation;
These two are easy to the tester and judge;
Realize through certain program whether the checking storage server satisfies the testing scheme that video industry is used; The method main feature is on former storage server universal testing method basis, to carry out test program to improve; Utilization meets the analogy method that video industry is used; Through this improved storage server method of testing, can verify effectively whether storage server satisfies video industry and use, for the storage server development phase provides effective foundation; Improved product development accuracy, shortened the construction cycle, improved product quality and good competitiveness.

Claims (1)

1. verify that whether storage server satisfies the method for testing of Video Applications, is characterized in that test environment for one kind: comprise hardware and software, wherein:
Hardware: the storage server of full configuration hard disk, all hard disk is a RAID5; The windows2003 server of many function admirables;
Software: windows storage server 2003; IOmeter2006; CentOS5.1 x86_64; LoadRunner8.1;
Content measurement comprises: 1) IOmeter2006 test under main frame windows storage server 2003 environment; 2) user's simulation test under the host C entOS5.1 x86_64 environment; Wherein:
1) IOmeter2006 test under main frame windows storage server 2003 environment, this project mainly is the maximum bandwidth of the single network interface of Test Host; Content comprises:
F. the host stores server is installed windows storage server 2003 operating systems, and it can realize the iSCSI function;
G. many windows server ends are installed IOmeter2006, Microsoft initiator software;
H. the host stores server end is set up the target client, and local RAID5 segment space is shone upon the server client to windows, and the space that server client is come Storage Mapping is formatted as the local subregion of NTFS, and distributes drive;
The I.Windows server client moves IOmeter2006 simultaneously, and test result is preserved in each script operation 5 minutes;
J. with the statistical summaries as a result of windows server client test, draw total bandwidth, be the bandwidth value of the single network interface of storage, and record maximum bandwidth 110MB/s, be used for the reference of following test;
2) user's simulation test under the host C entOS5.1 x86_64 environment, content comprises:
I. the host stores server is installed CentOS5.1 x86_64, and the data hard disk is a RAID5, and the space is greater than 3TB, be the xfs form with its subregion under the system, and carry is under root/video;
J. root/video copies the video format file of a 60MB size down, and t.flv, and editor's batch processing script t.sh through carrying out this script, duplicate t.flv, reach more than 75% until root/video usage space, stop script executing;
K. utilize Ngnix software that the host stores server configures is become a high performance http server,, revise nginx.conf, nginx.init and nginx file content to meet the http server effect according to existing storage server bibliographic structure;
L. the http server of setting up for last step is created particular user group, user; And startup ngnix service; This storage server is linked on the network; Whether effective through checking httpd server on server client IE6, unsuccessful then reconfigure nginx and serve till success, otherwise can't carry out following test;
M.Windows server server end is all installed the LoadRunner8.1 Chinese edition, and registration can be simulated 1000 users' sequence number;
N. according to the storage server http server of being built; On LoadRunner, write the analog subscriber accesses script,, set the number of users of simulation in the script for the maximum performance of ability detection of stored server and the stability of Video Applications; Iterations, the access time; And this script all is applied on every windows server client;
O. after configuring the LoadRunner script, the windows server client starts LoadRunner analog access shell script simultaneously; For real-time monitored throughput, resources occupation rate, corresponding window, program are opened;
P. the value of each window writing routine of real time record.
CN2010101240292A 2010-03-15 2010-03-15 Test method for verifying video application of storage server Active CN101883019B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101240292A CN101883019B (en) 2010-03-15 2010-03-15 Test method for verifying video application of storage server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101240292A CN101883019B (en) 2010-03-15 2010-03-15 Test method for verifying video application of storage server

Publications (2)

Publication Number Publication Date
CN101883019A CN101883019A (en) 2010-11-10
CN101883019B true CN101883019B (en) 2012-07-04

Family

ID=43054918

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101240292A Active CN101883019B (en) 2010-03-15 2010-03-15 Test method for verifying video application of storage server

Country Status (1)

Country Link
CN (1) CN101883019B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102081565B (en) * 2010-12-31 2014-07-16 创新科存储技术有限公司 Method and device for performing stability test on storage system
CN102254035A (en) * 2011-08-09 2011-11-23 广东电网公司电力科学研究院 Relational database testing method and system
CN102254036A (en) * 2011-08-09 2011-11-23 广东电网公司电力科学研究院 Time sequence database testing method and system
CN102243610A (en) * 2011-08-09 2011-11-16 广东省电力调度中心 Operating system test method and test system
CN104317726A (en) * 2014-11-19 2015-01-28 浪潮电子信息产业股份有限公司 Testing method for storage IO performance
CN106126262A (en) * 2016-07-01 2016-11-16 北京金山安全管理系统技术有限公司 Nginx supports the method for Service Control Manager

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1298529A2 (en) * 2001-09-28 2003-04-02 Siemens Aktiengesellschaft Proxy unit and method for computer-implemented protection of an application server program
CN101021809A (en) * 2007-03-14 2007-08-22 浪潮电子信息产业股份有限公司 System power distribution testing method
CN101246446A (en) * 2008-03-12 2008-08-20 浪潮电子信息产业股份有限公司 Method for testing PC server performance

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1298529A2 (en) * 2001-09-28 2003-04-02 Siemens Aktiengesellschaft Proxy unit and method for computer-implemented protection of an application server program
CN101021809A (en) * 2007-03-14 2007-08-22 浪潮电子信息产业股份有限公司 System power distribution testing method
CN101246446A (en) * 2008-03-12 2008-08-20 浪潮电子信息产业股份有限公司 Method for testing PC server performance

Also Published As

Publication number Publication date
CN101883019A (en) 2010-11-10

Similar Documents

Publication Publication Date Title
CN101883019B (en) Test method for verifying video application of storage server
CN102568522B (en) The method of testing of hard disk performance and device
CN107465630B (en) Bandwidth flow supervision method and system
US9405666B2 (en) Health monitoring using snapshot backups through test vectors
CN102750221B (en) Performance test method for Linux file system
US20160034372A1 (en) Methods, systems, and computer readable media for scaling a workload
CN107092541A (en) A kind of method that utilization virtual machine carries out storage performance test
US7930163B2 (en) Modeling a storage environment at various times
CN112148542B (en) Reliability testing method, device and system for distributed storage cluster
CN104317693A (en) Method for automatically testing hard disk performance fluctuation
CN104360919A (en) Method for automatically testing performance, function and stability of SSD (solid state drive)
CN103984619A (en) Performance monitoring method of network storage system
CN104850480A (en) Method and device for testing performance of hard disk of high-density storage server
CN107577549A (en) It is a kind of to store the method for testing for deleting function again
CN102081565B (en) Method and device for performing stability test on storage system
CN103514084A (en) Test method for reflecting hard-disk read-write energy efficiency of computer equipment
CN107068199A (en) A kind of performance test methods of SSD hard disks
WO2019084917A1 (en) Method and apparatus for calculating available capacity of storage system
CN105589928A (en) Simulation testing method for distributed data processing system
CN110851318A (en) Serial port log collection method, system and equipment under server management system
US20180217913A1 (en) Systems and methods for performance evaluation of input/output (i/o) intensive enterprise applications
CN107145414B (en) Method and system for testing distributed object storage
CN112445660B (en) Test method for performance balance problem of shared storage array
CN113986719A (en) Automatic test method and system for large-scale cluster performance based on cloud service
US9830256B1 (en) Block device workload analysis

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant