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

Synchronization is much slower since 1.0.9 #2297

Closed
thomassross opened this issue Oct 26, 2020 · 6 comments
Closed

Synchronization is much slower since 1.0.9 #2297

thomassross opened this issue Oct 26, 2020 · 6 comments

Comments

@thomassross
Copy link

thomassross commented Oct 26, 2020

Describe the bug
Since v1.0.9, operations like sending and receiving messages while the app is in the foreground takes upwards of 30 seconds.

To Reproduce
Steps to reproduce the behavior:

  1. Open a channel
  2. Send a message
  3. Observe that it takes 30+ seconds for the message to turn white from grey, and for the message to show up on other devices

Expected behavior
Sending and receiving messages should take a reasonable amount of time.

Smartphone:

  • Device: Samsung S9+ (SM-G965W)
  • OS: Android 10

Additional context

  • App version and store: v1.0.9 from F-Droid
  • Homeserver: matrix.org

Sending messages takes less than 2 seconds using the Element Desktop app (v1.7.10) on Linux, using the same account/homeserver, channel, and network connection.

@akallabeth
Copy link

Same issue, started happening with 1.0.9, 1.0.8 did not have that issue (also, maybe unrelated, #2298 or #1721 did start to affect my setup with this version)

@BillCarsonFr
Copy link
Member

Hello 1.0.10 (beeing released) has some changes on crypto module performances changes, let me know if it's better after update.
Do you you have some contacts that are using fluffy-chat? There has been an issue with key-request spamming, and the current element android does not react well to this jamming, and it may impact further sync executions due to crypto database beeing to big. Maybe you can rageshake and give reference here?

@akallabeth
Copy link

@BillCarsonFr Looking forward to that release.
As far as contacts, the only ones not using element are in a few public chat rooms I am following. (they are not encrypted anyway)

@thomassross
Copy link
Author

Clearing Element's cache (which was 400MB!) in Android's App Info page seems to have helped a little bit, but it is still very slow.

@thomassross
Copy link
Author

@BillCarsonFr I got the 1.0.10 upgrade through F-Droid today. Sending messages is indeed much faster than before the update, but it's still very slow (10ish seconds on average for the message to send). Receiving messages still takes about 7-8 seconds longer than the desktop app. I have no contacts using FluffyChat.

Is it possible to see the logs that will be sent with the rageshake report before sending them?

@thomassross
Copy link
Author

This problem has pretty much disappeared for me. I think that DNS was part of the problem --- switching DNS servers to 1.1.1.1 (Cloudflare) using Blokada 4 made message sending much faster.

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

3 participants