Kobzol / hardware-effects

Demonstration of various hardware effects.
MIT License
2.82k stars 157 forks source link

store-buffer-capacity result not correct and varied a lot #24

Open HackToday opened 4 months ago

HackToday commented 4 months ago

when run it on

perf stat -e resource_stalls.sb store-buffer-capacity 

the resource_stalls.sb result varied a lot(each time, got quite different result).

It seems can not use this way to judge store buffer capacity. Is this tool still valid for modern CPU processors?