lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <cover.1757575365.git.luoxueqin@kylinos.cn>
Date: Thu, 11 Sep 2025 16:09:49 +0800
From: Xueqin Luo <luoxueqin@...inos.cn>
To: rafael@...nel.org,
	pavel@...nel.org,
	lenb@...nel.org,
	linux-pm@...r.kernel.org,
	linux-kernel@...r.kernel.org
Cc: Xueqin Luo <luoxueqin@...inos.cn>
Subject: [PATCH v2 0/2] PM: hibernate: make compression threads configurable and support dynamic crc arrays

Hi,

This is v2 of the series to make hibernate compression/decompression
threads configurable and improve scalability.

Changes since v1:
 - Added a new patch to dynamically allocate crc->unc_len/unc based on
   the number of threads selected at runtime. This removes the compile-
   time limit (CMP_THREADS) and enables support for arbitrary thread
   counts.
 - Enhanced the commit message of patch 1 to include more background
   information and performance numbers showing resume latency
   improvements when increasing compression threads.


In our measurements (averaged over 10 runs), increasing compression
threads from 3 to 5–6 improves resume latency by ~12% . Allowing
runtime configurability enables integrators to tune performance across
different hardware without recompiling the kernel. Dynamic allocation
further removes the compile-time limit and supports arbitrary thread
counts.	

Xueqin Luo (2):
  PM: hibernate: dynamically allocate crc->unc_len/unc for configurable
    threads
  PM: hibernate: make compression threads configurable

 kernel/power/swap.c | 66 ++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 59 insertions(+), 7 deletions(-)

-- 
2.43.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ