03-27-2024, 12:11 AM
Hello, folks:
I am learning about hashcat using an Apple laptop with an M1 Max CPU, part of the Apple Silicon family. As with all Apple Silicon hardware, there is are clusters of economy CPU cores, clusters of performance cores, a GPU, and a (poorly described) arithmetic and logical unit. I know how to run hashcat with the "-d 2" option to use 100% of the GPU, and almost no CPU. I know how to run hashcat with the "-d 1" option to use a fraction of the economy cores, but little GPU or performance cores.
How can I run hashcat to get the maximum hashes/second out of my machine? Are there any tips or know-how documented anywhere?
For example, I can imagine that one method might be to run "hashcat -d 2" in one process to max out the GPU, and then one or maybe multiple "hashcat -d 1" processes to max out the CPUs. But I don't know how to coordinate these hashcat instances so that they divide the work between them. I also don't know of a way to tell hashcat to preferentially use the performance CPUs rather than the economy CPUs. And there probably are rules of thumb about how many processes of hashcat to run depending on the number of cores and amount of memory in a given Apple Silicon machine.
Can anyone point me to know-how or wisdom on how to get the maximum performance of hashcat on Apple Silicon?
I am learning about hashcat using an Apple laptop with an M1 Max CPU, part of the Apple Silicon family. As with all Apple Silicon hardware, there is are clusters of economy CPU cores, clusters of performance cores, a GPU, and a (poorly described) arithmetic and logical unit. I know how to run hashcat with the "-d 2" option to use 100% of the GPU, and almost no CPU. I know how to run hashcat with the "-d 1" option to use a fraction of the economy cores, but little GPU or performance cores.
How can I run hashcat to get the maximum hashes/second out of my machine? Are there any tips or know-how documented anywhere?
For example, I can imagine that one method might be to run "hashcat -d 2" in one process to max out the GPU, and then one or maybe multiple "hashcat -d 1" processes to max out the CPUs. But I don't know how to coordinate these hashcat instances so that they divide the work between them. I also don't know of a way to tell hashcat to preferentially use the performance CPUs rather than the economy CPUs. And there probably are rules of thumb about how many processes of hashcat to run depending on the number of cores and amount of memory in a given Apple Silicon machine.
Can anyone point me to know-how or wisdom on how to get the maximum performance of hashcat on Apple Silicon?