From nobody Thu Jun 18 19:16:05 2026 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4gh9SH2nDVz6hn6C; Thu, 18 Jun 2026 19:16:15 +0000 (UTC) (envelope-from vermaden@interia.pl) Received: from smtpo75.interia.pl (smtpo75.interia.pl [217.74.67.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4gh9SH04sDz3h0m; Thu, 18 Jun 2026 19:16:15 +0000 (UTC) (envelope-from vermaden@interia.pl) Authentication-Results: mx1.freebsd.org; none Date: Thu, 18 Jun 2026 21:16:05 +0200 From: vermaden Subject: Re: New Default GELI kern.geom.eli.threads Value Proposal To: Mark Millard , "hackers@freebsd.org" , "freebsd-current@freebsd.org" X-Mailer: interia.pl/pf09 In-Reply-To: References: X-Originating-IP: 45.148.42.22 Message-Id: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=dk; t=1781810167; bh=ZQZt71Yygnyk4W2k+lTUyiOW67dfoJCXxYDu1FdlBMo=; h=Date:From:Subject:To:Message-Id:MIME-Version:Content-Type; b=Zxuc0QwTuli3LDUsIHUm2FxAOcA3t4jPdIeYUWqhJZ4uoYblaPQYdfo0nKJy9ayqB dDadEJRWaZjQxziBVL+Hx06k+DzQBySdTGAkkhsF8hMbMgzHYR4B5mRL9jZKNHs6en 1JV4Jhg+2MFaAzjdrf547/KTYBwOmU5un1gzoKUg= X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16138, ipnet:217.74.64.0/22, country:PL] X-Rspamd-Queue-Id: 4gh9SH04sDz3h0m X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated > amd64 system with 16 2-thread cores (SMT): > > # echo $(nproc) > 32 > > (No cpuset based subsetting involved.) > > # sysctl kern.smp.cores > kern.smp.cores: 16 I was probably not specific enough. I would set GELI to use number of threads equal to physical cores - no matter where the info about physical cores comes from ... and that is for ALL encrypted GELI devices - not 'per device'. So If you have ONE disk and 4 physical cores - it means use 4 GELI threads. If You have 80 disks and 10 physical cores - it means use 10 GELI threads for ALL of these encrypted disks - NOT 10 threads per disk. Hope that helps. Regards, vermaden