chakri gk wrote:
 Dear Friends,
I am beginner of Linux and got a doubt.

We suggest 2 * RAM space for swap size.
Please can u elucidate:
1. why only 2* RAM space for swap space.
2. what happens if we assign more?


An interesting thread had occurred on th Linux kernel mailing list (LKML) "Is Swap Necessary?" . You can read the summary at http://kerneltrap.org/node/view/3202

There is no subjective answer (that I could find in the whole to and fro mails), the answer seems to be to experiment and find out on your own.

Another thread that you would find interesting is the "Tuning Swappiness" thread. http://kerneltrap.org/node/view/3000 . You can tune the swappiness through the proc interface for anyone needing to adapt kernel behavior to their own requirements. To tune, simply echo a value from 0 to 100 onto /proc/sys/vm/swappiness. I think this is available in 2.6 kernels only (are there any patches for 2.4 ? my small search on google did not turn up anything of interest)


-- ,-.___,-. Raj Shekhar \_/_ _\_/ System Administrator, programmer and slacker )O_O( home : http://rajshekhar.net { (_) } blog : http://rajshekhar.net/blog/ `-^-' work : http://netphotograph.com



_______________________________________________
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[EMAIL PROTECTED]/

Reply via email to