From: Michal Schmidt <schmidt@kn.vutbr.cz>
To: akpm@digeo.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.5.66-mm2
Date: Tue, 01 Apr 2003 18:38:45 +0200 [thread overview]
Message-ID: <3E89C095.1080603@kn.vutbr.cz> (raw)
In-Reply-To: <20030401081012$4c1b@gated-at.bofh.it>
Andrew Morton wrote:
>
> There is a small patch from Ingo here against the CPU scheduler
which we
> hope will fix the new starvation problems which people have been
reporting.
> I this is you, please test and report.
I patched 2.5.66 with:
http://www.zip.com.au/~akpm/linux/patches/2.5/2.5.66-mm2-1.gz
I can still easily reproduce my starvation problem with:
cat cedo.iso | bzip2 > /tmp/cedo.iso.bz2
(cedo.iso is a 700MB CD image)
On another virtual console, I run the following script to demonstrate
the starvation:
#!/bin/sh
while true; do
sleep 30
date
ps x
date
echo -----
done
At first, everything is OK:
Tue Apr 1 18:00:03 CEST 2003
PID TTY STAT TIME COMMAND
301 tty1 S 0:00 -bash
302 tty2 S 0:00 -bash
647 tty1 S 0:00 cat cedo.iso
648 tty1 R 0:54 bzip2
651 tty2 S 0:00 /bin/sh ./test-interactivity.sh
652 tty2 S 0:00 tee inter-2.5.66mm2.potreti
655 tty2 R 0:00 ps x
Tue Apr 1 18:00:03 CEST 2003
-----
Tue Apr 1 18:00:33 CEST 2003
PID TTY STAT TIME COMMAND
301 tty1 S 0:00 -bash
302 tty2 S 0:00 -bash
647 tty1 S 0:00 cat cedo.iso
648 tty1 R 1:24 bzip2
651 tty2 S 0:00 /bin/sh ./test-interactivity.sh
652 tty2 S 0:00 tee inter-2.5.66mm2.potreti
659 tty2 R 0:00 ps x
Tue Apr 1 18:00:33 CEST 2003
-----
But after a while the problem appears:
-----
Tue Apr 1 18:05:09 CEST 2003
PID TTY STAT TIME COMMAND
301 tty1 S 0:00 -bash
302 tty2 S 0:00 -bash
647 tty1 D 0:01 cat cedo.iso
648 tty1 S 5:55 bzip2
651 tty2 S 0:00 /bin/sh ./test-interactivity.sh
652 tty2 S 0:00 tee inter-2.5.66mm2.potreti
1043 tty2 R 0:00 ps x
Tue Apr 1 18:05:11 CEST 2003
-----
Tue Apr 1 18:05:49 CEST 2003
PID TTY STAT TIME COMMAND
301 tty1 S 0:00 -bash
302 tty2 S 0:00 -bash
647 tty1 S 0:01 cat cedo.iso
648 tty1 R 6:37 bzip2
651 tty2 S 0:00 /bin/sh ./test-interactivity.sh
652 tty2 S 0:00 tee inter-2.5.66mm2.potreti
1047 tty2 R 0:00 ps x
Tue Apr 1 18:05:51 CEST 2003
-----
Tue Apr 1 18:06:21 CEST 2003
PID TTY STAT TIME COMMAND
301 tty1 S 0:00 -bash
302 tty2 S 0:00 -bash
647 tty1 D 0:01 cat cedo.iso
648 tty1 S 7:23 bzip2
651 tty2 S 0:00 /bin/sh ./test-interactivity.sh
652 tty2 S 0:00 tee inter-2.5.66mm2.potreti
1051 tty2 R 0:00 ps x
Tue Apr 1 18:06:38 CEST 2003
-----
Tue Apr 1 18:07:08 CEST 2003
PID TTY STAT TIME COMMAND
301 tty1 S 0:00 -bash
302 tty2 S 0:00 -bash
647 tty1 D 0:01 cat cedo.iso
648 tty1 S 7:59 bzip2
651 tty2 S 0:00 /bin/sh ./test-interactivity.sh
652 tty2 S 0:00 tee inter-2.5.66mm2.potreti
1055 tty2 R 0:00 ps x
Tue Apr 1 18:07:14 CEST 2003
-----
Tue Apr 1 18:07:53 CEST 2003
PID TTY STAT TIME COMMAND
301 tty1 S 0:00 -bash
302 tty2 S 0:00 -bash
647 tty1 S 0:01 cat cedo.iso
648 tty1 R 8:37 bzip2
651 tty2 R 0:00 /bin/sh ./test-interactivity.sh
652 tty2 S 0:00 tee inter-2.5.66mm2.potreti
1059 tty2 R 0:00 ps x
Tue Apr 1 18:08:03 CEST 2003
-----
Tue Apr 1 18:08:33 CEST 2003
PID TTY STAT TIME COMMAND
301 tty1 S 0:00 -bash
302 tty2 S 0:00 -bash
647 tty1 D 0:01 cat cedo.iso
648 tty1 S 9:38 bzip2
651 tty2 S 0:00 /bin/sh ./test-interactivity.sh
652 tty2 S 0:00 tee inter-2.5.66mm2.potreti
1066 tty2 R 0:00 ps x
Tue Apr 1 18:08:54 CEST 2003
-----
I use Debian Woody on Athlon 800MHz, Asus A7V, 384MB RAM, disk WDC
WD800JB-00CRA1, nVidia Geforce2 MX, Realtek RTL-8139C, SB Live.
GCC is 2.95.4.
Michal
next parent reply other threads:[~2003-04-01 16:27 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20030401081012$4c1b@gated-at.bofh.it>
2003-04-01 16:38 ` Michal Schmidt [this message]
2003-04-01 8:01 2.5.66-mm2 Andrew Morton
2003-04-01 8:01 ` 2.5.66-mm2 Andrew Morton
2003-04-01 8:48 ` 2.5.66-mm2 Andrew Morton
2003-04-01 8:48 ` 2.5.66-mm2 Andrew Morton
2003-04-01 9:15 ` 2.5.66-mm2 Andrew Morton
2003-04-01 9:15 ` 2.5.66-mm2 Andrew Morton
2003-04-02 1:10 ` 2.5.66-mm2 Martin J. Bligh
2003-04-02 1:10 ` 2.5.66-mm2 Martin J. Bligh
2003-04-02 1:34 ` 2.5.66-mm2 Andrew Morton
2003-04-02 1:34 ` 2.5.66-mm2 Andrew Morton
2003-04-02 15:34 ` 2.5.66-mm2 Martin J. Bligh
2003-04-02 15:34 ` 2.5.66-mm2 Martin J. Bligh
2003-04-03 17:53 ` 2.5.66-mm2 Maciej Soltysiak
2003-04-03 21:22 ` 2.5.66-mm2 Andrew Morton
2003-04-04 8:00 ` 2.5.66-mm2 Maciej Soltysiak
2003-04-07 16:40 ` 2.5.66-mm2 Maciej Soltysiak
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=3E89C095.1080603@kn.vutbr.cz \
--to=schmidt@kn.vutbr.cz \
--cc=akpm@digeo.com \
--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 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.