CN107220167A - A kind of method of QAT performance automatic tests - Google Patents

A kind of method of QAT performance automatic tests Download PDF

Info

Publication number
CN107220167A
CN107220167A CN201710390559.3A CN201710390559A CN107220167A CN 107220167 A CN107220167 A CN 107220167A CN 201710390559 A CN201710390559 A CN 201710390559A CN 107220167 A CN107220167 A CN 107220167A
Authority
CN
China
Prior art keywords
qat
result
test
openssl
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
CN201710390559.3A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710390559.3A priority Critical patent/CN107220167A/en
Publication of CN107220167A publication Critical patent/CN107220167A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3409Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Semiconductor Integrated Circuits (AREA)
  • Testing Of Individual Semiconductor Devices (AREA)

Abstract

The present invention discloses a kind of method of QAT performance automatic tests, is related to server QAT Performance Testing Technologies, completes test result processing by Python and contrasts, result is showed in the form of picture and Excel forms;Configuration testing instrument and file are installed first;Automatic configuration drives, and judges the whether whole normal works of current QAT;Then Openssl speed tests, and password encryption and decryption, data compression and decompression test are carried out;Finally processing Openssl speed test result, processing password encryption and decryption, the result of data compression and decompression test, are compared with standard, see whether disclosure satisfy that, ungratified mark fail is simultaneously recorded.The present invention automatically completes QAT performance test, can avoid manual errors, and the non-intuitive drawback of comparing result;QAT performance tests and result treatment can be rapidly completed, testing efficiency is improved.

Description

A kind of method of QAT performance automatic tests
Technical field
The present invention relates to server QAT Performance Testing Technologies, specifically a kind of method of QAT performance automatic tests.
Background technology
With continuing to develop for IT field technology, server technology is also constantly being upgraded.QAT(quick assistant Technology) it is new technology that Intel is introduced on Purley platforms.By QAT technologies, the password of server can be added Decryption, data compression and decompression are accelerated.
Whether the QAT technologies newly introduced need to test its performance can be up to standard.Openssl speed orders are a tests The instrument of ssl encryption/decryption speeds, the speed that can be tested respectively in the case of QAT enable and disable is ordered by this Angle value, and then judge whether QAT effect works.Cpa_sample_code is that Intel QAT drives the survey carried Password encryption/decryption speed and the instrument of data compression and decompression speed are tried, can be to different cryptographic algorithms such as AES128- CBC/AES256-CBC etc., and data compression and decompression technology such as dynamic huffman compression and decompression are tested.
Current QAT method of testings are, it is necessary to by artificial after the testing procedure of the manual execution above progressively, generation log One by one go contrast.Step is more, and the log contents of generation are complicated, easily produce mistake, forbidden test result Really, testing progress is influenceed.
The content of the invention
There is provided a kind of method of QAT performance automatic tests for the demand and weak point that the present invention develops for current technology.
A kind of method of QAT performance automatic tests of the present invention, solves the technical scheme of above-mentioned technical problem use such as Under:The method of the QAT performance automatic tests, completes test result processing by Python and contrasts, by result with picture and The form of Excel forms is showed;Its specific implementation process is as follows:
First, the instrument and file required for configuration testing are installed;
Second, then automatic configuration driving judges the whether whole normal works of current QAT;
3rd, carry out Openssl speed tests;
4th, carry out password encryption and decryption, data compression and decompression test;
5th, processing Openssl speed test result;
6th, processing password encryption and decryption, the result of data compression and decompression test extract the test number of disparity items According to being compared with standard, see whether disclosure satisfy that, ungratified mark fail is simultaneously recorded.
It is preferred that, in the first step, install required for software kit, including python2.7.12 and python use it is soft Part bag pip/setuptools/xlsxwriter/matplot.
It is preferred that, in the 3rd step, carry out Openssl speed tests respectively in the case of QAT enable and disable, Then structure is separately stored in different files subsequently to use.
It is preferred that, in the 4th step, password encryption and decryption, data compression and decompression are carried out by cpa_sample_code orders Contracting test, result is stored in disk file so that subsequent treatment is used.
It is preferred that, in the 5th step, processing Openssl speed test result twice, with cylindricality in same picture Diagram form shows, and whether the acceleration effect seen after QAT enable can show.
A kind of method of QAT performance automatic tests of the present invention, has an advantageous effect in that compared with prior art:This Method can automatically complete QAT performance test, and result treatment and contrast are completed by Python, by result with picture and The form of Excel forms is showed;Manual testing can be avoided to occur mistake in result treatment, and comparing result is not straight The drawbacks of sight;QAT performance tests and result treatment can be rapidly completed, QAT performance test efficiency is improved, and then can be lifted Product quality.
Embodiment
For the object, technical solutions and advantages of the present invention are more clearly understood, below in conjunction with specific embodiment, to this hair A kind of method of bright QAT performance automatic tests is further described.
The present invention proposes a kind of method of QAT performance automatic tests, can automatically complete QATD performance tests, by Python completes test result processing and contrasted, and result is showed in the form of picture and Excel forms;People can be avoided There is mistake in result treatment in work test, and overcomes the non-intuitive drawback of comparing result, can be rapidly completed test and tie Fruit is handled, and improves QAT performance test efficiency.
Python is a kind of explanation type computer programming language of object-oriented, its source code and interpreter CPython follows GPL (GNU General Public License) agreement.
Embodiment:
The method of QAT performance automatic tests described in the present embodiment, as shown in Figure 1, its specific implementation process is as follows:
First, the instrument and file required for configuration testing are installed, such as driving, testing tool;
Second, then automatic configuration driving judges the whether whole normal works of current QAT;
3rd, Openssl speed are tested:Test one time, then will respectively in the case of QAT enable and disable Structure is separately stored in different files subsequently to use;
4th, password encryption and decryption, data compression and decompression test:Test above-mentioned by cpa_sample_code orders Project, result is stored in disk file, so that subsequent treatment is used;
5th, processing Openssl speed test result twice, are showed in same picture with cylindricality diagram form, Whether the acceleration effect seen after QAT enable can show;
6th, processing password encryption and decryption, the result of data compression and decompression test extract the test number of disparity items According to being compared with standard, see whether disclosure satisfy that, ungratified mark fail is simultaneously recorded.
In the first step, the software kit required for installing, including the software kit that python2.7.12 and python are used Pip/setuptools/xlsxwriter/matplot etc.;
Second step and the 3rd step, detection QAT whether normal work, then respectively in QAT enable and disable feelings An openssl speed is tested under condition, and result is stored in different files, for being compared followed by processing;
In 4th step, test password encryption and decryption, data compression and decompression:
In 5th step, processing openssl speed result, because tested in the case of QAT enable and disable Openssl speed file format is the same, and simply the test number of the inside is different, so using twice of identical step process Different files;
In 5th step, the test result of openssl speed twice is depicted as block diagram:
In 6th step, cpa_sample_code result is handled, and the result after processing is stored in results files In result_cpa_test.xlsx files under folder.
The method of QAT performance automatic tests described in the present embodiment, automatically completes QAT performance test, by Python Result treatment and contrast are completed, result is showed in the form of picture and Excel forms;Principal function used in implementation process It is as follows:
Embodiment is only the specific case of the present invention, and scope of patent protection of the invention is including but not limited to above-mentioned Embodiment, any person of an ordinary skill in the technical field that meet claims of the present invention and any is to it The appropriate change or replacement done, should all fall into the scope of patent protection of the present invention.

Claims (5)

1. a kind of method of QAT performance automatic tests, it is characterised in that complete test result processing by Python and contrast, Result is showed in the form of picture and Excel forms;Its specific implementation process is as follows:
First, the instrument and file required for configuration testing are installed;
Second, then automatic configuration driving judges the whether whole normal works of current QAT;
3rd, carry out Openssl speed tests;
4th, carry out password encryption and decryption, data compression and decompression test;
5th, processing Openssl speed test result;
6th, processing password encryption and decryption, the result of data compression and decompression test extract the test data of disparity items, with Standard is compared, and sees whether disclosure satisfy that, ungratified mark fail is simultaneously recorded.
2. a kind of method of QAT performance automatic tests according to claim 1, it is characterised in that
In the first step, the software kit required for installing, including the software kit pip/ that python2.7.12 and python are used setuptools/xlsxwriter/matplot。
3. a kind of method of QAT performance automatic tests according to claim 2, it is characterised in that
In 3rd step, Openssl speed tests are carried out respectively in the case of QAT enable and disable, then by structure It is separately stored in different files subsequently to use.
4. a kind of method of QAT performance automatic tests according to claim 3, it is characterised in that in the 4th step, by cpa_ Sample_code orders carry out password encryption and decryption, data compression and decompression test, by result be stored in disk file for Subsequent treatment is used.
5. a kind of method of QAT performance automatic tests according to claim 4, it is characterised in that in the 5th step, processing Openssl speed test result twice, is showed in same picture with cylindricality diagram form, is seen after QAT enable Whether acceleration effect can show.
CN201710390559.3A 2017-05-27 2017-05-27 A kind of method of QAT performance automatic tests Pending CN107220167A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710390559.3A CN107220167A (en) 2017-05-27 2017-05-27 A kind of method of QAT performance automatic tests

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710390559.3A CN107220167A (en) 2017-05-27 2017-05-27 A kind of method of QAT performance automatic tests

Publications (1)

Publication Number Publication Date
CN107220167A true CN107220167A (en) 2017-09-29

Family

ID=59947860

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710390559.3A Pending CN107220167A (en) 2017-05-27 2017-05-27 A kind of method of QAT performance automatic tests

Country Status (1)

Country Link
CN (1) CN107220167A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107885629A (en) * 2017-11-16 2018-04-06 郑州云海信息技术有限公司 A kind of QAT performance comparison method and system based on OpenSSL
CN108228406A (en) * 2018-01-09 2018-06-29 郑州云海信息技术有限公司 A kind of QAT pressure testing systems and method
CN108804297A (en) * 2018-06-12 2018-11-13 郑州云海信息技术有限公司 A kind of test method and system of QAT states control function
CN108897681A (en) * 2018-06-25 2018-11-27 郑州云海信息技术有限公司 A kind of QAT test macro and method for storage management control system
CN108920371A (en) * 2018-07-05 2018-11-30 郑州云海信息技术有限公司 A kind of the QAT method for automatically testing functions and system of storage management system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010070490A1 (en) * 2008-12-18 2010-06-24 Koninklijke Philips Electronics, N.V. Software bug and performance deficiency reporting system
CN103106134A (en) * 2011-11-10 2013-05-15 阿里巴巴集团控股有限公司 Detecting method, device and system for performance deficiency

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010070490A1 (en) * 2008-12-18 2010-06-24 Koninklijke Philips Electronics, N.V. Software bug and performance deficiency reporting system
CN103106134A (en) * 2011-11-10 2013-05-15 阿里巴巴集团控股有限公司 Detecting method, device and system for performance deficiency

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王宁: "大型在线游戏平台的安全系统的设计与实现", 《中国优秀硕士学位论文全文数据库》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107885629A (en) * 2017-11-16 2018-04-06 郑州云海信息技术有限公司 A kind of QAT performance comparison method and system based on OpenSSL
CN108228406A (en) * 2018-01-09 2018-06-29 郑州云海信息技术有限公司 A kind of QAT pressure testing systems and method
CN108804297A (en) * 2018-06-12 2018-11-13 郑州云海信息技术有限公司 A kind of test method and system of QAT states control function
CN108897681A (en) * 2018-06-25 2018-11-27 郑州云海信息技术有限公司 A kind of QAT test macro and method for storage management control system
CN108920371A (en) * 2018-07-05 2018-11-30 郑州云海信息技术有限公司 A kind of the QAT method for automatically testing functions and system of storage management system

Similar Documents

Publication Publication Date Title
CN107220167A (en) A kind of method of QAT performance automatic tests
US10176323B2 (en) Method, apparatus and terminal for detecting a malware file
US8527950B2 (en) Verification of software applications
CN104238819B (en) The detection method and system of display screen state in mobile terminal
CN105205397B (en) Rogue program sample sorting technique and device
CN107545181A (en) Program operating method, terminal and computer-readable recording medium
CN105933799A (en) Method and device for playing video
CN106547648A (en) Backup data processing method and device
US20140337631A1 (en) Method for copy-protected storage of information on a data carrier
US10467402B2 (en) Systems and methods for authentication based on electrical characteristic information
WO2021159736A1 (en) Application compatibility test method and apparatus, and computer device
CN105740661B (en) A kind of method and apparatus for protecting application program
CN106909672B (en) Method for generating and loading specific project file based on WPF technology
CN109145639A (en) File encrypting method, decryption method and device
CN107483177B (en) Method and system for verifying authenticity of encrypted data of encryption equipment
US9508006B2 (en) System and method for identifying trees
Biswas et al. Password security system with 2-way authentication
CN111160504A (en) Method, device and equipment for generating dynamic two-dimensional code and storage medium
CN107408031A (en) Use the system and method for the generation random number of physical change present in material sample
CN111626244B (en) Image recognition method, device, electronic equipment and medium
CN102289607A (en) Universal serial bus (USB) device verification system and method
CN107679567B (en) Code copying behavior identification method, device and system
CN102970298B (en) A kind of method, equipment and system preventing divulging a secret
CN107133539B (en) Smart card personalization method and related device and system
CN107908954A (en) A kind of method that memory overflows on dynamic detection GPU based on address compression technology

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170929

WD01 Invention patent application deemed withdrawn after publication