On Fri, Apr 28, 2017 at 18:00:57 +0100, Alex Bennée wrote: > I'll note when I've plotted hit-rates against the cache we don't seem to > be making a good even use of the cache over time. But I suspect there is > more that could be done here.
If you're talking about full-system mode here, then yes, the hit rate isn't great, which I think is due to frequent flushes of tb_jmp_cache. For user-mode and for many of these benchmarks we get hit rates in the high 90's. I also tried xxhash and hit rates didn't go up (sometimes even went one or two percentage points lower), which shows that the hashing function we have now is good enough, i.e. unless we increase the size of tb_jmp_cache, there's not a lot to improve here. I didn't check all benchmarks though, just a few of the SPEC06int ones. If you have those numbers/plots I'd be interested in seeing them. Thanks, E.