Active Topics

 


Reply
Thread Tools
Posts: 72 | Thanked: 5 times | Joined on Dec 2009 @ USA
#1
What would the normal be on the RAM usage while running idle? With 60% showing with corky running is this good? It seems a little high but didn't know.
 
fnordianslip's Avatar
Posts: 670 | Thanked: 359 times | Joined on May 2007
#2
Unused RAM is a waste of, er, well, RAM. Linux will allocate RAM for cache and buffers when it has more than it needs.

Conky actually has two variables called "memfree" and "memeasyfree". The latter includes memory that is easily freed up, from buffers, etc. Note that the default Conky config uses neither of these.

A quick experiment with both leads me to conclude that the RAM Usage shown in Conky is based on the memeasyfree context, i.e. it doesn't include RAM allocated to buffers, etc.

In general, there's not much to worry about with RAM usage. If your Swap usage is high, then the system is getting heavily loaded.

Hope this helps.
__________________
Class .. : Lame hacker & beardy boffin
Humour . : [#######---] Alignment: Apathetic anarchist
Patience : [####------] Weapon(s): My cat, my code.
Agro ... : |#---------] Relic(s) : N900, MacBookPro, NSLU2, N800, SheevaPlug, Eee-901, Core2-Quad, PS3
"In theory, theory and practice are the same. In practice, they're not."
--
Beware of extras-devel.
 

The Following User Says Thank You to fnordianslip For This Useful Post:
Posts: 72 | Thanked: 5 times | Joined on Dec 2009 @ USA
#3
Thanks I am running about 2% swap which for this device overall is damn good I am thinking. RAM seems a little high would like to see it down to about 20% when idle but for as small of a device as this is it appears to be understandable
 
Posts: 486 | Thanked: 251 times | Joined on Oct 2009
#4
Originally Posted by backwoods View Post
Thanks I am running about 2% swap which for this device overall is damn good I am thinking. RAM seems a little high would like to see it down to about 20% when idle but for as small of a device as this is it appears to be understandable
You may not have quite got what fnordianslip wrote.

When linux reads some data from disk, it leaves it in RAM, just in case it needs the data again. When all the RAM has been used and more data is read, it replaces data that has not been reread very often or was read the longest time ago. If All the RAM is being used by running programs, then some data is moved from RAM to swap.

A lot of data is read by linux just booting, so very little RAM is ever completely free.
 
Posts: 72 | Thanked: 5 times | Joined on Dec 2009 @ USA
#5
OIC Thanks, I sort of had a brief understand of the ram and always thought that the lower the amount the better when idle for speed when running mutiple programs at the same time. Swaping I am not to sure about but knew it had something to do with the ram, process and cpu speed. It seems to be doing pretty good at the moment I just thought it may have been a little high. Thanks
 
jaeezzy's Avatar
Posts: 664 | Thanked: 160 times | Joined on Jul 2008 @ Australia
#6
Hi I'm a little curious that Conky shows that my swap is used at around 4% just while opening browser(inbuilt and after a reboot) and as I write it went up to 7%. From my understanding, shouldn't it be used only when RAM is fully used coz my RAM usage is just 66%? and also that I understand swap is slower than RAM. Is it normal? Thanks.
 
Posts: 1,258 | Thanked: 672 times | Joined on Mar 2009
#7
No, rarely used data often gets moved to swap and the ram freed used to cache often-used files instead.
 

The Following 2 Users Say Thank You to shadowjk For This Useful Post:
jaeezzy's Avatar
Posts: 664 | Thanked: 160 times | Joined on Jul 2008 @ Australia
#8
Originally Posted by shadowjk View Post
No, rarely used data often gets moved to swap and the ram freed used to cache often-used files instead.
Sorry but is the reply "No" an answer to my question "is it normal?"
 
Posts: 336 | Thanked: 610 times | Joined on Apr 2008 @ France
#9
Originally Posted by jaeezzy View Post
Sorry but is the reply "No" an answer to my question "is it normal?"
Yes, it is.

Edit: 200th post, woohoo!
 
jaeezzy's Avatar
Posts: 664 | Thanked: 160 times | Joined on Jul 2008 @ Australia
#10
Originally Posted by CrashandDie View Post
Yes, it is.
so what should be done??
 
Reply


 
Forum Jump


All times are GMT. The time now is 06:37.