From patchwork Tue May 16 09:06:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arne Fitzenreiter X-Patchwork-Id: 6860 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4QL9Mc181bz3wlf for ; Tue, 16 May 2023 09:06:20 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4QL9MZ5qLNzdk; Tue, 16 May 2023 09:06:18 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4QL9MZ2CzMz2yWL; Tue, 16 May 2023 09:06:18 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4QL9MX4Xk9z2yTq for ; Tue, 16 May 2023 09:06:16 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4QL9MW41NtzKp; Tue, 16 May 2023 09:06:15 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1684227975; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=4QCKb4HMbM3NCXXyRWeavmIIQ/tjXEusgIjlCS7CZxQ=; b=mzeaVKcLCjXSD0/iKcNQa+V/uK7OaFT73bNfMlpG2iEz2fLvQGc4uqnUt0aDpi0us+sPpe 2LSWy714sQm+/7BQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1684227975; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=4QCKb4HMbM3NCXXyRWeavmIIQ/tjXEusgIjlCS7CZxQ=; b=pZ5JoiT+WZ4AGZa7LOWcapBhVR29+y6DiX1xvoJyU781xkakJenGmIxf61CeKklvXy2/AL bmDQAeOnNodFs6Z1R77kldTyUujBS+t57b4PQ3ESIOp8pWDKD/60XLeErai1ITMHFhgzQK bn2VWhfgwSVYzy/p+A4z5bg+jbeWvDt3EDLmn3shZWnXPxlKzdcvq35Zeq+NyTb+waxTKe boOcs4iqQLDWLUpAe2o9AmdTRfXlNFX0rJda4PfHITjkNkiwrdCPMdY4ZULi9KmRoiqzxU wQcZIwBRve/PCKoGche5gJ3LETxsztLG6AVEbave/DTh2w7Hsp5iU7uvtDy+Ww== From: Arne Fitzenreiter To: development@lists.ipfire.org Subject: [PATCH] dracut: lower ram usage at commpression Date: Tue, 16 May 2023 09:06:06 +0000 Message-Id: <20230516090606.1170-1-arne_f@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Arne Fitzenreiter Errors-To: development-bounces@lists.ipfire.org Sender: "Development" this lower the compression ratio sligtly (the ramdlisk is 100kb larger) and use only a single thread now. (it's still faster than before on a dual core.) Note to Peter: if there are no other changes on dracut ship only /usr/lib/dracut/dracut.conf.d/ipfire.conf at core update. fixes: #13091 Signed-off-by: Arne Fitzenreiter --- config/dracut/ipfire.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/dracut/ipfire.conf b/config/dracut/ipfire.conf index bab5c8a2e..5a4f0aa7c 100644 --- a/config/dracut/ipfire.conf +++ b/config/dracut/ipfire.conf @@ -2,4 +2,4 @@ early_microcode="yes" # Compress using Zstandard -compress="zstd" +compress="zstd -10 -q -T1"