[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110121143145.GB11313@dhcp231-156.rdu.redhat.com>
Date: Fri, 21 Jan 2011 09:31:45 -0500
From: Josef Bacik <josef@...hat.com>
To: Jon Leighton <j@...athanleighton.com>
Cc: Josef Bacik <josef@...hat.com>, linux-ext4@...r.kernel.org
Subject: Re: Severe slowdown caused by jbd2 process
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,
Josef
--
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