K S Sandeep wrote:
Ajith wrote :-Hi ,we need swap space double that of ur RAM, sothat one half of the Swap we can write,and from the other half we can read back to the RAm. Its just like swapping two variable values, we need a third temporary variable. Here we can veiw swap as made up of 2 variables of the size equivalent to that OF ur RAM.
hope its clear now. sandeep
So if the /swap size is more than 2 times the RAM size then
the remaining in /swap partion which is more than 2 times the RAM is not used.
ie, 128 MB is the RAM size i made the /swap partion size as 300 MB so in the 300 MB , 128 MB is used as write 128 MB is used for read so toaly 256 MB is used as swap remaining 44 MB in /swap partion is unused.
Correct me if im wrong....
Ajith.
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/