linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ted Ts'o <tytso@mit.edu>
To: micah anderson <micah@riseup.net>
Cc: linux-ext4@vger.kernel.org
Subject: Re: new ext4 filesystem vs. converted ext3
Date: Mon, 6 Jun 2011 16:20:48 -0400	[thread overview]
Message-ID: <20110606202048.GC20818@thunk.org> (raw)
In-Reply-To: <87lixeoqqp.fsf@algae.riseup.net>

On Mon, Jun 06, 2011 at 12:43:10PM -0400, micah anderson wrote:
> 
> Through munin graphs, unfortunately we don't have a lot of data from
> before the change, but you can see the jump early on in this graph,
> where the change was made:
> 
> http://lackof.org/~taggart/tmp/willet-cpu-year.png
> 
> I'll note that we also moved to squeeze from lenny at this
> time. Basically we decided to move to squeeze and then convert to ext4,
> so that throws in some other variables here too.
> 
> As I mentioned before, this is a high traffic mailing list system, which
> does a lot of I/O. We're also seeing lots of rescheduling interrupts
> after the upgrade to the squeeze kernel:
> 
> http://lackof.org/~taggart/tmp/willet-irqstats-year.png

Oh, I bet I know what's going on.  Ext3 defaults to barriers being
off.  Ext4 defaults to barriers turned on, which is safer if you have
power drops.  If you have a UPS and are confident that the UPS
monitoring software is properly setup so the system will go through a
controlled, clean shutdown when the UPS power is running low, then you
could consider disabling barriers on ext4 without committing
professional sysadmin malpractice.  :-)

Since mail systems tend to be very fsync() happy, and fsyncs()
translate to barriers, that's probably the explanation of what's going
on here.

							- Ted

      reply	other threads:[~2011-06-06 20:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-03 21:49 new ext4 filesystem vs. converted ext3 Micah Anderson
2011-06-04  3:09 ` Ted Ts'o
2011-06-06 16:43   ` micah anderson
2011-06-06 20:20     ` Ted Ts'o [this message]

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=20110606202048.GC20818@thunk.org \
    --to=tytso@mit.edu \
    --cc=linux-ext4@vger.kernel.org \
    --cc=micah@riseup.net \
    /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;
as well as URLs for NNTP newsgroup(s).