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



Dell documentation, for example, has been known to say some of its PC's
hardware will "eat" a certain amount of RAM that you will never have access
to for user space.   You may want to review the docs of your system to see
if it has a similar claim (m/b, video card, etc).

Scott


On Fri, Sep 13, 2013 at 12:12 PM, Tim Callaghan <tmcallaghan at gmail.com>wrote:

> Ugh, this is frustrating.  I asked for 8192M (8G), but ended up with 5.79G.
>
> *I booted using this section from /etc/grub.conf:*
>
> title CentOS (2.6.18-348.3.1.el5) 8G
> root (hd0,0)
> kernel /boot/vmlinuz-2.6.18-348.3.1.el5 ro root=LABEL=/ mem=8192M
> initrd /boot/initrd-2.6.18-348.3.1.el5.img
>
> *and here is what I get from "cat /proc/meminfo"*
>
> [root at lex6 ~]# cat /proc/meminfo
> MemTotal:      6077760 kB
> MemFree:       5799244 kB
> Buffers:         16500 kB
> Cached:         137380 kB
> SwapCached:          0 kB
> Active:          67080 kB
> Inactive:       135288 kB
> HighTotal:           0 kB
> HighFree:            0 kB
> LowTotal:      6077760 kB
> LowFree:       5799244 kB
> SwapTotal:    20482864 kB
> SwapFree:     20482864 kB
> Dirty:             188 kB
> Writeback:           0 kB
> AnonPages:       48384 kB
> Mapped:          10660 kB
> Slab:            31712 kB
> PageTables:       3232 kB
> NFS_Unstable:        0 kB
> Bounce:              0 kB
> CommitLimit:  23521744 kB
> Committed_AS:   110236 kB
> VmallocTotal: 34359738367 kB
> VmallocUsed:    273564 kB
> VmallocChunk: 34359462699 kB
> HugePages_Total:     0
> HugePages_Free:      0
> HugePages_Rsvd:      0
> Hugepagesize:     2048 kB
>
>
>
> On Fri, Sep 13, 2013 at 9:59 AM, Richard Pieri <richard.pieri at gmail.com
> >wrote:
>
> > Bill Bogstad wrote:
> >
> >> On my system, they both provide identical info (If you look at the
> >> right field):
> >>
> >
> > Mine usually do but I recall seeing some exceptions. free does some
> > "interesting" rounding if you use the -g or -m switches.
> >
> > --
> > Rich P.
> >
> > ______________________________**_________________
> > Discuss mailing list
> > Discuss at blu.org
> > http://lists.blu.org/mailman/**listinfo/discuss<
> http://lists.blu.org/mailman/listinfo/discuss>
> >
> _______________________________________________
> 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