-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Mumble 33% cpu use when disconnected #5497
Comments
I have the feeling that this is essentially a duplicate of the high-CPU issues mentioned in #5408 Could you try switching to a different audio backend and/or disabling echo cancellation and noise suppression? |
If I run mumble without 'auto-connect at start', and do not connect/disconnect, I get 7-9% cpu (why's mumble doing so much when not connected anyway? Checking 3 or 4 server statuses periodically isn't that tasking is it?) Here's an strace, with mumble just run, not connected, and the server-connect window up:
Roughly the same amount of time to get 20k strace lines out, but lower CPU use.
|
Could you try to compile Mumble yourself (build instructions) from current master or from the 1.4.x branch, to see if the issue can be reproduced with the latest version? EDIT: I just tried it with a version built from the current master branch and I am unable to reproduce this issue. |
I'll try. I am using PA by the way. I think we should add in to #5408 that, maybe, disconnecting from the server could also disconnect the audio? I think the only issue here is the possibility that text-to-speech might need audio. (I'm not using tts, since nobody's typing in chat, but it turns out it is enabled). Perhaps it could time out if no TTS is needed... and disconnect PA? Okay, I switched both input and output to ALSA. (If I just switch input, sound cuts out when I Apply, and I can't get it to start until I go change Output to ALSA as well). Mumble is currently taking 13-16% when disconnected. Still strange, since reconnecting drops that to 8-13%. |
Yep. I added it
Strange indeed - now I am really curious if the issue persists with a more recent Mumble build 👀 |
Okay, just running a fresh build of mumble (no auto connect, and not connected), and performance is already better. 5%. Okay, I just connected and it crashed. :) (not sure what opus is -- saw it needed to be added as a build dep, and did). |
Alright, so it seems that the performance issue is probably fixed. The issue you are seeing is described in #5302. Unfortunately we don't know the cause of this yet
It's the voice codec used to encode the audio streams. I'd say that we can close this issue as probably fixed in a more recent version of Mumble and as already mentioned: for the crash we have a separate issue already. |
Description
So, when connected and listening to live audio from one other system, in Debian Stable's packaged mumble client, (1.3.4-1), the CPU use fluctuates, going up to maybe 16% here and there. (8 core system or so).
Once DISCONNECTED, however, I get 33%, give or take.
I ran an strace, and only see a poll() every split second or so.
But with -f I see quite a lot more. Within several seconds of logs I got
strace -fp 959856
(Then sorted, uniq'ed, and sorted -n'ed):
Here's another run, after restarting mumble (it automatically connects to my server, then I disconnect and check top for it (31%), then run..):
5 seconds there.
Steps to reproduce
Mumble version
1.3.4-1
Mumble component
Client
OS
Linux
Reproducible?
Yes
Additional information
No response
Relevant log output
No response
Screenshots
No response
The text was updated successfully, but these errors were encountered: