-
Notifications
You must be signed in to change notification settings - Fork 275
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
Element-desktop-nightly have more CPU usage #1570
Comments
So it is use more IOPS in idle mode at end of work day:
My system setup ssd as lvm cashe. So this stat say, that many writes in spool of lv (from element?):
May be it is "migration proccess" by Rust lib? But it is continue second day... |
|
Related #1444 |
May be exist any hack? Clear data, disable search in encrypted rooms? |
Yes, likely disabling message indexing would alleviate it. |
I'm not aware of such an issue. |
Disabling "search in encrypting room" - not help. :-( |
We haven't yet rolled out a migration process for existing sessions for Element Desktop builds; unless you've overridden the configuration, the Rust crypto library will currently only be used for new logins, or if you explicitly enable it via the "labs" setting in the UI. So, is this a new login? Or did you enable Rust Crypto some other way? |
No, it is not new login. Config dir was on my disc from old time ago. But some days ago I was begin use element-desktop-night again (because element-desktop not started - after every start - his kill by OOM-killer: #1564 ). Now I try "clear cache and restart" in settings of element-desktop-nightly, but after restart "CPU/IO eating" was continue... |
I was not enable Rust encrypting. It was enabled by default. I can not disable it - splash said: "Rust cryptography can not be disabled on this deploiment of Element Nightly". |
ohhh. yes. This was a bug in our implementation of the rust labs option: sessions which had not been used since before v1.11.18 will be automatically migrated. Well, that explains why you're on Rust Crypto, but doesn't explain why it's a problem. There's no particular evidence here that it is rust crypto that is the problem. @t3chguy: I see a lot of element-hq/element-web#27173 going on in the logs: could it be that? |
@richvdh unknown, haven't dug into that issue, maybe the maintainer knows something about it |
Do it is normal, when migration continue 2 work days (~28 hour) with hard use I/O and CPU? I think not. I think it is normal not more maximum 2 hour. |
I think you misunderstand me. I agree there is a problem here. My point is: I now understand why you are using Rust crypto; but I do not understand what has caused your problem. I think it is unrelated to Rust crypto. For clarity: I'm leaving this for the Element-web team to investigate. |
Steps to reproduce
Outcome
What did you expect?
use cpu in range 1-10% in idle
What happened instead?
more use cpu usege by element in range 60-70% in idle state
I was try start element with disabling gpu, but this was not help:
--disable-gpu --in-process-gpu
Operating system
Debian 12
Application version
Element-desktop-nightly 2024030901
How did you install the app?
official element.io repo for debian 12
Homeserver
matrix-synapse-py3 1.89.0+bullseye1
Will you send logs?
Yes
The text was updated successfully, but these errors were encountered: