CN1292349C - Method for auxiliary pressing in computer pressure testing - Google Patents

Method for auxiliary pressing in computer pressure testing Download PDF

Info

Publication number
CN1292349C
CN1292349C CN 03131320 CN03131320A CN1292349C CN 1292349 C CN1292349 C CN 1292349C CN 03131320 CN03131320 CN 03131320 CN 03131320 A CN03131320 A CN 03131320A CN 1292349 C CN1292349 C CN 1292349C
Authority
CN
China
Prior art keywords
test
item
test item
pressure test
aux
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.)
Expired - Fee Related
Application number
CN 03131320
Other languages
Chinese (zh)
Other versions
CN1549125A (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.)
Inventec Corp
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CN 03131320 priority Critical patent/CN1292349C/en
Publication of CN1549125A publication Critical patent/CN1549125A/en
Application granted granted Critical
Publication of CN1292349C publication Critical patent/CN1292349C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The present invention relates to an auxiliary pressurization method in computer pressure test. The present invention occupies a large amount of computer system resources by occupying memory space and temporarily failing cache memory, and therefore, increases test pressure. The present invention comprises the following procedure that the present invention selects an auxiliary pressure test item firstly, sets the test execution parameters of the auxiliary pressure item secondly, sets the execution parameters of a test item thirdly, simultaneously loads the auxiliary pressure test item and the test item fourthly, and executes test according to the execution parameters of the auxiliary pressure test item and the test item finally.

Description

The method of auxiliary pressurization in the computing machine pressure test
Technical field
The present invention relates in a kind of computing machine pressure test the method for auxiliary pressurization, particularly a kind of by the committed memory space and made temporary transient inefficacy of high-speed cache take more multicomputer system resource, thus increase the method for test pressure.
Background technology
Develop rapidly along with various software and hardware technologies, computing machine has become indispensable equipment in our the routine work life gradually, in order to make the calculating function adapt to various hardware environments better, the actual application environment that needs analog computer, it is carried out various functional tests such as performance, reliability and fatigue, assess whether reach designing requirement with this, thereby guarantee that computing machine can both normally move in all cases.
Common test to each parts of computing machine, be its each parts to be exerted pressure by certain method, promptly produce the lot of data treatment scheme by certain method, and in UUT, carry out, examine performance index, stability and the reliability of these parts, thereby whole computing power is tested.
Under existing measuring technology, it is exactly the pressure test of simply carrying out each parts repeatedly that computing machine is carried out pressure test, but because the difference of the ability of each parts occupying system resources, occur some parts pressure test probably and be difficult to reach the running at full capacity state, as in the archives economy of the storage facilities test (File System Test), occupying system resources hardly in the process of copy archive; Privileged components then is easy to occur the running at full capacity state, as memory test (Memory Test).Like this, the pressure test of a part of parts does not reach test request fully, and its performance just can not get guaranteeing.
At this moment, just need a kind ofly can satisfy testing requirement, do not influence the Devices to test proper testing again, and the method that can improve test pressure fast solves the problems referred to above.
Summary of the invention
In view of this, the objective of the invention is to overcome the deficiencies in the prior art and defective, for addressing the above problem the method that has proposed auxiliary pressurization in a kind of computing machine pressure test, by committed memory (Memory) and made temporary transient inefficacy of high-speed cache (Cachc) take more multicomputer system resource, thereby increased test pressure, forced other test item energy oepration at full load.
For reaching above-mentioned purpose, the present invention proposes the method for auxiliary pressurization in a kind of computing machine pressure test, its characteristics are that this method may further comprise the steps at least:
Step a judges to be measured the demand to internal memory, if this to be measured big to memory requirements, if execution in step b is little execution in step c;
Step b, it is the aux. pressure test item that high-speed cache overflow test item is set, then execution in step d;
Step c, it is the aux. pressure test item that the reserved memory test item is set;
Steps d is provided with the execution parameter of this aux. pressure test item;
Step e is provided with this execution parameter of to be measured;
Step f loads this aux. pressure test item and this item to be tested simultaneously; And
Step e tests according to this aux. pressure test item and this execution parameter of to be tested.
The method of auxiliary pressurization in the pressure test of aforementioned calculation machine, its characteristics are that it is further comprising the steps of that this high-speed cache overflow test item of execution is set among the step b: load one section driver; Carry out this high-speed cache overflow test; Produce a numerical value at random as interval time; And according to the executing state of determining this test this interval time.
The method of auxiliary pressurization in the pressure test of aforementioned calculation machine, its characteristics are that this driver is one section define equipment control unit interface function, and carry out the program of WBINVD order in this interface function.
The method of auxiliary pressurization in the pressure test of aforementioned calculation machine, its characteristics be, when the executing state of determining this test according to this interval time is all over for this test, finishes this test.
The method of auxiliary pressurization in the pressure test of aforementioned calculation machine, its characteristics be, when the executing state of determining this test according to this interval time does not finish as yet for this test, continues to carry out the step of passing through this test of execution in this driver.
The method of auxiliary pressurization in the pressure test of aforementioned calculation machine, its characteristics be, step b also comprises and high-speed cache overflow test item is set simultaneously and the reserved memory test item is the aux. pressure test item.
Compare with existing method, method provided by the invention is by committed memory and made temporary transient inefficacy of high-speed cache take more multicomputer system resource, make and to reduce for the system resource that other test item uses, so just improved test pressure indirectly, force other test item energy oepration at full load, proper testing to other Devices to tests can not impact simultaneously, has realized the running at full capacity to each parts of computing machine, has improved test pressure and testing efficiency.
Description of drawings
Fig. 1 is the overview flow chart of the method for auxiliary pressurization in the computing machine pressure test of the present invention;
Fig. 2 is the process flow diagram of the selection aux. pressure test item that the present invention carried;
Fig. 3 keeps the process flow diagram of test item for this internal memory of execution that the present invention carried;
Fig. 4 is the process flow diagram of this high-speed cache overflow test item of execution that the present invention carried;
Fig. 5 is for the present invention carried according to the executing state process flow diagram of determining this test this interval time.
Symbol description among the figure
Step 110 is selected the aux. pressure test item
Step 120 is provided with the test execution parameter of this aux. pressure item
Step 130 is provided with to be tested execution parameter
Step 140 loads this aux. pressure test item and this item to be tested simultaneously
Step 150 is carried out test according to this aux. pressure test and this execution parameter of to be tested
Step 210 selects to carry out the reserved memory test item as the aux. pressure test item
Step 220 selects to carry out high-speed cache overflow test item as the aux. pressure test item
Step 230 selects reserved memory test item and high-speed cache overflow test item as the aux. pressure test item simultaneously
Step 310 keeps test storage allocation space for this internal memory
Step 320 writes data in this memory headroom
Step 330 produces a numerical value at random as interval time
Step 340 is determined data movement situation in this memory headroom according to this time interval
Step 410 loads one section driver
Step 420 is carried out this high-speed cache overflow test
Step 430 produces a numerical value at random as interval time
Step 440 is determined the executing state of this test according to this interval time
When this test of step 510 is all over, finish this test
When this test of step 520 does not finish as yet, continue to carry out by carrying out the step of this test in this driver
Embodiment
The present invention is described in detail below in conjunction with accompanying drawing:
By Fig. 1 implementation of the present invention is described, this figure is the overview flow chart of the method for auxiliary pressurization in the computing machine pressure test of the present invention, is described as follows:
Step 110 is at first selected the aux. pressure test item; Step 120 is provided with the test execution parameter of this aux. pressure item then; Next step 130, is provided with to be tested execution parameter; Step 140 loads this aux. pressure test item and this item to be tested more simultaneously; Step 150 is carried out test according to this aux. pressure test and this execution parameter of to be tested at last.
This aux. pressure test item comprises that internal memory keeps test item (Memory Hold Test) and high-speed cache overflow test item (Cache Flust Test).Internal memory and high-speed cache are the important device that influences the computer system overall performance, computer system is used CPU (Central Processing Unit, central processing unit) controlling its each parts runs well, and all computer instructions and data all are to carry out by the process of Memory → Cache → CPU, therefore, by Memory and Cache are pressurizeed, take part system resource, with regard to the ratio of corresponding each parts occupying system resources of minimizing computing machine of energy, thereby reach the purpose of exerting pressure to the test of parts indirectly.
To be tested execution parameter is this test execution thread quantity of to be tested, also comprises other parameter simultaneously, and concrete condition decides according to be tested kind.This is to be tested can be the test item of any one or a plurality of machine elements, for example hard disk archives economy test, memory test and the test of various computer port or the like.
Below, further specify flow process of the present invention.
See also Fig. 2, this figure is the process flow diagram of the selection aux. pressure test item that the present invention carried, and is described as follows:
Step 210 selects to carry out the reserved memory test item as the aux. pressure test item; Step 220 selects to carry out high-speed cache overflow test item as the aux. pressure test item; Step 230 selects reserved memory test item and high-speed cache overflow test item as the aux. pressure test item simultaneously.
The selection of aux. pressure test item can be provided with according to user's request and concrete condition to be tested, when need increase big pressure in to be tested test the time, can select the memory test item simultaneously and gets soon and the overflow test item is assisted pressurization; If only need increase little pressure then can assist pressurization from wherein choosing any one kind of them.
In addition, also can select, for example when item to be measured is big to memory requirements, select the reserved memory test item to assist pressurization according to be measured execution characteristics; When item to be measured is bigger to cache requirements, select high-speed cache overflow test item to assist pressurization.
See also Fig. 3, this figure is the process flow diagram of this internal memory reservation test item of execution that the present invention carried, and is described as follows:
Step 310 at first keeps test storage allocation space for this internal memory; Step 320 writes data then in this memory headroom; Step 330 produces a numerical value more at random as interval time; Step 340 is at last determined data movement situation in this memory headroom according to this time interval.
Wherein, the execution parameter that the size of this memory headroom can be used as this test item is set according to the test needs by the user, and its magnitude range is 1 byte to 4G byte (1Byte~4GByte).
In fact the implementation that internal memory keeps test is exactly constantly to write data (0 or 1) in this section internal memory that distributes, and reads the data of this section then every the regular hour, checks whether it changes.Reach the purpose in committed memory space by said process, thereby taken part system resource, caused pressure for other unit test.
When the user needs quick pressure boost or increases pressure, can carry out the execution gambling that a plurality of internal memories keep test item simultaneously, achieve the goal by many execution gambling mode.
See also Fig. 4, this figure is the process flow diagram of this high-speed cache overflow test item of execution that the present invention carried, and is described as follows:
Step 410 at first loads one section driver; Step 420 is carried out this high-speed cache overflow test then; Step 430 produces a numerical value more at random as interval time; Step 440, last according to the executing state of determining this test this interval time.
The high-speed cache overflow test is carried out mainly to instruct by WBINCD and is finished, and it can be written back to the instruction and data among the Cache among the Memory, makes operation last time of Cache invalid.In Windows operating system, the WBINVD instruction can not directly be carried out, need be at DDK (Device Driver Kit, the device drives instrument) writes the Driver program that to carry out above-mentioned instruction under the working environment, by carrying out the interface of this program define equipment control (Device Control), and in this interface function, carry out the WBINVD instruction, thereby finish the high-speed cache overflow test.
When the user needs quick pressure boost or increases pressure, can carry out the Thread of a plurality of high-speed cache overflow test items simultaneously, achieve the goal by the multi-threading mode.
Be the implementation status that detects this test every the regular hour this interval time, thus the control whole test process.
See also Fig. 5, this figure be that the present invention carried according to the process flow diagram of determining the executing state of this test this interval time, be described as follows:
Step 510 when this test is all over, finishes this test; Step 520 when this test does not finish as yet, continues to carry out by carrying out the step of this test in this driver.
With a kind of preferred embodiment flow process of the present invention is described below.
With the test of disk read-write archives is example, and implementation of the present invention is described.
The test of disk read-write archives is the important composition part of hard disk archives economy test, operates the performance index that detect hard disk by hard disk to be measured is carried out archives repeatedly.Yet when in this test execution, carrying out the copy archive operation, very little to taking of system resource, there is not oepration at full load, do not reach test purpose.For improving test pressure, just need be when carrying out this disk read-write archives test, carry out internal memory reservation test item and the high-speed cache overflow test item that the present invention carried and take part system resource, reduce the shared resource of this disk read-write archives test, reach the purpose that improves test pressure with this.Its procedure declaration is as follows:
At first, select aux. pressure side examination item, all elect example as with two kinds here.
Then, the execution parameter of two kinds of aux. pressure test items being set respectively, mainly is to select to carry out the quantity of seeing, and memory headroom size in the internal memory reservation test item is set.
Next, the execution parameter of this disk read-write archives test is set, comprises Thread quantity, test execution time and interval time etc.
Load the test of two kinds of aux. pressure test items and disk read-write archives simultaneously.
At last, according to this aux. pressure test and this execution parameter of to be tested, carry out the test of test execution aux. pressure test item and disk read-write archives simultaneously.
So far, above-mentioned test process all finishes.
The above person only is the present invention's preferred embodiment wherein, is not to be used for limiting practical range of the present invention; Be that all equalizations of doing according to claims of the present invention change and modification, the scope that is all claims of the present invention contains.

Claims (6)

1, the method for auxiliary pressurization in a kind of computing machine pressure test is characterized in that this method may further comprise the steps at least:
Step a judges to be measured the demand to internal memory, if this to be measured big to memory requirements, if execution in step b is little execution in step c;
Step b, it is the aux. pressure test item that high-speed cache overflow test item is set, then execution in step d;
Step c, it is the aux. pressure test item that the reserved memory test item is set;
Steps d is provided with the execution parameter of this aux. pressure test item;
Step e is provided with this execution parameter of to be measured;
Step f loads this aux. pressure test item and this item to be tested simultaneously; And
Step e tests according to this aux. pressure test item and this execution parameter of to be tested.
2, the method for auxiliary pressurization in the computing machine pressure test as claimed in claim 1 is characterized in that, it is further comprising the steps of that this high-speed cache overflow test item of execution is set among the step b:
Load one section driver;
Carry out this high-speed cache overflow test;
Produce a numerical value at random as interval time; And
Determine the executing state of this test according to this interval time.
3, the method for auxiliary pressurization in the computing machine pressure test as claimed in claim 2 is characterized in that this driver is one section define equipment control unit interface function, and carries out the program of WBINVD order in this interface function.
4, the method for auxiliary pressurization in the computing machine pressure test as claimed in claim 2 is characterized in that, when the executing state of determining this test according to this interval time is all over for this test, finishes this test.
5, the method for auxiliary pressurization in the computing machine pressure test as claimed in claim 2 when it is characterized in that not finishing as yet for this test according to the executing state of determining this test this interval time, continues to carry out the step of passing through this test of execution in this driver.
6, the method for auxiliary pressurization in the computing machine pressure test as claimed in claim 1 is characterized in that step b also comprises high-speed cache overflow test item to be set simultaneously and the reserved memory test item is the aux. pressure test item.
CN 03131320 2003-05-09 2003-05-09 Method for auxiliary pressing in computer pressure testing Expired - Fee Related CN1292349C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 03131320 CN1292349C (en) 2003-05-09 2003-05-09 Method for auxiliary pressing in computer pressure testing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 03131320 CN1292349C (en) 2003-05-09 2003-05-09 Method for auxiliary pressing in computer pressure testing

Publications (2)

Publication Number Publication Date
CN1549125A CN1549125A (en) 2004-11-24
CN1292349C true CN1292349C (en) 2006-12-27

Family

ID=34322835

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 03131320 Expired - Fee Related CN1292349C (en) 2003-05-09 2003-05-09 Method for auxiliary pressing in computer pressure testing

Country Status (1)

Country Link
CN (1) CN1292349C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108681506B (en) * 2018-04-27 2021-11-05 无锡睿勤科技有限公司 Pressure testing method and device

Also Published As

Publication number Publication date
CN1549125A (en) 2004-11-24

Similar Documents

Publication Publication Date Title
Margaritov et al. Prefetched address translation
Zhang et al. A comprehensive benchmark of deep learning libraries on mobile devices
Liu et al. A space reuse strategy for flash translation layers in SLC NAND flash memory storage systems
CN101777007B (en) Parallel function simulation system for on-chip multi-core processor and method thereof
CN1914597A (en) Dynamic loading and unloading for processing unit
CN1511285A (en) Hierarchical built-in self-test for system-on-chip design
CN1862495A (en) Method and apparatus for maintaining context while executing translated instructions
Yang et al. {λ-IO}: A Unified {IO} Stack for Computational Storage
Uppal et al. Flashy prefetching for high-performance flash drives
Joo et al. Demand paging for OneNAND™ Flash eXecute-in-place
CN107479961B (en) Cell image rapid scanning processing method based on computer multithreading multi-core microscope
Inoue et al. Performance of multi-process and multi-thread processing on multi-core SMT processors
CN1292349C (en) Method for auxiliary pressing in computer pressure testing
CN1519703A (en) Computer multithreading test system capable of being combined and linked as well as its method
CN1818885A (en) Operation logbook obtaining method
CN1737767A (en) Debug supporting unit and method with abeyant execution ability on chip electronic hardware
CN1741094A (en) Experimental apparatus for computer composition principle and system structure
CN114067917A (en) GATK super computer system based on tuning parameters
CN1848093A (en) Method for debugging high configuration and power supply interface module in basic inputting and outputting system
CN1696901A (en) Program conversion apparatus and processor
CN1831800A (en) Method and system for duplicating between USB devices
CN1945542A (en) Embedded software developing method and system
CN1841333A (en) Dynamic random memory testing method and system thereof
CN106815101B (en) Embedded system external volatile memory high-reliability storage and diagnostic method
CN2850141Y (en) USB communication apparatus of generator excitation controller based on DSP chip

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20061227

Termination date: 20180509