linux-mips-fnet
[Top] [All Lists]

Re: R5000 Unused memory (was: R4000SC...)

To: linux-mips@fnet.fr
Subject: Re: R5000 Unused memory (was: R4000SC...)
From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Date: Tue, 27 Oct 1998 20:20:28 +0100
In-reply-to: <19981023023232.A375@uni-koblenz.de>; from ralf@uni-koblenz.de on Fri, Oct 23, 1998 at 02:32:32AM +0200
References: <19981013220043.A2620@uni-koblenz.de> <19981015195141.A1697@zigzegv.ml.org> <19981016132433.C3370@uni-koblenz.de> <19981017104618.A3076@zigzegv.ml.org> <19981018111145.J4768@uni-koblenz.de> <19981019111501.A16024@zigzegv.ml.org> <1998102010305 <19981023005132.A3866@alpha.franken.de> <19981023023232.A375@uni-koblenz.de>
On Fri, Oct 23, 1998 at 02:32:32AM +0200, ralf@uni-koblenz.de wrote:
> On Fri, Oct 23, 1998 at 12:51:32AM +0200, Thomas Bogendoerfer wrote:
> > it works perfect at least on my Olli. If you don't have a spare partition
> > you can use a swapfile.
> 
> Can you say diskless?

yes it's spelled NBD (network block device).

But before telling me that the current behaviour isn't good for diskless
machines, go and fix it. I'm no longer convinced that it's a generic
Linux problem. The Intel machine, where I did the test first, doesn't
show the problem anymore. My Alpha doesn't do it and my P5 SMP system works
as expected. And now the big news, it doesn't happen on the Olli:

[root@mips /root]# free
             total       used       free     shared    buffers     cached
Mem:         30340       6068      24272       6248        964       1952
-/+ buffers/cache:       3152      27188
Swap:            0          0          0
[root@mips /root]# ./xx
failed to allocate 512 bytes (23890432 bytes already allocated)
spinning ... 

It only happens on the Indy:

[root@indy /root]# free
             total       used       free     shared    buffers     cached
Mem:         60448      11676      48772       9308        772       6580
-/+ buffers/cache:       4324      56124
Swap:            0          0          0
[root@indy /root]# ./xx
failed to allocate 512 bytes (40519680 bytes already allocated)
spinning ... 

On all other platforms I get about the memory (minus some kbytes), what was 
free at the time I started the test.

Thomas.

-- 
   This device has completely bogus header. Compaq scores again :-|
It's a host bridge, but it should be called ghost bridge instead ;^)
                                        [Martin `MJ' Mares on linux-kernel]

<Prev in Thread] Current Thread [Next in Thread>