Re: unfair stress on non memory allocating apps while swapout (in 2.4)

From: Rik van Riel (riel@conectiva.com.br)
Date: Sat Oct 21 2000 - 09:22:00 EST


On Sun, 15 Oct 2000, Bernd Eckenfels wrote:

> with 2.4.0-test10-pre2 (possibly long before that version) i
> still can bring the system to a halt while "tail /dev/zero" is
> running. I don't complain that you can make a DOS by a trshing
> system, cause I can use ulimit to actually avoid that.
>
> as the proccess is killed. But still i wonder why the swap out
> is such unfair to the rest of the system, especially to a
> process which is not actually allocating memory at all.

Look again ... "tail /dev/zero" allocates INFINITE memory.

(trying to read the last 10 lines of /dev/zero, but the
device spits out one infinite line ;))

regards,

Rik

--
"What you're running that piece of shit Gnome?!?!"
       -- Miguel de Icaza, UKUUG 2000

http://www.conectiva.com/ http://www.surriel.com/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 23 2000 - 21:00:18 EST