Regarding the swap area

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



K S Sandeep wrote:


Hi ,
we need swap space double that of ur RAM, so
that 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


Ajith wrote :-
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/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux