All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Theodore Ts'o" <tytso@mit.edu>
To: Andrew Morton <akpm@digeo.com>
Cc: Manish Lachwani <manish@Zambeel.com>, linux-kernel@vger.kernel.org
Subject: Re: 2.4.17 SMP hangs ..
Date: Tue, 26 Nov 2002 10:22:38 -0500	[thread overview]
Message-ID: <20021126152238.GA4408@think.thunk.org> (raw)
In-Reply-To: <3DDC7746.200ACDE2@digeo.com>

On Wed, Nov 20, 2002 at 10:03:50PM -0800, Andrew Morton wrote:
> Manish Lachwani wrote:
> > 
> > I am seeing system hangs with 2.4.17 SMP kernel when doing mke2fs accros 12
> > drives in parallel. However, the hangs only occur when the I/O rate from
> > vmstat is high:
> > 
> 
> Quite possibly it has not hung.  You just need to wait half an
> hour or so.
> 
> The algorithm isn't very good.

[Catching up lkml mail after the IETF meeting....]

Try setting the environment variable "MKE2FS_SYNC" to a value such as
10.  This will cause mke2fs to force a sync after writing out every 10
block groups worth of inode tables.  

If this fixes the problem, then it means that the kernel isn't
handling write throttling correctly, and the system is thrashing
itself to death.  Write thottleing is one of these kernel bugs which
gets fixed and broken in the kernel multiple times.  I've considered
making MKE2FS_SYNC the default, but I haven't, mainly because current
behaviour is a great way of pointing out this write throttling bugs in
the VM.  (Stephen has fixed this bug multiple times over the years,
and he suggested that having a good test case for noticing when
someone has broken write throttling would be a Good Thing --- and it
seems to get broken fairly often, as people try to make improvements
to the VM layer.....)

						- Ted

  reply	other threads:[~2002-11-26 15:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-21  5:28 2.4.17 SMP hangs Manish Lachwani
2002-11-21  6:03 ` Andrew Morton
2002-11-26 15:22   ` Theodore Ts'o [this message]
2002-11-26 16:13     ` Andrew Morton
2002-11-21  6:33 ` Andre Hedrick
2002-11-22 12:00 ` William Lee Irwin III
  -- strict thread matches above, loose matches on Subject: below --
2002-11-22 22:30 Manish Lachwani

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=20021126152238.GA4408@think.thunk.org \
    --to=tytso@mit.edu \
    --cc=akpm@digeo.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=manish@Zambeel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.