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

server mainloop: use LinkedBlockingQueue instead of ConcurrentLinkedQueue #17

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

Conversation

risicle
Copy link

@risicle risicle commented Jan 26, 2020

ConcurrentLinkedQueue, having no waiting ability, lead to the use of a homebrew spinlock with a sleep time of 100ms. This meant that if the fuzzer couldn't supply the server with another request immediately (with only one fuzzin instance it never can), it would incur a 100ms wait, which would have the effect of throttling the fuzzing throughput to 10/s.

This patch raises my fuzzing rate to ~100/s.

…ueue

ConcurrentLinkedQueue, having no waiting ability, lead to the use of a
homebrew spinlock with a sleep time of 100ms. This meant that if the fuzzer
couldn't supply the server with another request immediately, it would
incur a 100ms wait, which would have the effect of throttling the fuzzing
throughput to 10/s.
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.

1 participant