CN104598273A - Method for optimizing and testing complete machine by specpower - Google Patents

Method for optimizing and testing complete machine by specpower Download PDF

Info

Publication number
CN104598273A
CN104598273A CN201510008861.9A CN201510008861A CN104598273A CN 104598273 A CN104598273 A CN 104598273A CN 201510008861 A CN201510008861 A CN 201510008861A CN 104598273 A CN104598273 A CN 104598273A
Authority
CN
China
Prior art keywords
specpower
test
complete machine
optimizes
performance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510008861.9A
Other languages
Chinese (zh)
Inventor
刘振东
王守昊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201510008861.9A priority Critical patent/CN104598273A/en
Publication of CN104598273A publication Critical patent/CN104598273A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention discloses a method for optimizing and testing complete machine by specpower. The method comprises the following steps of carrying out a test on a server system by the Specpower; acquiring the performance-to-power consumption ratio through a test method according to a result computation formula, shown in the specification, of the Specpower, so as to evaluate the performance of the server system. The optimal performance of the system can be put into a full play through the optimizing method; the application range of the tool can extend to a server cluster system; the performance-to-power consumption ratio can be effectively acquired through the method; the reliability of estimation performance of the server system is improved; a reference basis is provided for project evaluation.

Description

A kind of complete machine specpower optimizes and method of testing
Technical field
The present invention relates to computer technology, specifically a kind of complete machine specpower optimizes and method of testing.
Background technology
On Dec 11st, 2007, the new test benchmark of Specpower_ssj2008 by name is released under Environmental Protection in America general administration and the patronage of energy use efficiency association, its object is to establish one close to the performance in IT actual working environment/power consumption metewand, expect to change passing of industry and pay attention to the maximum performance index of server system and ignore the viewpoint that system energy consumes.There are AMD, Dell, Fujitsu-Siemens, HP, Intel, IBM and Sun Microsystems in the industry manufacturer participating in initiating this index, enumerates all x86 server provider.
The test completing a Specpower_ssj2008 needs structure test platform, and this platform forms-tested server system, test control system, power consumption analysis device and temperature sensor by 4 important documents usually.According to the system having completed test at present, be the x86 server on 1 ~ 4 tunnel; For server cluster, this instrument does not provide good method of testing at present, and this defines very large challenge to the demand of current industry.
Summary of the invention
The bright technical matters existed for prior art of we, provides a kind of complete machine specpower and optimizes and method of testing.
A kind of complete machine specpower of the present invention optimizes and method of testing, the technical scheme solving the problems of the technologies described above employing is as follows: utilize Specpower to launch test on the server systems, according to the result computing formula ∑ ssj_ops/∑ power of Specpower, power dissipation ratio of performance is obtained by the method for testing of innovation, and then can the performance of evaluating server system; Simultaneously by test optimization and then the system of performance optimum performance.
Preferably, utilize Specpower to launch test on the server systems, this test mainly comprises environmental preparation and test optimization two parts; Described environmental preparation, mainly comprises hardware environment, software environment, Specpower installation, Specpower configuration, runs and check result several respects content; Described test optimization, comprises hardware configuration, operating system, the change of BIOS, Java version and Specpower configuration file several respects content.
Preferably, described hardware environment comprises: a tested machine SUT, Data Collection control machine CCS, a power instrument.
Preferably, described software environment comprises: jre and SPECPOWER-1.12.
Preferably, in tested machine, Specpower installs, and its process comprises:
1) test file jre, SPECPOWER-1.12 of Specpower are put into the C dish of SUT;
2) decompress(ion) jre to C coils;
3) path of Java is found;
4) enter system property option-AS option, change environmental variance, enters PATH option, is added in the path of Java in path path;
5) enter cmd, the path of amendment after input path, can be seen;
6) all command informations can be seen after inputting java instruction;
7) enter installation folder, input instruction cd C: SPECPOWER-1.12 then input instruction java – jar setup.jar be installed, carry out continuations installation.
Preferably, described Specpower configuration comprises tested machine SUT configuration and Update Table collection control machine CSS configuration.
Preferably, described hardware configuration comprises: 1) memory configurations, selects low-power consumption RAM; 2) power configuration, selects the power supply that conversion efficiency is high.
Preferably, described operating system, relates to remote access, locking page in memory page and generation planning several respects.
The beneficial effect that a kind of complete machine specpower of the present invention optimizes and method of testing compared with prior art has is: effectively can obtain power dissipation ratio of performance by this method, improves the reliability of server system Performance Evaluation, for the project evaluation provides reference frame; Carry out calculated performance power dissipation ratio by the power consumption and performance data that obtain group system respectively, be different from and utilize SPECPower itself to obtain power dissipation ratio of performance, the range of application of this instrument can be extended on server cluster system.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly understand, below in conjunction with specific embodiment, a kind of complete machine specpower of the present invention is optimized and method of testing further description.
A kind of complete machine specpower of the present invention optimizes and method of testing, Specpower is utilized to launch test on the server systems, obtain power dissipation ratio of performance, and then can the performance of evaluating server system, the reliability of server system Performance Evaluation can be improved, for the project evaluation provides reference frame.Complete a Specpower test and need structure test platform, this test platform forms-tested server system, test control system, power consumption analysis device and temperature sensor by 4 important documents usually, wherein, test control system is then mainly used to the load level and the record test data use that monitor and regulate and control tested server system, can be PC or low-end server; Power consumption analysis device then for providing power supply to tested server system, and records related data; Temperature sensor then records the temperature levels of the tested server system under different loads level.
The basic procedure of Specpower test is, by test control system according to being a magnitude from 10% to 100%(every 10% of tested server system cpu load), send the request of different magnitude successively, and certain time, record the ssj_ops data in this period and system power dissipation statistical average, completing primary system test needs certain hour (minimum needs 70 minutes).After record full data, with the summation of ssj_ops divided by power consumption summation (the result computing formula ∑ ssj_ops/∑ power of Specpower), be final Specpower test index.
Embodiment:
Described in the present embodiment, a kind of complete machine specpower optimizes and method of testing, Specpower is utilized to launch test on the server systems, according to the result computing formula ∑ ssj_ops/∑ power of Specpower, power dissipation ratio of performance is obtained by the method for testing of innovation, and then can the performance of evaluating server system; By optimization method and then the system of the performance optimum performance of innovation, the range of application of this instrument can be extended on server cluster system.
Complete machine specpower described in the present embodiment optimizes and in method of testing, utilize Specpower to launch test on the server systems, this test mainly comprises environmental preparation and test optimization two parts.
Described environmental preparation work, mainly comprises following content: hardware environment, software environment, Specpower install, Specpower configures, runs and check result; Wherein said hardware environment comprises: a tested machine SUT, Data Collection control machine CCS, a power instrument; Described software environment comprises: jre(has the version of IBM and oracle, is IBM version IBM_DevelopmentPackage_for_Eclipse_Win_X86_64_4.5.1 in the present embodiment) and SPECPOWER-1.12.
Tested machine SUT carries out Specpower installation, and its process comprises:
1) test file jre, SPECPOWER-1.12 of Specpower are put into SUT(system under test (SUT)) C dish;
2) decompress(ion) jre to C coils;
3) path of Java is found:
C:\IBM_DevelopmentPackage_for_Eclipse_Win_X86_64_4.5.1\eclipseDevelopmentPackage\ibm_sdk70\jre\bin;
4) system property option-AS option is entered, change environmental variance, enter PATH option, by C: IBM_DevelopmentPackage_for_Eclipse_Win_X86_64_4.5.1 eclipseDevelopmentPackage ibm_sdk70 jre bin add in path path;
5) enter cmd, the path of amendment after input path, can be seen;
6) all command informations can be seen after inputting java instruction;
7) enter installation folder, input instruction cd C: SPECPOWER-1.12 then input instruction java – jar setup.jar be installed, next next step;
Further, tested machine SUT is consistent with Data Collection control machine CCS installation process.
Described Specpower configuration comprises tested machine SUT and configures and Update Table collection control machine CSS configuration; Described tested machine SUT configuration comprises:
1) amendment C: Specpower_ssj2008 Runssj file under ssj catalogue, be revised as Set Local director=false Set director host=CCS server ip;
2) amendment C: Specpower_ssj2008 Runssj file under ssj catalogue, being revised as set JVMS=8(numeral is server check figure/4);
Described Update Table is collected control machine CSS configuration and is comprised:
1) amendment C: Specpower_ssj2008 runpower under PTDaemon catalogue, change connects power instrument, device, com situation; Generalized case device=8, does not connect com mouth, device=0; Com is defaulted as 1;
2) (this can not revise) amendment C: Specpower_ssj2008 rundirector under ssj catalogue, by set JAVA=... change into C: IBM_DevelopmentPackage_for_Eclipse_Win_X86_64_4.5.1 eclipseDevelopmentPackage ibm_sdk70 jre bin (change java path);
3) (this can not revise) amendment C: Specpower_ssj2008 Runccs under ccs catalogue, by set JAVA=... change into C: IBM_DevelopmentPackage_for_Eclipse_Win_X86_64_4.5.1 eclipseDevelopmentPackage ibm_sdk70 jre bin (change java path).
Described operating procedure comprises:
1) hold at CCS: runpower.bat, runtemp.bat;
2) hold at CCS: rundirector.bat;
3) hold at SUT: runssj.bat;
4) hold at CCS: runccs.bat;
Note:
Machine File Catalogue
Data Collection control CCS runpower.bat C:\Specpower_ssj2008\PTDaemon
Data Collection control CCS runtemp.bat C:\Specpower_ssj2008\PTDaemon
Data Collection control CCS rundirect.bat C:\Specpower_ssj2008\ssj
Tested machine SUT runssj.bat C:\Specpower_ssj2008\ssj
Data Collection control CCS runccs.bat C:\Specpower_ssj2008\ccs
Describedly check that result refers to: catalogue C: SPECPOWER-1.12 under Results, find test result, each file represents a test result; As C: Specpower_ssj2008 Results ssj.0008 represent the 8th test result; File ssj.0008-main is found to check test result.
Described test optimization work, comprises hardware configuration, operating system, the change of BIOS, Java version and Specpower configuration file several respects content; Wherein said hardware configuration comprises: 1) memory configurations, selects low-power consumption RAM; 2) power configuration, assessment Overall Power Consumption, according to power supply conversion efficiency curve, selects the power supply that conversion efficiency is high, general selection platinum power supply.
About operating system, relate to remote access, locking page in memory page and generation planning several respects; Wherein:
1) remote access: refer to and disconnect all peripherals of tested machine, conducted interviews by remote desktop;
2) locking page in memory page, detailed process is: start-> management tool-> local security policy, local policy-> user right distributes-> locking page in memory page, add user or group, input object title administrator, check title, confirm, restart server;
3) generation planning, detailed process is: control panel-> power supply option, selects generation planning: balance, and change plan is arranged;
A) display is closed: 1 minute;
B) the senior setting of power supply is changed;
C) hard disk: close after 1 minute;
D) PCI Express: linking status power management-> maximum power supply saving;
E) processor power management: smallest processor state 0%, maximum processor state 100%, system radiating mode is initiatively;
F) show: close after 1 minute.
About described BIOS, its main contents comprise as follows:
1) CPU configuration:
Hardware prefetcher -disabled.
Adjacent Cache Line Prefetch -disabled.
DCU Streamer Prefetcher -disabled.
Intel HT Technology -enabled.
Turbo mode -enabled.
C-state -enabled.
Power Mode –Banlane performance
2) other:
Demand Scrubbing -disabled.
USB configuration EHCI 2 –disabled
About described Java version change, use oracle java can improve the end value of specpower than IBM java; PS: test display uses oracle java 7U45 than using IBM J9, and performance improves about 20%.
About described Specpower configuration file, related content is as follows:
runssj.bat
Each JVM instance was affinitized to four logical processors
set JVMS=vCores/4
Java ssj option, directly affects performance, can with reference to Spec official website distributing data;
http://www.spec.org/power_ssj2008/results/power_ssj2008.html;
For Intel Xeon E5-2600 V2 system processor, Java option with reference to as follows, and can revise correlation values on this basis, usually, can revise-Xmx ,-Xms and-Xmn according to memory size;
IBM java:
set JAVAOPTIONS_SSJ=-Xaggressive -Xcompressedrefs -Xmx1875m -Xms1875m -Xmn1400m -XlockReservation -Xnoloa -XtlhPrefetch -Xlp -Xconcurrentlevel0
ORACLE java
set JAVAOPTIONS_SSJ= -server -Xmx1600m -Xms1600m -Xmn1200m -XX:ParallelGCThreads=2 -XX:SurvivorRatio=60 -XX:TargetSurvivorRatio=90 -XX:InlineSmallCode=3900 -XX:MaxInlineSize=270 -XX:FreqInlineSize=2500 -XX:AllocatePrefetchDistance=256 -XX:AllocatePrefetchLines=4 -XX:InitialTenuringThreshold=12 -XX:MaxTenuringThreshold=15 -XX:LoopUnrollLimit=45 -XX:+UseCompressedStrings -XX:+AggressiveOpts -XX:+UseLargePages -XX:+UseParallelOldGC
Start Java process;
start /Affinity 0000000F "Specpower_ssj,jvm %I%of %JVMS%" %JAVA% %JAVAOPTIONS_SSJ%
org.spec.power.ssj.SpecpowerSsj -jvmId %I% -numJvms %JVMS%
-director %DIRECTOR_HOST% -setid %SETID%.
Complete machine specpower of the present invention optimizes and method of testing, calculated performance power dissipation ratio is carried out by the power consumption and performance data that obtain group system respectively simultaneously, be different from and utilize Specpower itself to obtain power dissipation ratio of performance, the range of application of this instrument can be extended on server cluster system.
Above-mentioned embodiment is only concrete case of the present invention; scope of patent protection of the present invention includes but not limited to above-mentioned embodiment; any claims according to the invention and any person of an ordinary skill in the technical field to its suitable change done or replacement, all should fall into scope of patent protection of the present invention.

Claims (8)

1. a complete machine specpower optimizes and method of testing, it is characterized in that, utilize Specpower to launch test on the server systems, according to the result computing formula ∑ ssj_ops/∑ power of Specpower, obtain power dissipation ratio of performance, carry out the performance of evaluating server system; Simultaneously by test optimization and then the system of performance optimum performance.
2. a kind of complete machine specpower optimizes and method of testing according to claim 1, it is characterized in that, utilize Specpower to launch test on the server systems, this test mainly comprises environmental preparation and test optimization; described environmental preparation compriseshardware environment, software environment, Specpower install, Specpower configures, runs and check result; Described test optimization comprises hardware configuration, operating system, the change of BIOS, Java version and Specpower configuration file.
3. a kind of complete machine specpower optimizes and method of testing according to claim 2, and it is characterized in that, described hardware environment comprises: tested machine SUT, a Data Collection control machine CCS and power instrument.
4. a kind of complete machine specpower optimizes and method of testing according to claim 3, and it is characterized in that, described software environment comprises: jre and SPECPOWER-1.12.
5. a kind of complete machine specpower optimizes and method of testing according to claim 3, it is characterized in that, in tested machine, Specpower installs, and its process comprises:
Test file jre, SPECPOWER-1.12 of Specpower are put into the C dish of SUT;
Decompress(ion) jre to C coils;
Find the path of Java;
Enter system property option-AS option, change environmental variance, enters PATH option, is added in the path of Java in path path;
Enter cmd, the path of amendment after input path, can be seen;
All command informations can be seen after input java instruction;
Enter installation folder, input instruction cd C: SPECPOWER-1.12 then input instruction java – jar setup.jar be installed, carry out continuations installation.
6. a kind of complete machine specpower optimizes and method of testing according to claim 5, it is characterized in that, described Specpower configuration comprises tested machine SUT and configures and Update Table collection control machine CSS configuration.
7. a kind of complete machine specpower optimizes and method of testing according to claim 2, and it is characterized in that, described hardware configuration comprises: 1) memory configurations, selects low-power consumption RAM; 2) power configuration, selects the power supply that conversion efficiency is high.
8. a kind of complete machine specpower optimizes and method of testing according to claim 2, it is characterized in that, described operating system, relates to remote access, locking page in memory page and generation planning.
CN201510008861.9A 2015-01-08 2015-01-08 Method for optimizing and testing complete machine by specpower Pending CN104598273A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510008861.9A CN104598273A (en) 2015-01-08 2015-01-08 Method for optimizing and testing complete machine by specpower

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510008861.9A CN104598273A (en) 2015-01-08 2015-01-08 Method for optimizing and testing complete machine by specpower

Publications (1)

Publication Number Publication Date
CN104598273A true CN104598273A (en) 2015-05-06

Family

ID=53124091

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510008861.9A Pending CN104598273A (en) 2015-01-08 2015-01-08 Method for optimizing and testing complete machine by specpower

Country Status (1)

Country Link
CN (1) CN104598273A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107092493A (en) * 2017-05-26 2017-08-25 郑州云海信息技术有限公司 A kind of system and method for the BIOS option for adjusting server system performance and power consumption
CN107179969A (en) * 2017-05-12 2017-09-19 郑州云海信息技术有限公司 One key sets the device and method of the BIOS option of Benchmark tests
CN108897675A (en) * 2018-07-26 2018-11-27 郑州云海信息技术有限公司 A kind of server test method and device
CN110413467A (en) * 2019-07-31 2019-11-05 浪潮商用机器有限公司 A kind of adjustment method, device, equipment and the medium of server B IOS
CN114138578A (en) * 2021-11-29 2022-03-04 苏州浪潮智能科技有限公司 Server testing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102368721A (en) * 2011-11-25 2012-03-07 中国科学技术大学 Performance testing system and method for MS (Media Server) clustered system
CN104182288A (en) * 2014-08-18 2014-12-03 浪潮电子信息产业股份有限公司 Method for automatically testing power consumption of server cluster system
CN104184631A (en) * 2014-09-01 2014-12-03 浪潮电子信息产业股份有限公司 Method for testing performance per watt of server cluster system through SPECPOWER

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102368721A (en) * 2011-11-25 2012-03-07 中国科学技术大学 Performance testing system and method for MS (Media Server) clustered system
CN104182288A (en) * 2014-08-18 2014-12-03 浪潮电子信息产业股份有限公司 Method for automatically testing power consumption of server cluster system
CN104184631A (en) * 2014-09-01 2014-12-03 浪潮电子信息产业股份有限公司 Method for testing performance per watt of server cluster system through SPECPOWER

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
STANDARD PERFORMANCE EVALUATION CORPORATION: "SPEC – Power and Performance User Guide", 《用户指导》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107179969A (en) * 2017-05-12 2017-09-19 郑州云海信息技术有限公司 One key sets the device and method of the BIOS option of Benchmark tests
CN107179969B (en) * 2017-05-12 2020-02-21 郑州云海信息技术有限公司 Device and method for setting BIOS option of Benchmark test by one key
CN107092493A (en) * 2017-05-26 2017-08-25 郑州云海信息技术有限公司 A kind of system and method for the BIOS option for adjusting server system performance and power consumption
CN107092493B (en) * 2017-05-26 2020-06-16 苏州浪潮智能科技有限公司 System and method for adjusting BIOS option of server system performance and power consumption
CN108897675A (en) * 2018-07-26 2018-11-27 郑州云海信息技术有限公司 A kind of server test method and device
CN110413467A (en) * 2019-07-31 2019-11-05 浪潮商用机器有限公司 A kind of adjustment method, device, equipment and the medium of server B IOS
CN114138578A (en) * 2021-11-29 2022-03-04 苏州浪潮智能科技有限公司 Server testing method and device
CN114138578B (en) * 2021-11-29 2024-01-12 苏州浪潮智能科技有限公司 Server testing method and device

Similar Documents

Publication Publication Date Title
Palomba et al. On the impact of code smells on the energy consumption of mobile applications
CN104598273A (en) Method for optimizing and testing complete machine by specpower
Noureddine et al. Monitoring energy hotspots in software: Energy profiling of software code
US8938719B2 (en) System and method for performance assurance of applications
Chowdhury et al. Greenscaler: training software energy models with automatic test generation
CN103064784B (en) Towards Xen environment run-time memory leakage detection method and realize system
US20070168498A1 (en) Out-of-band characterization of server utilization via remote access card virtual media for auto-enterprise scaling
CN102902621A (en) Application performance measurement and reporting
US20130197863A1 (en) Performance and capacity analysis of computing systems
Magalhaes et al. Detection of performance anomalies in web-based applications
Noureddine et al. Jolinar: analysing the energy footprint of software applications
Lee et al. EnTrack: a system facility for analyzing energy consumption of Android system services
LeBeane et al. Watt watcher: fine-grained power estimation for emerging workloads
Wade et al. AOT vs. JIT: impact of profile data on code quality
CN104391789A (en) Web application stress testing method
US8549473B2 (en) Configuration management system for software product line development environment
Marantos et al. A flexible tool for estimating applications performance and energy consumption through static analysis
CN103970663A (en) Method for simulating physical devices
Fernandes et al. Assisting non-specialist developers to build energy-efficient software
von Kistowski et al. Measuring and benchmarking power consumption and energy efficiency
Miranskyy et al. Database engines: Evolution of greenness
Bond et al. Profiling the performance of virtualized databases with the TPCx-V benchmark
CN103955423A (en) Test evaluation method of domestic JVM (Java Virtual Machine)
Sun et al. Energy inefficiency diagnosis for Android applications: a literature review
Moreira et al. A systematic mapping on energy efficiency testing in android applications

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150506

WD01 Invention patent application deemed withdrawn after publication