mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marc-Christian Petersen <m.c.p@wolk-project.de>
To: Willy Tarreau <willy@w.ods.org>
Cc: Andrea Arcangeli <andrea@suse.de>,
	Con Kolivas <kernel@kolivas.org>, Andrew Morton <akpm@digeo.com>,
	Matthias Mueller <matthias.mueller@rz.uni-karlsruhe.de>,
	axboe@suse.de, marcelo@conectiva.com.br,
	linux-kernel@vger.kernel.org
Subject: Re: 2.4.20: Proccess stuck in __lock_page ...
Date: Thu, 29 May 2003 16:45:26 +0200	[thread overview]
Message-ID: <200305291607.33211.m.c.p@wolk-project.de> (raw)
In-Reply-To: <20030529135508.GC21673@alpha.home.local>

On Thursday 29 May 2003 15:55, Willy Tarreau wrote:

Hi Willy,

> I've done a few tests with -rc6 on my dev machine (dual xp 1.5G, 512 MB,
> scsi). It's the *FIRST* time I have ever seen my mouse cursor hang (just a
> little bit however, and totally acceptable) ! Usually, my kernel include -aa
> VM and lowlat patches, and I've never encountered this behaviour on this
> machine with such a configuration. However, with stock kernel, I admit that
> during the 2 minutes it takes to write the 2G file, I see the mouse stick
> two or three times during about 1 second, which is quite acceptable IMHO.
WRONG. A mouse stick is not acceptable in _any_ way. Other OS' can handle this 
pretty well, and if Linux has problems with mouse sticks, this has to be 
fixed! Either in kernel space or in userspace (XFree86).

> Opening an xterm may take 10s to get to the prompt (more annoying). Same to
> launch 'ps'.
ACK!

> I retried with rc4aa1, and everything went very smooth again ; it takes at
> most 1 second to get an xterm with the prompt ready, and ps responds
> immediately. So I think that there are two things here:
>   - those who experience very long hangs may use a heavy window manager
>     which does continuous disk accesses (I mean it accesses the disk for
>     any simple operation).
>   - a hungry WM may also be swapped during such operations, rendering it
>     totally unusable, particularly if the swap is on the same physical disk
>     as the file being written to.
Well, sorry, but: no!

The pauses/stops occurs no matter of what WindowManager (KDE2/3, WindowMaker, 
fvwm, gnome etc. foobar). The point why you are not seeing such things with 
-aa is his Lowlatency Elevator and lowlatency-fixes and some important fixes 
which are not in stock kernel yet.

I reproduced mouse sticks and keyboard does not accept anything problems for 
$seconds with _every_ kernel which is based on 2.4.19/2.4.20/2.4.21*. This 
also includes -AA (well, not that braindead bad like mainline did before the 
fix) but this is because of lowlat elevator from Andrea. And as I told 
yesterday (or 2 days ago? dunno) lowlat elevator drops throughput (Andrea, it 
_does_ ;).

It's not just only mouse hangs (as I've reported tons of times) but also 
keyboard does not accept any input (delay varies between 1 to 15 seconds) and 
this also applies if you don't run X at all.

Another fine example is:

- Start a screen session, not running X at all.
- Trash your HD with tons of writes.
- Press Ctrl-A-C for a new screen session.

You will see, it takes as long as, you wrote above, with starting up an Xterm 
or calling ps. It does _not_ happen with 2.4.18!

> So, could the people who report long hangs retry with swap disabled ?
It's somewhat better but not acceptable.

> Can we limit the amount of memory consummed by the cache during such a
> write ?
I ask for such a feature since years ;)

Well, my summary: The bug is there, for over 15 months ( I won't mention it 
again that I've reported the bug 15 months ago ;-) ... It _may_ be some very 
obscure hardware problem to be able to reproduce this bug but as this thread 
shows up, there are tons of people who can reproduce this with different 
hardware starting with 2.4.19-pre1.

ciao, Marc


  parent reply	other threads:[~2003-05-29 14:32 UTC|newest]

Thread overview: 142+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-27  3:41 manish
2003-05-27  4:03 ` Marcelo Tosatti
2003-05-27  4:25   ` manish
2003-05-27  4:59     ` Marcelo Tosatti
2003-05-27 15:29       ` manish
2003-05-27 16:59         ` Marcelo Tosatti
2003-05-27  4:31   ` manish
2003-05-27 14:14   ` Carl-Daniel Hailfinger
2003-05-27 14:28     ` William Lee Irwin III
2003-05-27 17:27     ` Marcelo Tosatti
2003-05-27 17:36       ` Marc-Christian Petersen
2003-05-27 17:47         ` Marcelo Tosatti
2003-05-27 17:52           ` Marc-Christian Petersen
2003-05-27 17:57             ` Marcelo Tosatti
2003-05-27 18:08               ` Marc-Christian Petersen
2003-05-27 18:25                 ` Andrea Arcangeli
2003-05-27 18:33                   ` Marcelo Tosatti
2003-05-27 18:39                     ` Marc-Christian Petersen
2003-05-27 19:00                       ` manish
2003-05-27 19:01                         ` Marcelo Tosatti
2003-05-27 19:09                           ` manish
2003-05-27 19:12                           ` manish
2003-05-27 19:28                             ` Marcelo Tosatti
2003-05-27 19:34                               ` manish
2003-05-27 20:20                                 ` Andrea Arcangeli
2003-05-27 20:25                                   ` Marc-Christian Petersen
2003-05-27 20:42                                     ` manish
2003-05-27 20:47                                       ` Andrea Arcangeli
2003-05-27 20:50                                         ` manish
2003-05-27 21:05                                           ` Andrea Arcangeli
2003-05-27 20:03                     ` Andrea Arcangeli
2003-05-27 20:08                       ` Marcelo Tosatti
2003-05-27 20:25                         ` Andrea Arcangeli
2003-05-27 22:18                           ` Andrew Morton
2003-05-27 22:38                             ` Andrea Arcangeli
2003-05-27 22:40                               ` Andrew Morton
2003-05-27 22:58                                 ` Andrea Arcangeli
2003-05-27 20:08                     ` Chris Mason
2003-05-27 18:35                   ` Marc-Christian Petersen
2003-05-27 20:10                     ` Andrea Arcangeli
2003-05-27 20:24                       ` Marc-Christian Petersen
2003-05-27 20:45                         ` Andrea Arcangeli
2003-05-27 20:53                           ` Marc-Christian Petersen
2003-05-27 21:00                             ` Jens Axboe
2003-05-27 21:11                               ` Marc-Christian Petersen
2003-05-27 21:19                                 ` Jens Axboe
2003-05-27 20:55                         ` Jens Axboe
2003-05-27 21:05                           ` William Lee Irwin III
2003-05-27 21:18                             ` Jens Axboe
2003-05-27 21:33                             ` Andrea Arcangeli
2003-05-27 18:09               ` manish
2003-05-27 17:53           ` manish
2003-05-27 18:01             ` Marc-Christian Petersen
2003-05-27 18:16               ` Marcelo Tosatti
2003-05-27 18:25                 ` Marc-Christian Petersen
2003-05-27 18:12           ` Matthias Mueller
2003-05-27 17:36       ` William Lee Irwin III
2003-05-27 17:38       ` Carl-Daniel Hailfinger
2003-05-27 17:50         ` manish
2003-05-27 18:04           ` Marc-Christian Petersen
2003-05-27 23:06             ` Georg Nikodym
2003-05-27 23:26               ` Christopher S. Aker
2003-05-28  5:33             ` Con Kolivas
2003-05-28  6:04               ` Jens Axboe
2003-05-28  7:13                 ` Con Kolivas
2003-05-28  7:13                   ` Jens Axboe
2003-05-28  7:32                     ` Marc-Christian Petersen
2003-05-28  7:35                       ` Jens Axboe
2003-05-28  7:51                         ` Andrew Morton
2003-05-28  8:30                           ` Jens Axboe
2003-05-28  8:43                             ` Marc-Christian Petersen
2003-05-28  8:40                           ` Marc-Christian Petersen
2003-05-28 10:13                           ` Matthias Mueller
2003-05-28 10:18                             ` Jens Axboe
2003-05-28 10:23                             ` Andrew Morton
2003-05-28 10:25                               ` Jens Axboe
2003-05-28 10:48                                 ` Con Kolivas
2003-05-28 10:50                                   ` Jens Axboe
2003-05-28 10:59                                     ` Andrew Morton
2003-05-28 11:17                                       ` Marc-Christian Petersen
2003-05-28 11:27                                         ` Andrew Morton
2003-05-28 11:31                                           ` Marc-Christian Petersen
2003-05-28 12:53                                             ` Jens Axboe
2003-05-28 12:58                                               ` Matthias Mueller
2003-05-28 13:07                                               ` Carl-Daniel Hailfinger
2003-05-28 13:08                                                 ` Jens Axboe
2003-05-28 13:16                                                   ` Matthias Mueller
2003-05-28 13:21                                                   ` Con Kolivas
2003-05-28 13:30                                                     ` Carl-Daniel Hailfinger
2003-05-28 13:33                                                       ` Con Kolivas
2003-05-28 13:27                                                   ` Stefan Foerster
2003-05-28 13:37                                                     ` Stefan Foerster
2003-05-28 14:28                                                   ` Chris Mason
2003-05-28 14:33                                                     ` Jens Axboe
2003-05-28 14:58                                                       ` Chris Mason
2003-05-28 15:39                                                         ` Jens Axboe
2003-05-28 23:38                                                           ` Chris Mason
2003-05-28 13:25                                               ` Stefan Foerster
2003-05-28 18:19                                               ` Zwane Mwaikambo
2003-05-28 18:32                                                 ` Zwane Mwaikambo
2003-05-28 18:47                                               ` Elladan
2003-05-28 23:03                                                 ` Con Kolivas
2003-05-29 13:09                                                   ` Andrea Arcangeli
2003-05-29 15:04                                                     ` Con Kolivas
2003-05-29 16:23                                             ` Marc-Christian Petersen
2003-05-28 11:41                                           ` Con Kolivas
2003-05-29 12:52                                         ` Andrea Arcangeli
2003-05-28 11:03                                   ` Nick Piggin
2003-05-28 10:29                               ` Con Kolivas
2003-05-28 10:29                                 ` Marc-Christian Petersen
2003-05-28 12:10                               ` Matthias Mueller
2003-05-28 12:14                                 ` Matthias Mueller
2003-05-28 12:21                                   ` Carl-Daniel Hailfinger
2003-05-28 12:23                                     ` Matthias Mueller
2003-05-28 12:28                                       ` Carl-Daniel Hailfinger
2003-05-28 12:38                                         ` Matthias Mueller
2003-05-29 13:19                                 ` Andrea Arcangeli
2003-05-29 14:10                                   ` Matthias Mueller
2003-05-29 16:22                                     ` Andrea Arcangeli
2003-05-28 14:00                               ` Con Kolivas
2003-05-29 13:24                                 ` Andrea Arcangeli
2003-05-29 13:55                                   ` Willy Tarreau
2003-05-29 14:09                                     ` Con Kolivas
2003-05-29 14:38                                     ` Matthias Mueller
2003-05-29 16:10                                       ` Willy TARREAU
2003-05-29 14:45                                     ` Marc-Christian Petersen [this message]
2003-05-29 16:06                                       ` Willy TARREAU
2003-05-29 16:49                                         ` Andrea Arcangeli
2003-05-29 17:46                                           ` Willy Tarreau
2003-05-29 16:19                                     ` Andrea Arcangeli
2003-05-29  1:32                               ` manish
2003-05-28 10:24                             ` Marc-Christian Petersen
2003-05-28  7:16             ` Marc Wilson
2003-05-28 19:53               ` David Ford
2003-05-28  9:36             ` Ragnar Hojland Espinosa
2003-05-28  9:45               ` Jens Axboe
2003-05-28  9:53               ` Marc-Christian Petersen
2003-05-28 10:01                 ` Jens Axboe
2003-05-28 10:58               ` Alan Cox
2003-05-29  8:34                 ` Ragnar Hojland Espinosa
     [not found] <20030527035006$5339@gated-at.bofh.it>
     [not found] ` <20030527175008$3573@gated-at.bofh.it>
     [not found]   ` <20030527180016$418c@gated-at.bofh.it>
     [not found]     ` <20030527182011$4acb@gated-at.bofh.it>
     [not found]       ` <20030528094008$1500@gated-at.bofh.it>
     [not found]         ` <20030528095014$7b21@gated-at.bofh.it>
2003-05-28 18:55           ` Thomas Tonino
2003-06-02 10:43             ` Jens Axboe

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=200305291607.33211.m.c.p@wolk-project.de \
    --to=m.c.p@wolk-project.de \
    --cc=akpm@digeo.com \
    --cc=andrea@suse.de \
    --cc=axboe@suse.de \
    --cc=kernel@kolivas.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    --cc=matthias.mueller@rz.uni-karlsruhe.de \
    --cc=willy@w.ods.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

all inboxes | Powered by JetHome®