hashcat Forum
Limiting number of cores - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-45.html)
+--- Thread: Limiting number of cores (/thread-11402.html)



Limiting number of cores - ChristMoltisanti - 04-28-2023

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?


RE: Limiting number of cores - Snoopy - 04-28-2023

(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