Skip to content

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