Re: More memory == better?

From: Dirk Moerenhout (dirk@staf.planetinternet.be)
Date: Wed Oct 24 2001 - 03:38:13 EST


On Tue, 23 Oct 2001, J Sloan wrote:

> If you don't enable highmem support, you'll
> be able to use about 960 MB of your 1 GB -
> no big loss, right?

Actually if you wish you can use your full 1GB just fine without HIGHMEM:

In /proc/meminfo:
MemTotal: 1025360 kB
LowTotal: 1025360 kB

At boot:
kernel: On node 0 totalpages: 262128
kernel: zone(0): 4096 pages.
kernel: zone(1): 258032 pages.
kernel: zone(2): 0 pages.

The related config parameters:
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
# CONFIG_1GB is not set
CONFIG_2GB=y
# CONFIG_3GB is not set

For what I know this trick just limits you on the amount of swap you can
have. The suggestion came from Ingo Molnar and it works fine for me.

Dirk Moerenhout ///// System Administrator ///// Planet Internet NV

-
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/



This archive was generated by hypermail 2b29 : Wed Oct 31 2001 - 21:00:20 EST