Re: Severe slowdown caused by jbd2 process
From: Josef Bacik <hidden>
Date: 2011-01-21 14:35:31
From: Josef Bacik <hidden>
Date: 2011-01-21 14:35:31
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:quoted
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