CN108829599A - A kind of test method and system of the QuickAssist technical software based on Linux - Google Patents
A kind of test method and system of the QuickAssist technical software based on Linux Download PDFInfo
- Publication number
- CN108829599A CN108829599A CN201810621765.5A CN201810621765A CN108829599A CN 108829599 A CN108829599 A CN 108829599A CN 201810621765 A CN201810621765 A CN 201810621765A CN 108829599 A CN108829599 A CN 108829599A
- Authority
- CN
- China
- Prior art keywords
- test
- quickassist
- qat
- software
- linux
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The test method and system of the present invention provides a kind of QuickAssist technical software based on Linux, including:Tool and file needed for S1, installation configuration test, build test environment;Whether S2, confirmation QAT module load;S3, test software operation, and exported as a result, whether being succeeded with this validation test.The present invention provides the acquisitions based on Intel's QuickAssist technical software under rhel7.2 system, building, the test method of installation and operation, pass through tool and file needed for installation configuration test, after building test environment, whether confirmation QAT module loads, the operation of last test software, and obtain output result, whether succeeded with this validation test, it solves the problems, such as in the prior art for the test of Intel's QuickAssist technical software still in space state, realize the test to Intel's QuickAssist technology, improve testing efficiency, save time and the human cost of research.
Description
Technical field
The present invention relates to software testing technology field, especially a kind of QuickAssist technical software based on Linux
Test method and system.
Background technique
Intel QuickAssist (abbreviation QAT) technology is to optimize a kind of comprehensive study that accelerator uses in server
Plan.The technology not only makes computer reduce load in processing high-density operation, improves performance and efficiency, while can also be real
Existing lower power consumption.
The QuickAssist technology of Intel be multi-core processor accelerator based on IA framework and with based on IA framework
Third party's accelerator that server cooperates provides support, is being based on developing completely newly integrated accelerate inside IA architecture processor
Device.A software layer, i.e. accelerator level of abstraction are also included in this scheme, and application program is allowed easily to manage accelerator and are protected
Protect software investment.
It since the QAT function of Intel is newer, and is not very much, therefore relevant technology in actual application scenarios
Document is also fewer, thus the test about the technology is still in space state.Therefore it is badly in need of a kind of special based on the English under Linux
The test method of your QuickAssist technical software, to save time and the manpower of research.
Summary of the invention
The test method and system of the object of the present invention is to provide a kind of QuickAssist technical software based on Linux,
The problem of aiming to solve the problem that in the prior art for the test of QuickAssist technical software still in space state is realized to English
The test of Te Er QuickAssist technology improves testing efficiency, saves time and the human cost of research.
To reach above-mentioned technical purpose, the survey of the present invention provides a kind of QuickAssist technical software based on Linux
Method for testing includes the following steps:
Tool and file needed for S1, installation configuration test, build test environment;
Whether S2, confirmation QAT module load;
S3, test software operation, and exported as a result, whether being succeeded with this validation test.
Preferably, the test environment of building includes:
Operating system is installed;
QAT software package is installed;
Wireless Test Toolset is installed.
Preferably, the installation QAT software package concrete operations are:
The source Configuration network yum in an operating system updates the rpm packet of operating system;
Parameter intel_iommu=on to kernel row is added in/boot/grub.conf finally, and restarting and being allowed to raw
Effect;
Software upgrading is carried out using yum order line.
Preferably, the installation Wireless Test Toolset is specially:
Decompress Wireless Test Toolset;
Creation operation catalogue;
The permission of All Files in modification operation catalogue;
Parameter is added in installer.sh script, B1 is set by stepping value, is installed.
Preferably, the step S3 concrete operations are:
Under/QAT file, installer.sh script is run, and selects building Sample code, by Sample
Code is building up to the/position qatnew/quickassist/lookaside/acess_layer/src/sample_code/build
Then place runs Sample code, can get output as a result, then confirming that QAT function is normal, test passes through.
The test macro of the present invention also provides a kind of QuickAssist technical software based on Linux, the system packet
It includes:
Environmental structure module is tested, for tool and file needed for installing configuration test, builds test environment;
QAT module loading confirmation module, for confirming whether QAT module loads;
Test result authentication module, for test software run, and exported as a result, with this validation test whether at
Function.
Preferably, the test environmental structure module includes:
Operating system installation unit, for installing operating system;
QAT software package installation unit, for installing QAT software package;
Wireless Test Toolset installation unit, for installing Wireless Test Toolset.
Preferably, the QAT software package installation unit includes:
Rpm packet updating unit updates the rpm packet of operating system for the source Configuration network yum in an operating system;
Parameter adding unit, for adding parameter intel_iommu=on to kernel row in/boot/grub.conf
Finally, and restarting and being allowed to come into force;
Software upgrading unit, for carrying out software upgrading using yum order line.
Preferably, the Wireless Test Toolset installation unit includes:
Wireless Test Toolset decompression units, for decompressing Wireless Test Toolset;
Directory creating unit is run, for creating operation catalogue;
Permission modifies unit, for modifying the permission of All Files in operation catalogue;
Parameter set unit sets B1 for stepping value for adding parameter in installer.sh script, into
Row installation.
The effect provided in summary of the invention is only the effect of embodiment, rather than invents all whole effects, above-mentioned
A technical solution in technical solution has the following advantages that or beneficial effect:
Compared with prior art, the present invention provides based on Intel's QuickAssist technical software under rhel7.2 system
Acquisition, building, installation and operation test method, by installation configuration test needed for tool and file, build test
After environment, confirmation QAT module whether load, last test software operation, and exported as a result, with this validation test whether at
Function.It solves the problems, such as in the prior art for the test of Intel's QuickAssist technical software still in space state, it is real
Now to the test of Intel's QuickAssist technology, testing efficiency is improved, time and the human cost of research are saved.
Detailed description of the invention
Fig. 1 is a kind of test side of the QuickAssist technical software based on Linux provided in the embodiment of the present invention
Method flow chart;
Fig. 2 is a kind of test system of the QuickAssist technical software based on Linux provided in the embodiment of the present invention
System structural block diagram.
Specific embodiment
In order to clearly illustrate the technical characterstic of this programme, below by specific embodiment, and its attached drawing is combined, to this
Invention is described in detail.Following disclosure provides many different embodiments or example is used to realize different knots of the invention
Structure.In order to simplify disclosure of the invention, hereinafter the component of specific examples and setting are described.In addition, the present invention can be with
Repeat reference numerals and/or letter in different examples.This repetition is that for purposes of simplicity and clarity, itself is not indicated
Relationship between various embodiments and/or setting is discussed.It should be noted that illustrated component is not necessarily to scale in the accompanying drawings
It draws.Present invention omits the descriptions to known assemblies and treatment technology and process to avoid the present invention is unnecessarily limiting.
It is provided for the embodiments of the invention a kind of QuickAssist technical software based on Linux with reference to the accompanying drawing
Test method be described in detail with system.
As shown in Figure 1, the test of the embodiment of the invention discloses a kind of QuickAssist technical software based on Linux
Method includes the following steps:
Tool and file needed for S1, installation configuration test, build test environment;
Whether S2, confirmation QAT module load;
S3, test software operation, and exported as a result, whether being succeeded with this validation test.
Tool and file needed for needing to install configuration test before testing, build test environment.
Tester table is selected, the tester table need to support QAT characteristic, and Test Operating System is RHEL7.2 or update
, downloading Wireless Test Toolset is in addition needed, after tester table booting, installation operating system is started by pxe.
After installing operating system, need to install QAT software package, concrete operations are as follows:
The source Configuration network yum (Yellow dog Updater, Modified) in an operating system, updates operating system
Rpm packet.And in/boot/grub.conf parameter intel_iommu=on to kernel row is added finally, and restarting and being allowed to raw
Effect, thus to accelerate software to provide virtualized environment.
Update QAT software package.Software upgrading is carried out using yum order line, including to encryption and decryption, data compression and decompression
The update of module.If system is fitted without correct rpm packet, accelerate in packet software process in installation, it may appear that miscue
Message.
Decompress Wireless Test Toolset.
Creation operation catalogue, the catalogue can be customized, can also be using the operation catalogue recommended:
#mkdir/QAT
#cd/QAT
Wireless Test Toolset is copied into/QAT catalogue, and decompresses the packet:
#tar-zxof<QAT tarball name.tar.gz>
Modify the permission of All Files in this document folder.
Parameter is added in installer.sh script, checks the value of CPU stepping, and stepping value is arranged
For B1.
Pass through order line:#./installer.sh. come carry out accelerate software installation, according to Installation Options, it will display
The message of one welcome, it will intel QAT equipment in display system title and default building and installation software
Configuration section.
After prompting installation kit to install successfully, installation is exited by 0.
After software installation success, need to confirm whether QAT module loads:
#lsmod|grep qa
It can return to parameter value by the order, to confirm whether QAT module loads.
Start and stop QAT software function is normal to test whether:
#systemctl start qat_service.service
#systemctl stop qat_service.service
Confirmation QAT_service can be normally-open/stopping/restarting.
Test software operation, and exported as a result, whether being succeeded with this validation test.
Under/QAT file, installer.sh script is run, and selects building Sample code, by Sample
Code is building up to the/position qatnew/quickassist/lookaside/acess_layer/src/sample_code/build
Then place runs Sample code, can get output as a result, then confirming that QAT function is normal, test passes through.
The embodiment of the invention provides based on the acquisition of Intel's QuickAssist technical software, structure under rhel7.2 system
The test method built, install and run, by tool and file needed for installation configuration test, after building test environment, really
Recognize whether QAT module loads, the operation of last test software, and exported as a result, whether being succeeded with this validation test.It solves
The problem of in the prior art for the test of Intel's QuickAssist technical software still in space state, is realized to English spy
The test of your QuickAssist technology improves testing efficiency, saves time and the human cost of research.
As shown in Fig. 2, the survey of the embodiment of the invention also discloses a kind of QuickAssist technical software based on Linux
Test system, the system comprises:
Environmental structure module is tested, for tool and file needed for installing configuration test, builds test environment;
QAT module loading confirmation module, for confirming whether QAT module loads;
Test result authentication module, for test software run, and exported as a result, with this validation test whether at
Function.
The test environmental structure module includes:
Operating system installation unit, for installing operating system;
QAT software package installation unit, for installing QAT software package;
Wireless Test Toolset installation unit, for installing Wireless Test Toolset.
The QAT software package installation unit includes:
Rpm packet updating unit updates the rpm packet of operating system for the source Configuration network yum in an operating system;
Parameter adding unit, for adding parameter intel_iommu=on to kernel row in/boot/grub.conf
Finally, and restarting and being allowed to come into force;
Software upgrading unit, for carrying out software upgrading using yum order line.
The Wireless Test Toolset installation unit includes:
Wireless Test Toolset decompression units, for decompressing Wireless Test Toolset;
Directory creating unit is run, for creating operation catalogue;
Permission modifies unit, for modifying the permission of All Files in operation catalogue;
Parameter set unit sets B1 for stepping value for adding parameter in installer.sh script, into
Row installation.
The test result authentication module concrete operations content is:
Under/QAT file, installer.sh script is run, and selects building Sample code, by Sample
Code is building up to the/position qatnew/quickassist/lookaside/acess_layer/src/sample_code/build
Then place runs Sample code, can get output as a result, then confirming that QAT function is normal, test passes through.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.
Claims (9)
1. a kind of test method of the QuickAssist technical software based on Linux, which is characterized in that include the following steps:
Tool and file needed for S1, installation configuration test, build test environment;
Whether S2, confirmation QAT module load;
S3, test software operation, and exported as a result, whether being succeeded with this validation test.
2. a kind of test method of QuickAssist technical software based on Linux according to claim 1, feature
It is, the test environment of building includes:
Operating system is installed;
QAT software package is installed;
Wireless Test Toolset is installed.
3. a kind of test method of QuickAssist technical software based on Linux according to claim 2, feature
It is, the installation QAT software package concrete operations are:
The source Configuration network yum in an operating system updates the rpm packet of operating system;
Parameter intel_iommu=on to kernel row is added in/boot/grub.conf finally, and restarting and being allowed to come into force;
Software upgrading is carried out using yum order line.
4. a kind of test method of QuickAssist technical software based on Linux according to claim 2, feature
It is, the installation Wireless Test Toolset is specially:
Decompress Wireless Test Toolset;
Creation operation catalogue;
The permission of All Files in modification operation catalogue;
Parameter is added in installer.sh script, B1 is set by stepping value, is installed.
5. a kind of test method of QuickAssist technical software based on Linux according to claim 1, feature
It is, the step S3 concrete operations are:
Under/QAT file, installer.sh script is run, and selects building Samplecode, by Sample code structure
Be built to/position qatnew/quickassist/lookaside/acess_layer/src/sample_code/build at, so
After run Samplecode, can get output as a result, then confirming that QAT function is normal, test passes through.
6. a kind of test macro of the QuickAssist technical software based on Linux, which is characterized in that the system comprises:
Environmental structure module is tested, for tool and file needed for installing configuration test, builds test environment;
QAT module loading confirmation module, for confirming whether QAT module loads;
Whether test result authentication module is run for test software, and is exported as a result, being succeeded with this validation test.
7. a kind of test macro of QuickAssist technical software based on Linux according to claim 6, feature
It is, the test environmental structure module includes:
Operating system installation unit, for installing operating system;
QAT software package installation unit, for installing QAT software package;
Wireless Test Toolset installation unit, for installing Wireless Test Toolset.
8. a kind of test macro of QuickAssist technical software based on Linux according to claim 7, feature
It is, the QAT software package installation unit includes:
Rpm packet updating unit updates the rpm packet of operating system for the source Configuration network yum in an operating system;
Parameter adding unit, for addition parameter intel_iommu=on to kernel row to be most in/boot/grub.conf
Afterwards, and restart and be allowed to come into force;
Software upgrading unit, for carrying out software upgrading using yum order line.
9. a kind of test macro of QuickAssist technical software based on Linux according to claim 7, feature
It is, the Wireless Test Toolset installation unit includes:
Wireless Test Toolset decompression units, for decompressing Wireless Test Toolset;
Directory creating unit is run, for creating operation catalogue;
Permission modifies unit, for modifying the permission of All Files in operation catalogue;
Parameter set unit sets B1 for stepping value, is pacified for adding parameter in installer.sh script
Dress.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810621765.5A CN108829599A (en) | 2018-06-15 | 2018-06-15 | A kind of test method and system of the QuickAssist technical software based on Linux |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810621765.5A CN108829599A (en) | 2018-06-15 | 2018-06-15 | A kind of test method and system of the QuickAssist technical software based on Linux |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108829599A true CN108829599A (en) | 2018-11-16 |
Family
ID=64142286
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810621765.5A Withdrawn CN108829599A (en) | 2018-06-15 | 2018-06-15 | A kind of test method and system of the QuickAssist technical software based on Linux |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108829599A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112329023A (en) * | 2020-11-13 | 2021-02-05 | 南京百敖软件有限公司 | Method for accelerating starting time by using Intel QuickAssist technology |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070234293A1 (en) * | 2005-12-12 | 2007-10-04 | Archivas, Inc. | Automated software testing framework |
CN104123224A (en) * | 2014-07-09 | 2014-10-29 | 浪潮电子信息产业股份有限公司 | Simple memory test method based on IA-64 framework |
CN105512026A (en) * | 2015-11-25 | 2016-04-20 | 普华基础软件股份有限公司 | Automatic batch testing method |
CN106502905A (en) * | 2016-10-26 | 2017-03-15 | 腾讯科技(深圳)有限公司 | A kind of method of testing of application program, apparatus and system |
CN106681924A (en) * | 2016-12-30 | 2017-05-17 | 深圳天珑无线科技有限公司 | Software testing method and software testing system |
CN107247610A (en) * | 2017-06-12 | 2017-10-13 | 郑州云海信息技术有限公司 | A kind of software automatic deployment method and device |
CN107885629A (en) * | 2017-11-16 | 2018-04-06 | 郑州云海信息技术有限公司 | A kind of QAT performance comparison method and system based on OpenSSL |
-
2018
- 2018-06-15 CN CN201810621765.5A patent/CN108829599A/en not_active Withdrawn
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070234293A1 (en) * | 2005-12-12 | 2007-10-04 | Archivas, Inc. | Automated software testing framework |
CN104123224A (en) * | 2014-07-09 | 2014-10-29 | 浪潮电子信息产业股份有限公司 | Simple memory test method based on IA-64 framework |
CN105512026A (en) * | 2015-11-25 | 2016-04-20 | 普华基础软件股份有限公司 | Automatic batch testing method |
CN106502905A (en) * | 2016-10-26 | 2017-03-15 | 腾讯科技(深圳)有限公司 | A kind of method of testing of application program, apparatus and system |
CN106681924A (en) * | 2016-12-30 | 2017-05-17 | 深圳天珑无线科技有限公司 | Software testing method and software testing system |
CN107247610A (en) * | 2017-06-12 | 2017-10-13 | 郑州云海信息技术有限公司 | A kind of software automatic deployment method and device |
CN107885629A (en) * | 2017-11-16 | 2018-04-06 | 郑州云海信息技术有限公司 | A kind of QAT performance comparison method and system based on OpenSSL |
Non-Patent Citations (1)
Title |
---|
INTEL: "Intel QuickAssist Technology Software for Linux", 《HTTPS://01.ORG/SITES/DEFAULT/FILES/DOWNLOADS/INTELR-QUICKASSIST-TECHNOLOGY/336212QATSWGSGREV002REVIEW.PDF》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112329023A (en) * | 2020-11-13 | 2021-02-05 | 南京百敖软件有限公司 | Method for accelerating starting time by using Intel QuickAssist technology |
CN112329023B (en) * | 2020-11-13 | 2024-05-24 | 南京百敖软件有限公司 | Method for accelerating starting time by Intel QuickAssist technology |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105786538B (en) | software upgrading method and device based on android system | |
US9552201B2 (en) | System and method for incremental software installation | |
KR101280048B1 (en) | Anti-hack protection to restrict installation of operating systems and other software | |
US8701104B2 (en) | System and method for user agent code patch management | |
CN107992308B (en) | Plug-in management method for android terminal application program | |
CN110333868B (en) | Method and system for generating installation packages of sub-applications | |
US10216510B2 (en) | Silent upgrade of software with dependencies | |
JP2015165417A (en) | networked Recovery System | |
CN104506639A (en) | Root right acquiring method and device | |
GB2413653A (en) | Software installation comprising a decision phase and installation phase | |
CN104008340A (en) | Virus scanning and killing method and device | |
CN107766084B (en) | Boot loading and installation method and computing system thereof | |
KR20170017713A (en) | Boot loader update firmware, method for updating boot loader | |
US10558816B2 (en) | Source authentication of a software product | |
CN110457073A (en) | A kind of credible starting method of the Pre-boot Execution Environment PXE of Shen prestige server | |
CN102156649B (en) | Patch installation method and device thereof | |
Adithyan et al. | Reverse engineering and backdooring router firmwares | |
CN108829599A (en) | A kind of test method and system of the QuickAssist technical software based on Linux | |
CN110597496A (en) | Method and device for acquiring bytecode file of application program | |
JP2013196310A (en) | Application analysis device, application analysis system and program | |
Yanpeng et al. | Linux transplantation based on the processor S3C2440 | |
CN113791814A (en) | Method, device, equipment and medium for updating production presets on Android platform | |
CN112214249A (en) | Cross-platform self-starting program method based on USB device | |
CN113377400A (en) | Software upgrading method and device, storage medium and electronic equipment | |
JP7160202B2 (en) | Information processing device, control method and control program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20181116 |