From: "Frantisek Rysanek" <Frantisek.Rysanek@post.cz>
To: linux-kernel@vger.kernel.org
Subject: Re: [newbie:] Bonnie++2 hangs recent 2.6 kernels? Bash keeps looping in waitpid(), eating 100% CPU
Date: Thu, 06 Mar 2008 21:46:42 +0100 [thread overview]
Message-ID: <47D06642.17385.A0316D83@Frantisek.Rysanek.post.cz> (raw)
In-Reply-To: <46E96951.10344.29AE6546@localhost>
On 13 Sep 2007 at 16:46, Frantisek Rysanek wrote:
[...cut...]
> 1) the bash process that's waiting for Bonnie++2 to return,
> starts looping inside the last waitpid() call I believe,
> eating 100% CPU.
[...cut...]
Apologies for following up on this thread after half a year... :-)
Things haven't changed in 2.6.24.2.
Bonnie++2 still causes the same sort of havoc.
I have a further bit or two to report:
I've read in some LKML postings that the interaction between block
device buffering, FS operations and memory management (allocation)
are rather "stochastic" in some areas. That's what turned my
attention to the tweakable parameters of the VM / memory management.
I've tried
echo "2" >/proc/sys/vm/overcommit_memory
echo "0" >/proc/sys/vm/overcommit_ratio
echo "200000" >/proc/sys/vm/min_free_kbytes
(on a machine with 1 GB of RAM and very few user-space processes
running).
This had little or no effect on the misbehavior invoked by Bonnie++2.
I've been running Bonnie against EXT3 for my disk stress testing
purposes.
If I switch to ReiserFS 3, the problem goes away.
I really got the idea to try Reiser 3 by reading the Bonnie++2 docs,
which say that the last tests in the batch, consisting e.g. of
creating and deleting a massive number of directories, are the sort
of a benchmark where ReiserFS shows its beauty.
I've also noticed that the misbehavior often occurs right after the
point where Bonnie++2 reports "start'em" (or what's the precise
wording is).
Anyway I'll post more if/when I discover something.
Thanks for your attention, and for tolerating my vague postings in
this list :-)
Frank Rysanek
next prev parent reply other threads:[~2008-03-06 20:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-13 14:46 Frantisek Rysanek
2007-09-13 0:30 ` Nick Piggin
2007-09-14 15:00 ` Frantisek Rysanek
2007-09-19 22:53 ` Chuck Ebbert
2007-09-20 7:30 ` Frantisek Rysanek
2007-09-19 8:50 ` Frantisek Rysanek
2007-09-19 15:34 ` Randy Dunlap
2007-09-19 16:08 ` Frantisek Rysanek
2008-03-06 20:46 ` Frantisek Rysanek [this message]
2007-09-19 14:58 Frantisek Rysanek
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=47D06642.17385.A0316D83@Frantisek.Rysanek.post.cz \
--to=frantisek.rysanek@post.cz \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®