Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 May 2000 09:58:55 -0400
From:      "Marcelo J. Iturbe" <marcelo@msm.cl>
To:        questions@freebsd.org, K.J.Bosschaart@tue.nl
Subject:   Memory problems (Was going stable...)
Message-ID:  <4.3.1.2.20000515095214.00b7c610@msm.cl>
In-Reply-To: <20000510170728.A1168@wop21.wop.wtb.tue.nl>
References:  <4.3.1.2.20000510102216.00b207d0@192.168.1.10> <4.3.1.2.20000509111631.00d0fab0@msm.cl> <4.3.1.2.20000509111631.00d0fab0@msm.cl> <20000510021313.A1879@wop21.wop.wtb.tue.nl> <4.3.1.2.20000510102216.00b207d0@192.168.1.10>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,
I recompiled GENERIC kernel with the option "MAXMEM=262144", Once the new 
kernel was configured I ran a grep just to make sure.
         su-2.03# grep -i maxmem *
         config.c:___options             \"MAXMEM=262144\"  \n\
         opt_maxmem.h:#define MAXMEM 262144

I proceeded to compile and install the kernel, The new Kernel boots up just 
fine. But when I do a "top" i see the following:

Mem: 34M Active, 8344K Inact, 11M Wired, 2544K Cache, 7456K Buf, 4188K Free

67 Megs of RAM! Why?!

I made sure that the new kernel was indeed the one that booted checking out 
dmesg.

Does the system actually use 256M but top only recognises the first 64??

Thanks for your insight!


At 05:07 PM 5/10/00 +0200, Karel J. Bosschaart wrote:
>On Wed, May 10, 2000 at 10:32:26AM -0400, Marcelo Iturbe wrote:
> >
> > When I run top under freebsd I get:
> >
> > Mem: 37M Active, 3848K Inact, 15M Wired, 3424K Cache, 7458K Buf, 532K Free
> >
> > All those numbers add up to 67.262Megs of RAM. this machine has a total of
> > 256Megs of RAM.
> > It also has 768 megs of swap and that is showed in a more friendly manner:
> >
> > Swap: 768M Total, 372M Used, 396M Free, 48% Inuse, 100K In, 128K Out
> >
> > It seems to me that the FreeBSD is not recognizing the total RAM that the
> > machine has.
> > SO, I was trying to download the 3.3-Release kernel source so that I could
> > do as recomended. ( I have no clue who took my 3.3-release CD)
> >
> > "Sounds like its not seeing all of you ram - you will need to set maxmem in
> > the config and recompile it."
>
>See http://www.nl.freebsd.org/FAQ/troubleshoot.html#REALLYBIGRAM which
>describes the problem that you most probably have. You need to recompile
>the kernel with the option
>
>options "MAXMEM=262144"
>
>for 256 MB of RAM. There is an entry in the handbook how to recompile
>your kernel (http://www.freebsd.org/handbook/kernelconfig.html).
>
>If you don't have the CD anymore, you need to download the kernel sources,
>which is most easily done by using /stand/sysinstall (FTP)  and selecting the
>kernel source there ('post-install configuration of FreeBSD',
>'install additional distribution sets', 'sources for everything but
>encryption', '/usr/src/sys'). Be sure to grab the kernel source version
>matching your FreeBSD version (3.3-RELEASE).
>
>Good luck,
>
>Karel.


***********************************************
                  ICQ 22921676
                  MSM Interactive.
      El Bosque Norte 0134, Las Condes, Chile.
Phone: (56-2) 234-9852  Fax: (56-2) 233-8912
Email: marcelo@msm.cl    http://www.msm.cl
*******************************************



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.3.1.2.20000515095214.00b7c610>