Re: New Default GELI kern.geom.eli.threads Value Proposal

vermaden <[email protected]> Thu, 18 Jun 2026 21:16:05 +0200
Newsgroups gmane.os.freebsd.devel.hackers
Message-ID <fmqpvubhoxgwpgjxrbbf__45377.8436918341$1781810243$gmane$org@wzhy>
> 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