CN103559134A - Configuration method and device for benchmark test component - Google Patents

Configuration method and device for benchmark test component Download PDF

Info

Publication number
CN103559134A
CN103559134A CN201310557514.2A CN201310557514A CN103559134A CN 103559134 A CN103559134 A CN 103559134A CN 201310557514 A CN201310557514 A CN 201310557514A CN 103559134 A CN103559134 A CN 103559134A
Authority
CN
China
Prior art keywords
benchmark test
test assembly
compiling
parameter
assembly
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
CN201310557514.2A
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.)
Dawning Information Industry Beijing Co Ltd
Original Assignee
Dawning Information Industry Beijing 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 Dawning Information Industry Beijing Co Ltd filed Critical Dawning Information Industry Beijing Co Ltd
Priority to CN201310557514.2A priority Critical patent/CN103559134A/en
Publication of CN103559134A publication Critical patent/CN103559134A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a configuration method and device for a benchmark test component, wherein the configuration method comprises the following steps: confirming a compiling parameter of the benchmark test component; calling a corresponding compiler according to the compiling parameter, so as to compile the benchmark test component into an executable benchmark test component; and configuring the compiled executable benchmark test component into a node. According to the configuration method provided by the invention, the corresponding compiler is correctly called by confirming the compiling parameter of each benchmark test component, and then the configuration is performed after each benchmark test component is compiled, so that the complexity of a compiler selecting step is reduced, a configuration operation step for the benchmark test component is simplified and the degree of automation for the configuration of the benchmark test component is increased.

Description

The collocation method of benchmark test assembly and device
Technical field
The present invention relates to computer realm, and especially, relate to a kind of collocation method and device of benchmark test assembly.
Background technology
HPCC benchmark test be to HPCC overall performance and efficiency, with and investigation and the evaluation and test of the performance of each subsystem or parts (comprising CPU computing power, memory access performance, disk I/O performance, network I/O performance etc.).By HPCC benchmark test, can assess properties and the whole harmony of a HPCC; Also can find short slab or the fault of a HPCC, contribute to system to improve.
After HPCC installation and deployment complete, generally can compile reference for installation test suite, system is carried out to performance evaluating.
Conventionally, the installation of the benchmark test assembly on HPCC is all manual execution, yet, there are many deficiencies in this type of manual installation mode, for example, and because kind and the quantity of benchmark test assembly are various, it is comparatively complicated when the compiling of this type of benchmark test assembly is installed, parameter is more and be not quite similar, if compilation operations flow process is unfamiliar with, is easy to occur mistake.And manual installation workload is huge, the duplication of labour is a lot, inefficiency.
Too much for benchmark test assembly kind in correlation technique, and compile step corresponding to every kind of benchmark test assembly is not identical, and the problem that causes manual configuration benchmark test assembly easily to be made mistakes, not yet proposes effective solution at present.
Summary of the invention
Too much for benchmark test assembly kind in correlation technique, and the compile step that every kind of benchmark test assembly is corresponding is not identical, the problem that causes manual configuration benchmark test assembly easily to be made mistakes, the present invention proposes a kind of collocation method and device of benchmark test assembly, can correctly call every kind of compiler corresponding to benchmark test assembly is configured, simplify the configuration operation step of benchmark test assembly, improved the automaticity of benchmark test arrangement of components.
Technical scheme of the present invention is achieved in that
A kind of collocation method of benchmark test assembly is provided according to an aspect of the present invention.
The collocation method of this benchmark test assembly comprises:
Determine the compiling parameter of benchmark test assembly;
According to compiler corresponding to compiling parameter call, benchmark test assembly is compiled as to executable benchmark test assembly;
Executable benchmark test arrangement of components after compiling is completed is in node.
And before determining the compiling parameter of benchmark test assembly, above-mentioned collocation method further comprises:
The benchmark test assembly that appointment need to be configured;
In the situation that the benchmark test assembly that needs are configured is a plurality of, check the mutual relationship between a plurality of benchmark test assemblies;
According to check result, determine the configuration sequence of a plurality of benchmark test assemblies.
Wherein, when specifying the benchmark test assembly that need to be configured, comprise:
In thering are a plurality of benchmark test assemblies of relation of interdependence, exist part benchmark test assembly designated and in the unappropriated situation of another part, specify the benchmark test assembly of this unappropriated part benchmark test assembly for being configured.
Alternatively, above-mentioned compiling parameter comprise following one of at least:
For selecting the selection parameter of compiler, for selecting the computational grid parameter of internodal data transmission network.
In addition, above-mentioned collocation method further comprises:
Executable benchmark test arrangement of components after compiling is completed in node time, real-time prompting configuration progress.
And, the executable benchmark test arrangement of components after compiling is completed in node after, above-mentioned collocation method further comprises:
Generate the configuration file corresponding with benchmark test assembly, wherein, configuration file comprises the environmental variance corresponding with the environment of operation benchmark test assembly.
Preferably, above-mentioned collocation method further comprises:
After generating the configuration file corresponding with this assembly, benchmark test assembly is carried out to Function detection.
A kind of inking device of benchmark test assembly is provided according to another aspect of the present invention.
The inking device of this benchmark test assembly comprises:
The first determination module, for determining the compiling parameter of benchmark test assembly;
Collector, for being compiled as executable benchmark test assembly according to compiler corresponding to compiling parameter call by benchmark test assembly;
Configuration module, for the executable benchmark test arrangement of components after compiling is completed to node.
In addition,, determine the compiling parameter of benchmark test assembly at the first determination module before, above-mentioned inking device further comprises:
Designated module, is used to specify the benchmark test assembly that need to be configured;
Checking module, in the situation that the benchmark test assembly that needs are configured is a plurality of, checks the mutual relationship between a plurality of benchmark test assemblies;
The second determination module, for determining the configuration sequence of a plurality of benchmark test assemblies according to check result.
Alternatively, above-mentioned compiling parameter comprise following one of at least:
For selecting the selection parameter of compiler, for selecting the computational grid parameter of internodal data transmission network.
The present invention correctly calls corresponding compiler by determining the compiling parameter of every kind of benchmark test assembly, then after every kind of benchmark test assembly of compiling, be configured, reduced the complexity of selecting compiler step, simplify the configuration operation step of benchmark test assembly, improved the automaticity of benchmark test arrangement of components.
Accompanying drawing explanation
Fig. 1 is according to the process flow diagram of the collocation method of the benchmark test assembly of the embodiment of the present invention;
Fig. 2 is according to the block diagram of the inking device of the benchmark test assembly of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, the every other embodiment that those of ordinary skills obtain, belongs to the scope of protection of the invention.
According to embodiments of the invention, provide a kind of collocation method of benchmark test assembly.
As shown in Figure 1, according to the collocation method of the benchmark test assembly of the embodiment of the present invention, comprise:
Step S101, determines the compiling parameter of benchmark test assembly, and wherein, compiling parameter comprises: for selecting the selection parameter of compiler and/or for selecting the computational grid parameter of internodal data transmission network;
Step S103, is compiled as executable benchmark test assembly according to compiler corresponding to compiling parameter call by benchmark test assembly;
Step S105, executable benchmark test arrangement of components after compiling is completed is in node, and, when configuration, can configure progress by real-time prompting, after completing configuration, can further generate the configuration file corresponding with benchmark test assembly, wherein, configuration file comprises the environmental variance corresponding with the environment of operation benchmark test assembly.Preferably, after generating the configuration file corresponding with this assembly, benchmark test assembly is carried out to Function detection.
And, before determining the compiling parameter of benchmark test assembly, according to the collocation method of the benchmark test assembly of the embodiment of the present invention, may further include:
The benchmark test assembly that appointment need to be configured, can comprise: in thering are a plurality of benchmark test assemblies of relation of interdependence, exist part benchmark test assembly designated and in the unappropriated situation of another part, specify the benchmark test assembly of this unappropriated part benchmark test assembly for being configured;
In the situation that the benchmark test assembly that needs are configured is a plurality of, check the mutual relationship between a plurality of benchmark test assemblies;
According to check result, determine the configuration sequence of a plurality of benchmark test assemblies.
According to one embodiment of present invention, in actual applications, benchmark test assembly can comprise: LINPACK, HPCC, STREAM, IOZONE, IOmeter, LMbench, NPB(NAS Parallel Benchmarks), IMB(Intel MPI Benchmark), OMB(OSU MPI Benchmarks), MPIGRAPH, Iperf, Netperf etc.Can configure this type of benchmark test assembly by following steps:
Step 1, because benchmark test assembly exists complicated dependence each other, there is mutual cross-dependence, other component environment such as the also dependence parallel component having (for example, MPI environment, data function storehouse etc.), therefore, before configuration baseline test suite is installed, other environment that needs self-verifying benchmark test assembly to rely on.Avoided like this omitting the situation of the benchmark test assembly that needs configuration, the order that also can clearly install;
In the process of step 2, Auto-mounting configuration, according to the erection sequence of each benchmark test assembly of dependence automatic decision, and be configured parameter adjustment and optimization according to the network environment of HPCC, in addition, in whole installation process, dynamic reminding installation progress, provides the corresponding prompting that reports an error if there is mistake;
After step 3, installation, automatically configure the environmental variance of each benchmark test assembly, can in node, preserve the script (script is the most of benchmark test assembly for testing) conveniently calling;
Step 4, can carry out functional inspection to the benchmark test assembly having configured.
According to the collocation method of the benchmark test assembly of the embodiment of the present invention, by the mode of robotization, simplify the installation procedure of HPCC benchmark test assembly, reduced installation difficulty; And by dependence judge, the mode such as fault-tolerance judgement, standard configurations has improved benchmark test assembly is mounted to power and installation quality, has at utmost avoided human operational error; In addition, by unattended mode, greatly improve installation and deployment efficiency, saved time and manpower.
A kind of inking device of benchmark test assembly is provided according to another embodiment of the invention.
As shown in Figure 2, according to the inking device of the benchmark test assembly of the embodiment of the present invention, comprise:
The first determination module 21, for determining the compiling parameter of benchmark test assembly, wherein, compiling parameter comprise following one of at least: for selecting the selection parameter of compiler, for selecting the computational grid parameter of internodal data transmission network;
Collector 22, for being compiled as executable benchmark test assembly according to compiler corresponding to compiling parameter call by benchmark test assembly;
Configuration module 23, for the executable benchmark test arrangement of components after compiling is completed to node.
In addition,, determine the compiling parameter of benchmark test assembly at the first determination module before, above-mentioned inking device further comprises:
Designated module (not shown), be used to specify the benchmark test assembly that need to be configured, can be included in and in a plurality of benchmark test assemblies with relation of interdependence, exist part benchmark test assembly designated and in the unappropriated situation of another part, specify the benchmark test assembly of this unappropriated part benchmark test assembly for being configured;
Checking module (not shown), in the situation that the benchmark test assembly that needs are configured is a plurality of, checks the mutual relationship between a plurality of benchmark test assemblies;
The second determination module (not shown), for determining the configuration sequence of a plurality of benchmark test assemblies according to check result.
The executable benchmark test arrangement of components of configuration module 23 after compiling is completed in node after, according to the inking device of the embodiment of the present invention, further comprise:
Generation module (not shown), for generating the configuration file corresponding with benchmark test assembly, wherein, configuration file comprises the environmental variance corresponding with the environment of operation benchmark test assembly.
Preferably, according to the inking device of the embodiment of the present invention, may further include:
Function detection module (not shown), for after generation module generates the configuration file corresponding with this assembly, carries out Function detection to benchmark test assembly.
The automatic Fast Installation that is widely used in the HPCC benchmark test assembly of different scales according to the collocation method of the benchmark test assembly of the embodiment of the present invention and device is disposed.
In sum, by means of technique scheme of the present invention, the present invention correctly calls corresponding compiler by determining the compiling parameter of every kind of benchmark test assembly, then after every kind of benchmark test assembly of compiling, be configured, reduced the complexity of selecting compiler step, simplify the configuration operation step of benchmark test assembly, improved the automaticity of benchmark test arrangement of components.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. a collocation method for benchmark test assembly, is characterized in that, comprising:
Determine the compiling parameter of described benchmark test assembly;
The compiler corresponding according to described compiling parameter call is compiled as executable benchmark test assembly by described benchmark test assembly;
Described executable benchmark test arrangement of components after compiling is completed is in node.
2. collocation method according to claim 1, is characterized in that, before determining the compiling parameter of described benchmark test assembly, described collocation method further comprises:
The benchmark test assembly that appointment need to be configured;
In the situation that the benchmark test assembly that needs are configured is a plurality of, check the mutual relationship between described a plurality of benchmark test assembly;
According to check result, determine the configuration sequence of described a plurality of benchmark test assemblies.
3. collocation method according to claim 2, is characterized in that, when specifying the benchmark test assembly that need to be configured, comprises:
In thering are a plurality of benchmark test assemblies of relation of interdependence, exist part benchmark test assembly designated and in the unappropriated situation of another part, specify the benchmark test assembly of this unappropriated part benchmark test assembly for being configured.
4. collocation method according to claim 1, is characterized in that, described compiling parameter comprise following one of at least:
For selecting the selection parameter of compiler, for selecting the computational grid parameter of described internodal data transmission network.
5. collocation method according to claim 1, is characterized in that, further comprises:
Described executable benchmark test arrangement of components after compiling is completed in node time, real-time prompting configuration progress.
6. collocation method according to claim 1, is characterized in that, the described executable benchmark test arrangement of components after compiling is completed in node after, described collocation method further comprises:
Generate the configuration file corresponding with described benchmark test assembly, wherein, described configuration file comprises the environmental variance corresponding with the environment of described operation benchmark test assembly.
7. collocation method according to claim 6, is characterized in that, further comprises:
After generating the configuration file corresponding with this assembly, described benchmark test assembly is carried out to Function detection.
8. an inking device for benchmark test assembly, is characterized in that, comprising:
The first determination module, for determining the compiling parameter of described benchmark test assembly;
Collector, for being compiled as executable benchmark test assembly according to compiler corresponding to described compiling parameter call by described benchmark test assembly;
Configuration module, for the described executable benchmark test arrangement of components after compiling is completed to node.
9. inking device according to claim 8, is characterized in that, determine the compiling parameter of described benchmark test assembly at described the first determination module before, described inking device further comprises:
Designated module, is used to specify the benchmark test assembly that need to be configured;
Checking module, in the situation that the benchmark test assembly that needs are configured is a plurality of, checks the mutual relationship between described a plurality of benchmark test assembly;
The second determination module, for determining the configuration sequence of described a plurality of benchmark test assemblies according to check result.
10. inking device according to claim 8, is characterized in that, described compiling parameter comprise following one of at least:
For selecting the selection parameter of compiler, for selecting the computational grid parameter of described internodal data transmission network.
CN201310557514.2A 2013-11-11 2013-11-11 Configuration method and device for benchmark test component Pending CN103559134A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310557514.2A CN103559134A (en) 2013-11-11 2013-11-11 Configuration method and device for benchmark test component

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310557514.2A CN103559134A (en) 2013-11-11 2013-11-11 Configuration method and device for benchmark test component

Publications (1)

Publication Number Publication Date
CN103559134A true CN103559134A (en) 2014-02-05

Family

ID=50013385

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310557514.2A Pending CN103559134A (en) 2013-11-11 2013-11-11 Configuration method and device for benchmark test component

Country Status (1)

Country Link
CN (1) CN103559134A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105068934A (en) * 2015-08-31 2015-11-18 浪潮集团有限公司 Benchmark test system and method for cloud platform
CN105740451A (en) * 2016-02-03 2016-07-06 贵州大学 Reference test based multimedia indexing method
CN109783350A (en) * 2018-12-13 2019-05-21 重庆金融资产交易所有限责任公司 Interface test method, device and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101697135A (en) * 2009-10-28 2010-04-21 北京东方网力科技有限公司 Method and device for compiling program
US20100293533A1 (en) * 2009-05-15 2010-11-18 Henrique Andrade Incrementally constructing executable code for component-based applications
CN102147758A (en) * 2011-03-16 2011-08-10 深圳创维数字技术股份有限公司 Automatic compiling and configuring method for equipment to be tested, device and system
CN103207828A (en) * 2012-01-12 2013-07-17 上海盛霄云计算技术有限公司 Code testing method and system
WO2013141786A1 (en) * 2012-03-20 2013-09-26 Propellerhead Software Aktiebolag Methods of distributing a computer program product, and a computer system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100293533A1 (en) * 2009-05-15 2010-11-18 Henrique Andrade Incrementally constructing executable code for component-based applications
CN101697135A (en) * 2009-10-28 2010-04-21 北京东方网力科技有限公司 Method and device for compiling program
CN102147758A (en) * 2011-03-16 2011-08-10 深圳创维数字技术股份有限公司 Automatic compiling and configuring method for equipment to be tested, device and system
CN103207828A (en) * 2012-01-12 2013-07-17 上海盛霄云计算技术有限公司 Code testing method and system
WO2013141786A1 (en) * 2012-03-20 2013-09-26 Propellerhead Software Aktiebolag Methods of distributing a computer program product, and a computer system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105068934A (en) * 2015-08-31 2015-11-18 浪潮集团有限公司 Benchmark test system and method for cloud platform
CN105740451A (en) * 2016-02-03 2016-07-06 贵州大学 Reference test based multimedia indexing method
CN109783350A (en) * 2018-12-13 2019-05-21 重庆金融资产交易所有限责任公司 Interface test method, device and computer readable storage medium

Similar Documents

Publication Publication Date Title
Kwon et al. Mantis: Automatic performance prediction for smartphone applications
CN108388489B (en) Server fault diagnosis method, system, equipment and storage medium
KR101132560B1 (en) System and method for automatic interface testing based on simulation for robot software components
CN100451989C (en) Software testing system and testing method
US9569325B2 (en) Method and system for automated test and result comparison
CN102880546B (en) Software integration testing method and system based on extensible markup language (XML) database
Tan et al. Mochi: Visual log-analysis based tools for debugging hadoop
CN104407980A (en) Mobile application automated testing device and method
US7900198B2 (en) Method and system for parameter profile compiling
CN104281520A (en) Tracking and debugging method, device and system
US20200117587A1 (en) Log File Analysis
CN105022691A (en) Highly automatic software testing method based on UML diagram
CN104182288A (en) Method for automatically testing power consumption of server cluster system
CN103577324A (en) Static detection method for privacy information disclosure in mobile applications
Liu et al. Diagnosing energy efficiency and performance for mobile internetware applications
CN103389939A (en) Detection method and detection system for controlled heap allocation bug
Ehlers et al. A self-adaptive monitoring framework for component-based software systems
CN103186463B (en) Determine the method and system of the test specification of software
CN102521135B (en) The method of testing of linear system and device
CN103559134A (en) Configuration method and device for benchmark test component
CN111813655A (en) Embedded point testing method and device, embedded point management system and storage medium
CN110750582B (en) Data processing method, device and system
CN110750445A (en) Method, system and equipment for testing high-availability function of YARN component
CN114389978A (en) Network protocol side channel detection method and system based on static taint analysis
CN105677569A (en) Automatic Android testing tool based on event processor and testing method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140205