Skip to content

Make a queues + buffer: higher priority for PMKID (WPA*01), if not found proceed WPA*02 as a last option #117

@FFAMax

Description

@FFAMax

Hi, Alex.
Noticed, that for WPA*01 to proceed one dict may take 10 seconds, while for WPA*02 it may take 20-35 with the same dict.
The idea is:
If we have a lot of tasks waiting for workers, good to put them in separate queues, one for WPA*01, another one for WPA*02.
Regardless of the queue, delay them for avg time (hkey.first_task_taken - hkey.submission_time) to collect more samples in case will have further submissions.

When time to assign a task, select (regardless of submission time)

  • all WPA*01 related to hkey +
  • all WPA*01 related to the same BSSID +
  • all WPA*01 related to the same SSID

Delay WPA*02 until all WPA*01 networks processed. This may save 100-125% resources by picking first less time consuming WPA*01.

P.S. even we have a lot of workers, good to optimize process to save energy :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions