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

memscroller stresses the html5 client #14

Open
totaam opened this issue Aug 11, 2019 · 6 comments
Open

memscroller stresses the html5 client #14

totaam opened this issue Aug 11, 2019 · 6 comments

Comments

@totaam
Copy link
Collaborator

totaam commented Aug 11, 2019

Split from Xpra-org/xpra#2231, see Xpra-org/xpra#2231#comment:9.

Damage latency goes up to 7 seconds with chrome!
Average is also too high.

@totaam
Copy link
Collaborator Author

totaam commented Aug 11, 2019

2019-08-11 07:21:07: antoine uploaded file memscroller.png (22.2 KiB)

memscroller latency
memscroller.png

@totaam
Copy link
Collaborator Author

totaam commented Aug 14, 2019

More test data showing the memscroller outlier problem in Xpra-org/xpra#2231#comment:12.

@totaam
Copy link
Collaborator Author

totaam commented Aug 15, 2019

As per Xpra-org/xpra#619#comment:29, the problem occurs only with NODELAY=0.
My guess is that this buffers too many packets in the kernel's socket output buffer, allowing things to spiral out of control.

@totaam
Copy link
Collaborator Author

totaam commented Aug 19, 2019

2019-08-19 17:32:10: antoine uploaded file memscroller-server-rss.png (59.2 KiB)

memscroller also uses too much memory
memscroller-server-rss.png

@totaam
Copy link
Collaborator Author

totaam commented Sep 5, 2019

As per comment:3 and Xpra-org/xpra#2231#comment:12, the default configuration handles this well enough that this can wait for the next release.

@totaam totaam transferred this issue from Xpra-org/xpra Jan 22, 2021
@totaam
Copy link
Collaborator Author

totaam commented May 6, 2022

It's a lot better than it used to be, but I'm still seeing problems with the nvjpeg encoder: we're doing a stable 30fps for a while then backing off, then back to 30fps...
This may help:
Xpra-org/xpra@b0f2859

But ideally, the html5 client would be able to sustain the 30fps framerate without this jitter.
Why doesn't it?

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