Hi Steve, On 2021-04-24 21:40, Steve McIntyre wrote: > On Sat, Apr 24, 2021 at 04:14:16PM -0400, Martin wrote: > >Please restore the correct formula, thank you! (Or even allow > >users to chose a swap size for the auto-partioner (e.g. if a > >users already plans to upgrade the RAM, see #780208). > > There is no such thing as a "correct" formula, though.
OK, I put it this way: "Please restore the formula, that used to work well since many releases for myself and many others, YMMV." I was bitten by this bug, because I didn't even check swap size, blindly trusting in the hundreds of times I installed Debian. So I had my lovely new system and hibernation was broken. It took me a while to realise, that swap space was too small :-( > The old formula > was similarly causing lots of hassle for people installing on servers > who didn't want to waste hundreds of gigabytes on swap space. I see. My servers only have 8..64 GB of RAM, but are not that restricted on disk space, that a wasting 8..64 GB were dramatic. And then: Why 1 GB of swap? Why not 0 GB then? Looks like a mistake/typo to me. Also I assume, that desktop PCs are more oftenly installed relying on d-i defaults, while servers are typically installed by experienced admins. The latter would use advanced methods of partioning, either manually or using automated tools. > We could probably do with an "is this a server or a desktop" up-front, > but we don't have that yet. I'ld prefer the solution suggested in #780208, because it helps in other cases, too. But for the moment reverting to the old behaviour would be very helpful. Cheers