Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update main.go #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update main.go #3

wants to merge 1 commit into from

Conversation

genewitch
Copy link

added 2 second delay on each startup because the stock run won't work properly on 128 cores, it only starts about 40 at a time.

I figure someone can make this a command line option -delay or something.

added 2 second delay on each startup because the stock run won't work properly on 128 cores, it only starts about 40 at a time.

I figure someone can make this a command line option -delay <ms> or something.
@anon8675309
Copy link

I can confirm that this is also a problem on 64-core machines at well. The issue is that multiple instances of AFL will bind to the the same core. To see this in action:
head -n 25 $OUTPUT_DIR/$TARGET/*/afl-launch.log | grep binding | sort

I also did some experimentation and a 100 ms delay still resulted in two threads binding to CPU #0, but a 250 ms delay seems to reliably avoid any CPU contention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants