Enabling bigmem=1: -real mem = 3734757376 (3561MB) -avail mem = 3624775680 (3456MB) +real mem = 4271632384 (4073MB) +avail mem = 4148350976 (3956MB)
Also, from sys/arch/amd64/amd64/machdep.c: /* Tweakable by config(8) */ How? 2008/12/16 Toni Mueller <openbsd-m...@oeko.net>: > Hello, > > On Mon, 15.12.2008 at 15:47:06 +0100, Paul de Weerd <we...@weirdnet.nl> wrote: >> On Mon, Dec 15, 2008 at 10:40:44PM +0800, C. Soragan Ong wrote: >> | I am using OpenBSD 4.4 and is having problem detecting 4GB ram. Below is >> the >> | dmesg >> >> Well, all memory is found (see the spdmem entries in your dmesg), but > > these messages suggest that he has 4GB of RAM installed in his machine, > right? > >> not all of it is supported by the default kernel. You'll have to >> enable bigmem and compile a new kernel yourself. > > I thought that 4GB of RAM *are* supported in the default kernel? > > But apart from that, I'm having a quite similar problem with a > completely different machine. It turns out that very much RAM is eaten, > depending on various BIOS settings. I haven't figured out how to tune > it, but currently I'm losing some 700+MB this way (really AWFUL!). I > have found out that enabling PXE eats some 20MB per NIC on which it is > enabled, though. > > > Kind regards, > --Toni++