User: Password:
|
|
Subscribe / Log in / New account

Toward improved page replacement

Toward improved page replacement

Posted Apr 6, 2007 0:50 UTC (Fri) by slamb (guest, #1070)
In reply to: Toward improved page replacement by nix
Parent article: Toward improved page replacement

I've used cachegrind a few times (nice tool, easy to use), but it is only good for userspace so it wouldn't help here.

A coworker mentioned to me a while ago that our hardware (a rather obscure processor) provides counters of these events, which is why I asked about that specifically. In fact, he said such features were common.

I googled a bit and found this document describing event counters on AMD Opteron processors. I'm not sure if there's existing code in the Linux kernel to take advantage of this instrumentation or not.


(Log in to post comments)

Toward improved page replacement

Posted Apr 21, 2007 23:27 UTC (Sat) by nix (subscriber, #2304) [Link]

I know the PowerPC provides counters for this sort of thing as well. I
imagine most CPUs do these days: cache misses are so
performance-significant...

Toward improved page replacement

Posted Apr 24, 2007 7:42 UTC (Tue) by njs (guest, #40338) [Link]

>I'm not sure if there's existing code in the Linux kernel to take advantage of this instrumentation or not.

Indeed, there is, and it is Good:

http://oprofile.sourceforge.net


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds