Your message dated Wed, 19 Jun 2024 10:51:14 +0000
with message-id <[email protected]>
and subject line Bug#983000: fixed in zram-tools 0.3.5-1~exp1
has caused the Debian Bug report #983000,
regarding zram-tools: Ship better defaults to suite swap on all hardware
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
983000: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=983000
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: zram-tools
Version: 0.3.2.1-1
Severity: wishlist
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Dear Maintainer,
Please consider updating the defaults to make the package suitable for
installation on most Debian machines.
swap-on-zram has the potential to replace conventional swap. Fedora has done
this[1] by default not just for IoT devices but even for desktops. In
FreedomBox, I have proposed to use it as the default swap solution[2].
The current defaults lead to a hard-coded 256MiB of swap space. This is useful
for single board computers with about 512MiB of RAM but not very useful for
other machines. Instead, consider making that 50% of the available RAM. On
systems that don't typically use swap, this will only incur a 0.1% overhead[3].
RAM will not be get pre-allocated for the zram device. It is only allocated
when necessary.
Further, the configuration file /etc/default/zramswap has incorrect description
for PERCENT parameter. It says, "Specifies the amount of RAM that should be
used for zram based on a percentage the total amount of available memory This
takes precedence and overrides SIZE below". The disksize kernel parameter for
the zram device computed using the above configuration option is about the
amount of space available in the newly create block device. The amount of RAM
that the device will consume depends on compression. Typically 1:2 compression
is expected. So, if PERCENT is set to 50% on a 8GiB machine, then 4GiB of swap
space will be available and on an average case that will consume 2GiB of RAM.
What I am proposing is this:
- -# Specifies the amount of RAM that should be used for zram
- -# based on a percentage the total amount of available memory
+# Specifies the size of swap space that should be created with the zram device
+# computed as a percentage of the total amount of available memory.
# This takes precedence and overrides SIZE below
- -#PERCENT=50
+PERCENT=50
Thank you for packaging and maintaining zram-tools. Also consider systemd-zram-
generator[4].
Links:
1) https://fedoraproject.org/wiki/Changes/SwapOnZRAM
2) https://salsa.debian.org/freedombox-team/freedombox/-/merge_requests/2033
3)
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/admin-
guide/blockdev/zram.rst
4) https://github.com/systemd/zram-generator/
- --
Sunil
- -- System Information:
Debian Release: 10.8
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.9.0-0.bpo.5-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=en_IN.UTF-8, LC_CTYPE=en_IN.UTF-8 (charmap=UTF-8),
LANGUAGE=en_IN.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages zram-tools depends on:
ii bc 1.07.1-2+b1
zram-tools recommends no packages.
zram-tools suggests no packages.
- -- Configuration Files:
/etc/default/zramswap changed [not included]
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEE5xPDY9ZyWnWupXSBQ+oc/wqnxfIFAmAtxbYRHHN1bmlsQG1l
ZGhhcy5vcmcACgkQQ+oc/wqnxfImUBAArorWb/sGYvZ16N7nMTIK+U/8mciG8LZ7
kF6l3eSweGXjp9eyaP4xjyTAT9JuXfgbey3msR0JR0mjQvAFN2Fp3wNws3h4xC0O
DmrPn2LGczamjX0FZyUs4tDG22zhv7PFPX3NqNtusjZE5WRWxNJrNChl3gBjydW7
QqW7k/vcm2ajpz3csDubVehvIE5qMkK83DFs+/cspQpN7W/B0wgW066mQ9FOGlq5
ozogZKHS6BreDgR7YFxS5EV0HGyG+1umCAAWfMmnY9PK85yGBccWzutcqC81d/xW
PiazkvXWA5U8tlCt+ev8E1OGBwMRxlAq0Vri0rq9+wI0bHHxHCDvOPMtz+p1Yrhh
XzvsocbqqqkmM7VfWova+97zM+QS6RmzwhgfuaALNHtND7F5eeXcZFpbDI+ldr5b
LltQsRBDuHpRFYPPvdy4j4BgN0mbIRgQweLTit3m+iKVXlOtm9TEQlp9E8hXSlg9
2RnBbjhXjFtLhpqoaX1qQZUOGLb8FFTENkWYDljzeP1JjjdpVWGt6/YgMGDTFSX2
mvHdRFSIFKlQR7x99DxMBOcufHmBr75V0j1Rp+S0PWuwYhzwZpHT7yWxFaSghksM
vDVc/ZGJQ+BBBFOXrFHfnlESXqyYelGyubnfU+8xwlRzP7Adpx04s+BxGpdFddgm
LtJEr1/RggI=
=4ibq
-----END PGP SIGNATURE-----
--- End Message ---
--- Begin Message ---
Source: zram-tools
Source-Version: 0.3.5-1~exp1
Done: Jonathan Carter <[email protected]>
We believe that the bug you reported is fixed in the latest version of
zram-tools, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jonathan Carter <[email protected]> (supplier of updated zram-tools package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 19 Jun 2024 11:50:01 +0200
Source: zram-tools
Architecture: source
Version: 0.3.5-1~exp1
Distribution: experimental
Urgency: medium
Maintainer: Jonathan Carter <[email protected]>
Changed-By: Jonathan Carter <[email protected]>
Closes: 983000 1021808 1068854
Changes:
zram-tools (0.3.5-1~exp1) experimental; urgency=medium
.
[ Debian Janitor ]
* Trim trailing whitespace.
* Use secure copyright file specification URI.
* Bump debhelper from old 12 to 13.
* Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
Repository-Browse.
.
[ Jonathan Carter ]
* New upstream release (Closes: #1068854, #983000)
* Fix package description (Closes: #1021808)
* Update standards version to 4.7.0
* Update copyright years
* Update watch file for new GitLab
Checksums-Sha1:
8ee83cf544c5c2e8c0ac03991bc86f960272c590 1888 zram-tools_0.3.5-1~exp1.dsc
88dbb83d8d99840ce32057d0921da2a6dcac6e23 3606 zram-tools_0.3.5.orig.tar.bz2
f95befe54dfafc432629dbf9055e2678f49c6223 2352
zram-tools_0.3.5-1~exp1.debian.tar.xz
49f8cd9b30313111bce568cbeffc8813d2d10e0c 6242
zram-tools_0.3.5-1~exp1_source.buildinfo
Checksums-Sha256:
2e60cbd201fa695ce9a757b006f7e88eb1a458755e0ba8c8505e2cc4c10d1fdc 1888
zram-tools_0.3.5-1~exp1.dsc
df0003192f1b6d21ceea7a23faedcea122e491a7f2501845e5ece645d6f0d746 3606
zram-tools_0.3.5.orig.tar.bz2
994c116b55f39eeeb01f95b4222a74a4c5072300fa397e93f940ea151d24df0a 2352
zram-tools_0.3.5-1~exp1.debian.tar.xz
8742fae45136948a1ac33663b32a4cab8977de23e4364b39511af3913f065127 6242
zram-tools_0.3.5-1~exp1_source.buildinfo
Files:
3a4cbde0067e2a9f70ad523430bdc7ed 1888 utils optional
zram-tools_0.3.5-1~exp1.dsc
60db4bda5df98e0bb6862c00a1bae85d 3606 utils optional
zram-tools_0.3.5.orig.tar.bz2
7d02924cdf5149107a252b17dba5cff7 2352 utils optional
zram-tools_0.3.5-1~exp1.debian.tar.xz
aa6baaa7b18fe84d560665be8bbceb39 6242 utils optional
zram-tools_0.3.5-1~exp1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJDBAEBCgAtFiEExyA8CpIGcL+U8AuxsB0acqyNyaEFAmZysfAPHGpjY0BkZWJp
YW4ub3JnAAoJELAdGnKsjcmh/WQQAKj1kLm/YluHSWq9kS9N7DKw/Sk+8A90HKiH
xtnejjZX7BMvZHhk4jI5XnvreyYiaka8evmtlGzY+8Tu/cePSXqUA7UnlqnyQvX3
4Ru7KXuCsAoEm18QVgQHsd2cTyguwOkGPnBYGzO2tYnL1O3TNRxLMgp7vfbzugjn
XwJUH5e7xCu0Hdw7zBi2ZllHw9Pfu+tEZ+YQK1p6x9E3ZNuPV6+91/nwYtBLOOTm
z/k72YqzsOPMKC+BXXk/nyldp2se2gODwWm26wE7ZT5BrS5wY3PyDLIKbqi5ghhG
/UuqjB2Gtxnx1R28RZeG1/yNvP1w6UlBhZmAy/nghHDeEhCTKWnfn2P3C9fgOpKG
MnTUCTNqRVOsCPLyE4TiO1rq/4CdpIucfpAvFHpbxhRwowanQtsASEnD8YHGEppt
HhX47MFBxlus6GCPJ1KN9KRor1U2TqWAvHaJGTZlqEoNFNFW1vjFs35KEB5qSwDN
oKg9PR+sB7PuYrZbT3k11DTKCKrtl0W+whzTIfzMbmjzw68ABoE9FXRAdFFxpWAe
M+QDBztJidU7CEF/Mx+IMV5JLkhGq7Tnxkl2YjrfJZ7OhHiJhWSW0+EzncBhavwg
2umlyts9+0kd3Re/jexCBNE+FLq5qpF8w8NgoSd3pzxhfww7UKp6aC/M6PxgRlBr
k1mKPKhr
=II7Z
-----END PGP SIGNATURE-----
pgpcvWkcTHtCw.pgp
Description: PGP signature
--- End Message ---