Quote:
Originally Posted by shams
is this make any deference in performance of linux system, the second question is what size will be better for swap partition for good performance of the latest linux distributions.
|
It is easy to run tests on your system to see what swap size and configuration works best for you. Set up the various swap partitions that you are considering. Then use the swapon and swapoff commands to switch among your various swap partitions. Run heavy tests of your typical workload against each configuration and see which configuration performs best. If you do this I ask you to post the results here on linuxquestions to let us know what works best for you.
see;
man swapon
man swapoff
-----------------------
Steve Stites
P.S. One of your test runs should be with no swap partition enabled. That will give a base performance to measure how much each swap partition improves performance, if any.
Over the years I have found that the best performance improvement when using a two drive system is by placing /usr on a separate drive from the rest of the Linux system.