From: Christoph Hellwig <hch@infradead.org>
To: David Chinner <dgc@sgi.com>
Cc: xfs-dev <xfs-dev@sgi.com>, xfs-oss <xfs@oss.sgi.com>
Subject: Re: [patch, debug, 1/2] use atomic counters for ktrace buffer indexes
Date: Thu, 21 Feb 2008 23:05:45 -0500 [thread overview]
Message-ID: <20080222040545.GA16993@infradead.org> (raw)
In-Reply-To: <20080218230010.GT155407@sgi.com>
On Tue, Feb 19, 2008 at 10:00:10AM +1100, David Chinner wrote:
> ktrace_enter() is consuming vast amounts of CPU time
> due to the use of a single global lock for protecting
> buffer index increments. Change it to use per-buffer
> atomic counters - this reduces ktrace_enter() overhead
> during a trace intensive test on a 4p machine from 58%
> of all CPU time to 12% and halves test runtime.
This one is fine.
prev parent reply other threads:[~2008-02-22 4:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-18 23:00 [patch, debug, 1/2] use atomic counters for ktrace buffer indexes David Chinner
2008-02-22 4:05 ` Christoph Hellwig [this message]
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=20080222040545.GA16993@infradead.org \
--to=hch@infradead.org \
--cc=dgc@sgi.com \
--cc=xfs-dev@sgi.com \
--cc=xfs@oss.sgi.com \
/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