Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #84374 > unrolled thread

Bug#1086172: linux-image-amd64: Enable more ZRAM compression options by default

Started byRichard <rrosner5@gmail.com>
First post2024-10-28 11:00 +0100
Last post2024-12-16 10:40 +0100
Articles 3 — 3 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#1086172: linux-image-amd64: Enable more ZRAM compression options by default Richard <rrosner5@gmail.com> - 2024-10-28 11:00 +0100
    Bug#1086172: linux-image-amd64: Enable more ZRAM compression options by default Nisha Robinson <nisharobinson52@gmail.com> - 2024-12-08 01:30 +0100
    Bug#1086172: linux-image-amd64: Enable more ZRAM compression options by default Alexander GQ Gerasiov <gq@debian.org> - 2024-12-16 10:40 +0100

#84374 — Bug#1086172: linux-image-amd64: Enable more ZRAM compression options by default

FromRichard <rrosner5@gmail.com>
Date2024-10-28 11:00 +0100
SubjectBug#1086172: linux-image-amd64: Enable more ZRAM compression options by default
Message-ID<JCuHv-4PU4-5@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Package: linux-image-amd64
Version: 6.11.4-1
Severity: wishlist
X-Debbugs-Cc: rrosner5@gmail.com


Dear Maintainer,
ZRAM is quite a helpful feature to avoid swapping to storage. As it seems, the Debian config only allows for lzo and lzo-rle compression by default. As LZO is (according to the zramswap config) not only not the most efficient, but also the slowest algorithm, I'd propose to enable additional algorithms by default, and maybe even change the default algorithm. Zstd would most likely be a much better suited default, as it's a great compromise between speed and efficiency, and users can then choose on their own if they rather want to use e.g. LZO or LZ4 instead.


Best
Richard

[toc] | [next] | [standalone]


#84764

FromNisha Robinson <nisharobinson52@gmail.com>
Date2024-12-08 01:30 +0100
Message-ID<JRdln-exe7-3@gated-at.bofh.it>
In reply to#84374

[Multipart message — attachments visible in raw view] — view raw

Starting with kernel 6.12 ZSTD compression is no longer available for ZRAM.
It used to be available by default.

LZO is one of the worst compression algorithms for ZRAM and a lot of users
expect ZSTD to be available. I would really like to see Debian enable all
the compression algorithms as now I have to use a worse compression
algorithm that will effect the performance of my ZRAM swap.

Konomi

[toc] | [prev] | [next] | [standalone]


#84841

FromAlexander GQ Gerasiov <gq@debian.org>
Date2024-12-16 10:40 +0100
Message-ID<JUfK2-hvzT-3@gated-at.bofh.it>
In reply to#84374
Package: src:linux
Version: 6.12.3-1
Followup-For: Bug #1086172

Dear Maintainer,

You need to add
CONFIG_ZRAM_BACKEND_LZ4=y
CONFIG_ZRAM_BACKEND_ZSTD=y

And remove
CONFIG_ZRAM_BACKEND_FORCE_LZO=y

It's also possible to turn on
CONFIG_ZRAM_DEF_COMP_ZSTD=y
instead of
CONFIG_ZRAM_DEF_COMP_LZORLE=y
since it looks more balanced in speed/compression


-- Package-specific info:
** Version:
Linux version 6.12.3-amd64 (debian-kernel@lists.debian.org) (x86_64-linux-gnu-gcc-14 (Debian 14.2.0-8) 14.2.0, GNU ld (GNU Binutils for Debian) 2.43.50.20241204) #1 SMP PREEMPT_DYNAMIC Debian 6.12.3-1 (2024-12-07)

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web