Vast.ai - Using GPU and CPU at same time! - Printable Version +- hashcat Forum (https://hashcat.net/forum) +-- Forum: Misc (https://hashcat.net/forum/forum-15.html) +--- Forum: Hardware (https://hashcat.net/forum/forum-13.html) +--- Thread: Vast.ai - Using GPU and CPU at same time! (/thread-11410.html) |
Vast.ai - Using GPU and CPU at same time! - rodrigo.Brasil - 05-01-2023 When I am running hashcat on my computer, I can use my GPU and CPU the same time. The CPU looks like to add 10% to 15% more power. But when I try it in the site vast.ai, using the best GPU, the world ever made, like RTX 3090 or RTX 4090, I can't use the CPU. I assume the power the CPU can give is really small compared to the GPU. And hashcat make the decision to not use it.. But... If it even add 1% more, the price I will pay in the end will be the same for me (you can say someone will spend more electric energy because it). Is this a kind of Tragedy of the commons? If it uses the CPU, the electric bill will be bigger and at the end, the rent price will increase for everyone and what I gain will be a small % of the brute force power? Or I just need to install something? Why I can't use GPU and CPU at same time in this cases? RE: Vast.ai - Using GPU and CPU at same time! - marc1n - 05-01-2023 Whether it is faster with the CPU depends on the type of hash you are working on. In most cases, the CPU slows down the GPU. To use the CPU you must have OpenCL installed on your instance. RE: Vast.ai - Using GPU and CPU at same time! - rodrigo.Brasil - 05-11-2023 (05-01-2023, 05:36 PM)marc1n Wrote: Whether it is faster with the CPU depends on the type of hash you are working on. In most cases, the CPU slows down the GPU. To use the CPU you must have OpenCL installed on your instance. So... How do I install the OpenCL for CPU? I really tried a lot of things and none worked. This is just an random machine I rent. The GPU works fine. It was even a small success to hashcat list the Device #3, but don't worked. Show the magic command that will make it works! Code: * Device #3: Outdated POCL OpenCL driver detected! OS - Version Code: cat /etc/os-release uname -a Code: Linux 1edf239bd740 5.15.0-60-generic #66~20.04.1-Ubuntu SMP Wed Jan 25 09:41:30 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux RE: Vast.ai - Using GPU and CPU at same time! - marc1n - 05-11-2023 Device #3: Outdated POCL OpenCL driver detected! This OpenCL driver may fail kernel compilation or produce false negatives. We recommend using a version of POCL >= 1.9 RE: Vast.ai - Using GPU and CPU at same time! - rodrigo.Brasil - 05-11-2023 (05-11-2023, 08:23 AM)marc1n Wrote: Device #3: Outdated POCL OpenCL driver detected! Hahahaha... Obvious I read it! But I didn't know how to solve it. Is there a tutorial of how install opencl in linux for CPU? RE: Vast.ai - Using GPU and CPU at same time! - Gyfer - 06-21-2023 (05-11-2023, 04:31 AM)rodrigo.Brasil Wrote: Show the magic command that will make it works! Tested in WSL2 with 20.04 Focal Fossa. First, remove previous old POCL 1.4 OCD Code: sudo apt remove pocl-opencl-icd Then, install necessary dependencies and packages. Set LLVM to version 12 (latest available in apt search) Code: export LLVM_VERSION=12 Clone the POCL from github Code: cd ~ Ready to build cmake Code: cd ~/pocl Copy over ICD to /etc/OpenCL/vendors Code: sudo cp /usr/local/etc/OpenCL/vendors/pocl.icd /etc/OpenCL/vendors/pocl.icd See the result Code: clinfo Example: Code: CUDA API (CUDA 12.2) Reference: 1. https://github.com/pocl/pocl/ 2. https://hashcat.net/forum/thread-9601.html?highlight=intel+opencl Many thanks to @chuckity . Couldn't have get pocl to work if he didn't pointed out to copy over the ICD file. |