hashcat Forum

Full Version: Limiting number of cores
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

Is there a way to tell hashcat CPU to use just a number of cores? I would like to experiment with the performance results depending on the number of cores used. How can I do this?
(04-28-2023, 10:51 AM)ChristMoltisanti Wrote: [ -> ]Hello,

Is there a way to tell hashcat CPU to use just a number of cores? I would like to experiment with the performance results depending on the number of cores used. How can I do this?

use -D1 -d1 for CPU only  and --cpu-affinity=1,2,3 ... for each core/logical processor you want to use

--cpu-affinity            | Str  | Locks to CPU devices, separated with commas          | --cpu-affinity=1,2,3

keep in mind you have to run same bench with same settings mutliple times, dont compare single runs