-
-
Notifications
You must be signed in to change notification settings - Fork 177
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
faster server startup #2341
Comments
Updates:
|
Remaining places where we could save time:
|
|
2019-06-26 17:58:18: antoine uploaded file
|
Updates:
With these changes and the following command line: python3 /usr/bin/xpra start --no-daemon --start=xterm \
--opengl=noprobe --xsettings=no --no-speaker --no-microphone --html=no The startup takes at most 350ms on my laptop. (400ms for python2) Other places where we still spend a little bit too much time:
New potential issue: race condition if we are still initializing via the worker thread when we are asked to shutdown.. maybe process the shutdown request via the worker thread to guarantee we complete what has already been queued? |
New issues found in https://github.com/mviereck/x11docker/files/3341648/xpraserver.log:
Partially dealt with in r23043. I'm not sure we want to spend more time on this particular issue: re-using an existing display is not a standard setup..
|
2019-06-30 11:22:25: antoine uploaded file
|
Updates:
With all these changes, a server starts on my laptop in under 4 seconds flat - and that's including the slow xvfb startup! Log sample with an existing display: $ python3 /usr/bin/xpra start --no-daemon --start=xterm \
--opengl=noprobe --xsettings=no --speaker=no --microphone=no \
--mdns=no --start-new-commands=no --notifications=no --html=no \
:10 --use-display
2019-06-30 11:15:27,722 created unix domain socket: /run/user/1000/xpra/linux.home-10
2019-06-30 11:15:27,766 pointer device emulation using XTest
2019-06-30 11:15:27,787 xvfb pid=20443
2019-06-30 11:15:27,959 xpra is ready.
2019-06-30 11:15:27,960 xpra GTK3 X11 version 3.0-[r22755](../commit/8312a85c736df6c985daba8f42c9d796e3fc7873) 64-bit
2019-06-30 11:15:28,037 uid=1000 (antoine), gid=1000 (antoine)
2019-06-30 11:15:28,038 running with pid 20892 on Linux Fedora 30 Thirty
2019-06-30 11:15:28,038 connected to X11 display :10 with 24 bit colors
2019-06-30 11:15:28,657 found 1 virtual video device for webcam forwarding
2019-06-30 11:15:28,750 7.7GB of system memory |
r23066: don't load xdg menu data unless |
See also:
|
New ticket for 4.1: #2815 |
Following the complaint that xpra startup is slow (ie: in this ticket: mviereck/x11docker#167), we can parallelize some of the mixin startup work.
Related to #1838
The text was updated successfully, but these errors were encountered: