Is it possible to use all cpu cores in ubuntu server with gnu parallel for a program? I will use hashcat program.

1 Answer 1


You can use GNU Parallel to use all CPU cores, but it is useless to do so if the goal is to run hashcat. hashcat will run on all cores automatically (so says the first result I found on google).

The main problem wwhen solving one problem with parallel resources is sharing out the problem space so that the different resources do not uselessly duplicate work by working on the same part of the problem. GNU Parallel is a general-purpose program for sharing load, and will leave you quite a lot of work to do, while hashcat is designed for the task and will natively do the load sharing. It will also use a GPU if you have one, which is good if you actually want to brute-force a password.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .