Ask HN: Why don't we just use hashcat to evaluate GPU performance

  • Posted 2 hours ago by nodesocket
  • 2 points
I ran the following on a M4 Pro (20 core GPU) in MacOS vs a 4070 Super in Windows 11 using WSL and was kinda shocked to see the dramatic difference in GPU performance.

    ## generate a random sha256 8 alphanumeric
    python3 - <<'PY' > hashes-sha256.txt
    import secrets
    import string
    import hashlib

    alphabet = string.ascii_letters + string.digits
    password = ''.join(secrets.choice(alphabet) for _ in range(8))
    print(hashlib.sha256(password.encode()).hexdigest())
Hashcat command:

    hashcat -m 1400 -a 3 -O \
      --potfile-path eight-alphanumeric-sha256.pot \
      -1 '?l?u?d' \
      hashes-sha256.txt '?1?1?1?1?1?1?1?1'
Somewhat surprisingly the 4070 Super showed 68,000 MH/s and my MacMini M4 Pro only got 12,500 MH/s. The 4070 Super even in WSL is 467% faster than the M4 Pro (top skew model).

1 comments

    Loading..