User Tools

Site Tools


ubuntu:gpu:benchmark_the_gpu:hashcat

Ubuntu - GPU - Benchmark the GPU - Hashcat

Hashcat is a password recovery tool.


Install hashcat

sudo apt install -y hashcat

Get hashcat information

hashcat -I

returns:

hashcat (v6.2.5) starting in backend information mode
 
OpenCL Info:
============
 
OpenCL Platform ID #1
  Vendor..: Advanced Micro Devices, Inc.
  Name....: AMD Accelerated Parallel Processing
  Version.: OpenCL 2.1 AMD-APP (3513.0)
 
  Backend Device ID #1
    Type...........: GPU
    Vendor.ID......: 1
    Vendor.........: Advanced Micro Devices, Inc.
    Name...........: Radeon RX 7900 XTX
    Version........: OpenCL 2.0 
    Processor(s)...: 48
    Clock..........: 3220
    Memory.Total...: 24560 MB (limited to 20876 MB allocatable in one block)
    Memory.Free....: 24448 MB
    OpenCL.Version.: OpenCL C 2.0 
    Driver.Version.: 3513.0 (HSA1.1,LC)
    PCI.Addr.BDF...: 0c:00.0

NOTE: Near the top it shows that hashcat makes use of the GPU.

  • Backend Device ID:
    • Name: Radeon RX 7900 XTX

Benchmark

hashcat -b | uniq

returns:

hashcat (v6.2.5) starting in benchmark mode
 
Benchmarking uses hand-optimized kernel code by default.
You can use it in your cracking session by setting the -O option.
Note: Using optimized kernel code limits the maximum supported password length.
To disable the optimized kernel code in benchmark mode, use the -w option.
 
OpenCL API (OpenCL 2.1 AMD-APP (3513.0)) - Platform #1 [Advanced Micro Devices, Inc.]
=====================================================================================
* Device #1: Radeon RX 7900 XTX, 24448/24560 MB (20876 MB allocatable), 48MCU
 
Benchmark relevant options:
===========================
* --optimized-kernel-enable
 
-------------------
* Hash-Mode 0 (MD5)
-------------------
 
Speed.#1.........: 70140.4 MH/s (11.02ms) @ Accel:512 Loops:1024 Thr:32 Vec:1
 
----------------------
* Hash-Mode 100 (SHA1)
----------------------
 
Speed.#1.........: 30426.9 MH/s (26.05ms) @ Accel:128 Loops:1024 Thr:128 Vec:1
...

NOTE: Near the top it shows that hashcat makes use of the GPU.

  • Device #1: Radeon RX 7900 XTX

References

ubuntu/gpu/benchmark_the_gpu/hashcat.txt · Last modified: 2023/06/27 09:04 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki