The content of the invention
The present invention provides a kind of method assessed transmission performance, system and equipment, to solve in the prior art
The multiple logical resources consumption of carry are big in existing whole transmission performance assessment equipment, the RTL devices of algorithm complexity, transmission performance
The problem of simulation velocity of assessment equipment is low.
The embodiment of the present invention provides a kind of equipment for generating transmission request, including:
Validator, read-write monitor is sent to for generating transmission request, and by the transmission request;
Monitor is read and write, at least one transmission request received to be placed in data file, so as to passing
Transmission performance is assessed in transmission request of the assessment equipment that defeated performance is assessed in the data file.
Since the transmission that the embodiment of the present invention produces validator asks to store in the form of data file, easy to comment
Estimate transmission request of the equipment in data file to assess transmission performance.
It is preferred that the equipment of the generation transmission request further includes:
Data current density compressor reducer, in the data file the transmission ask request transmission time and/
Or the data manipulation time of the transmission request modifies, to improve the transmitting efficiency that request is transmitted in the data file.
Since equipment of the embodiment of the present invention for generation transmission request provides a data current density compressor reducer, by making
The request transmission time and/or data manipulation time asked with data current density compressor reducer the transmission in data file are repaiied
Change, the data volume in the unit interval can be increased, easy to carry out data stream compression according to actual conditions, verify the optimal effect of system
Rate.
It is preferred that the data current density compressor reducer is specifically used for:
If the request transmission time asked the transmission in the data file is modified, by the data file
In each two sending time it is adjacent transmission request request transmission time time interval shorten;And/or
If the data manipulation time asked the transmission in the data file modifies, and the transmission request
To read transmission request, then the data manipulation time is the data read-out time, when each two in the data file is sent
Between the time interval of data read-out time of adjacent reading transmission request shorten;And/or
If the data manipulation time asked the transmission in the data file modifies, and the transmission request
To write transmission request, then the data manipulation time is Data writing time, when each two in the data file is sent
Between the time interval of the adjacent Data writing time for writing transmission request shorten.
The request hair for being asked the adjacent transmission of sending time due to the data current density compressor reducer in the embodiment of the present invention
The time is sent to shorten, and/or by the data read-out time of the adjacent reading transmission request of sending time and/or sending time is adjacent writes
The Data writing time of transmission request shortens, and then shortens the sending time of whole data file.
It is preferred that the data file is the file of plain text.
An embodiment of the present invention provides a kind of assessment equipment assessed transmission performance, which includes:
Loader is read and write, the data file of transmission request is included for reading, by the transmission in the data file
Request is sent to read write drive, wherein the transmission request is the request for being assessed transmission performance;
Read write drive, sends out for requesting to generate bus signals according to the transmission received, and to system bus arbiter
Send the bus signals;
System bus arbiter, for being transmitted the arbitration of order according to the bus signals that receive, and to institute
State storage control and send the bus signals after arbitration;
Storage control, reads or writes for carrying out data to memory according to the bus signals after the arbitration received
Operation;
Transmission performance monitor, for the storage control to memory carry out data read or write when, to institute
The transmission performance for stating storage control is assessed.
Since the embodiment of the present invention has used logic to consume small read-write loader and read write drive, pass through what is received
Data file, complete reproduction is asked by transmission, so that solve the problems, such as that the consumption of conventional transmission Performance Evaluation apparatus logic is big,
And then improve the simulation velocity of system.
It is preferred that the assessment equipment includes at least one read-write loader and at least one read write drive, the reading
Write loader and the read write drive corresponds, and the read-write loader is connected with the corresponding read write drive.
It is preferred that the read-write loader is specifically used for:
If current time is no earlier than the request transmission time of the transmission request, the transmission request is sent to read-write
Driver;
If current time is earlier than the request transmission time that the transmission is asked, when current time please equal to the transmission
The request transmission time asked, read write drive is sent to by the transmission request.
Judge whether that initiating transmission asks according to current system real-time time due to reading and writing loader in the embodiment of the present invention,
Control is sent easy to transmit request.
It is preferred that the assessment equipment further includes:Central processing unit;
Central processing unit, for when needing to send transmission request to the storage control, directly being controlled to the storage
Device processed sends transmission request.
It is preferred that the storage control is specifically used for:
If the transmission is asked to read transmission request, transmitting request according to the reading is read, and returns to reading
Operating result;
If the transmission request is to write transmission request, transmission request progress write operation is write according to described, and return to write operation
As a result.
It is preferred that the data file is the file of plain text.
The embodiment of the present invention provides a kind of system assessed transmission performance, including:The equipment of generation transmission request
And assessment equipment;
Validator in the equipment of generation transmission request, is sent to for generating transmission request, and by the transmission request
Read and write monitor;Received at least one transmission request is placed in data file by the read-write monitor;
Read-write loader in assessment equipment, the data file of transmission request is included for reading, by the data file
In the transmission request be sent to read write drive, wherein it is described transmission request be for transmission performance is assessed please
Ask;The read write drive requests to generate bus signals according to the transmission received, and to described in system bus arbiter transmissions
Bus signals;The system bus arbiter is transmitted the arbitration of order according to the bus signals received, and to institute
State storage control and send the bus signals after arbitration;The storage control is believed according to the bus after the arbitration received
Number to memory carry out data read or write;Transmission performance monitor carries out data reading in the storage control to memory
Or during write operation, the transmission performance of the storage control is assessed.
A kind of method for generating transmission request provided in an embodiment of the present invention, including:
Validator generation transmission request in the equipment of generation transmission request, and the transmission request is sent to generation and is passed
Read-write monitor in the equipment of defeated request;
At least one transmission request received is placed in data file by the read-write monitor, so as to transmission
Transmission performance is assessed in transmission request of the assessment equipment that performance is assessed in the data file.
It is preferred that this method further includes:
Data current density compressor reducer in the equipment of generation transmission request asks the transmission in the data file
Request transmission time and/or it is described transmission request the data manipulation time modify, passed with improving in the data file
The transmitting efficiency of defeated request.
It is preferred that when the data current density compressor reducer sends the request that the transmission in the data file is asked
Between and/or it is described transmission request the data manipulation time modify, to shorten the sending time of the data file, including:
If the request transmission time asked the transmission in the data file is modified, the data current density
The time interval for the request transmission time that compressor reducer asks the adjacent transmission of each two sending time in the data file
Shorten;And/or
If the data manipulation time asked the transmission in the data file modifies, and the transmission request
To read transmission request, then the data manipulation time is the data read-out time, and the data current density compressor reducer is by the data
The time interval of the data read-out time of the adjacent reading transmission request of each two sending time in file shortens;And/or
If the data manipulation time asked the transmission in the data file modifies, and the transmission request
To write transmission request, then the data manipulation time is Data writing time, and the data current density compressor reducer is by the data
The time interval that the Data writing time asked is transmitted in adjacent the writing of each two sending time in file shortens.
A kind of appraisal procedure assessed transmission performance provided in an embodiment of the present invention, including:
Read-write loader in assessment equipment reads the data file for including transmission request, by the institute in the data file
The read write drive that transmission request is sent in assessment equipment is stated, wherein the transmission request is to be used to comment transmission performance
The request estimated;
The read write drive requests to generate bus signals according to the transmission received, and is sent out to system bus arbiter
Send the bus signals;
The system bus arbiter is transmitted the arbitration of order according to the bus signals received, and to institute
State storage control and send the bus signals after arbitration;
The storage control according to the bus signals after the arbitration received to the memory in assessment equipment into
Row data read or write;
Transmission performance monitor in assessment equipment carries out data read or write in the storage control to memory
When, the transmission performance of the storage control is assessed.
It is preferred that the read-write loader reads the data file for including transmission request, by the institute in the data file
State transmission request and be sent to read write drive, wherein the transmission request is the request for being assessed transmission performance, bag
Include:
If current time is no earlier than the request transmission time of the transmission request, the loader of reading and writing is by the transmission
Request is sent to read write drive;
If current time is earlier than the request transmission time that the transmission is asked, wait current time please equal to the transmission
The transmission request is sent to read write drive by the request transmission time asked, the read-write loader.
It is preferred that the storage control carries out data reading according to the bus signals after the received arbitration to memory
Or write operation, including:
If the transmission is asked to read transmission request, the memory transmits request according to the reading and is read,
And return to read operation result;
If the transmission request is writes transmission request, the memory writes transmission request according to and carries out write operation, and
Return to write operation result.
Generation of embodiment of the present invention transmission request end is placed in request is transmitted in data file, and assessment end is according to data file
In transmission request, using logic consume it is less read-write loader and read write drive reappear transmission request, so as to reduce
The logic consumption of whole system, improves the simulation velocity of system.
Embodiment
The equipment end that the embodiment of the present invention is asked in generation transmission, validator generation transmission request, and please by the transmission
Ask and be sent to read-write monitor;At least one transmission request received is placed in data file by read-write monitor, with
Transmission performance is assessed in transmission request of the assessment equipment for making to assess transmission performance in the data file;
At assessment equipment end, read-write loader reads the data file for including transmission request, by the transmission in the data file
Request is sent to read write drive, wherein the transmission request is the request for being assessed transmission performance;Read-write driving
Device requests to generate bus signals according to the transmission received, and sends the bus signals to system bus arbiter;System is total
Line arbiter is transmitted the arbitration of order according to the bus signals received, and secondary to storage control transmission
Bus signals after sanction;Storage control root carries out data reading according to the bus signals after the arbitration received to memory
Or write operation;Transmission performance monitor is deposited when the storage control carries out data read or write to memory to described
The transmission performance of storage controller is assessed.Passed since the embodiment of the present invention provides generation for a transmission performance assessment system
The equipment and assessment equipment of defeated request, thus greatly reduce the logical resource consumption of whole transmission performance assessment, Jin Erti
The high simulation velocity of transmission performance assessment.
Transmission performance of embodiment of the present invention assessment system assesses the transmission performance of storage control, storage control
Transmission performance can be the bandwidth availability ratio of storage control or other transmission performances that can reflect storage control
Parameter.
The embodiment of the present invention is described in further detail with reference to Figure of description.
As shown in Fig. 2, the equipment of the generation transmission request of the embodiment of the present invention one includes:
Validator 200, read-write monitor is sent to for generating transmission request, and by the transmission request;
Monitor 201 is read and write, at least one transmission request received to be placed in data file, so that right
Transmission performance is assessed in transmission request of the assessment equipment that transmission performance is assessed in the data file.
Validator described in the embodiment of the present invention can be:Graphics processor, Video Decoder, video encoder and display
Engine etc..
In specific implementation process, the transmission request being placed in data is divided into two kinds, and one kind is to read transmission request, a kind of
It is to write transmission request.The file memory format of above two transmission request in the data file is distinct.With AXI
Exemplified by (Advanced eXtensible Interface, Advanced extensible Interface) bus, the read operation of the system bus and write
Operation is separated, and read operation and the respective command line of write operation are also separated.It has recorded AXI transmission in the data file
Some characteristics needed, due to reading transmission and writing the difference of transport-type, the information of data file storage is also different, such as table 1
The reading transmission request for showing AXI buses and the file memory format for writing transmission request, as can be known from Table 1, read transmission request
File memory format has 8 projects, and that writes transmission request has 10 projects;The 1-2 of the file memory format of transmission request is read,
4-7 project is identical with transmission request is write, they refer respectively to make id (identity) numbers, instruct and initiate the time (to ask to send
Time), IA, instruction bit wide, instruction burst (burst transfer) transport-types and instruction burst length, and each item
One data of mesh demand;3rd project of reading transmission request is reading instruction type, and the 3rd project for writing transmission request is to write finger
Make type, each one data of project demands;The 8th project for reading transmission request is data return times (during data read-out
Between), it is to write data to write the 8th project that transmission is asked, and for the 9th project to write Strobe (write-in gating), the 10th is to write number
According to time (Data writing time), and one group of data of each project demands.
Table 1
Such as:Start during graphics processor 0 second, one is have issued after 10000 nanoseconds and reads transmission request, at this moment, with figure
The read-write monitor that processor is connected receives the reading transmission request from graphics processor, by this reading transmission request according to such as
File memory format described in table 1 is placed in data file, and the request transmission time of reading transmission request was 10000 nanoseconds.
In another example:Start during Video Decoder 0 second, one have issued after 25000 nanoseconds and writes transmission request, at this moment, with regarding
The read-write monitor that frequency decoder is connected receive from Video Decoder writing transmission request, by this write transmission request according to
File memory format as described in Table 1 is placed in data file, which was 25000 nanoseconds.
In another example:Start during video encoder 0 second, one have issued after 30000 nanoseconds and reads transmission request, at this moment, with regarding
The read-write monitor that frequency encoder is connected receive from video encoder reading transmission request, by this reading transmission request according to
File memory format as described in Table 1 is placed in data file, and the request transmission time of reading transmission request was 30000 nanoseconds.
Also for example:Display engine starts when needing 0 second, and one is have issued after 17000 nanoseconds and reads transmission request, at this moment, with showing
Show that the read-write monitor that engine is connected receives the reading transmission request from display engine, by this reading transmission request according to such as table
File memory format described in 1 is placed in data file, and the request transmission time of reading transmission request was 17000 nanoseconds.
It should be noted that the particular content of above two request is not limited to the content listed by table 1, the content of table 1
It is merely illustrative, the content in table 1 can be updated as needed for above two request, for example increase in other
Hold and/or delete the content in table 1, the above two request after renewal is equally applicable the embodiment of the present invention.
In order to further improve the data volume of transmitted per unit time, can also to transmission request request transmission time and
The data manipulation time modifies.Based on this, a kind of preferably mode is:The transmission request equipment of the embodiment of the present invention can be with
Further comprise:
Data current density compressor reducer 202, for the request transmission time asked the transmission in the data file
And/or the data manipulation time of the transmission request modifies, to improve the transmission effect that request is transmitted in the data file
Rate.
The embodiment of the present invention is by changing the request transmission time of transmission request and/or the data manipulation of the transmission request
Time, to shorten the sending time of data file, so as to improve the transmitting efficiency that request is transmitted in data file.
After the embodiment of the present invention is compressed the time interval between data flow by the data current density compressor reducer, energy
Enough increase the data volume in the unit interval, assessment equipment is according to the compressed data text that can reach system maximum throughput
Part, with regard to system optimal efficiency verification can be carried out.
Request transmission time and/or data manipulation time of the data current density compressor reducer of the embodiment of the present invention to transmission request
Modification, it is specific that to change operation can generate before transmission request is placed on data file to modify in validator,
Can be that the transmission request is placed in after data file operation of modifying again in read-write monitor.
If modification operation can generate before transmission request is placed on data file to modify in validator, scheme
Data current density compressor reducer 202 in 2 is between validator 200 and read-write monitor 201.
It is preferred that the data current density compressor reducer 202 is specifically used for:
If the request transmission time asked the transmission in the data file is modified, by the data file
In each two sending time it is adjacent transmission request request transmission time time interval shorten;And/or
If the data manipulation time asked the transmission in the data file modifies, and the transmission request
To read transmission request, then the data manipulation time is the data read-out time, when each two in the data file is sent
Between the time interval of data read-out time of adjacent reading transmission request shorten;And/or
If the data manipulation time asked the transmission in the data file modifies, and the transmission request
To write transmission request, then the data manipulation time is Data writing time, when each two in the data file is sent
Between the time interval of the adjacent Data writing time for writing transmission request shorten.
Such as:Data current density compressor reducer reads data file, is asked in the data file comprising four transmission, wherein the
One transmission request is reads transmission request, its request transmission time was 30010 nanoseconds, and the data read-out time was 30040 nanoseconds;
Second transmits request to write transmission request, its request initiation time was 30030 nanoseconds, and Data writing time is received for 30060
Second;3rd transmission is asked to read transmission request, its request initiation time was 30050 nanoseconds, and the data read-out time is 30080
Nanosecond;4th transmission request is to write transmission request, its request initiation time was 30070 nanoseconds, and Data writing time is
30100 nanoseconds.When data current density level specific pressure contracting device receives the data file, according to current setting compression factor, by second
It was 30020 nanoseconds that time modification is initiated in the request of transmission request, and the request of the 3rd transmission request is initiated time modification is
30040 nanoseconds, it was 30060 nanoseconds that the request of the 4th transmission request is initiated time modification;By the number of the 3rd transmission request
It was revised as 30070 nanoseconds according to readout time;The Data writing time of 4th transmission request was revised as 30090 nanoseconds.By
After data current density level specific pressure contracting device handles data file, the sending time of whole data file shortens.
It is preferred that the data file is the file of plain text.
As shown in Figure 3A, the assessment equipment that the embodiment of the present invention two assesses transmission performance includes:
Loader 300 is read and write, the data file of transmission request is included for reading, by the biography in the data file
Defeated request is sent to read write drive, wherein the transmission request is the request for being assessed transmission performance;
Read write drive 301, for requesting to generate bus signals according to the transmission that receives, and to system bus
Arbiter sends the bus signals;
System bus arbiter303, for being transmitted the arbitration of order according to the bus signals received, and
The bus signals after arbitration are sent to the storage control;
Storage control 304, for carrying out data reading to memory according to the bus signals after the arbitration received
Or write operation;
Transmission performance monitor 305, for the storage control to memory carry out data read or write when, it is right
The transmission performance of the storage control is assessed.
The data file that read-write loader in assessment equipment of the embodiment of the present invention is read is respectively from generation transmission please
Corresponding read-write monitor in the equipment asked, a read-write monitor correspond to a read-write loader.
Such as:The equipment one of 4 generation transmission requests shares 4 read-write monitors, and corresponding transmission is asked generator
The transmission request that part produces is placed in corresponding data file, which is respectively data file 1, data file
2nd, data file 3, data file 4, the corresponding read-write loader of assessment equipment reads this 4 data files, in data file
Earliest transmission request carries out judgement operation, judges whether the request transmission time for reaching transmission request.
In the embodiment of the present invention, read-write loader have read a series of transmission requests from data file, be placed on one
In a instruction pipeline, when this instruction pipeline is full, block the instruction pipeline, read-write loader is no longer read from data file
Transmission request.When read-write loader has often handled a transmission request, next transmission request is taken out from instruction pipeline and is carried out
Processing, instruction pipeline just vacate the new transmission request to be received such as a capacity.
Such as:A built-in fifo is used to store the transmission request received inside read-write loader, when fifo is full,
Block pipeline, transmission request is read no longer from data file.Read-write loader has handled a transmission request, is taken from fifo
Go out next transmission request to be handled, fifo then vacates the new transmission request to be received such as a capacity.
System bus described in the embodiment of the present invention can be:AXI, AHB and OCP etc..
It is preferred that the read-write loader 300 is specifically used for:
If current time is no earlier than the request transmission time of the transmission request, the transmission request is sent to read-write
Driver;
If current time is earlier than the request transmission time that the transmission is asked, when current time please equal to the transmission
The request transmission time asked, read write drive is sent to by the transmission request.
Such as:Assessment equipment started at 0 second, and read-write loader takes out a transmission request, the transmission from instruction pipeline
Ask to read transmission request, its transmission request initiation time was 50000 nanoseconds, and real-time time was 50050 nanoseconds at this time, in real time
Time is later than transmission request and initiates the time, and at this moment, reading transmission request is sent to read write drive by read-write loader immediately, is read
Write driver initiates to read transmission request by system bus arbiter to memory.Read transmission request and follow IA, instruction
Bit wide, instruct these features of burst transport-types, is finally controlled according to each data return times of record and reads ready (preparations
Signal is sent well), and system real-time time is no earlier than data return times at this time, and ready signals remain height.
In another example:Assessment equipment started at 0 second, and read-write loader takes out a transmission request, the biography from instruction pipeline
Defeated request is to read transmission request, its transmission request initiation time was 40000 nanoseconds, and real-time time was 35000 nanoseconds at this time, real
When the time ask to initiate the time earlier than transmission, at this moment, read-write loader do etc. it is to be operated, when real-time time was 40000 nanosecond,
Reading transmission request is sent to read write drive by read-write loader immediately, read write drive by system bus arbiter to
Memory initiates to read transmission request.Transmission request is read to follow IA, instruction bit wide, instruct these spies of burst transport-types
Sign, finally controls according to each data return times of record and reads sending for ready signals, system real-time time is earlier than number at this time
According to time of return, ready signals drag down, and until system real-time time is equal to data return times, then ready signals are drawn high.
In another example:Assessment equipment started at 0 second, and read-write loader takes out a transmission request, the biography from instruction pipeline
Defeated request is to write transmission request, its transmission request initiated the time as 56000 seconds, and real-time time is 56070 seconds at this time, when real-time
Between be later than transmission request and initiate the time, reading transmission request is sent to read write drive by read-write loader immediately, read-write driving
Device initiates to write transmission request immediately by system bus arbiter to memory.Write transmission request and follow IA, command bits
Wide, instruction burst transport-types, write these features of strobe, finally writes data time control according to each data of record
The write-in of data, system real-time time, which is no earlier than, at this time writes data time, writes data immediately.
Also for example:Assessment equipment started at 0 second, and read-write loader takes out a transmission request, the biography from instruction pipeline
Defeated to ask to write transmission request, its transmission request initiation time was 78000 nanoseconds, and real-time time is 77910 seconds at this time, in real time
Time asks to initiate the time earlier than transmission, and at this moment, read-write loader does etc. to be operated, when real-time time be 78000 nanoseconds, reads and writes
Reading transmission request is sent to read write drive by loader immediately, and read write drive is by system bus arbiter to storage
Device initiates to write transmission request.Write transmission request follow IA, instruction bit wide, instruction burst transport-types, write strobe this
A little features, finally according to each data of record write data time control data write-in, at this time system real-time time earlier than
Data time is write, useful signal is write and drags down, writes data time until system real-time time is equal to, then useful signal will be write and drawn high.
It is preferred that the storage control 304 is specifically used for:
If the transmission is asked to read transmission request, transmitting request according to the reading is read, and returns to reading
Operating result;
If the transmission request is to write transmission request, transmission request progress write operation is write according to described, and return to write operation
As a result.
It is preferred that the assessment equipment of the embodiment of the present invention can further include:
Central processing unit 302, for need to the storage control send transmission request when, directly to the storage
Controller sends transmission request.
Since the central processing unit 302 of the embodiment of the present invention only needs to perform above-mentioned function, so in order to further less
The logic consumption of assessment equipment, the central processing unit 302 of the embodiment of the present invention can be the simple entity central processing of function
Device, as long as can realize that directly sending transmission to the memory please when needing to send transmission request to the memory
The processor asked can serve as central processing unit 302;It can also be the central processing model using software programming.
It is preferred that the assessment equipment includes at least one read-write loader and at least one read write drive, the reading
Write loader and the read write drive corresponds, and the read-write loader is connected with the corresponding read write drive,
Specifically it may refer to Fig. 3 B.
In force, assessment equipment includes how many a read-write loaders and how many a read write drives, can be as needed
The transmission request equipment being connected with the assessment equipment determines.For example need the equipment that 4 generation transmission are asked and set with assessment
Standby connection, then need 4 read-write loaders and 4 read write drives, specifically may refer to Fig. 3 C.
It is preferred that the embodiment of the present invention includes storage control and the assessment equipment of DDR specifically may refer to Fig. 3 B.
Wherein, storage control, the transmission for reception system bus arbiter and central processing unit is asked, to read-write
Order is adjusted optimization, and carries out reading and writing data with DDR by the sequential of DDR and interact.
DDR, the storage for data.When transmission request is write in execution data are stored by address;Transmission request is read performing
When, then the data of memory space are taken out by address and be sent to storage control.
Described in the embodiment of the present invention generation transmission request equipment can with the data flow of analog access storage control,
The equipment assessed transmission performance comments the DDR memory under true application scenarios and system bus bandwidth utilization rate
Estimate, so that in the data throughout of product chips exploitation preliminary analysis framework and the utilization ratio and performance of system, mould as early as possible
The data bit width and cooperation for fitting planning hardware acceleration device are arranged in pairs or groups, so as to avoid the estimation carelessness in the planning stage, are caused
The system performance deficiency after chip is returned.
It is preferred that the data file is the file of plain text.
As shown in figure 4, the system that the embodiment of the present invention five assesses transmission performance, including:
The validator in the equipment of request is transmitted in the equipment 400 of generation transmission request, generation, for generating transmission request,
And the transmission request is sent to read-write monitor;The read-write monitor puts received at least one transmission request
In data file;
Assessment equipment 401, the read-write loader in assessment equipment, the data file of transmission request is included for reading, will
Transmission request in the data file is sent to read write drive, wherein the transmission request is used for transmission performance
The request assessed;The read write drive requests to generate bus signals according to the transmission received, and to system bus
Arbiter sends the bus signals;The system bus arbiter is transmitted suitable according to the bus signals received
The arbitration of sequence, and send the bus signals after arbitration to the storage control;The storage control is according to the institute received
State the bus signals after arbitration and data read or write is carried out to memory;Transmission performance monitor is in the storage control pair
When memory carries out data read or write, the transmission performance of the storage control is assessed.
The embodiment of the present invention is independent by the equipment of multiple generation transmission requests as shown in Figure 4, is imitated equivalent to by tradition
Rate assessment equipment splits into several mini systems, accelerates simulation velocity.
Based on same inventive concept, the method for generation transmission request is additionally provided in the embodiment of the present invention and to transmission performance
The appraisal procedure assessed, since the corresponding equipment of method of the generation transmission request of Fig. 5 passes for generation of the embodiment of the present invention
The equipment of defeated request, the corresponding equipment of the appraisal procedure assessed transmission performance of Fig. 6 are the embodiment of the present invention to transmission
The assessment equipment that performance is assessed, therefore the implementation of equipment of the embodiment of the present invention may refer to the implementation of system, repeat part
Repeat no more.
As shown in figure 5, the method for the generation transmission request of the embodiment of the present invention six includes:
Validator generation transmission request in step 500, the equipment of generation transmission request, and the transmission request is sent
To the read-write monitor in the equipment of generation transmission request;
At least one transmission request received is placed in data file by step 501, the read-write monitor, with
Transmission performance is assessed in transmission request of the assessment equipment for making to assess transmission performance in the data file.
It is preferred that this method further includes:
Data current density compressor reducer in the equipment of generation transmission request asks the transmission in the data file
Request transmission time and/or it is described transmission request the data manipulation time modify, passed with improving in the data file
The transmitting efficiency of defeated request.
It is preferred that when the data current density compressor reducer sends the request that the transmission in the data file is asked
Between and/or it is described transmission request the data manipulation time modify, to shorten the sending time of the data file, including:
If the request transmission time asked the transmission in the data file is modified, the data current density
The time interval for the request transmission time that compressor reducer asks the adjacent transmission of each two sending time in the data file
Shorten;And/or
If the data manipulation time asked the transmission in the data file modifies, and the transmission request
To read transmission request, then the data manipulation time is the data read-out time, and the data current density compressor reducer is by the data
The time interval of the data read-out time of the adjacent reading transmission request of each two sending time in file shortens;And/or
If the data manipulation time asked the transmission in the data file modifies, and the transmission request
To write transmission request, then the data manipulation time is Data writing time, and the data current density compressor reducer is by the data
The time interval that the Data writing time asked is transmitted in adjacent the writing of each two sending time in file shortens.
As shown in fig. 6, the appraisal procedure that the embodiment of the present invention seven assesses transmission performance includes:
Read-write loader in step 600, assessment equipment reads the data file for including transmission request, by data text
Transmission request in part is sent to the read write drive in assessment equipment, wherein the transmission request is used for transporting
The request that can be assessed;
Step 601, the read write drive request to generate bus signals according to the transmission received, and to system bus
Arbiter sends the bus signals;
Step 602, the system bus arbiter are transmitted the secondary of order according to the bus signals received
Cut out, and the bus signals after arbitration are sent to the storage control;
Step 603, the storage control are according to the bus signals after the arbitration received in assessment equipment
Memory carries out data read or write;
Transmission performance monitor in step 604, assessment equipment carries out data reading in the storage control to memory
Or during write operation, the transmission performance of the storage control is assessed.
It is preferred that the read-write loader reads the data file for including transmission request, by the institute in the data file
State transmission request and be sent to read write drive, wherein the transmission request is the request for being assessed transmission performance, bag
Include:
If current time is no earlier than the request transmission time of the transmission request, the loader of reading and writing is by the transmission
Request is sent to read write drive;
If current time is earlier than the request transmission time that the transmission is asked, wait current time please equal to the transmission
The transmission request is sent to read write drive by the request transmission time asked, the read-write loader.
It is preferred that the storage control carries out data reading according to the bus signals after the received arbitration to memory
Or write operation, including:
If the transmission is asked to read transmission request, the memory transmits request according to the reading and is read,
And return to read operation result;
If the transmission request is writes transmission request, the memory writes transmission request according to and carries out write operation, and
Return to write operation result.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program
Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more
The computer program production that usable storage medium is implemented on (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or square frame in journey and/or square frame and flowchart and/or the block diagram.These computer programs can be provided
The processors of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices, which produces, to be used in fact
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or
The instruction performed on other programmable devices is provided and is used for realization in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a square frame or multiple square frames.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation
Property concept, then can make these embodiments other change and modification.So appended claims be intended to be construed to include it is excellent
Select embodiment and fall into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
God and scope.In this way, if these modifications and changes of the present invention belongs to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these modification and variations.