Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] Limiting amount of memory



Linux kernel dynamically sizes a lot of buffers and other data 
structures depending on how much memory you have.  In some cases, like 
page maps, the size is dictated by the memory size.

If you do a free without the -g and/or save and compare dmesg (you may 
need to cut -c16 to remove time stamps) you will get an idea of how may 
tables are resized.

	Jerry Natowitz
===>    j.natowitz (at) gmail.com

On 09/12/13 16:50, Tim Callaghan wrote:
> I'm trying to reduce the amount of available memory on a Dell R710.  It has
> 48GB installed, I want to be able to boot it with 8G and 16G for some of my
> benchmarks.
>
> I've modified my /etc/grub.conf file, copying the top section and adding to
> the end of the kernel line as follows:
>
> kernel /boot/vmlinuz-2.6.18-348.3.1.el5 ro root=LABEL=/ mem=8G
>
>
> My problem is that with the "mem=8G" option, "free -g" reports 6G.  With
> mem=16G, "free -g" reports 9G.
>
> What am I missing?
>
> Thanks in advance,
>
> Tim
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://lists.blu.org/mailman/listinfo/discuss
>



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org