Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5190

Bare metal, Assembly language • Re: Cache sizes

$
0
0
I think lscpu makes stuff up by consulting a hand crafted table, so I'd go with the officially published results over that.
That's what I've heard. I'm trying to avoid "hand crafting" things in my book without knowing for sure.
More meaningful would be to test level 1, 2 and 3 cache sizes empirically. Note there already exist tests that can determine the size of the working sets at which different levels of cache thrashing occur, or you could write your own.
I own only a 3. I was about to buy a 4 when the pandemic came along. I decided to hop over to the 5 but still have not gotten one.

Statistics: Posted by rplantz — Sat Feb 10, 2024 8:55 pm



Viewing all articles
Browse latest Browse all 5190

Trending Articles