Summary of the invention
The invention provides a kind of method, system and equipment that transmission performance is assessed, in order to solve on the whole transmission performance assessment apparatus that exists in prior art the carry RTL device that multiple logical resource consumption is large, algorithm is complicated, the problem that the simulation velocity of transmission performance assessment apparatus is low.
The embodiment of the present invention provides a kind of equipment generating transmission request, comprising:
Validator, for generating transmission request, and sends to read-write monitor by described transmission request;
Read-write monitor, for by receive at least one described in transmission request be placed in data file, transmission performance is assessed according to the transmission request in described data file to make the assessment apparatus to transmission performance is assessed.
The transmission request produced by validator due to the embodiment of the present invention stores with the form of data file, is convenient to assessment apparatus and assesses transmission performance according to the transmission request in data file.
Preferably, the described equipment generating transmission request also comprises:
Data stream density compressor reducer, for modifying to the described request transmission time of transmission request in described data file and/or the data manipulation time of described transmission request, to improve the transmission efficiency transmitting request in described data file.
Because the embodiment of the present invention is that the equipment generating transmission request provides a data current density compressor reducer, by usage data current density compressor reducer, the request transmission time of the transmission request in data file and/or data manipulation time are modified, the data volume in the unit interval can be increased, be convenient to carry out data stream compression according to actual conditions, the optimum efficiency of verification system.
Preferably, described data stream density compressor reducer specifically for:
If modify to the request transmission time of the described transmission request in described data file, the time interval of the request transmission time of transmission request adjacent for every two transmitting times in described data file is shortened; And/or
If modify to the data manipulation time of the described transmission request in described data file, and described transmission request is for reading transmission request, then the described data manipulation time is the data reading time, is shortened in the time interval of reading the data reading time of transmitting request adjacent for every two transmitting times in described data file; And/or
If modify to the data manipulation time of the described transmission request in described data file, and described transmission request is for writing transmission request, then the described data manipulation time is Data writing time, is shortened in the time interval writing the Data writing time of transmission request adjacent for every two transmitting times in described data file.
Because the request transmission time of transmission request adjacent for transmitting time shortens by the data stream density compressor reducer in the embodiment of the present invention, and/or the data reading time of reading request of transmitting adjacent for transmitting time and/or adjacent the writing of transmitting time are transmitted the Data writing time shortening of asking, and then the transmitting time of whole data file is shortened.
Preferably, described data file is the file of plain text.
Embodiments provide a kind of assessment apparatus assessed transmission performance, this assessment apparatus comprises:
Read-write loader, for reading the data file comprising transmission request, the described transmission request in described data file is sent to read write drive, and wherein said transmission request is the request for assessing transmission performance;
Read write drive, for generating bus signals according to the transmission request received, and sends described bus signals to system bus arbiter;
System bus arbiter, for carrying out the arbitration of sending order according to the described bus signals received, and sends the bus signals after arbitration to described memory controller;
Memory controller, for carrying out data read or write according to the bus signals after the described arbitration received to storer;
Transmission performance monitor, for when described memory controller carries out data read or write to storer, assesses the transmission performance of described memory controller.
Little read-write loader and read write drive is consumed because the embodiment of the present invention employs logic, by the data file received, transmission request is reappeared completely, thus solves the large problem of conventional transmission Performance Evaluation apparatus logic consumption, and then improve the simulation velocity of system.
Preferably, described assessment apparatus comprises at least one read-write loader and at least one read write drive, described read-write loader and described read write drive one_to_one corresponding, and described read-write loader connects with corresponding described read write drive.
Preferably, described read-write loader specifically for:
If when current time is no earlier than the request transmission time of described transmission request, described transmission request is sent to read write drive;
If during the request transmission time of current time early than described transmission request, by the time current time equals the request transmission time of described transmission request, and described transmission request is sent to read write drive.
Judge whether to initiate transmission request according to current system real-time time owing to reading and writing loader in the embodiment of the present invention, be convenient to transmit ask to send controlling.
Preferably, this assessment apparatus also comprises: central processing unit;
Central processing unit, for when needs send transmission request to described memory controller, sends transmission request directly to described memory controller.
Preferably, described memory controller specifically for:
If described transmission request is for reading transmission request, reads transmission request carry out read operation according to described, and returning read operation result;
If described transmission request is for writing transmission request, writes transmission request carry out write operation according to described, and returning write operation result.
Preferably, described data file is the file of plain text.
The embodiment of the present invention provides a kind of system assessed transmission performance, comprising: the equipment and the assessment apparatus that generate transmission request;
Generating the validator in the equipment of transmission request, for generating transmission request, and described transmission request being sent to read-write monitor; Described read-write monitor by receive at least one described in transmission request be placed in data file;
Read-write loader in assessment apparatus, for reading the data file comprising transmission request, the described transmission request in described data file is sent to read write drive, and wherein said transmission request is the request for assessing transmission performance; Described read write drive generates bus signals according to the transmission request received, and sends described bus signals to system bus arbiter; Described system bus arbiter carries out the arbitration of sending order according to the described bus signals received, and sends the bus signals after arbitration to described memory controller; Described memory controller carries out data read or write according to the bus signals after the described arbitration received to storer; Transmission performance monitor, when described memory controller carries out data read or write to storer, is assessed the transmission performance of described memory controller.
A kind of method generating transmission request that the embodiment of the present invention provides, comprising:
The validator generated in the equipment of transmission request generates transmission request, and described transmission request is sent to the read-write monitor in the equipment generating transmission request;
Described read-write monitor by receive at least one described in transmission request be placed in data file, transmission performance is assessed according to the transmission request in described data file to make the assessment apparatus to transmission performance is assessed.
Preferably, the method also comprises:
The data stream density compressor reducer generated in the equipment of transmission request is modified to the described request transmission time of transmission request in described data file and/or the data manipulation time of described transmission request, to improve the transmission efficiency transmitting request in described data file.
Preferably, described data stream density compressor reducer is modified to the described request transmission time of transmission request in described data file and/or the data manipulation time of described transmission request, to shorten the transmitting time of described data file, comprising:
If modify to the request transmission time of the described transmission request in described data file, the time interval of the request transmission time of transmission request adjacent for every two transmitting times in described data file shortens by described data stream density compressor reducer; And/or
If modify to the data manipulation time of the described transmission request in described data file, and described transmission request is for reading transmission request, then the described data manipulation time is the data reading time, and the time interval of reading the data reading time of transmitting request adjacent for every two transmitting times in described data file shortens by described data stream density compressor reducer; And/or
If modify to the data manipulation time of the described transmission request in described data file, and described transmission request is for writing transmission request, then the described data manipulation time is Data writing time, and the time interval writing the Data writing time of transmission request adjacent for every two transmitting times in described data file shortens by described data stream density compressor reducer.
A kind of appraisal procedure assessed transmission performance that the embodiment of the present invention provides, comprising:
Read-write loader in assessment apparatus reads the data file comprising transmission request, and the described transmission request in described data file is sent to the read write drive in assessment apparatus, wherein said transmission request is the request for assessing transmission performance;
Described read write drive generates bus signals according to the transmission request received, and sends described bus signals to system bus arbiter;
Described system bus arbiter carries out the arbitration of sending order according to the described bus signals received, and sends the bus signals after arbitration to described memory controller;
Described memory controller carries out data read or write according to the bus signals after the described arbitration received to the storer in assessment apparatus;
Transmission performance monitor in assessment apparatus, when described memory controller carries out data read or write to storer, is assessed the transmission performance of described memory controller.
Preferably, described read-write loader reads the data file comprising transmission request, and the described transmission request in described data file is sent to read write drive, and wherein said transmission request is the request for assessing transmission performance, comprising:
If when current time is no earlier than the request transmission time of described transmission request, described transmission request is sent to read write drive by described read-write loader;
If current time early than described transmission request request transmission time time, wait for current time equal described transmission request request transmission time, described transmission request is sent to read write drive by described read-write loader.
Preferably, described memory controller carries out data read or write according to the bus signals after the described arbitration received to storer, comprising:
If described transmission request is for reading transmission request, described storer according to described in read transmission request and carry out read operation, and return read operation result;
If described transmission request is for writing transmission request, described storer according to described in write transmission request and carry out write operation, and return write operation result.
The embodiment of the present invention generates transmission request end and transmission request is placed in data file, assessment end is according to the transmission request in data file, the read-write loader using logic consumption less and read write drive reappear transmission request, thus reduce the logic consumption of whole system, improve the simulation velocity of system.
Embodiment
The embodiment of the present invention is generating the equipment end of transmission request, and validator generates transmission request, and described transmission request is sent to read-write monitor; Read-write monitor by receive at least one described in transmission request be placed in data file, transmission performance is assessed according to the transmission request in described data file to make the assessment apparatus to transmission performance is assessed; At assessment apparatus end, read-write loader reads the data file comprising transmission request, and the described transmission request in described data file is sent to read write drive, and wherein said transmission request is the request for assessing transmission performance; Read write drive generates bus signals according to the transmission request received, and sends described bus signals to system bus arbiter; System bus arbiter carries out the arbitration of sending order according to the described bus signals received, and sends the bus signals after arbitration to described memory controller; Memory controller root carries out data read or write according to the bus signals after the described arbitration received to storer; Transmission performance monitor, when described memory controller carries out data read or write to storer, is assessed the transmission performance of described memory controller.Because the embodiment of the present invention is that a transmission performance evaluating system provides the equipment and assessment apparatus that generate transmission request, thus greatly reduce the logical resource consumption of whole transmission performance assessment, and then improve the simulation velocity of transmission performance assessment.
The transmission performance of embodiment of the present invention transmission performance evaluating system to memory controller is assessed, the transmission performance of memory controller can be the bandwidth availability ratio of memory controller or other can reflect the parameter of the transmission performance of memory controller.
Below in conjunction with Figure of description, the embodiment of the present invention is described in further detail.
As shown in Figure 2, the equipment of the embodiment of the present invention one generation transmission request comprises:
Validator 200, for generating transmission request, and sends to read-write monitor by described transmission request;
Read-write monitor 201, for by receive at least one described in transmission request be placed in data file, transmission performance is assessed according to the transmission request in described data file to make the assessment apparatus to transmission performance is assessed.
Validator described in the embodiment of the present invention can be: graphic process unit, Video Decoder, video encoder and display engine etc.
In concrete implementation process, the transmission request being placed in data is divided into two kinds, and one reads transmission request, and one writes transmission request.Above-mentioned two kinds of transmission requests file memory format is in the data file distinct.With AXI (AdvancedeXtensibleInterface, Advanced extensible Interface) bus for example, read operation and the write operation of this system bus separate, and read operation and write operation command line separately also separates.Have recorded some characteristics needed of AXI transmission in the data file, owing to reading the difference transmitting and write transport-type, the information that data file stores is also different, the file memory format reading to transmit request and write transmission request for AXI bus as shown in table 1, as can be known from Table 1, the file memory format reading to transmit request has 8 projects, and that writes transmission request has 10 projects; Read the 1-2 of the file memory format transmitting request, 4-7 project is identical with writing transmission request, they are instruction id (identity) number respectively, time (request transmission time), instruction address, instruction bit wide, instruction burst (burst transfer) transport-type and instruction burst length are initiated in instruction, and each project demands data; The 3rd project reading request of transmitting is for reading instruction type, and the 3rd project writing transmission request is write command type, each project demands data; The 8th project reading to transmit request is data return times (the data reading time), write the 8th project of transmission request for writing data, 9th project is for writing Strobe (write gating), 10th for writing data time (Data writing time), and each project demands one group of data.
Table 1
Such as: start during graphic process unit 0 second, have issued one after 10000 nanoseconds and read transmission request, at this moment, the read-write monitor be connected with graphic process unit receives reading to transmit and ask from graphic process unit, this is read transmission request and be placed in data file according to file memory format as described in Table 1, this request transmission time reading to transmit request was 10000 nanoseconds.
Again such as: start during Video Decoder 0 second, have issued one after 25000 nanoseconds and write transmission request, at this moment, the read-write monitor be connected with Video Decoder receives writing to transmit and ask from Video Decoder, this is write transmission request and be placed in data file according to file memory format as described in Table 1, this request transmission time writing transmission request was 25000 nanoseconds.
Again such as: start during video encoder 0 second, have issued one after 30000 nanoseconds and read transmission request, at this moment, the read-write monitor be connected with video encoder receives reading to transmit and ask from video encoder, this is read transmission request and be placed in data file according to file memory format as described in Table 1, this request transmission time reading to transmit request was 30000 nanoseconds.
Also such as: display engine needs to start when 0 second, have issued one after 17000 nanoseconds and read transmission request, at this moment, the read-write monitor be connected with display engine receives reading to transmit and ask from display engine, this is read transmission request and be placed in data file according to file memory format as described in Table 1, this request transmission time reading to transmit request was 17000 nanoseconds.
It should be noted that, the particular content of above-mentioned two kinds of requests is not limited to the content listed by table 1, the content of table 1 just illustrates, above-mentioned two kinds of requests can the content in his-and-hers watches 1 be upgraded as required, such as increase other guide and/or delete the content in table 1, the above-mentioned two kinds of requests after renewal are suitable for the embodiment of the present invention too.
In order to improve the data volume of transmitted per unit time further, can also modify to the request transmission time of transmission request and data manipulation time.Based on this, one preferably mode is: the transmission requesting service of the embodiment of the present invention can further include:
Data stream density compressor reducer 202, for modifying to the described request transmission time of transmission request in described data file and/or the data manipulation time of described transmission request, to improve the transmission efficiency transmitting request in described data file.
The request transmission time of the embodiment of the present invention by amendment transmission request and/or the data manipulation time of described transmission request, to shorten the transmitting time of data file, thus improve the transmission efficiency transmitting request in data file.
After the embodiment of the present invention is compressed the time interval between data stream by this data stream density compressor reducer, the data volume in the unit interval can be increased, assessment apparatus, according to the data file that can reach system maximum throughput after compression, just can carry out the checking of system optimal efficiency.
Embodiment of the present invention data stream density compressor reducer is to the request transmission time of transmission request and/or the amendment of data manipulation time, concrete retouching operation can be generate before transmission request is placed on data file at validator to modify, and also can be operation of modifying again after described transmission request is placed in data file by read-write monitor.
If retouching operation can be generate before transmission request is placed on data file at validator to modify, then the data stream density compressor reducer 202 in Fig. 2 is between validator 200 and read-write monitor 201.
Preferably, described data stream density compressor reducer 202 specifically for:
If modify to the request transmission time of the described transmission request in described data file, the time interval of the request transmission time of transmission request adjacent for every two transmitting times in described data file is shortened; And/or
If modify to the data manipulation time of the described transmission request in described data file, and described transmission request is for reading transmission request, then the described data manipulation time is the data reading time, is shortened in the time interval of reading the data reading time of transmitting request adjacent for every two transmitting times in described data file; And/or
If modify to the data manipulation time of the described transmission request in described data file, and described transmission request is for writing transmission request, then the described data manipulation time is Data writing time, is shortened in the time interval writing the Data writing time of transmission request adjacent for every two transmitting times in described data file.
Such as: data stream density compressor reducer read data files, comprise four transmission requests in this data file, wherein first transmission request is for reading transmission request, and its request transmission time was 30010 nanoseconds, and the data reading time was 30040 nanoseconds; Second transmission request is for writing transmission request, and it was 30030 nanoseconds that the time is initiated in its request, and Data writing time was 30060 nanoseconds; 3rd transmission request is for reading transmission request, and it was 30050 nanoseconds that the time is initiated in its request, and the data reading time was 30080 nanoseconds; Transmission request is write in 4th transmission request, and it was 30070 nanoseconds that the time is initiated in its request, and Data writing time was 30100 nanoseconds.When data stream density geometric ratio compressor reducer receives this data file, according to current setting compression factor, it was 30020 nanoseconds that time modification is initiated in the request of second transmission request, it was 30040 nanoseconds that time modification is initiated in the request of the 3rd transmission request, and it was 30060 nanoseconds that time modification is initiated in the request of the 4th transmission request; The data reading time modification of the 3rd transmission being asked was 30070 nanoseconds; The Data writing time of the 4th transmission request was revised as 30090 nanoseconds.After data stream density geometric ratio compressor reducer processes data file, the transmitting time of whole data file shortens.
Preferably, described data file is the file of plain text.
As shown in Figure 3A, the assessment apparatus that the embodiment of the present invention two pairs of transmission performances are assessed comprises:
Read-write loader 300, for reading the data file comprising transmission request, the described transmission request in described data file is sent to read write drive, and wherein said transmission request is the request for assessing transmission performance;
Read write drive 301, for generating bus signals according to the transmission request received, and sends described bus signals to system bus arbiter;
System bus arbiter303, for carrying out the arbitration of sending order according to the described bus signals received, and sends the bus signals after arbitration to described memory controller;
Memory controller 304, for carrying out data read or write according to the bus signals after the described arbitration received to storer;
Transmission performance monitor 305, for when described memory controller carries out data read or write to storer, assesses the transmission performance of described memory controller.
The data file that read-write loader in embodiment of the present invention assessment apparatus reads comes from the corresponding read-write monitor in the equipment generating transmission request respectively, a corresponding read-write loader of read-write monitor.
Such as: 4 equipment one generating transmission request have 4 read-write monitors, the transmission request that the transmission request generation device of correspondence produces is placed in corresponding data file, the data file of this correspondence is respectively data file 1, data file 2, data file 3, data file 4, the read-write loader that assessment apparatus is corresponding reads this 4 data files, judgement operation is carried out to transmission request the earliest in data file, judges whether the request transmission time reaching this transmission request.
In the embodiment of the present invention, read-write loader have read a series of transmission request from data file, is placed in an instruction pipeline, and when this instruction pipeline is for time full, block this instruction pipeline, read-write loader no longer reads transmission request from data file.When read-write loader often processes a transmission request, from instruction pipeline, take out next transmission request process, instruction pipeline just vacates the new transmission request of a capacity wait-receiving mode.
Such as: a built-in fifo is for storing the transmission request received inside read-write loader, when fifo is full, blocking pipeline, no longer from data file, reading transmission request.Read-write loader processes a transmission request, and from fifo, take out next transmission request process, fifo then vacates the new transmission request of a capacity wait-receiving mode.
System bus described in the embodiment of the present invention can be: AXI, AHB and OCP etc.
Preferably, described read-write loader 300 specifically for:
If when current time is no earlier than the request transmission time of described transmission request, described transmission request is sent to read write drive;
If during the request transmission time of current time early than described transmission request, by the time current time equals the request transmission time of described transmission request, and described transmission request is sent to read write drive.
Such as: assessment apparatus started 0 second time, read-write loader takes out a transmission request from instruction pipeline, this transmission request is for reading transmission request, its transmission request initiation time was 50000 nanoseconds, now real-time time was 50050 nanoseconds, and real-time time is later than the transmission request initiation time, at this moment, this is read transmission request and sends to read write drive by read-write loader immediately, and read write drive initiates to read transmission request to storer by system bus arbiter.Read transmission request and follow instruction address, instruction bit wide, these features of instruction burst transport-type, finally control to read sending of ready (being ready to) signal according to each data return times of record, now system real-time time is no earlier than data return times, and ready signal remains height.
Again such as: assessment apparatus started 0 second time, read-write loader takes out a transmission request from instruction pipeline, this transmission request is for reading transmission request, its transmission request initiation time was 40000 nanoseconds, now real-time time was 35000 nanoseconds, real-time time is early than the transmission request initiation time, at this moment, read-write loader to do etc. to be operated, when real-time time was 40000 nanosecond, this is read transmission request and sends to read write drive by read-write loader immediately, and read write drive initiates to read transmission request to storer by system bus arbiter.Read transmission request and follow instruction address, instruction bit wide, these features of instruction burst transport-type, finally control to read sending of ready signal according to each data return times of record, now system real-time time is early than data return times, ready signal drags down, until system real-time time equals data return times, then ready signal is drawn high.
Again such as: assessment apparatus started 0 second time, read-write loader takes out a transmission request from instruction pipeline, this transmission request is for writing transmission request, its transmission request initiation time is 56000 seconds, now real-time time is 56070 seconds, real-time time is later than the transmission request initiation time, and this is read transmission request and sends to read write drive by read-write loader immediately, and read write drive initiates to write transmission request to storer by system bus arbiter immediately.Write transmission request to follow instruction address, instruction bit wide, instruction burst transport-type, write these features of strobe, finally according to the write writing data time control data of each data of record, now system real-time time is no earlier than and writes data time, writes data immediately.
Also such as: assessment apparatus started 0 second time, read-write loader takes out a transmission request from instruction pipeline, this transmission request is for writing transmission request, its transmission request initiation time was 78000 nanoseconds, now real-time time is 77910 seconds, real-time time is early than the transmission request initiation time, at this moment, read-write loader to do etc. to be operated, when real-time time was 78000 nanoseconds, this is read transmission request and sends to read write drive by read-write loader immediately, and read write drive initiates to write transmission request to storer by system bus arbiter.Write transmission request to follow instruction address, instruction bit wide, instruction burst transport-type, write these features of strobe, finally according to the write writing data time control data of each data of record, now system real-time time is early than writing data time, write useful signal to drag down, until system real-time time equals to write data time, then useful signal will be write draw high.
Preferably, described memory controller 304 specifically for:
If described transmission request is for reading transmission request, reads transmission request carry out read operation according to described, and returning read operation result;
If described transmission request is for writing transmission request, writes transmission request carry out write operation according to described, and returning write operation result.
Preferably, the assessment apparatus of the embodiment of the present invention can further include:
Central processing unit 302, for when needs send transmission request to described memory controller, sends transmission request directly to described memory controller.
Central processing unit 302 due to the embodiment of the present invention only needs to perform above-mentioned functions, so in order to the logic consumption of further less assessment apparatus, the central processing unit 302 of the embodiment of the present invention can be the simple entity central processing unit of function, as long as namely can realize when needs send transmission request to described storer, the processor sending transmission request directly to described storer can as central processing unit 302; Also can be the central transaction module adopting software programming.
Preferably, described assessment apparatus comprises at least one read-write loader and at least one read write drive, described read-write loader and described read write drive one_to_one corresponding, and described read-write loader connects with corresponding described read write drive, specifically can see Fig. 3 B.
In force, assessment apparatus comprises how many read-write loaders and how many read write drives, and the transmission requesting service that can be connected with described assessment apparatus as required determines.Such as need 4 equipment generating transmission request to be connected with assessment apparatus, then need 4 read-write loaders and 4 read write drives, specifically can see Fig. 3 C.
Preferably, the embodiment of the present invention comprise the assessment apparatus of memory controller and DDR specifically can see Fig. 3 B.
Wherein, memory controller, for the transmission request of receiving system bus arbiter and central processing unit, carries out adjusting and optimizing to read-write order, and it is mutual to carry out reading and writing data by the sequential of DDR and DDR.
DDR, for the storage of data.Data are stored by address when transmission request is write in execution; When transmission request is read in execution, then by address, memory controller is delivered in the taking-up of the data of storage space.
The equipment of the generation transmission request described in the embodiment of the present invention can the data stream of analog access memory controller, the equipment that transmission performance is assessed is assessed the DDR storer under true application scenarios and system bus bandwidth utilization factor, thus in the data throughout of product chips exploitation preliminary analysis framework and the utilization ratio of system and performance, the data bit width of simulation as early as possible and a planning hardware acceleration device and cooperation collocation, thus avoid neglecting in the estimation of planning stage, cause system performance after chip is returned not enough.
Preferably, described data file is the file of plain text.
As shown in Figure 4, the system that the embodiment of the present invention five pairs of transmission performances are assessed, comprising:
Generating the equipment 400 of transmission request, generate the validator in the equipment of transmission request, for generating transmission request, and described transmission request being sent to read-write monitor; Described read-write monitor by receive at least one described in transmission request be placed in data file;
Assessment apparatus 401, read-write loader in assessment apparatus, for reading the data file comprising transmission request, the described transmission request in described data file is sent to read write drive, and wherein said transmission request is the request for assessing transmission performance; Described read write drive generates bus signals according to the transmission request received, and sends described bus signals to system bus arbiter; Described system bus arbiter carries out the arbitration of sending order according to the described bus signals received, and sends the bus signals after arbitration to described memory controller; Described memory controller carries out data read or write according to the bus signals after the described arbitration received to storer; Transmission performance monitor, when described memory controller carries out data read or write to storer, is assessed the transmission performance of described memory controller.
The embodiment of the present invention by independent for the equipment of multiple generation transmission request, be equivalent to traditional efficiency assessment apparatus to split into several mini systems, accelerate simulation velocity as shown in Figure 4.
Based on same inventive concept, the method generating transmission request and the appraisal procedure that transmission performance is assessed is additionally provided in the embodiment of the present invention, the equipment corresponding due to the method for the generation transmission request of Fig. 5 is the equipment that the embodiment of the present invention generates transmission request, the equipment that the appraisal procedure assessed transmission performance of Fig. 6 is corresponding is the assessment apparatus that the embodiment of the present invention is assessed transmission performance, therefore the enforcement of embodiment of the present invention equipment see the enforcement of system, can repeat part and repeats no more.
As shown in Figure 5, the method for the embodiment of the present invention six generation transmission request comprises:
Step 500, the validator generated in the equipment of transmission request generate transmission request, and described transmission request is sent to the read-write monitor in the equipment generating transmission request;
Step 501, described read-write monitor by receive at least one described in transmission request be placed in data file, transmission performance is assessed according to the transmission request in described data file to make the assessment apparatus to transmission performance is assessed.
Preferably, the method also comprises:
The data stream density compressor reducer generated in the equipment of transmission request is modified to the described request transmission time of transmission request in described data file and/or the data manipulation time of described transmission request, to improve the transmission efficiency transmitting request in described data file.
Preferably, described data stream density compressor reducer is modified to the described request transmission time of transmission request in described data file and/or the data manipulation time of described transmission request, to shorten the transmitting time of described data file, comprising:
If modify to the request transmission time of the described transmission request in described data file, the time interval of the request transmission time of transmission request adjacent for every two transmitting times in described data file shortens by described data stream density compressor reducer; And/or
If modify to the data manipulation time of the described transmission request in described data file, and described transmission request is for reading transmission request, then the described data manipulation time is the data reading time, and the time interval of reading the data reading time of transmitting request adjacent for every two transmitting times in described data file shortens by described data stream density compressor reducer; And/or
If modify to the data manipulation time of the described transmission request in described data file, and described transmission request is for writing transmission request, then the described data manipulation time is Data writing time, and the time interval writing the Data writing time of transmission request adjacent for every two transmitting times in described data file shortens by described data stream density compressor reducer.
As shown in Figure 6, the appraisal procedure that the embodiment of the present invention seven pairs of transmission performances are assessed comprises:
Read-write loader in step 600, assessment apparatus reads the data file comprising transmission request, described transmission request in described data file is sent to the read write drive in assessment apparatus, wherein said transmission request is the request for assessing transmission performance;
Step 601, described read write drive generate bus signals according to the transmission request received, and send described bus signals to system bus arbiter;
Step 602, described system bus arbiter carry out the arbitration of sending order according to the described bus signals received, and send the bus signals after arbitration to described memory controller;
Step 603, described memory controller carry out data read or write according to the bus signals after the described arbitration received to the storer in assessment apparatus;
Transmission performance monitor in step 604, assessment apparatus, when described memory controller carries out data read or write to storer, is assessed the transmission performance of described memory controller.
Preferably, described read-write loader reads the data file comprising transmission request, and the described transmission request in described data file is sent to read write drive, and wherein said transmission request is the request for assessing transmission performance, comprising:
If when current time is no earlier than the request transmission time of described transmission request, described transmission request is sent to read write drive by described read-write loader;
If current time early than described transmission request request transmission time time, wait for current time equal described transmission request request transmission time, described transmission request is sent to read write drive by described read-write loader.
Preferably, described memory controller carries out data read or write according to the bus signals after the described arbitration received to storer, comprising:
If described transmission request is for reading transmission request, described storer according to described in read transmission request and carry out read operation, and return read operation result;
If described transmission request is for writing transmission request, described storer according to described in write transmission request and carry out write operation, and return write operation result.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.