Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Swap usage
PostPosted: Tue Sep 28, 2010 5:30 am 
Offline
Senior Newbie

Joined: Thu Sep 17, 2009 2:57 pm
Posts: 19
Can someone educate me, or point me to a good article, so that I can understand swap usage. My average app mem usage is 122MB, cache 200MB and buffers 93MB, yet my average swap usage is 30MB, peaking at 90MB.

According to my (naive) understanding, I thought swap is only used when real memory is exhausted. Will swap still be used with only 122MB of app memory used?

Take a look at my Munin graph (will give warning due to self-signed SSL cert) for details:

https://emerson.oct5.org/munin/oct5.org ... y-week.png

Any thoughts? Is this normal, or is tweaking required?

Richard


Top
   
 Post subject:
PostPosted: Tue Sep 28, 2010 9:17 am 
Offline
Senior Newbie

Joined: Thu Feb 04, 2010 8:49 pm
Posts: 19
I had the same question some time ago, and everything was clarified in this post: http://www.linode.com/forums/viewtopic.php?t=5981

_________________
VladGh.com


Top
   
 Post subject:
PostPosted: Tue Sep 28, 2010 9:45 am 
Offline
Senior Newbie

Joined: Thu Sep 17, 2009 2:57 pm
Posts: 19
Ah, OK.

So, in normal use, some swapping is a good thing.

Thanks!


Top
   
 Post subject:
PostPosted: Tue Sep 28, 2010 10:31 am 
Offline
Senior Member

Joined: Fri Dec 07, 2007 1:37 am
Posts: 385
Location: NC, USA
hobbes7 wrote:
So, in normal use, some swapping is a good thing.

Having some swap space being used (statically) is a good thing, swapping (actively) is a bad thing. As long as what is swapped is really stuff that isn't being used you are OK.

Google "swappiness" to learn all about how you can influence the kernel's tendency to swap.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


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

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group