Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject:
PostPosted: Tue Aug 22, 2006 4:22 pm 
Offline
Senior Member
User avatar

Joined: Wed Mar 17, 2004 12:35 am
Posts: 118
Website: http://www.necrobones.com/
Location: Sterling, VA
pclissold wrote:
No swap is fine as long as you are confident that you will never come close to using all of your physical memory.


True, but I'd rather have some available in case it's needed. Better than running afoul of nasty thrashing or worse the OOM killer (I've seen it in action, it's not pretty).

If your running applications will consistently fit into RAM (with some room to spare), generally the box will rarely, if ever, swap anything out to disk. You can also control this to some degree by adjusting the value of '/proc/sys/vm/swappiness'... I just looked and my linode is set to '60'. Higher numbers will make you swap more. Lower will swap less. Unfortunately, this sort of tuning can be the source of great holy wars and flame fests on various boards. Preferable values will vary depending on the sort of system you're running, performance testing, etc.

_________________
----
Ed/Bones.


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


Who is online

Users browsing this forum: No registered users and 0 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