* Kernel profiles anyone?
@ 2005-09-07 1:35 John Richard Moser
2005-09-07 4:26 ` Lee Revell
0 siblings, 1 reply; 3+ messages in thread
From: John Richard Moser @ 2005-09-07 1:35 UTC (permalink / raw)
To: linux-kernel
-----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-----
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Kernel profiles anyone?
2005-09-07 1:35 Kernel profiles anyone? John Richard Moser
@ 2005-09-07 4:26 ` Lee Revell
2005-09-07 11:32 ` Neil Horman
0 siblings, 1 reply; 3+ messages in thread
From: Lee Revell @ 2005-09-07 4:26 UTC (permalink / raw)
To: John Richard Moser; +Cc: linux-kernel
On Tue, 2005-09-06 at 21:35 -0400, John Richard Moser wrote:
> -----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.
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Kernel profiles anyone?
2005-09-07 4:26 ` Lee Revell
@ 2005-09-07 11:32 ` Neil Horman
0 siblings, 0 replies; 3+ messages in thread
From: Neil Horman @ 2005-09-07 11:32 UTC (permalink / raw)
To: Lee Revell; +Cc: John Richard Moser, linux-kernel
On Wed, Sep 07, 2005 at 12:26:55AM -0400, Lee Revell wrote:
> On Tue, 2005-09-06 at 21:35 -0400, John Richard Moser wrote:
> > -----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.
>
oprofile is designed to do exactly this. just set it up and run the workload
you are interested in.
Regards
Neil
--
/***************************************************
*Neil Horman
*Software Engineer
*gpg keyid: 1024D / 0x92A74FA1 - http://pgp.mit.edu
***************************************************/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-09-07 11:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-07 1:35 Kernel profiles anyone? John Richard Moser
2005-09-07 4:26 ` Lee Revell
2005-09-07 11:32 ` Neil Horman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.