> 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

Reply via email to