[SLE] Maximum swap space?
Hello Linux folkz, I got a little bit confused with the size of single swap partition Linux can handle. Running Linux book stated that: "A single swap partition may be up to 128 MB in size. I you wish to use more than 128 MB of swap you can create multiple swap partitions. For example, if you need 256 MB of swap, you can create two 128-MB swap partitions." Recently somebody on Linux mailing list described his server having 256 MB and 1 GB single swap partitions. Does it mean that modern Linux kernels can handle a single swap partition of these sizes and the book gets a little bit outdated? Could somebody clarify me these issues. Thanks in advance. Alex -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
Recently somebody on Linux mailing list described his server having 256 MB and 1 GB single swap partitions. Does it mean that modern Linux kernels can handle a single swap partition of these sizes and the book gets a little bit outdated? Could somebody clarify me these issues.
The book is and isn't outdated. If you're using the 2.0.36 kernel that still comes with the SuSE distribution as an option, you can only use multiple 128MB swap partitions. If you're using the 2.2.x kernels, you can have a swap partition as large as you want. Generally, the way I have my swap partition size is twice the physical memory (i.e., my system has 128MB RAM, so my swap size is 256MB), and I have a swap partition on each hard drive. Do you need all this space for a swap partition? Probably not. Depending on what you're doing, and how much hard drive space you need, a single 128MB swap partition might be all that you need. Christopher Reimer -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
participants (2)
-
alex@daniloff.com
-
creimer@rahul.net