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: <20110124204128.GB32261@tux1.beaverton.ibm.com>
Date:	Mon, 24 Jan 2011 12:41:28 -0800
From:	"Darrick J. Wong" <djwong@...ibm.com>
To:	Josef Bacik <josef@...hat.com>
Cc:	Jon Leighton <j@...athanleighton.com>, linux-ext4@...r.kernel.org
Subject: Re: Severe slowdown caused by jbd2 process

On Fri, Jan 21, 2011 at 09:31:45AM -0500, Josef Bacik wrote:
> On Fri, Jan 21, 2011 at 02:28:29PM +0000, Jon Leighton wrote:
> > Hi there,
> > 
> > On Fri, 2011-01-21 at 09:03 -0500, Josef Bacik wrote:
> > > Heh so now that I've had a moment to wake up, how about running your test on
> > > ext3, but mount the partition with
> > > 
> > > mount -o barrier
> > > 
> > > and see if it's still faster than ext4.  Thanks,
> > 
> > You're right, that slows it down significantly on the ext3 partition. Is
> > this expected behaviour with ext4 then?
> >
> 
> Yup, whatever you are doing in your webapp is making your database do lots of
> fsyncs, which is going to suck.  If you are on a battery backed system or just
> don't care if you lose your database and rather it be faster you can mount your
> ext4 fs with -o nobarrier.  Thanks,

If for some reason you can't change the database to be less fsync-happy and
there are a lot of threads issuing fsync in parallel, you might try building a
kernel with the patch set that Tejun Heo has put together
(https://lkml.org/lkml/2011/1/21/251) to merge flush requests coming from
multiple threads.  It might speed things up for you.

(I don't know how much that patch set will change between now and the time it
goes upstream...)

--D
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ