Bug#969656: util-linux: man page for zramctl is outdated about max_comp_streams' "default is one stream"

2020-11-08 Thread Chris Hofstaedtler
Hello Marcel Partap,

* Marcel Partap  [201108 10:40]:
> Since Kernel 4.7, it defaults to one stream per CPU:
> 
> > Regardless of the value passed to this attribute, ZRAM will always
> > allocate multiple compression streams - one per online CPU - thus
> > allowing several concurrent compression operations. The number of
> > allocated compression streams goes down when some of the CPUs
> > become offline. There is no single-compression-stream mode anymore,
> > unless you are running a UP system or have only 1 CPU online.
> 
> .. Best Regards! : )

Thank you for your report. I have very little idea what all of that
means. However the man-page is not Debian-specific.

Please raise this issue with upstream - maybe with a draft patch, as
you seem to know what zramctl is and what exactly changed and how.

You can find upstreams contact data here:
   https://github.com/karelzak/util-linux/blob/master/README

Please let me know when upstream has been informed and/or accepted a
patch.

Many thanks,
Chris



Bug#969656: util-linux: man page for zramctl is outdated about max_comp_streams' "default is one stream"

2020-09-06 Thread Marcel Partap
Package: util-linux
Version: 2.36-3
Severity: normal

Since Kernel 4.7, it defaults to one stream per CPU:

> Regardless of the value passed to this attribute, ZRAM will always
> allocate multiple compression streams - one per online CPU - thus
> allowing several concurrent compression operations. The number of
> allocated compression streams goes down when some of the CPUs
> become offline. There is no single-compression-stream mode anymore,
> unless you are running a UP system or have only 1 CPU online.

.. Best Regards! : )



-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (510, 'unstable'), (510, 'testing'), (509, 'experimental'), (500, 
'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.7.0-3-amd64 (SMP w/12 CPU threads)
Kernel taint flags: TAINT_CRAP, TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages util-linux depends on:
ii  libaudit1  1:2.8.5-2
ii  libblkid1  2.34-0.1
ii  libc6  2.30-4
ii  libcap-ng0 0.7.9-2.2
ii  libcrypt1  1:4.4.16-1
ii  libmount1  2.36-3
ii  libpam0g   1.3.1-5
ii  libselinux13.1-2
ii  libsmartcols1  2.34-0.1
ii  libsystemd0246.4-1
ii  libtinfo6  6.2-1
ii  libudev1   246.4-1
ii  libuuid1   2.34-0.1
ii  login  1:4.8.1-1
ii  zlib1g 1:1.2.11.dfsg-1+b1

util-linux recommends no packages.

Versions of packages util-linux suggests:
ii  dosfstools  4.1-2
ii  kbd 2.0.4-4
pn  util-linux-locales  

-- debconf-show failed