Bug#987503: swap partition only 1 GB instead of at least 1 x RAM size

2023-10-13 Thread Johannes Schauer Marin Rodrigues
Hi, On Wed, 14 Sep 2022 12:29:13 +0200 Pascal Hambourg wrote: > Sorry to insist, but IMO this issue should really be worked out. I once > suggested the following simple formula : > > max swap size = min(RAM size, disk space * R) > > with R being a ratio between 0 and 100% to be defined.

Bug#987503:

2023-07-09 Thread Richard Hartmann
On Sun, Jul 9, 2023 at 7:48 PM Cyril Brulebois wrote: > For the avoidance of doubt, the relevant partman-auto code is present > in buster, bullseye, and bookworm. Thanks for the correction; I was under the impression that this has been more recent. I don't install my systems very often,

Bug#987503:

2023-07-09 Thread Rainer Dorsch
Am Sonntag, 9. Juli 2023, 19:35:53 CEST schrieb Richard Hartmann: > I tried hibernation on Thinkpad X1 Carbon Gen 1, Gen 5, Gen 7, and Gen > 11. They all work. As per > https://chaos.social/@waldi/110683468203241035 , I believe that the > definition of "modern system" Waldi refers to means

Bug#987503:

2023-07-09 Thread Cyril Brulebois
Richard Hartmann (2023-07-09): > As such, the current behavior is a breaking change for laptop users and > leaves them with a broken system; when they realize why hibernation does > not work they need to reinstall the system or reformat by hand with all > the data moving that entails. > > The

Bug#987503:

2023-07-09 Thread Richard Hartmann
I tried hibernation on Thinkpad X1 Carbon Gen 1, Gen 5, Gen 7, and Gen 11. They all work. As per https://chaos.social/@waldi/110683468203241035 , I believe that the definition of "modern system" Waldi refers to means catering to a Windows world, something not deeply relevant to the Debian use

Bug#987503: SWAP=115% of RAM (?)

2023-07-09 Thread Rainer Dorsch
I just run into the same issue. https://lists.debian.org/debian-boot/2023/07/msg00049.html Many thanks Josch for sharing the partman-auto workaround in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=987503#30 worked well for me. Just to get another datapoint, I checked a Manjaro system I

Bug#987503: swap partition only 1 GB instead of at least 1 x RAM size

2023-06-16 Thread Wes Frazier
Just hit this on Debian Bookworm. Just a thought, but couldn't the laptop-detect package come in handy here? Switching the algorithm for swap size, based on if the target hardware is a laptop or not? - Wes

Bug#987503: swap partition only 1 GB instead of at least 1 x RAM size

2023-02-25 Thread Diederik de Haas
On Saturday, 25 February 2023 08:46:21 CET Bastian Bittorf wrote: > There was an argument by steve: > "waste hundreds of gigabytes on swap space." > > => If a computer has "hundreds of gigabytes" of RAM > (and so swap), you do not care - you have enough resources anyway. The use-case which was

Bug#987503: swap partition only 1 GB instead of at least 1 x RAM size

2023-02-24 Thread Bastian Bittorf
This bug is open since nearly 2 years and needs a fix, please do it. It is absolutely annoying to workaround such issues. If there is anything where i cant help, i will do so. There was an argument by steve: "waste hundreds of gigabytes on swap space." => If a computer has "hundreds of

Bug#987503: swap partition only 1 GB instead of at least 1 x RAM size

2023-01-07 Thread Jason Quinn
I was also bitten by this bug with the Debian bookworm alpha1 era installer. This is not a wishlist kind of bug; This is a bug of grave severity. Breaking hibernation is unacceptable and is a key feature of modern operating systems for both laptop and desktop users. If the idea behind the 1GB

Bug#987503: swap partition only 1 GB instead of at least 1 x RAM size

2022-12-30 Thread Pascal Hambourg
On 30/12/2022 at 01:03, Joshua McNeil wrote: On Thu, 8 Dec 2022 13:05:48 +0100 Bastian Blank wrote: Hibernation does not work on any modern x86 machine and you don't want to have huge swap on desktop machines as it only adds latency. (...) Hibernation works just fine on all of my modern

Bug#987503: swap partition only 1 GB instead of at least 1 x RAM size

2022-12-29 Thread Joshua McNeil
On Thu, 8 Dec 2022 13:05:48 +0100 Bastian Blank wrote: > > The current default is suitable. Hibernation does not work on any > modern x86 machine and you don't want to have huge swap on desktop > machines as it only adds latency. > > Bastian > I recently ran into this issue while considering

Bug#987503: swap partition only 1 GB instead of at least 1 x RAM size

2022-12-08 Thread Pascal Hambourg
On 08/12/2022 at 13:05, Bastian Blank wrote: Hibernation does not work on any modern x86 machine Why ?

Bug#987503: swap partition only 1 GB instead of at least 1 x RAM size

2022-12-08 Thread Bastian Blank
On Thu, Dec 08, 2022 at 11:35:43AM +0100, Jan Kowalsky wrote: > So: please set a default again which is reasonable for laptops and > workstations. We always recommend debian for desktops to our customers. > But if many things are not really suitable for Desktops people will > avoid debian. The

Bug#987503: swap partition only 1 GB instead of at least 1 x RAM size

2022-12-08 Thread Jan Kowalsky
Hi all, we do second this. While we always installed workstations automatically with debian preseeding and the default receipts (lvm encrypted) we noticed the defaults suddenly changed in bullseye. I would support the assumption that for server installations this is not a big issue since one (at

Bug#987503: swap partition only 1 GB instead of at least 1 x RAM size

2022-09-14 Thread Pascal Hambourg
Hello, On 09/09/2022 at 16:54, Johannes Schauer Marin Rodrigues wrote: > partman-auto/cap-ram=1024 (...) Description: for internal use; can be preseeded Cap RAM size to specified size in MB, when calculating the swap partition size. Defaults to 1024, meaning 1GB, and since swap is

Bug#987503: swap partition only 1 GB instead of at least 1 x RAM size

2022-09-09 Thread Johannes Schauer Marin Rodrigues
Hi, On Sun, 5 Sep 2021 10:37:13 +0200 Pascal Hambourg wrote: > On Sun, 25 Apr 2021 17:33:28 + Martin wrote: > > Also I assume, that desktop PCs are more oftenly installed > > relying on d-i defaults, while servers are typically installed > > by experienced admins. > > I agree and am

Bug#987503: swap partition only 1 GB instead of at least 1 x RAM size

2021-12-14 Thread Richard Z
If hibernation is broken by default it would be wise to disable it completely because some systems may trash or lockup if they attempt to hibernate with 1G of RAM.

Bug#987503: swap partition only 1 GB instead of at least 1 x RAM size

2021-09-05 Thread Pascal Hambourg
Hello all, On Sun, 25 Apr 2021 17:33:28 + Martin wrote: On 2021-04-24 21:40, Steve McIntyre wrote: There is no such thing as a "correct" formula, though. The old formula was similarly causing lots of hassle for people installing on servers who didn't want to waste hundreds of gigabytes

Bug#987503: swap partition only 1 GB instead of at least 1 x RAM size

2021-04-25 Thread Martin
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).

Bug#987503: swap partition only 1 GB instead of at least 1 x RAM size

2021-04-24 Thread Steve McIntyre
Control: severity -1 wishlist Hi Martin! On Sat, Apr 24, 2021 at 04:14:16PM -0400, Martin wrote: >Package: debian-installer >Version: bullseye-rc1 >Severity: important >Tags: d-i > >I installed using the graphical UI and selected automatic >partitioning with encrypted LVM, with all files in '/'.

Bug#987503: swap partition only 1 GB instead of at least 1 x RAM size

2021-04-24 Thread Martin
Package: debian-installer Version: bullseye-rc1 Severity: important Tags: d-i I installed using the graphical UI and selected automatic partitioning with encrypted LVM, with all files in '/'. RAM size is 16 GB, SSD has 1 TB. To be able to hibernate the system, a swap partition of at least 1 x