From b768f96228f60dbb3158f4b29e0eb62b8527461a Mon Sep 17 00:00:00 2001 From: Jens Steube Date: Wed, 3 Nov 2021 09:08:17 +0100 Subject: [PATCH] Device Threads: The default maximum device thread number has been reduced from 1024 to 256, users can still overwrite with the -T option --- docs/changes.txt | 1 + include/types.h | 2 +- src/modules/module_08900.c | 2 +- src/modules/module_21800.c | 8 -------- src/modules/module_27700.c | 2 +- 5 files changed, 4 insertions(+), 11 deletions(-) diff --git a/docs/changes.txt b/docs/changes.txt index a54b7f988..2d9f15113 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -38,6 +38,7 @@ - Makefile: Added wildcard include src/modules/module_*.mk directive so that plugin developers can add 3rd party libraries for their plugins - Rejects: Disabled checking of the minimum and maximum length of the password candidate in attack-mode 9 because they are incompatible - POCL: Added a workaround for an issue in POCL that uses a quote character as part of the path itself given to a path for the -I option +- Device Threads: The default maximum device thread number has been reduced from 1024 to 256, users can still overwrite with the -T option - Tuning-DB: Add missing entries for -m 25600 and -m 25800 for CPU cracking * changes v6.2.3 -> v6.2.4 diff --git a/include/types.h b/include/types.h index b204c64ae..2c441b780 100644 --- a/include/types.h +++ b/include/types.h @@ -1760,7 +1760,7 @@ typedef enum kernel_workload KERNEL_LOOPS_MIN = 1, KERNEL_LOOPS_MAX = 1024, KERNEL_THREADS_MIN = 1, - KERNEL_THREADS_MAX = 1024, + KERNEL_THREADS_MAX = 256, } kernel_workload_t; diff --git a/src/modules/module_08900.c b/src/modules/module_08900.c index b8eafedfc..850b96a35 100644 --- a/src/modules/module_08900.c +++ b/src/modules/module_08900.c @@ -420,7 +420,7 @@ const char *module_extra_tuningdb_block (MAYBE_UNUSED const hashconfig_t *hashco "GeForce_RTX_3070 * 8900 1 46 A\n" "GeForce_RTX_3090 * 8900 1 82 A\n" "ALIAS_AMD_RX480 * 8900 1 15 A\n" - "ALIAS_AMD_Vega64 * 8900 1 31 A\n" + "ALIAS_AMD_Vega64 * 8900 1 28 A\n" "ALIAS_AMD_MI100 * 8900 1 79 A\n" "ALIAS_AMD_RX6900XT * 8900 1 59 A\n" ; diff --git a/src/modules/module_21800.c b/src/modules/module_21800.c index fa8c184b7..6a454a326 100644 --- a/src/modules/module_21800.c +++ b/src/modules/module_21800.c @@ -97,14 +97,6 @@ bool module_unstable_warning (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE } } - // amdgpu-pro-20.50-1234664-ubuntu-20.04 (rocr) - // test_1620713931/test_report.log:! unhandled return code 255, cmdline : cat test_1620713931/21800_passwords.txt | ./hashcat --quiet --potfile-disable --runtime 400 --hwmon-disable -O -D 2 --backend-vector-width 4 -a 0 -m 21800 test_1620713931/21800_hashes.txt - // test_1620719578/test_report.log:! unhandled return code 255, cmdline : cat test_1620719578/21800_passwords.txt | ./hashcat --quiet --potfile-disable --runtime 400 --hwmon-disable -D 2 --backend-vector-width 4 -a 0 -m 21800 test_1620719578/21800_hashes.txt - if ((device_param->opencl_device_vendor_id == VENDOR_ID_AMD) && (device_param->has_vperm == true)) - { - return true; - } - // amdgpu-pro-20.50-1234664-ubuntu-20.04 (legacy) // test_1619943729/test_report.log:! unhandled return code 255, cmdline : cat test_1619943729/21800_passwords.txt | ./hashcat --quiet --potfile-disable --runtime 400 --hwmon-disable -O -D 2 --backend-vector-width 1 -a 0 -m 21800 test_1619943729/21800_hashes.txt // test_1619955152/test_report.log:! unhandled return code 255, cmdline : cat test_1619955152/21800_passwords.txt | ./hashcat --quiet --potfile-disable --runtime 400 --hwmon-disable -D 2 --backend-vector-width 4 -a 0 -m 21800 test_1619955152/21800_hashes.txt diff --git a/src/modules/module_27700.c b/src/modules/module_27700.c index 4bd32efdc..f4ace1384 100644 --- a/src/modules/module_27700.c +++ b/src/modules/module_27700.c @@ -453,7 +453,7 @@ const char *module_extra_tuningdb_block (MAYBE_UNUSED const hashconfig_t *hashco "GeForce_RTX_3070 * 27700 1 46 A\n" "GeForce_RTX_3090 * 27700 1 82 A\n" "ALIAS_AMD_RX480 * 27700 1 15 A\n" - "ALIAS_AMD_Vega64 * 27700 1 31 A\n" + "ALIAS_AMD_Vega64 * 27700 1 28 A\n" "ALIAS_AMD_MI100 * 27700 1 79 A\n" "ALIAS_AMD_RX6900XT * 27700 1 59 A\n" ;