Aircrack-ng

Please login or register.

Login with username, password and session length

Post reply

Name:
Email:
Subject:
Message icon:

Attach:
(Clear Attachment)
(more attachments)
Restrictions: 10 per post, maximum total size 8920KB, maximum individual size 1536KB
Note that any files attached will not be displayed until approved by a moderator.
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:
What OS is Kali based off of, www.kali.org? Lowercase.:

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: misterx
« on: September 21, 2019, 04:20:25 pm »

Posted by: Grotte
« on: September 20, 2019, 04:30:05 am »

When using aircrack-ng, it is using 4 cpus even though my CPU only has 2 physical cores. It does have 4 logical cores because of hyperthreading. Using more threads than the number of CPUs results in thread contention that actually hurts performance. This is the output of the latest git version:

Code: [Select]
$ ./aircrack-ng -u
Vendor          = Intel
Model           = Intel(R) Core(TM) i5-4288U CPU @ 2.60GHz
Features        = MMX,SSE,SSE2,SSE3,SSSE3,SSE4.1,SSE4.2,AES-NI,AVX,AVX2
Hyper-Threading = No
CPU cores       = 4
SIMD size       = 8 (256 bit)
SIMD size in use= 4 (128 bit)

The values for Hyper-Threading and CPU cores are wrong there, they should be Yes and 2.

I glanced at the source and it looks like it's using __cpuid_count (a compiler intrinsic) to get the core count.  The following snippet using hwloc produces the correct physical core count:
Code: [Select]
nthreads = hwloc_get_nbobjs_by_type(top, HWLOC_OBJ_CORE)
OS: macOS Mojave (10.14.6)