CN108920381A - A kind of method, system and the equipment of the performance test of NFS operation word - Google Patents

A kind of method, system and the equipment of the performance test of NFS operation word Download PDF

Info

Publication number
CN108920381A
CN108920381A CN201810843172.3A CN201810843172A CN108920381A CN 108920381 A CN108920381 A CN 108920381A CN 201810843172 A CN201810843172 A CN 201810843172A CN 108920381 A CN108920381 A CN 108920381A
Authority
CN
China
Prior art keywords
time threshold
word
ganesha
nfs
server
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
CN201810843172.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.)
Guangdong Inspur Smart Computing Technology Co Ltd
Original Assignee
Guangdong Inspur Big Data Research 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 Guangdong Inspur Big Data Research Co Ltd filed Critical Guangdong Inspur Big Data Research Co Ltd
Priority to CN201810843172.3A priority Critical patent/CN108920381A/en
Publication of CN108920381A publication Critical patent/CN108920381A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing

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)
  • Debugging And Monitoring (AREA)

Abstract

This application discloses a kind of methods of NFS operation word performance test, including:Share directory derived from client executing carry order carry to server-side;When receiving test command, operational word is determined according to test command;The corresponding operation of operational word is executed in share directory, and calculating operation word calls the time delay in the library lib;The acquisition time threshold value from server-side, and judge whether time delay is more than time threshold;If so, the attribute information of output operational word.Technical solution provided herein exports the attribute information of the operational word when time delay is more than time threshold, it allows the user to that the information such as the time delay of the operational word calling library lib generation and failure are positioned and analyzed according to the attribute information, the maintainability for improving code optimizes storage service file system I/O performance.The application additionally provides system, equipment and the computer readable storage medium of a kind of NFS operation word performance test simultaneously, has above-mentioned beneficial effect.

Description

A kind of method, system and the equipment of the performance test of NFS operation word
Technical field
This application involves NFS operation word performance test field, in particular to a kind of method of NFS operation word performance test, System, equipment and computer readable storage medium.
Background technique
Network File System (Network File System, NFS) is to be for the shared file catalogue between linux One of the file system that FreeBSD is supported, it allows to pass through TCP/IP network shared resource between the computer in network. In the application of NFS, the client application of local NFS can pellucidly read and write the file on the nfs server of distal end, just as It is the same to access local file.NFS-Ganesha is User space Network File System, under fault scenes, compared to kernel state NFS With preferably managerial and maintainable, and User space NFS-Ganesha is easy to implement and maintenance, at present big data magnanimity point It is very widely used that cloth object stores NFS-Ganesha.
File system operation word refers to the serial of methods of operation file, the thought of Linux system be substantially all File, file cannot be read-only status, it is necessary to allow the information in user or process operation file.File system operation word is main It including opening (open), reads and writes (read, write), creates (create), delete (remove), set a property (setattr), It obtains attribute (getattr), create directory (mkdir), and deltree (rmdir), and soft, hard link (symlink, link) mentions It hands over (commit), reads directory content (readdir), renaming (rename) etc., each operational word passes through in code bottom The one or more library lib is called, to realize the corresponding function of operational word.
Lib bank interface function call refers to NFS operation word in function intrinsic call lib bank interface, due to calling the meeting of the library lib It the case where causing some time delays, or the library lib is called to fail, for the ease of positioning and performance evaluation, needs to each behaviour The lib bank interface for making word calling carries out delay statistics, returns to the operational word type for calling the library lib, and catalogue id is called successfully or lost It loses, calls the information such as time delay, convenient for positioning and analysis, improve the maintainability of code, further increase the performance of file system. File system operation word time delay is to measure the important indicator of storage service system I/O performance, and optimize the important of storage performance Foundation.
Summary of the invention
The purpose of the application is to provide the method for NFS operation word performance test a kind of, system, equipment and computer-readable deposits Storage media, for being tested for the property to NFS operation word.
In order to solve the above technical problems, the application provides a kind of method of NFS operation word performance test, this method includes:
Share directory derived from client executing carry order carry to server-side;
When receiving test command, operational word is determined according to the test command;
The corresponding operation of the operational word is executed in the share directory, and is calculated the operational word and called the library lib Time delay;
The time threshold is obtained from the server-side, and judges whether the time delay is more than time threshold;
If so, exporting the attribute information of the operational word;Wherein, the attribute information includes calling function information, adjusting With at least one in the library lib information, catalogue id, call result information, calling Delay.
Optionally, before obtaining the time threshold in the server-side, further include:
Configuration file including time threshold setting command is sent to the server-side, so that the server-side is restarted Ganesha service reads the configuration file and obtains the time threshold setting command, and executes the time threshold setting life Order is configured the time threshold.
Optionally, before obtaining the time threshold in the server-side, further include:
When receiving the ganesha script of input, the link order in the ganesha script is sent to the clothes Business end, so that after the server-side establishes NFS-Ganesha file system and D-Bus interprocess communication according to the link order The connection of platform;
Time threshold parameter in the ganesha script is sent to institute by the D-Bus interprocess communication backstage NFS-Ganesha file system is stated, so that the NFS-Ganesha file system is corresponding according to the time threshold parameter setting Time threshold.
Optionally, when the time delay is less than the time threshold, further include:
The operational word is recorded as the operational word that test passes through.
The application also provides a kind of system of NFS operation word performance test, which includes:
Carry module, for share directory derived from client executing carry order carry to server-side;
Determining module, for determining operational word according to the test command when receiving test command;
Execution module for executing the corresponding operation of the operational word in the share directory, and calculates the operation The time delay in the word calling library lib;
Whether acquisition and judgment module, for obtaining the time threshold from the server-side, and judge the time delay More than time threshold;
Output module, for exporting the attribute information of the operational word when the time delay is more than the time threshold;Its In, the attribute information includes calling function information, calling the library lib information, catalogue id, call result information, call time delay letter At least one of in breath.
Optionally, further include:
First sending module, for will include that the configuration file of time threshold setting command is sent to the server-side, with So that the server-side is restarted the ganesha service reading configuration file and obtain the time threshold setting command, and executes institute Time threshold setting command is stated to be configured the time threshold.
Optionally, further include:
Second sending module, for when receiving the ganesha script of input, by the company in the ganesha script It connects instruction and is sent to the server-side, so that the server-side establishes NFS-Ganesha file system according to the link order With the connection on D-Bus interprocess communication backstage;
Third sending module, for passing through the time threshold parameter in the ganesha script between the D-Bus process Communication backstage is sent to the NFS-Ganesha file system, so that the NFS-Ganesha file system is according to the time Corresponding time threshold is arranged in threshold parameter.
Optionally, further include:
Logging modle, for the operational word to be recorded as the operational word that test passes through.
The application also provides a kind of NFS operation word performance test apparatus, which includes:
Memory, for storing computer program;
Processor realizes the NFS operation word performance test as described in any of the above-described when for executing the computer program Method the step of.
The application also provides a kind of computer readable storage medium, and calculating is stored on the computer readable storage medium Machine program realizes the side of the NFS operation word performance test as described in any of the above-described when the computer program is executed by processor The step of method.
The method of NFS operation word performance test provided herein, including:Client executing carry order carry extremely services Hold derived share directory;When receiving test command, operational word is determined according to test command;Behaviour is executed in share directory Make the corresponding operation of word, and calculating operation word calls the time delay in the library lib;The acquisition time threshold value from server-side, and judge time delay It whether is more than time threshold;If so, the attribute information of output operational word;Wherein, attribute information includes calling function information, adjusting With at least one in the library lib information, catalogue id, call result information, calling Delay.
Technical solution provided herein by executing the operational word determined according to test command, and calculates the operation Word calls the time delay in the library lib, and then the acquisition time threshold value from server-side, judges whether the time delay is more than time threshold, if so, It then proves that the operational word calls the time delay in the library lib higher, exports the attribute information of the operational word at this time, allow the user to basis The attribute information calls the information such as time delay and the failure of the library lib generation to be positioned and analyzed to operational word, improves code Maintainability optimizes storage service file system I/O performance.The application additionally provides a kind of NFS operation word performance survey simultaneously System, equipment and the computer readable storage medium of examination have above-mentioned beneficial effect, and details are not described herein.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of the method for NFS operation word performance test provided by the embodiment of the present application;
Fig. 2 is the flow chart of the method for another kind NFS operation word performance test provided by the embodiment of the present application;
Fig. 3 is a kind of structure chart of the system of NFS operation word performance test provided by the embodiment of the present application;
Fig. 4 is the structure chart of the system of another kind NFS operation word performance test provided by the embodiment of the present application;
Fig. 5 is a kind of structure chart of NFS operation word performance test apparatus provided by the embodiment of the present application.
Specific embodiment
The core of the application is to provide the method for NFS operation word performance test a kind of, system, equipment and computer-readable deposits Storage media, for being tested for the property to NFS operation word.
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall in the protection scope of this application.
Referring to FIG. 1, Fig. 1 is a kind of process of the method for NFS operation word performance test provided by the embodiment of the present application Figure.
It specifically comprises the following steps:
S101:Share directory derived from client executing carry order carry to server-side;
Based on the problem existed in the prior art to file operation process monitoring deficiency, so that user can not be expressly understood that The information such as time delay and failure that each operational word generates in the process of implementation, and then failure cause and time delay reason can not be done Specific positioning and analysis, the strong influence performance of NFS operation word;This application provides a kind of NFS operation word performance tests Method, for solving the above problems;
Before being tested for the property to NFS operation word, Schilling client executing carry order carry to server-side is exported Share directory on so that user completes the test to each operational word by client in share directory;
Optionally, it can enable on share directory derived from client executing mount order carry to server-side.
S102:When receiving test command, operational word is determined according to the test command;
Preferably, based on user, to the testing requirement possibility that operational word is tested, there are many types, mentioned herein, when When receiving test command, operational word is determined according to the test command, is specifically as follows:
The test command is parsed, multiple operational words and testing sequence are obtained;
Multiple operational words are ranked up according to the testing sequence;
After being ranked up according to testing sequence to multiple operational words, so that needing operation to be tested for each Word, user do not need to input each corresponding test command, but only input the test command comprising testing sequence just The input of achievable test command, greatly alleviates user job.
S103:The corresponding operation of the operational word is executed in the share directory, and calculate the operational word call the library lib when Prolong;
After determining operational word according to the test command, the corresponding operation of the operational word is executed in share directory, each Operational word is in code bottom by calling the one or more library lib, and to realize the correlation function of operational word, system-computed should at this time Operational word calls the time delay in the library lib and preservation;
Preferably, operational word mentioned herein can specifically include opening (open), read and write (read, write), creation (create), (remove) is deleted, set a property (setattr), obtains attribute (getattr), create directory (mkdir), deletes Except catalogue (rmdir), soft, hard link (symlink, link) is submitted (commit), is read directory content (readdir), is ordered again Name (rename) etc.;
Corresponding operation mentioned herein includes opening operation, and read-write operation, creation operation, delete operation, set a property behaviour Make, obtain property operations, create directory operation, and deltree operation, and soft, hard link operation submits operation, reads directory content Operation, renaming operation etc..
S104:The acquisition time threshold value from server-side, and judge whether the time delay is more than the time threshold;
If so, entering step S105;
When the time delay is more than the time threshold, then prove that the operational word calls the time delay in the library lib higher, output should at this time The attribute information of operational word allows the user to the time delay and failure of calling the library lib to generate operational word according to the attribute information Etc. information positioned and analyzed;
Preferably, when the time delay is less than the time threshold, then prove that the operational word calls the time delay in the library lib lower, The operational word can also be recorded as to the operational word that test passes through at this time, user is facilitated to check;
Preferably, before acquisition time threshold value in server-side, can also include:
Configuration file including time threshold setting command is sent to server-side, so that server-side restarts ganesha clothes Business reads configuration file and obtains time threshold setting command, and executes the time threshold setting command and set to time threshold It sets;
For example, time threshold Time_Threshold=5 (customized integer can be added in ganesha configuration file Value), ganesha service is restarted at this time, it is 5s in internal system setting time threshold that system, which reads ganesha configuration file, when When operational word calls the time delay in the library lib to be greater than 5s, the attribute of the operational word is printed;If being less than 5s, the operational word is not printed Attribute information.
S105:Export the attribute information of the operational word.
Attribute information mentioned herein include call function information, call the library lib information, catalogue id, call result information, Call at least one in Delay;
Optionally, the way of output of the attribute information can there are many, such as attribute information can be sent out with mail he The mailbox specified to user is sent, attribute information can also be exported to display screen, and prompts user by modes such as short message prompts It checks, attribute information can also be uploaded to specified cloud platform catalogue, administrative staff is facilitated to summarize, the application is to the attribute information The way of output be not specifically limited.
Based on the above-mentioned technical proposal, the method for a kind of NFS operation word performance test provided herein, by executing root According to the operational word that test command determines, and the time delay that the operational word calls the library lib is calculated, then the acquisition time threshold from server-side Value, judges whether the time delay is more than time threshold, if so, proving that the operational word calls the time delay in the library lib higher, exports at this time The attribute information of the operational word allows the user to the time delay and event of calling the library lib to generate operational word according to the attribute information The information such as barrier are positioned and are analyzed, and are improved the maintainability of code, are optimized storage service file system I/O performance.
It is directed to an embodiment, time threshold can be carried out by way of inputting configuration file by mentioning in step S104 Setting, however this method needs to restart ganesha service, is based on this, the application also proposed another NFS operation word performance and survey The method of examination can dynamically adjust the time threshold, be illustrated below with reference to Fig. 2.
Referring to FIG. 2, Fig. 2 is the stream of the method for another kind NFS operation word performance test provided by the embodiment of the present application Cheng Tu.
It specifically includes following steps:
S201:When receiving the ganesha script of input, the link order in ganesha script is sent to service End, so that server-side establishes the connection of NFS-Ganesha file system Yu D-Bus interprocess communication backstage according to link order;
S202:Time threshold parameter in the ganesha script is sent to this by the D-Bus interprocess communication backstage NFS-Ganesha file system, so that the NFS-Ganesha file system is according to the time threshold parameter setting corresponding time Threshold value.
For example, being ordered when receiving the ganesha script, i.e. ganesha_mgr.py file write by perform script Ganesha_mgr set_switch time_threshold 5 is enabled, is passed to parameter set_switch, time_ to server-side threshold,5;
Server-side will lead to according to keyword " set_switch " between NFS-Ganesha file system and D-Bus process at this time Connection is established on letter backstage;And time_threshold and 5 two parameter is passed to NFS-Ganesha file system and is existed;Finally, Inside NFS-Ganesha file system, 5s is set for delay threshold according to incoming parameter key " time_threshold ".
Based on the above-mentioned technical proposal, the method for another NFS operation word performance test provided herein, passes through basis Link order in ganesha script establishes the connection of NFS-Ganesha file system Yu D-Bus interprocess communication backstage, then Time threshold parameter in ganesha script is sent to the NFS-Ganesha file by the D-Bus interprocess communication backstage System, so that the NFS-Ganesha file system does not need to restart according to the corresponding time threshold of time threshold parameter setting Ganesha service, can be completed the setting to time threshold.
Referring to FIG. 3, Fig. 3 is a kind of structure of the system of NFS operation word performance test provided by the embodiment of the present application Figure.
The system may include:
Carry module 100, for share directory derived from client executing carry order carry to server-side;
Determining module 200, for determining operational word according to test command when receiving test command;
Execution module 300, for executing the corresponding operation of operational word in share directory, and calculating operation word calls lib The time delay in library;
Acquisition and judgment module 400 for the acquisition time threshold value from server-side, and judge whether time delay is more than time threshold Value;
Output module 500, for exporting the attribute information of operational word when time delay is more than time threshold;Wherein, attribute is believed Breath includes at least one in calling function information, the calling library lib information, catalogue id, call result information, calling Delay ?.
Referring to FIG. 4, Fig. 4 is the knot of the system of another kind NFS operation word performance test provided by the embodiment of the present application Composition.
The system can also include:
First sending module, for will include that the configuration file of time threshold setting command is sent to server-side, so that clothes Business end restarts ganesha service reading configuration file and obtains time threshold setting command, and executes time threshold setting command pair Time threshold is configured.
The system can also include:
Second sending module, for when receiving the ganesha script of input, the connection in ganesha script to be referred to Order is sent to server-side, so that server-side establishes NFS-Ganesha file system and D-Bus interprocess communication according to link order The connection on backstage;
Third sending module, for the time threshold parameter in ganesha script to be passed through D-Bus interprocess communication backstage It is sent to NFS-Ganesha file system, when so that NFS-Ganesha file system is corresponding according to time threshold parameter setting Between threshold value.
The system can also include:
Logging modle, for operational word to be recorded as the operational word that test passes through.
Each component part in system above can be applied in embodiment below:
Carry module enables share directory derived from client executing carry order carry to server-side;It is ordered when receiving test When enabling, determining module determines operational word according to test command;Execution module executes the corresponding operation of operational word in share directory, And calculating operation word calls the time delay in the library lib;
When receiving the ganesha script of input, the second sending module sends the link order in ganesha script To server-side, so that server-side establishes NFS-Ganesha file system and D-Bus interprocess communication backstage according to link order Connection;Time threshold parameter in ganesha script is sent to by third sending module by D-Bus interprocess communication backstage NFS-Ganesha file system, so that NFS-Ganesha file system is according to the corresponding time threshold of time threshold parameter setting Value;
Acquisition and judgment module acquisition time threshold value from server-side, and judge whether time delay is more than time threshold;At that time When prolonging more than time threshold, output module exports the attribute information of operational word;When time delay is less than time threshold, logging modle Operational word is recorded as the operational word that test passes through.
Referring to FIG. 5, Fig. 5 is a kind of structure chart of NFS operation word performance test apparatus provided by the embodiment of the present application.
The NFS operation word performance test apparatus 600 can generate bigger difference because configuration or performance are different, can wrap One or more processors (central processing units, CPU) 622 is included (for example, at one or more Manage device) and memory 632, one or more store storage medium 630 (such as one of application programs 642 or data 644 Or more than one mass memory unit).Wherein, memory 632 and storage medium 630 can be of short duration storage or persistent storage. The program for being stored in storage medium 630 may include one or more modules (diagram does not mark), and each module can wrap It includes to the series of instructions operation in device.Further, central processing unit 622 can be set to logical with storage medium 630 Letter executes the series of instructions operation in storage medium 630 on NFS operation word performance test apparatus 600.
NFS operation word performance test apparatus 600 can also include one or more power supplys 626, one or one with Upper wired or wireless network interface 650, one or more input/output interfaces 658, and/or, one or more behaviour Make system 641, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..
Step in the method for NFS operation word performance test described in above-mentioned Fig. 1 to Fig. 2 is surveyed by NFS operation word performance It tries equipment and is based on structure realization shown in fig. 5.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed device, device and method, it can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the division of module, Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple module or components can be with In conjunction with or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING of device or module or Communication connection can be electrical property, mechanical or other forms.
Module may or may not be physically separated as illustrated by the separation member, show as module Component may or may not be physical module, it can and it is in one place, or may be distributed over multiple networks In module.Some or all of the modules therein can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, can integrate in a processing module in each functional module in each embodiment of the application It is that modules physically exist alone, can also be integrated in two or more modules in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.
If integrated module is realized and when sold or used as an independent product in the form of software function module, can To be stored in a computer readable storage medium.Based on this understanding, the technical solution of the application substantially or Say that all or part of the part that contributes to existing technology or the technical solution can embody in the form of software products Out, which is stored in a storage medium, including some instructions are used so that a computer equipment The whole of (can be personal computer, funcall device or the network equipment etc.) execution each embodiment method of the application Or part steps.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. are various can store program The medium of code.
Above to a kind of method of NFS operation word performance test provided herein, system, equipment and computer-readable Storage medium is described in detail.Specific case used herein explains the principle and embodiment of the application It states, the description of the example is only used to help understand the method for the present application and its core ideas.It should be pointed out that for this skill For the those of ordinary skill in art field, under the premise of not departing from the application principle, several change can also be carried out to the application Into and modification, these improvement and modification also fall into the protection scope of the claim of this application.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or equipment for including element.

Claims (10)

1. a kind of method of NFS operation word performance test, which is characterized in that including:
Share directory derived from client executing carry order carry to server-side;
When receiving test command, operational word is determined according to the test command;
The corresponding operation of the operational word is executed in the share directory, and calculates the time delay that the operational word calls the library lib;
The time threshold is obtained from the server-side, and judges whether the time delay is more than time threshold;
If so, exporting the attribute information of the operational word;Wherein, the attribute information includes calling function information, calling lib Library information, catalogue id, call result information, call Delay at least one of.
2. the method according to claim 1, wherein obtained from the server-side time threshold it Before, further include:
Configuration file including time threshold setting command is sent to the server-side, so that the server-side is restarted Ganesha service reads the configuration file and obtains the time threshold setting command, and executes the time threshold setting life Order is configured the time threshold.
3. the method according to claim 1, wherein obtained from the server-side time threshold it Before, further include:
When receiving the ganesha script of input, the link order in the ganesha script is sent to the service End, so that the server-side establishes NFS-Ganesha file system and D-Bus interprocess communication backstage according to the link order Connection;
Time threshold parameter in the ganesha script is sent to by D-Bus interprocess communication backstage described NFS-Ganesha file system, so that the NFS-Ganesha file system is corresponding according to the time threshold parameter setting Time threshold.
4. the method according to claim 1, wherein also being wrapped when the time delay is less than the time threshold It includes:
The operational word is recorded as the operational word that test passes through.
5. a kind of system of NFS operation word performance test, which is characterized in that including:
Carry module, for share directory derived from client executing carry order carry to server-side;
Determining module, for determining operational word according to the test command when receiving test command;
Execution module for executing the corresponding operation of the operational word in the share directory, and calculates the operational word tune With the time delay in the library lib;
Obtain and judgment module, for obtaining the time threshold from the server-side, and judge the time delay whether be more than Time threshold;
Output module, for exporting the attribute information of the operational word when the time delay is more than the time threshold;Wherein, The attribute information includes calling function information, calling the library lib information, catalogue id, call result information, call in Delay At least one of.
6. system according to claim 5, which is characterized in that further include:
First sending module, for will include that the configuration file of time threshold setting command is sent to the server-side, so that institute When stating server-side and restart ganesha service and read the configuration file and obtain the time threshold setting command, and executing described Between threshold value setting command the time threshold is configured.
7. system according to claim 5, which is characterized in that further include:
Second sending module, for when receiving the ganesha script of input, the connection in the ganesha script to be referred to Order is sent to the server-side, so that the server-side establishes NFS-Ganesha file system and D- according to the link order The connection on Bus interprocess communication backstage;
Third sending module, for the time threshold parameter in the ganesha script to be passed through the D-Bus interprocess communication Backstage is sent to the NFS-Ganesha file system, so that the NFS-Ganesha file system is according to the time threshold The corresponding time threshold of parameter setting.
8. system according to claim 5, which is characterized in that further include:
Logging modle, for the operational word to be recorded as the operational word that test passes through.
9. a kind of NFS operation word performance test apparatus, which is characterized in that including:
Memory, for storing computer program;
Processor realizes the NFS operation word performance as described in any one of Claims 1-4 when for executing the computer program The step of method of test.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes that NFS operation word performance is surveyed as described in any one of Claims 1-4 when the computer program is executed by processor The step of method of examination.
CN201810843172.3A 2018-07-27 2018-07-27 A kind of method, system and the equipment of the performance test of NFS operation word Pending CN108920381A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810843172.3A CN108920381A (en) 2018-07-27 2018-07-27 A kind of method, system and the equipment of the performance test of NFS operation word

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810843172.3A CN108920381A (en) 2018-07-27 2018-07-27 A kind of method, system and the equipment of the performance test of NFS operation word

Publications (1)

Publication Number Publication Date
CN108920381A true CN108920381A (en) 2018-11-30

Family

ID=64417076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810843172.3A Pending CN108920381A (en) 2018-07-27 2018-07-27 A kind of method, system and the equipment of the performance test of NFS operation word

Country Status (1)

Country Link
CN (1) CN108920381A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113992657A (en) * 2021-10-26 2022-01-28 超越科技股份有限公司 Shared storage building method, device and medium based on cloud platform
CN114448823A (en) * 2022-01-27 2022-05-06 苏州浪潮智能科技有限公司 NFS service testing method and system and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070180441A1 (en) * 2005-12-23 2007-08-02 Yong Ding Method and system for avoidance of software conflict
WO2011103729A1 (en) * 2010-02-25 2011-09-01 中兴通讯股份有限公司 Method for registering, canceling self-defined shell program and corresponding system
CN107506292A (en) * 2017-07-07 2017-12-22 郑州云海信息技术有限公司 The automated testing method of random write time delay under a kind of non-homogeneous catalogue of multistage
CN107577578A (en) * 2017-09-15 2018-01-12 郑州云海信息技术有限公司 Count method, apparatus, equipment and the storage medium of NFS operation word time delay

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070180441A1 (en) * 2005-12-23 2007-08-02 Yong Ding Method and system for avoidance of software conflict
WO2011103729A1 (en) * 2010-02-25 2011-09-01 中兴通讯股份有限公司 Method for registering, canceling self-defined shell program and corresponding system
CN107506292A (en) * 2017-07-07 2017-12-22 郑州云海信息技术有限公司 The automated testing method of random write time delay under a kind of non-homogeneous catalogue of multistage
CN107577578A (en) * 2017-09-15 2018-01-12 郑州云海信息技术有限公司 Count method, apparatus, equipment and the storage medium of NFS operation word time delay

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
DIRKEDDELBUETTEL: "《Rcpp:R与C++的无缝整合》", 1 December 2015, 西安交通大学出版社 *
NIELS OLE著,史彦斌译: "《多模可用性》", 1 June 2018, 国防工业出版社 *
刘文刚: "《嵌入式Linux操作系统原理与应用 第3版》", 30 June 2017, 北京航空航天大学出版社 *
叶晟: "《Linux服务器配置与管理项目化教程》", 31 March 2015, 中国铁道出版社 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113992657A (en) * 2021-10-26 2022-01-28 超越科技股份有限公司 Shared storage building method, device and medium based on cloud platform
CN113992657B (en) * 2021-10-26 2024-04-12 超越科技股份有限公司 Cloud platform-based shared storage construction method, equipment and medium
CN114448823A (en) * 2022-01-27 2022-05-06 苏州浪潮智能科技有限公司 NFS service testing method and system and electronic equipment
CN114448823B (en) * 2022-01-27 2023-08-15 苏州浪潮智能科技有限公司 NFS service testing method and system and electronic equipment

Similar Documents

Publication Publication Date Title
USRE49486E1 (en) System and method for tracking web interactions with real time analytics
CN105760286B (en) Application database dynamic property detection method and detection device
US8984125B2 (en) Computer program, method, and information processing apparatus for analyzing performance of computer system
EP1386240B1 (en) Synthetic transaction monitor
CN109034993A (en) Account checking method, equipment, system and computer readable storage medium
CN105279087B (en) Apply method of testing and test system in test software
US20020174421A1 (en) Java application response time analyzer
CN109086410A (en) The processing method and system of streaming mass data
BRPI0620640A2 (en) data collection method and apparatus for characterizing http session workloads
CN108920364A (en) Software defect positioning method, device, terminal and computer readable storage medium
CN108073506A (en) Test method and device
CN105989140B (en) A kind of data block processing method and equipment
US7363368B2 (en) System and method for transaction recording and playback
CN110428153A (en) Message polymerization and device
CN108920381A (en) A kind of method, system and the equipment of the performance test of NFS operation word
Bai et al. What to discover before migrating to the cloud
CN104702463B (en) A kind of method, apparatus and system that more computer rooms bypass with test
CN103248511B (en) A kind of analysis methods, devices and systems of single-point service feature
WO2016086784A1 (en) Method, apparatus and system for collecting webpage data
WO2022088809A1 (en) Method and system for determining interval time for testing servers, and device and medium
CN109257230A (en) A kind of Log Administration System and method of semiconductor memory burn-in test
CN106326280A (en) Data processing method, apparatus and system
CN109214189B (en) Method, device, storage medium and electronic equipment for identifying program bugs
CN109144669A (en) The method for testing pressure and system of NAS virtual machine system under a kind of MCS system
Singh et al. Hierarchical multi-log cloud-based search engine

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181130