[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
How would you calculate the cache hit ratio? >64 byte cache

You are currently reading a thread in /g/ - Technology

Thread replies: 7
Thread images: 1
File: 1462978259200.png (55 KB, 1124x685) Image search: [Google]
1462978259200.png
55 KB, 1124x685
How would you calculate the cache hit ratio?

>64 byte cache lines
>1MB main memory
>>
>>54854293
3.14
>>
>>54854293
Please help
>>
afaik, cache hit ratio are measured, not calculated.
It varies based on data and code.
>>
>>54854619
There's a way to calculate it
>>
>>54854293

dumb frogposter
>>
>>54854293
Average access time of L1 cache = average hit time + (miss rate * average access time of L2 cache)

you cant really calculate it if you just have the sizes of the caches, it will depend on what kind of memory accesses you do.
Thread replies: 7
Thread images: 1

[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
If a post contains illegal content, please click on its [Report] button and follow the instructions.
This is a 4chan archive - all of the content originated from them. If you need information for a Poster - you need to contact them.
This website shows only archived content and is not affiliated with 4chan in any way.
If you like this website please support us by donating with Bitcoin at 1XVgDnu36zCj97gLdeSwHMdiJaBkqhtMK