![]() |
CPU vs GPU - 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: CPU vs GPU (/thread-6336.html) |
CPU vs GPU - kola.kolya0 - 02-26-2017 Which is better? CPU or GPU? I've tried using both and the CPU seems faster, but when i run hashcat it only uses 1/4 of the maximum power (1024mb out of 4048mb). Is there a way that I can allocate more memory to hash cat and could I allocate more GPU memory to hash cat? If it helps I'm using a 2015 macbook air. I would use my desktop which has more CPU power but I don't know how to allocate more power so I'm just using my macbook air. RE: CPU vs GPU - royce - 02-26-2017 GPU is usually better. There's no way to use more memory at the hashcat level. Some background on the 25% memory cap is here. I have an open enhancement request with NVIDIA to investigate, but there's no guarantee that they can do anything about it. RE: CPU vs GPU - kola.kolya0 - 02-26-2017 If the GPU is better... why is my CPU faster at cracking the hashes? RE: CPU vs GPU - royce - 02-26-2017 I don't know a lot about Mac hardware, but I would assume that this is because the GPU in that unit is slower than the CPU? In my experience, the GPU is usually better, though, so someone else may know more. Can you post an MD5 benchmark (-d -m 0) for both CPU and GPU? EDIT: My apologies - I meant (-b -m 0)! RE: CPU vs GPU - kola.kolya0 - 02-26-2017 It's telling me that it's an invalid argument RE: CPU vs GPU - royce - 02-26-2017 That definitely works. Orient yourself with your command line. Code: $ hashcat -b -m 0 RE: CPU vs GPU - royce - 02-26-2017 Also note that the "maximum power" you mentioned early is memory size, which has no relationship to speed. RE: CPU vs GPU - kola.kolya0 - 02-26-2017 On my Desktop: CPU: OpenCL Platform #1: Apple ========================= * Device #1: Intel(R) Core(TM) i3 CPU 550 @ 3.20GHz, 2047/12288 MB allocatable, 4MCU * Device #2: ATI Radeon HD 5670, skipped Hashtype: MD5 Speed.Dev.#1.....: 60611.3 kH/s (69.10ms) GPU: OpenCL Platform #1: Apple ========================= * Device #1: Intel(R) Core(TM) i3 CPU 550 @ 3.20GHz, skipped * Device #2: ATI Radeon HD 5670, 128/512 MB allocatable, 5MCU Hashtype: MD5 Speed.Dev.#2.....: 753.3 MH/s (52.96ms) On my Laptop: CPU: OpenCL Platform #1: Apple ========================= * Device #1: Intel(R) Core(TM) i5-5250U CPU @ 1.60GHz, 1024/4096 MB allocatable, 4MCU * Device #2: Intel(R) Iris(TM) Graphics 6100, skipped Hashtype: MD5 Speed.Dev.#1.....: 51787.3 kH/s (80.91ms) GPU: OpenCL Platform #1: Apple ========================= * Device #1: Intel(R) Core(TM) i5-5250U CPU @ 1.60GHz, skipped * Device #2: Intel(R) Iris(TM) Graphics 6100, 384/1536 MB allocatable, 48MCU Hashtype: MD5 Speed.Dev.#2.....: 427.9 MH/s (57.82ms) Nothing compared to yours of course RE: CPU vs GPU - royce - 02-26-2017 In the posted benchmarks, your GPU performance is roughly an order of magnitude better than your CPU performance. RE: CPU vs GPU - kola.kolya0 - 02-27-2017 so what does that mean? |