21 | | |
22 | | |
23 | | ---- |
24 | | |
25 | | Below are some more advanced performance related topics: |
26 | | |
27 | | {{{#!div class="box" |
28 | | == Stress Testing == |
29 | | |
30 | | To be able to use a single client to create many connections to many servers, or simply to simulate an extremely high performance client, r2482 adds the ability to skip the client code which normally paints the windows. To use it: |
31 | | {{{ |
32 | | XPRA_USE_FAKE_BACKING=1 xpra attach |
33 | | }}} |
34 | | The {{{XPRA_FAKE_BACKING_DELAY}}} can be used to control how long (in milliseconds) the client waits before responding to the server after each draw packet: |
35 | | {{{ |
36 | | XPRA_FAKE_BACKING_DELAY=10 XPRA_USE_FAKE_BACKING=1 xpra attach |
37 | | }}} |
38 | | Note: the windows are still shown - just not painted. |
39 | | }}} |
40 | | |
41 | | |
42 | | {{{#!div class="box" |
43 | | == Tuning / Pending items == |
44 | | |
45 | | The following mostly undocumented tunables can have an impact on performance and should be investigated more thoroughly under different scenarios: |
46 | | * {{{XPRA_YIELD}}} - see #181 |
47 | | * Video compression options: {{{XPRA_MAX_NONVIDEO_PIXELS}}}, {{{XPRA_MIN_VIDEO_FPS}}}, {{{XPRA_MIN_VIDEO_EVENTS}}}, {{{XPRA_B_FRAMES}}}, {{{XPRA_VIDEO_SKIP_EDGE}}}, {{{XPRA_SCROLL_ENCODING}}}, {{{XPRA_SCROLL_MIN_PERCENT}}}, etc.. refer to the source code for details. |
48 | | }}} |