Kernel profiles anyone?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Are there any recent kernel profiles? I think from an acedemic perspective it'd be nice to see some graphs and numbers nobody understands showing where the longest running code paths in the kernel occur. It might also be nice for those latency whores (*runs to the back and raises hand*) and those who want to increase overall performance and efficiency; then there'd be a map showing . . . something that only kernel hackers could possibly understand or care about.
- --
All content of all messages exchanged herein are left in the Public Domain, unless otherwise explicitly stated.
Creative brains are a valuable, limited resource. They shouldn't be wasted on re-inventing the wheel when there are so many fascinating new problems waiting out there.
-- Eric Steven Raymond
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDHkPIhDd4aOud5P8RAiQ4AJwPdaJAZchWNNtoO9zjz6AePpty/ACbBa/A vX+9F3/Yuw68QtteomUXtqQ=
=faXl
-----END PGP SIGNATURE-----
Quoted 10 lines · John Richard Moser
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Are there any recent kernel profiles? I think from an acedemic perspective it'd be nice to see some graphs and numbers nobody understands showing where the longest running code paths in the kernel occur. It might also be nice for those latency whores (*runs to the back and raises hand*) and those who want to increase overall performance and efficiency; then there'd be a map showing . . . something that only kernel hackers could possibly understand or care about.
There's a latency histogram option in the -rt patch set. You can pipe the output through gnuplot and get some cool graphs. Then you can use /proc/latency_trace to try and guess what code paths the peaks on the graphs correspond to. The timer interrupt will be the biggest peak, around 23 usecs last time I checked.
I haven't done it lately so it would be interesting to see the current graphs. Someone could make a really good presentation out of it at some kernel development conference.
Lee
Quoted 4 lines · Lee Revell
Quoted 3 lines · John Richard Moser
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 8 lines
Quoted 7 lines
Are there any recent kernel profiles? I think from an acedemic perspective it'd be nice to see some graphs and numbers nobody understands showing where the longest running code paths in the kernel occur. It might also be nice for those latency whores (*runs to the back and raises hand*) and those who want to increase overall performance and efficiency; then there'd be a map showing . . . something that only kernel hackers could possibly understand or care about.
oprofile is designed to do exactly this. just set it up and run the workload you are interested in.
Regards
Neil
Signature · 5 lines
/*************************************************** *Neil Horman *Software Engineer *gpg keyid: 1024D / 0x92A74FA1 - http://pgp.mit.edu ***************************************************/