CN105205005A - CPU (central processing unit) test method of server and system - Google Patents
CPU (central processing unit) test method of server and system Download PDFInfo
- Publication number
- CN105205005A CN105205005A CN201510719255.8A CN201510719255A CN105205005A CN 105205005 A CN105205005 A CN 105205005A CN 201510719255 A CN201510719255 A CN 201510719255A CN 105205005 A CN105205005 A CN 105205005A
- Authority
- CN
- China
- Prior art keywords
- operating system
- file
- server
- pxe
- automatic deployment
- 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
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a CPU (central processing unit) test method of a server and a system. The method comprises the following steps: installing an automatic PXE deployment operation system in a main server; decompressing a first operation system file needing to be deployed by virtue of the main server, and packing CPU performance test software and relevant compiler files into the decompressed first operation system file; compressing the decompressed first operation system file by virtue of the main server, and generating a second operation system file; altering kickstart file parameters by virtue of the main server, and automatically deploying the second operation system file onto a server bare computer to be tested by virtue of the automatic PXE deployment operation system. By adopting the test method, the deployment speed of the server CPU performance test can be increased, and the efficiency for testing the server CPU performance by engineers can be improved.
Description
Technical field
The present invention relates to computer server cpu test field, more particularly, relate to a kind of cpu test method and system of server.
Background technology
Along with the development of the new techniques such as cloud computing, large data, more and more higher to the treatability device performance requirement of server, due to the fast development of processor, how rapidly the calculated performance of evaluation process device becomes an important technical matters.Traditional server cpu performance is tested, and need the installation carrying out cpu performance testing tool after deployment operation system again, process is loaded down with trivial details.
Therefore, how simple cpu performance to be tested, thus to promote testing efficiency be the problem needing now to solve.
Summary of the invention
The object of the present invention is to provide a kind of cpu test method and system of server, to realize simply testing cpu performance, and promote testing efficiency.
For achieving the above object, following technical scheme is embodiments provided:
A cpu test method for server, comprising:
Master server installs PXE automatic deployment operating system;
Described master server will need the first operating system file decompress(ion) disposed, and be bundled in the first operating system file after decompress(ion) by cpu performance testing software and corresponding compiler file;
Described master server, by the first operating system file compression after decompress(ion), generates the second operating system file;
Described master server amendment kickstart file parameters, by described second operating system file by described PXE automatic deployment operating system, automatic deployment is on server bare machine to be tested.
Preferably, described master server installs PXE automatic deployment operating system, comprising:
Described master server build-in services device operating system RHEL7, and after mounting, configuration PXE service, DHCP service, DNS and TFTP service.
Preferably, described master server amendment kickstart file parameters, by described second operating system file by described PXE automatic deployment operating system, automatic deployment, on server bare machine to be tested, comprising:
Described master server configuration kickstart file, amendment kickstart file parameters, when described PXE automatic deployment operating system automatic deployment, select described second operating system file, run the cpu performance testing software in described second operating system file and compiler installation file.
Preferably, described second operating system file is deployed on described server bare machine to be tested by switch by described master server.
Preferably, described master server, described switch are connected by RJ45 netting twine with described server bare machine to be tested.
A cpu test system for server, comprising:
Master server and server bare machine to be tested;
Described master server comprises:
Installation module, for installing PXE automatic deployment operating system;
Decompression module, for needing the first operating system file decompress(ion) disposed;
Packetization module, for being bundled in the first operating system file after decompress(ion) by cpu performance testing software and corresponding compiler file;
Compression module, for by the first operating system file compression after decompress(ion), generates the second operating system file;
Execution module, for revising kickstart file parameters, by described second operating system file by described PXE automatic deployment operating system, automatic deployment is on described server bare machine to be tested.
Preferably, described installation module specifically for:
Build-in services device operating system RHEL7, and after mounting, configuration PXE service, DHCP service, DNS and TFTP service.
Preferably, described execution module specifically for:
Configuration kickstart file, amendment kickstart file parameters, when described PXE automatic deployment operating system automatic deployment, select described second operating system file, run the cpu performance testing software in described second operating system file and compiler installation file.
Preferably, described system comprises:
Switch; Wherein, described second operating system file is deployed on described server bare machine to be tested by described switch by described master server.
Preferably, described master server, described switch are connected by RJ45 netting twine with described server bare machine to be tested.
Known by above scheme, the cpu test method and system of a kind of server that the embodiment of the present invention provides, comprising: master server installs PXE automatic deployment operating system; Described master server will need the first operating system file decompress(ion) disposed, and be bundled in the first operating system file after decompress(ion) by cpu performance testing software and corresponding compiler file; Described master server, by the first operating system file compression after decompress(ion), generates the second operating system file; Described master server amendment kickstart file parameters, by described second operating system file by described PXE automatic deployment operating system, automatic deployment is on server bare machine to be tested, this method of testing, the deployment speed of server cpu performance test can be improved, improve the efficiency of slip-stick artist's testing server cpu performance.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The cpu test method flow schematic diagram of Fig. 1 a kind of server disclosed in the embodiment of the present invention;
The cpu test system architecture schematic diagram of Fig. 2 a kind of server disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of cpu test method and system of server, to realize simply testing cpu performance, and promote testing efficiency.
See Fig. 1, the cpu test method of a kind of server that the embodiment of the present invention provides, comprising:
S101, master server install PXE automatic deployment operating system;
Concrete, this cpu test method that the present embodiment provides is the method for testing based on x86_64 server CPU, and the master server in the present embodiment can be a server with PCI-Express or PC, for the supervisor of deployment server operating system and cpu performance testing software, for convenience of description, be denoted as Master, server bare machine to be tested is the server of the x86_64 framework CPU based on Intel, is denoted as Server.
And in the present embodiment, first will build a PXE automatic deployment operating system, this PXE automatic deployment operating system, on Master, is made up of PXE, DHCP, DNS, TFTP tetra-services.PXE automatic deployment operating system is opened after can directly configuring on Master.
Preferably, described master server installs PXE automatic deployment operating system, comprising:
Described master server build-in services device operating system RHEL7, and after mounting, configuration PXE service, DHCP service, DNS and TFTP service.
Concrete, in the present embodiment, Master uses PC or generic server build-in services device operating system RHEL7, configures PXE service, DHCP service, DNS, TFTP service, so that Master can carry out automated operating system installation by switch to Server after installation.
Preferably, described second operating system file is deployed on described server bare machine to be tested by switch by described master server.
Concrete, the switch in the present embodiment can be a gigabit switch, for connecting the gigabit switch of Server and Master, for convenience of description, is denoted as Switch.
Preferably, described master server, described switch are connected by RJ45 netting twine with described server bare machine to be tested.
Concrete, in the present embodiment, Server, Switch, Master are connected by RJ45 netting twine, the cpu performance test deployment system of composition complete set, when replacing Server, only need that the Server newly added is connected to Switch by RJ45 netting twine and can start brand-new cpu performance test environment deployment.
S102, described master server will need the first operating system file decompress(ion) disposed, and be bundled in the first operating system file after decompress(ion) by cpu performance testing software and corresponding compiler file;
Concrete, in the present embodiment, the installation kit of cpu performance testing software SPECCPU2006 and corresponding compiler file are integrated into (as RHEL7) in server OS by shell script, operating process obviously can be simplified, improve the deployment speed of server cpu performance test, improve the efficiency of slip-stick artist's testing server cpu performance.
Test for server cpu performance, it is fast about 1 times that such dispositions method installs cpu performance testing tool SPECCPU2006 again than copied files after traditional build-in services device operating system deployment speed, and after deployment starts, easily can complete deployment with regard to not needing to carry out extra human intervention again, simultaneously, for the different server product (namely all using the server product of the x86_64 framework of Intel) of same platform, do not need change parameter can complete deployment equally.Can be tested and carry out corresponding evolutionary operation by operation start cpu performance by telemanagement after deployment completes.
S103, described master server, by the first operating system file compression after decompress(ion), generate the second operating system file;
Concrete, in the present embodiment, first operating system iso file (RHEL7.iso) decompress(ion) disposed will be needed, and cpu performance testing software (SPECCPU2006) and corresponding compiler file (IntelICC) are bundled in operating system decompress files, simultaneously add the script (spec_install.sh) installing cpu performance testing software (SPECCPU2006) and corresponding compiler file (IntelICC) in file after decompression, then packed file is compressed into iso (OSwithSPECCPU2006.iso) file again, so that new iso (OSwithSPECCPU2006.iso) file can be carried out robotization installation as operating system iso source file by Master.
S104, described master server amendment kickstart file parameters, by described second operating system file by described PXE automatic deployment operating system, automatic deployment is on server bare machine to be tested.
Concrete, in order to guaranteed performance testing software and operating system integrated after repeatability, in this present embodiment, operating system is integrated into iso file, directly be deployed on server bare machine by PXE Automation, ensure when carrying out the server cpu performance contrast test of batch without the need to human intervention, significant increase testing efficiency.
Preferably, described master server amendment kickstart file parameters, by described second operating system file by described PXE automatic deployment operating system, automatic deployment, on server bare machine to be tested, comprising:
Described master server configuration kickstart file, amendment kickstart file parameters, when described PXE automatic deployment operating system automatic deployment, select described second operating system file, run the cpu performance testing software in described second operating system file and compiler installation file.
Concrete, Master configures kickstart file, amendment kickstart file parameters, and the necessary system installation kit of cpu performance test is chosen when Auto-mounting, and run cpu performance testing software and compiler installation script (spec_install.sh), can ensure the software configuring all cpu performances test needs in the process of installing in robotization, the cpu performance test environment realized without the need to manual intervention is disposed.
Concrete, the present embodiment is this based on x86_64 server cpu test method, can by integrated for cpu performance testing tool in operating system, then disposed needing the server tested according to the operating system of integrated cpu test instrument by server, reach the step that simplifies the operation, and can the object of repeated test, install by disposing robotization to integrated system simultaneously, ensure that installation and deployment are without the need to manual intervention, thus more simplify the process of cpu performance test.
The cpu test method of a kind of server that the embodiment of the present invention provides, comprising: master server installs PXE automatic deployment operating system; Described master server will need the first operating system file decompress(ion) disposed, and be bundled in the first operating system file after decompress(ion) by cpu performance testing software and corresponding compiler file; Described master server, by the first operating system file compression after decompress(ion), generates the second operating system file; Described master server amendment kickstart file parameters, by described second operating system file by described PXE automatic deployment operating system, automatic deployment is on server bare machine to be tested, this method of testing, the deployment speed of server cpu performance test can be improved, improve the efficiency of slip-stick artist's testing server cpu performance.
See Fig. 2, the cpu test system of a kind of server that the embodiment of the present invention provides, comprising:
Master server 100 and server bare machine 200 to be tested;
Described master server 100 comprises:
Installation module 101, for installing PXE automatic deployment operating system;
Decompression module 102, for needing the first operating system file decompress(ion) disposed;
Packetization module 103, for being bundled in the first operating system file after decompress(ion) by cpu performance testing software and corresponding compiler file;
Compression module 104, for by the first operating system file compression after decompress(ion), generates the second operating system file;
Execution module 105, for revising kickstart file parameters, by described second operating system file by described PXE automatic deployment operating system, automatic deployment is on described server bare machine to be tested.
The cpu test system of a kind of server that the embodiment of the present invention provides, comprising: master server 100 and server bare machine 200 to be tested; Master server 100 comprises: installation module 101, for installing PXE automatic deployment operating system; Decompression module 101, for needing the first operating system file decompress(ion) disposed; Packetization module 103, for being bundled in the first operating system file after decompress(ion) by cpu performance testing software and corresponding compiler file; Compression module 104, for by the first operating system file compression after decompress(ion), generates the second operating system file; Execution module 105, for revising kickstart file parameters, by described second operating system file by described PXE automatic deployment operating system, automatic deployment is on described server bare machine to be tested, visible this test macro, the deployment speed of server cpu performance test can be improved, improve the efficiency of slip-stick artist's testing server cpu performance.
Preferably, in another embodiment of the invention, described installation module 101 specifically for:
Build-in services device operating system RHEL7, and after mounting, configuration PXE service, DHCP service, DNS and TFTP service.
Preferably, in another embodiment of the invention, described execution module 105 specifically for:
Configuration kickstart file, amendment kickstart file parameters, when described PXE automatic deployment operating system automatic deployment, select described second operating system file, run the cpu performance testing software in described second operating system file and compiler installation file.
Preferably, in another embodiment of the invention, described system comprises:
Switch; Wherein, described second operating system file is deployed on described server bare machine to be tested by described switch by described master server.
Preferably, in another embodiment of the invention, described master server, described switch are connected by RJ45 netting twine with described server bare machine to be tested.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.
Claims (10)
1. a cpu test method for server, is characterized in that, comprising:
Master server installs PXE automatic deployment operating system;
Described master server will need the first operating system file decompress(ion) disposed, and be bundled in the first operating system file after decompress(ion) by cpu performance testing software and corresponding compiler file;
Described master server, by the first operating system file compression after decompress(ion), generates the second operating system file;
Described master server amendment kickstart file parameters, by described second operating system file by described PXE automatic deployment operating system, automatic deployment is on server bare machine to be tested.
2. cpu test method according to claim 1, is characterized in that, described master server installs PXE automatic deployment operating system, comprising:
Described master server build-in services device operating system RHEL7, and after mounting, configuration PXE service, DHCP service, DNS and TFTP service.
3. cpu test method according to claim 2, it is characterized in that, described master server amendment kickstart file parameters, by described second operating system file by described PXE automatic deployment operating system, automatic deployment, on server bare machine to be tested, comprising:
Described master server configuration kickstart file, amendment kickstart file parameters, when described PXE automatic deployment operating system automatic deployment, select described second operating system file, run the cpu performance testing software in described second operating system file and compiler installation file.
4. cpu test method according to claim 3, is characterized in that, described second operating system file is deployed on described server bare machine to be tested by switch by described master server.
5. according to the cpu test method in claim 1-4 described in any one, it is characterized in that, described master server, described switch are connected by RJ45 netting twine with described server bare machine to be tested.
6. a cpu test system for server, is characterized in that, comprising:
Master server and server bare machine to be tested;
Described master server comprises:
Installation module, for installing PXE automatic deployment operating system;
Decompression module, for needing the first operating system file decompress(ion) disposed;
Packetization module, for being bundled in the first operating system file after decompress(ion) by cpu performance testing software and corresponding compiler file;
Compression module, for by the first operating system file compression after decompress(ion), generates the second operating system file;
Execution module, for revising kickstart file parameters, by described second operating system file by described PXE automatic deployment operating system, automatic deployment is on described server bare machine to be tested.
7. cpu test system according to claim 6, is characterized in that, described installation module specifically for:
Build-in services device operating system RHEL7, and after mounting, configuration PXE service, DHCP service, DNS and TFTP service.
8. cpu test system according to claim 7, is characterized in that, described execution module specifically for:
Configuration kickstart file, amendment kickstart file parameters, when described PXE automatic deployment operating system automatic deployment, select described second operating system file, run the cpu performance testing software in described second operating system file and compiler installation file.
9. cpu test system according to claim 8, is characterized in that, described system comprises:
Switch; Wherein, described second operating system file is deployed on described server bare machine to be tested by described switch by described master server.
10. according to the cpu test system in claim 6-9 described in any one, it is characterized in that, described master server, described switch are connected by RJ45 netting twine with described server bare machine to be tested.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510719255.8A CN105205005A (en) | 2015-10-29 | 2015-10-29 | CPU (central processing unit) test method of server and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510719255.8A CN105205005A (en) | 2015-10-29 | 2015-10-29 | CPU (central processing unit) test method of server and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105205005A true CN105205005A (en) | 2015-12-30 |
Family
ID=54952699
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510719255.8A Pending CN105205005A (en) | 2015-10-29 | 2015-10-29 | CPU (central processing unit) test method of server and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105205005A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107247610A (en) * | 2017-06-12 | 2017-10-13 | 郑州云海信息技术有限公司 | A kind of software automatic deployment method and device |
CN108959097A (en) * | 2018-07-19 | 2018-12-07 | 郑州云海信息技术有限公司 | A kind of method of quick testing service device OS |
CN109656573A (en) * | 2018-11-26 | 2019-04-19 | Oppo(重庆)智能科技有限公司 | System installation method and device, electronic equipment, computer readable storage medium |
CN111324496A (en) * | 2020-02-20 | 2020-06-23 | 山东汇贸电子口岸有限公司 | Method and device for detecting bare machine |
CN113568791A (en) * | 2021-07-14 | 2021-10-29 | 麒麟软件有限公司 | Automatic testing tool and method for server operating system based on multi-CPU architecture |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103744824A (en) * | 2013-12-18 | 2014-04-23 | 乐视致新电子科技(天津)有限公司 | Outgoing testing method and testing system |
CN104360952A (en) * | 2012-03-02 | 2015-02-18 | 北京奇虎科技有限公司 | Software test system and software test method |
CN104932919A (en) * | 2015-06-04 | 2015-09-23 | 浪潮电子信息产业股份有限公司 | Linux unattended installation implementation method |
US20150269053A1 (en) * | 2012-10-23 | 2015-09-24 | Nec Corporation | Operation management apparatus and operation management method |
-
2015
- 2015-10-29 CN CN201510719255.8A patent/CN105205005A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104360952A (en) * | 2012-03-02 | 2015-02-18 | 北京奇虎科技有限公司 | Software test system and software test method |
US20150269053A1 (en) * | 2012-10-23 | 2015-09-24 | Nec Corporation | Operation management apparatus and operation management method |
CN103744824A (en) * | 2013-12-18 | 2014-04-23 | 乐视致新电子科技(天津)有限公司 | Outgoing testing method and testing system |
CN104932919A (en) * | 2015-06-04 | 2015-09-23 | 浪潮电子信息产业股份有限公司 | Linux unattended installation implementation method |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107247610A (en) * | 2017-06-12 | 2017-10-13 | 郑州云海信息技术有限公司 | A kind of software automatic deployment method and device |
CN108959097A (en) * | 2018-07-19 | 2018-12-07 | 郑州云海信息技术有限公司 | A kind of method of quick testing service device OS |
CN109656573A (en) * | 2018-11-26 | 2019-04-19 | Oppo(重庆)智能科技有限公司 | System installation method and device, electronic equipment, computer readable storage medium |
CN109656573B (en) * | 2018-11-26 | 2022-03-15 | Oppo(重庆)智能科技有限公司 | System installation method and device, electronic equipment and computer readable storage medium |
CN111324496A (en) * | 2020-02-20 | 2020-06-23 | 山东汇贸电子口岸有限公司 | Method and device for detecting bare machine |
CN111324496B (en) * | 2020-02-20 | 2023-05-26 | 山东汇贸电子口岸有限公司 | Method and device for detecting bare metal |
CN113568791A (en) * | 2021-07-14 | 2021-10-29 | 麒麟软件有限公司 | Automatic testing tool and method for server operating system based on multi-CPU architecture |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105205005A (en) | CPU (central processing unit) test method of server and system | |
CN106933609B (en) | Android application program installation package generation method and device | |
US8533676B2 (en) | Single development test environment | |
Jayasinghe et al. | Expertus: A generator approach to automate performance testing in iaas clouds | |
US8595693B2 (en) | Model driven deployment of composite applications | |
CN104035876B (en) | Method for implementing LINPACK cluster test in IB network environment based on PXE, SHELL and EXPECT | |
Salvador et al. | Embedded Linux Development with Yocto Project | |
CN105511911A (en) | System firmware upgrade package generation method and device | |
CN105117268A (en) | Installing method and system for automatically installing linux systems | |
US9141400B2 (en) | Technique for deploying operating systems in a virtualized environment | |
AU2012201749B2 (en) | Single development test environment | |
CN106126273A (en) | A kind of method of upgrading BIOS | |
CN103513966A (en) | PHP developing framework based on assemblies | |
CN106845162B (en) | Re-signing method and device | |
CN108170588B (en) | Test environment construction method and device | |
US9733918B2 (en) | Using cloud patterns for installation on unmanaged physical machines and appliances | |
CN105653326A (en) | System and method for batch Linux system installation and detection | |
US20200065229A1 (en) | Systems and methods for on-demand container-based development environments | |
CN106502713A (en) | A kind of method for upgrading software and system | |
CN104778105A (en) | Method for rapidly testing compatibility of server and RHEL (red hat enterprise software language) based on virtual machine | |
CN111813420B (en) | Method for carrying out automatic performance test on OpenStack cluster | |
JP2020177544A (en) | Linux installation support program | |
CN104503772A (en) | Operating system installation and test environment establishment method and device based on virtual machine | |
CN110990022A (en) | Software project development method and device, processor and electronic device | |
CN112965895B (en) | Desktop application program automatic test method, device, equipment and storage medium |
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: 20151230 |
|
RJ01 | Rejection of invention patent application after publication |