lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <47D06642.17385.A0316D83@Frantisek.Rysanek.post.cz>
Date:	Thu, 06 Mar 2008 21:46:42 +0100
From:	"Frantisek Rysanek" <Frantisek.Rysanek@...t.cz>
To:	linux-kernel@...r.kernel.org
Subject: Re: [newbie:] Bonnie++2 hangs recent 2.6 kernels? Bash keeps looping in waitpid(), eating 100% CPU

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ