http://bugzilla.novell.com/show_bug.cgi?id=531958 http://bugzilla.novell.com/show_bug.cgi?id=531958#c6 Matthias Eckermann <mge@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED CC| |mge@novell.com Info Provider|mge@novell.com | --- Comment #6 from Matthias Eckermann <mge@novell.com> 2010-03-11 10:07:28 UTC --- (In reply to comment #1)
(2) The algorithm of the Autoyast partitioner for the swap partition size. The following Autoyast XML code creates a 2 GB swap partition on a system that has 2 GB physical RAM. Many years ago I learned that swap should be at least the size of physical RAM, better twice as much.
I learned the same - However, I don't think this is appropriate anymore: this rule was true, when we had harddisks smaller than the RAM machines have nowadays, ...:-) That said, we have to discuss two use cases: 1. SWAP space for SWAP only. Here the current rule is sufficient 2. SWAP space for SWAP and Suspend. Here the current rule obviously is not sufficient. However, with 8+ GiB SWAP space resuming will be rather slow (2+ minutes), thus shutting off / restart the machine might be better anyways, and having a limit is reasonable. That said, I propose to not fix this for existing releases, but for future releases go with the following calculation: "Auto" should default to the RAM size rounded up to the next GiB, with the following limits: - not exceeding 4GiB - not exceeding 10% of the primary harddisk (think of small SSDs!) (whatever limit is reached first) This will need a feature request. Does that sound reasonable? so long - MgE -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.