Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


350mb of ram???

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> Feature Request/Bug Report
Author Message
jacko



Joined: 15 May 2008
Posts: 17

Posted: Tue May 20, 2008 9:05 pm    Post subject: 350mb of ram???  

Quote: free -m
total used free shared buffers cached
Mem: 350 271 78 0 14 101
-/+ buffers/cache: 154 195
Swap: 255 96 159

I'm not really that picky, but I was just curious as to why u advertise for 360? Does the 10mb go to some other process like xen?
Back to top  
caker



Joined: 15 Apr 2003
Posts: 2371
Location: Galloway, NJ

Posted: Tue May 20, 2008 9:07 pm    Post subject:  

The kernel itself occupies some of that RAM, just like on a physical machine.

cat /proc/meminfo, and you'll see how it's broken out.

-Chris
Back to top  
MaineCoon



Joined: 24 Apr 2008
Posts: 6

Posted: Tue May 27, 2008 3:48 pm    Post subject: Re: 350mb of ram???  

jacko wrote: Quote: free -m
total used free shared buffers cached
Mem: 350 271 78 0 14 101
-/+ buffers/cache: 154 195
Swap: 255 96 159

I'm not really that picky, but I was just curious as to why u advertise for 360? Does the 10mb go to some other process like xen?

I do get see all 360 in 'free -m', running Ubuntu 7.10 and "latest 2.6 series" kernel.

Check that you gave that Linode your full memory allotment in the configuration profile - if you didn't choose 'Max' and instead chose to limit it, then accidentally typed 350 instead of 360.
Back to top  
jdlspeedy



Joined: 31 Jan 2008
Posts: 3

Posted: Tue May 27, 2008 4:44 pm    Post subject:  

This could also be Xen vs UML

UML:
# free -m
total used free shared buffers cached
Mem: 347 194 153 0 68 85
-/+ buffers/cache: 40 307
Swap: 255 19 236
-------------------------------------------------------------------------------
Xen:
# free -m
total used free shared buffers cached
Mem: 360 340 20 0 80 151
-/+ buffers/cache: 108 251
Swap: 255 3 252
Back to top  
jacko



Joined: 15 May 2008
Posts: 17

Posted: Sat Jun 07, 2008 6:16 pm    Post subject:  

caker wrote: The kernel itself occupies some of that RAM, just like on a physical machine.

cat /proc/meminfo, and you'll see how it's broken out.

-Chris

This way shows ~358mb, which is by far close enough for me. I forgot about /proc. Still in the learning curve for linux myself.
Back to top  
jacko



Joined: 15 May 2008
Posts: 17

Posted: Sun Jun 15, 2008 8:58 pm    Post subject:  

I switched kernels, was running 2.6.24-linode8 but now I am using 2.6.18-domU-linode7 because of a time sync issue.

Anyway, check this out.
Quote: cat /proc/meminfo
MemTotal: 368840 kB
MemFree: 123444 kB
Buffers: 4260 kB
Cached: 82964 kB
SwapCached: 6084 kB
Active: 161284 kB
Inactive: 61492 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 368840 kB
LowFree: 123444 kB
SwapTotal: 262136 kB
SwapFree: 204048 kB
Dirty: 12 kB
Writeback: 0 kB
AnonPages: 134740 kB
Mapped: 3284 kB
Slab: 7436 kB
PageTables: 1068 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 446556 kB
Committed_AS: 368748 kB
VmallocTotal: 487416 kB
VmallocUsed: 2192 kB
VmallocChunk: 485224 kB

I think that means this is very independent answer depending on plenty of variables.
Back to top  
 
       Linode.com Forum Forum Index -> Feature Request/Bug Report
Page 1 of 1