Feh / nocache

minimize caching effects
BSD 2-Clause "Simplified" License
554 stars 53 forks source link

GCC cache size flags #41

Closed pavlinux closed 4 years ago

pavlinux commented 4 years ago

Anybody try/test this? :)

gcc --param "l1-cache-size=0" --param "l1-cache-line-size=0" --param "l2-cache-size=0"

Feh commented 4 years ago

No – what would I do with it, what would you expect to happen?

pavlinux commented 4 years ago

minimize use cache, Cap.

Feh commented 4 years ago

Hm … I mean L1 and L2 caches are quite different from what nocache is concerned with: page caches. Please reopen the issue if you have a concrete suggestion what nocache should be doing differently, thanks! :)