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

Processor use #3

Open
morganflint opened this issue Nov 9, 2023 · 2 comments
Open

Processor use #3

morganflint opened this issue Nov 9, 2023 · 2 comments

Comments

@morganflint
Copy link

I've found something strange with processor use while running this program: Once it starts playing music (not while running just with the web interface), processor use in my machine starts growing relatively fast during the first 5 minutes or so, then continues growing not as fast until it stabilizes two hours after starting to play. I would expect a jump in processor use just at the moment it starts playing, but not this relatively fast then slow growth.

Maybe it's due to some kind of buffer getting filled up?

I'm attaching graphs of processor use where the peaks coincide with the periods playing music on radio, and a screenshot of glances
RadioProcessorUse3
RadioProcessorUse2
RadioProcessorUse

@MikMuellerDev
Copy link
Owner

Hmm, this looks interesting.
I will probably have a look at this soon.
However, i don't really have that much control over how music is being played since rodio does most of the heavy work for me.

@morganflint
Copy link
Author

Ok, thanks!
I found these three (closed) issues in rodio related to high CPU use:
RustAudio/rodio#136
RustAudio/rodio#431
RustAudio/rodio#402

The first one seems rather simple to implement if it was the case...

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

2 participants