From: Dominik Brodowski <linux@dominikbrodowski.net>
To: linux-kernel@vger.kernel.org, mingo@redhat.com, peterz@infradead.org
Cc: Chris Mason <chris.mason@oracle.com>,
josef@redhat.com, Valdis.Kletnieks@vt.edu,
Michael Monnerie <michael.monnerie@is.it-management.at>,
Christoph Hellwig <hch@infradead.org>,
linux-raid@vger.kernel.org, xfs@oss.sgi.com, dm-devel@redhat.com
Subject: Performance impact of CONFIG_DEBUG? direct-io test case
Date: Thu, 5 Aug 2010 22:47:49 +0200 [thread overview]
Message-ID: <20100805204749.GA6318@comet.dominikbrodowski.net> (raw)
In-Reply-To: <20100805163519.GA6604@comet.dominikbrodowski.net>
How large is the performance impact of CONFIG_DEBUG? Well, for the test
workload I've been working with lately,
dd if=<device> of=/dev/zero bs=8k count=100000 iflag=direct
where <device> is a dm-crypted LVM volume consisting of several
partitions on a notebook pata harddisk, I get the following results:
1) best results are ~ 28 MB/s
2) Enabling CONFIG_DEBUG_LOCK_ALLOC, which also means CONFIG_LOCKDEP
being enabled, causes the transfer rate to decrease by ~ 1.2 MB/s
3) Enabling CONFIG_DEBUG_SPINLOCK && CONFIG_DEBUG_MUTEXTES or
CONFIG_DEBUG_SPINLOCK_SLEEP=y costs about ~ 0.4 MB/s each
4) Enabling all of the following options:
CONFIG_DEBUG_RT_MUTEXES
CONFIG_DEBUG_PI_LIST
CONFIG_PROVE_LOCKING
CONFIG_LOCK_STAT
CONFIG_DEBUG_LOCKDEP
costs another ~ 5 MB/s.
So, for this test case, the performance impact of (some) CONFIG_DEBUG
options is highly significant, here by about 25 %.
Best,
Dominik
next prev parent reply other threads:[~2010-08-05 20:47 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-04 7:35 How to track down abysmal performance ata - raid1 - crypto - vg/lv - xfs Dominik Brodowski
2010-08-04 8:50 ` Christoph Hellwig
2010-08-04 9:13 ` Dominik Brodowski
2010-08-04 9:21 ` Christoph Hellwig
2010-08-04 9:16 ` Michael Monnerie
2010-08-04 10:25 ` Dominik Brodowski
2010-08-04 11:18 ` Christoph Hellwig
2010-08-04 11:24 ` Dominik Brodowski
2010-08-04 11:53 ` Mikael Abrahamsson
2010-08-04 12:56 ` Mike Snitzer
2010-08-04 22:24 ` Neil Brown
[not found] ` <20100804111803.GA32643__39273.3621680692$1280923964$gmane$org@infradead.org>
2010-08-04 17:43 ` Andi Kleen
2010-08-04 20:33 ` Valdis.Kletnieks
2010-08-05 9:31 ` direct-io regression [Was: How to track down abysmal performance ata - raid1 - crypto - vg/lv - xfs] Dominik Brodowski
2010-08-05 11:32 ` Chris Mason
2010-08-05 12:36 ` Josef Bacik
2010-08-05 15:35 ` Dominik Brodowski
2010-08-05 15:39 ` Chris Mason
2010-08-05 15:53 ` Dominik Brodowski
2010-08-05 16:35 ` Dominik Brodowski
2010-08-05 20:47 ` Dominik Brodowski [this message]
2010-08-05 20:54 ` Performance impact of CONFIG_SCHED_MC? direct-io test case Dominik Brodowski
2010-08-05 18:58 ` direct-io regression [Was: How to track down abysmal performance ata - raid1 - crypto - vg/lv - xfs] Jeff Moyer
2010-08-05 19:01 ` Chris Mason
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=20100805204749.GA6318@comet.dominikbrodowski.net \
--to=linux@dominikbrodowski.net \
--cc=Valdis.Kletnieks@vt.edu \
--cc=chris.mason@oracle.com \
--cc=dm-devel@redhat.com \
--cc=hch@infradead.org \
--cc=josef@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-raid@vger.kernel.org \
--cc=michael.monnerie@is.it-management.at \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--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;
as well as URLs for NNTP newsgroup(s).