From: Jack Steiner <steiner@sgi.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [PATCH] - kernel profiler & spinlock_contention
Date: Wed, 26 Nov 2003 19:02:30 +0000 [thread overview]
Message-ID: <marc-linux-ia64-106987356401440@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-106986108616188@msgid-missing>
On Wed, Nov 26, 2003 at 09:31:02AM -0800, David Mosberger wrote:
> >>>>> On Wed, 26 Nov 2003 09:23:10 -0600, Jack Steiner <steiner@sgi.com> said:
>
> Jack> Profiling is more useful if addresses in spinlock_contention
> Jack> were attributed to the caller of spinlock_contention.
>
> Execuse the language, but I'm reading:
>
> my tools suck so let's make the kernel suck!
I dont quite agree. The way it work right now, profiling on large
systems is useless. The single hotest spot in the kernel is
spinlock_contention & there is no clue why. The patch makes
the kernel work the way it did before spinning for locks was
moved out-of-line. I think that is a big improvement.
However, if your new tools allows me to determine the caller
of spinlock_contention (I'm guessing that it does), that is even better!!
If a prerelease version of the tools is available, I'll be happy
to try it on our system
>
> Let's defer this discussion until next week, when I had a chance to
> release my profiling tool. I think you'll then agree that it's much
> better to leave the code as is. In fact, we should also have an
> out-of-line contention handler for the read/write locks.
Agree!
>
> --david
--
Thanks
Jack Steiner (steiner@sgi.com) 651-683-5302
Principal Engineer SGI - Silicon Graphics, Inc.
next prev parent reply other threads:[~2003-11-26 19:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-26 15:23 [PATCH] - kernel profiler & spinlock_contention Jack Steiner
2003-11-26 17:31 ` David Mosberger
2003-11-26 19:02 ` Jack Steiner [this message]
2003-11-26 19:15 ` David Mosberger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-ia64-106987356401440@msgid-missing \
--to=steiner@sgi.com \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox