Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
showing 7.7 vs 8GB of memory?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
paulb787
Apprentice
Apprentice


Joined: 14 Nov 2005
Posts: 250

PostPosted: Thu Oct 13, 2011 5:43 am    Post subject: showing 7.7 vs 8GB of memory? Reply with quote

why is gnome system monitor only showing 7.7 vs 8GB of memory?

cat /proc/mtrr
Quote:
reg00: base=0x000000000 ( 0MB), size= 8192MB, count=1: write-back
reg01: base=0x200000000 ( 8192MB), size= 1024MB, count=1: write-back
reg02: base=0x0bb800000 ( 3000MB), size= 8MB, count=1: uncachable
reg03: base=0x0bc000000 ( 3008MB), size= 64MB, count=1: uncachable
reg04: base=0x0c0000000 ( 3072MB), size= 1024MB, count=1: uncachable
reg05: base=0x23fe00000 ( 9214MB), size= 2MB, count=1: uncachable



Thank U
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5909

PostPosted: Thu Oct 13, 2011 7:36 am    Post subject: Reply with quote

because it is better for business to write 8G (in decimal) instead of 7.7G in size.
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
s_bernstein
Apprentice
Apprentice


Joined: 11 Mar 2006
Posts: 172
Location: Bremen, Germany

PostPosted: Thu Oct 13, 2011 1:24 pm    Post subject: Reply with quote

We are talking about RAM here, and that is, as far as I know, always calculated in base2 units. Only the storage supplies need to fool their customers.
Your RAM is showing as 7.7G instead of 8G because there are some parts of your RAM allocated by other hardware (graphics, network, storage) and is therefore unavailable as RAM. You can argue, that they should display 8G of RAM with 300M reserved / inaccessable / unavailable or whateever, but they don't. If I remember correctly this has historical / technical reason.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Fri Oct 14, 2011 1:30 pm    Post subject: Reply with quote

The kernel is using 300MB of non-freeable RAM. It'll say the same in top, free, htop, etc.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum