Re: 2GB physical memory on an Intel/Linux box

Pavel Machek (pavel@elf.ucw.cz)
Mon, 9 Mar 1998 22:21:55 +0100


Hi!

> > Does there exist a patch for 2.0.33 that will permit the use of
> > 2GB of physical memory? We have been able to get ~768MB so far.
> > While I found a discussion of this issue in the Linux-Kernel
> > mailing list archives of last July, there was only a hint of a patch.
>
> I don't know of such a patch, but it should be possible to use the extra memory
> as swap space, even if it's not usable directly. This is also useful for people
> with broken motherboards where the L2 cache doesn't cache more than the first
> 64/512 Mb of RAM, making the remainder unusable as general-purpose
> memory.

I've just posted patch for slram, which is that ramdisk you are
talking about. Unfortunately, I can not imagine how I would use
additional memory as ramdisk, since /dev/slram uses assumption that
all physical is mapped 1:1 into kernel space. Doing without this
assumption is pretty different.

> If this was extended to handle the fact that the memory isn't just accessed by
> phystovirt(xxx), but has to be specifically accessed through vm tricks, then
> it should theoretically be able to handle up to 4Gb of physical memory, or
> however much the x86 chips can physically address.

I think that people with more than 2Gig of ram on intel should be
forced to buy alpha. Big penguin should come, take any memory over
2Gig sell it and buy alpha instead.

> This is far from an ideal solution, but it will at least offer some way of
> using the extra memory until a better alternative is produced.

There will be no better solution... I think.

-- 
I'm really pavel@atrey.karlin.mff.cuni.cz. 	   Pavel
Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu