[Architecture] quantitative evaluation of the performance of the transfer Estimator

Source: Internet
Author: User

For the design of several schedulers, see the previous blog (here)

Quantitative Evaluation of prediction accuracy of several schedulers

The analysis and evaluation process of transfer prediction is mainly based on the trace of the given command sequence. The input text file will provide a command sequence trace, which contains N rows, each row contains three data, the commands are the current command PC, the next command PC, and the current command type (0 indicates the transfer command, and 1 indicates other commands). The following is a specific example:

0x0EA31410 0x0EA31414 10x0EA31414 0x0EA31470 00x0EA31470 0x0EA31474 10x0EA31474 0x0EA31478 00x0EA31478 0x0EA3147C 1

The GCC. Log, compress. Log, craft. Log, Gzip. Log, organized. Log, parser. log, and VPR. Log test data are used in the experiment. The test results are as follows:

Based on the example in the book, draw the result of the inaccuracy of the three schedulers:

The experiment results clearly show that the tournament prediction tool has a better prediction structure. On the other hand, under the same space limit, using the [] associated prediction tool with the relevant branch prediction information is not as good as simply predicting local historical tables. In fact, the branch history table can be viewed as a [1, 2] Join estimator. Analysis may be caused by excessive branch information. Reducing the number of related branches may improve the prediction accuracy. In this experiment, [2, 2], [4, 2], [6, 2], and [8, 2] (the corresponding addresses are respectively 12, 10, 8, and 6 bits, and the space is 32 K ), the result is as follows:

We can see that the average accuracy of the related branch estimator is the highest. Over-increasing the number of related branches may reduce the prediction accuracy.

Experiment conclusion

The 2-bit branch History Table forecaster can provide better branch prediction accuracy. Using Global Information and Related Branch Prediction Technologies can also improve the accuracy of prediction branches. By combining local information and global historical information, the tournament predicator provides the highest average prediction accuracy in the same space.

(Reprinted please indicate the author and Source: http://blog.csdn.net/xiaowei_cqu is not allowed for commercial use)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.