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

Performance and annoying sound #32

Open
threez opened this issue Oct 10, 2013 · 0 comments
Open

Performance and annoying sound #32

threez opened this issue Oct 10, 2013 · 0 comments

Comments

@threez
Copy link
Contributor

threez commented Oct 10, 2013

Im using your library with the nonblocking turned on and eventmachine. I faced a problem with this part of the process input interval:

      @process_input_interval = eventmachine ? 0.0001 : 0.01

Since the interval in a eventmachine setup is very high my machine (linux) produces an annoying high freq. sound. Also it uses one core at 80% cpu (without doing anything). I manually tried this:

      @process_input_interval = 0.01

And it removed the sound and made the process use 2% cpu, when nothing happens.

Im not sure why the value is set the way it is currently. So maybe you can tell.

Thx & Kind regards

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

No branches or pull requests

1 participant