什么是预热缓存? [英] What is a Warm-Up Cache?

查看:1333
本文介绍了什么是预热缓存?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用一些多核模拟器,例如GEMS或M5.在所有这些选项中,都有一个预热缓存"的选项.这个名词是什么意思?

I am working with some multicore simulators such as GEMS or M5. In all of them there is an option to "Warm up the cache". What does that term mean?

推荐答案

预热只是加载一组数据的时间,以便使缓存中填充有效数据.如果您要对通常具有较高高速缓存命中率的系统进行性能测试,而没有预热,您将得到错误的数字,因为在您的使用场景中通常会造成高速缓存命中的事实不是,而且会拖累您的数字

The warm up is just the period of loading a set of data so that the cache gets populated with valid data. If you're doing performance testing against a system that usually has a high frequency of cache hits, without the warm up you'll get false numbers because what would normally be a cache hit in your usage scenario is not and will drag your numbers down.

这篇关于什么是预热缓存?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆