🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #342

Bug#1149922: guess-concurrency: Please consider using MemTotal instead of MemAvailable for --require-mem

#342
From: Helmut Grohne
Date: Sat, 10 Oct 2026 10:10
19 lines
2823 bytes
Hi Aurelien and Adrian,

On Fri, Oct 09, 2026 at 08:48:40PM +0200, Aurelien Jarno wrote:
> The memory used by tmpfs, but not yet swapped, appears in "Shmem". 
> Therefore how about using
> 
>   MemAvailable + min(SwapFree, Shmem) ?

Thank you for this suggestion. I implemented this in
https://salsa.debian.org/helmutg/guess_concurrency/-/commit/12e7a4d1d72d31fa0c731912985c0069210f3974.
Would you confirm that it adequately solves your problem?

Adrian, I also expanded the documentation given your feedback. Could you
have a look at
https://salsa.debian.org/helmutg/guess_concurrency/-/commit/55a7a06d2653a459855c476c914c31d5886f8c06
and let me know whether it adequately addresses your legitimate
concerns?

Helmut
Technical Details
Message-ID: <NMCbD-4FI7-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NKrNn-3tTU-1@gated-at.bofh.it> <NLk77-3WQi-15@gated-at.bofh.it> <NMnmh-4xlK-1@gated-at.bofh.it> <NMoBI-4xWS-29@gated-at.bofh.it> <NKrNn-3tTU-1@gated-at.bofh.it> <NMoBI-4xWS-29@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Helmut Grohne <helmut@subdivi.de>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1149922: guess-concurrency: Please consider using MemTotal instead of MemAvailable for --require-mem
Date: Sat, 10 Oct 2026 12:10:01 +0200
Message-ID: <NMCbD-4FI7-1@gated-at.bofh.it>
References: <NKrNn-3tTU-1@gated-at.bofh.it> <NLk77-3WQi-15@gated-at.bofh.it> <NMnmh-4xlK-1@gated-at.bofh.it> <NMoBI-4xWS-29@gated-at.bofh.it> <NKrNn-3tTU-1@gated-at.bofh.it> <NMoBI-4xWS-29@gated-at.bofh.it>
X-Original-To: Aurelien Jarno <aurel32@debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sat Oct 10 10:03:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.451
Reply-To: Helmut Grohne <helmut@subdivi.de>, 1149922@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: helmut@subdivi.de
X-Debian-Pr-Message: followup 1149922
X-Debian-Pr-Package: src:guess-concurrency
X-Debian-Pr-Source: guess-concurrency
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996038
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 19
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: 1149922@bugs.debian.org, bunk@debian.org
X-Original-Date: Sat, 10 Oct 2026 12:00:26 +0200
X-Original-Message-ID: <20261010100026.GA2400016@subdivi.de>
X-Original-References: <179110986695.1235681.8806750415812659926.reportbug@ohm.local> <20261004170411.GB3267@subdivi.de> <askt7xcP97t61BFT@aurel32.net> <ask3CL84zWE2dXOh@aurel32.net> <179110986695.1235681.8806750415812659926.reportbug@ohm.local> <ask3CL84zWE2dXOh@aurel32.net>