Red Hat Bugzilla – Bug 50763
autopartitioning with >1GB RAM makes swap too small
Last modified: 2007-04-18 12:35:26 EDT
Description of Problem:
Autopartitioning tries to make a swap space that's 2x physical RAM in the
system. But, the BOOT kernel can only recognize up to ~880MB of RAM, thus
autopartitioning makes a swap space of roughly 1.76GB. If you have more
than 880MB physical RAM, you then have a swap space that's too small based
on 2.4.x kernel recommendations.
If >1GB RAM is in the system, and 2x swap is still recommended, then
multiple swap partitions or swap files need to get created.
Steps to Reproduce:
1. autopartition with >=1GB RAM in the system
swap space is ~1.8GB
Swap space would be 2GB or more.
We cap the swap space we make automatically because it gets absurd to have
16gig of swap on an 8 gig RAM machine, for example. Our feeling is anyone with
that much RAM will configure the swap themselves since they're probably doing
more than your average desktop-style installation. 7.1 shipped with this cap
and we have not had any reports of problems.
Also the swap requirements of the latest 2.4 kernels are much more relaxed than
the one we shipped in 7.1.
If you like we can make a RFE for the next release to prompt a user if they have
ALOT of RAM and see how they want to autopartition swap for it.
Agreed it gets absurd, but I hadn't heard that the kernel requirements had been
relaxed. RFE for next time would be fine in that case.
Ok. Deferring until then.