mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@digeo.com>
To: Duncan Sands <duncan.sands@math.u-psud.fr>
Cc: linux-kernel@vger.kernel.org
Subject: Re: fsync 50 times slower after 2.5.27
Date: Wed, 18 Sep 2002 17:35:29 -0700	[thread overview]
Message-ID: <3D891BD1.8F774946@digeo.com> (raw)
In-Reply-To: <200209190222.33276.duncan.sands@math.u-psud.fr>

Duncan Sands wrote:
> 
> I noticed a performance degradation in recent kernels:
> fsync takes around 50 times longer in kernels 2.5.28 to
> 2.5.34 when the system is under heavy load, as compared
> to kernels <= 2.5.27.  I noticed this because it makes kmail
> unusable.  2.5.34 is the most recent kernel I tested.
> 

Please try replacing the yield() in fs/jbd/transaction.c
with

	set_current_state(TASK_RUNNING);
	schedule();

  reply	other threads:[~2002-09-19  0:30 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-19  0:22 Duncan Sands
2002-09-19  0:35 ` Andrew Morton [this message]
2002-09-19  1:00   ` 2.4.20-pre7-ac2 compile and IrDA Alexander Hoogerhuis
2002-09-19  1:25     ` Alan Cox
2002-09-19  1:33       ` David S. Miller
2002-09-19 10:45         ` Alan Cox
2002-09-19 12:27           ` Alexander Hoogerhuis
2002-09-19  4:43       ` Willy Tarreau
2002-09-19  6:34       ` Alexander Hoogerhuis
     [not found]   ` <200209192032.25933.duncan.sands@math.u-psud.fr>
2002-09-19 21:22     ` fsync 50 times slower after 2.5.27 Andrew Morton
2002-09-19 21:44       ` [Ext2-devel] " Stephen C. Tweedie
2002-09-20 12:15       ` Duncan Sands

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=3D891BD1.8F774946@digeo.com \
    --to=akpm@digeo.com \
    --cc=duncan.sands@math.u-psud.fr \
    --cc=linux-kernel@vger.kernel.org \
    /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

Powered by JetHome