Re: Memory management in Kernel 2.4.x

Dmitry Volkoff (vdb@mail.ru)
Tue, 28 May 2002 18:46:43 +0400


Hello,

> Unfortunately, the memory management of kernel 2.4.x didn't get better until
> today. It is very easy to make a machine dead. Take the following script:
>
> http://groups.google.com/groups?q=malloc+bestie&hl=de&lr=&selm=slrn8aiglm.tqd.pfk@c.zeiss.de&rnum=2
>
> The result with kernel 2.4.19pre8ac4:

What about results with latest -aa kernels?
I'm writing this letter while running your killer-test ;)
My machine is perfectly responsive.

$ uname -a
Linux localhost 2.4.19-pre6vm33 #2 Sat Apr 13 00:56:55 MSD 2002 i686 unknown
This is vanilla 2.4.19-pre6 + vm33 from Andrea Arcangelly.

Funny stats:

bash-2.05$ free
total used free shared buffers cached
Mem: 516496 512804 3692 0 2080 10064
-/+ buffers/cache: 500660 15836
Swap: 1028120 1028120 0

I'm running X, netscape, mutt, top, 5 xterms, web, mysql, ftp, samba etc.
Lots of "0-order allocation failed" in the log. Anyway it is usable!
The good thing is VM is killing right process most of the time:

VM: killing process memory-killer

Netscape got killed. Big deal, I can start it again and it works...

P.S. Running it already for 20 minutes.

-- 

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