Xpra: Ticket #1124: interleaving network packets
Some packets can be quite big, in particular 'paint' and 'file-transfer' packets.
It would be nice if we could chunk them to allow other types of packets through without delay.
ie: allowing sound packets through more quickly, which would keep the client's sound queue at a lower level and is better for achieving sound sync (#835).
This is very likely to overlap with UDP (#639) and file chunking (#1026). It would be nice to find a solution generic enough to work with both TCP and UDP.
Things to think about:
- the receive buffers could consume a lot of memory
- how many packets can be interleaved? (not more than 1 I think)
- UDP re-transmit for file chunking
- paint packet may then arrive after a window has been resized or minimized - which may cause errors..
- sound queue adjustments to tolerate packet loss
- ping packets: it would actually be useful to have both delayed and undelayed ones? would tell us how much is being interleaved?
Mon, 13 Jun 2016 15:48:20 GMT - Antoine Martin: status, milestone changed
changed from new to assigned
changed from 0.18 to future
#1026 was done a different way because it really is special, so now we can delay this ticket - which is much more difficult and should probably only be done after UDP and other network tweaks, if ever.
If needed, we can handle large paint packets by splitting the damage into smaller regions, which will then travel in separate packets.
Wed, 28 Mar 2018 06:08:27 GMT - Antoine Martin: milestone changed
changed from future to improbable
Sat, 23 Jan 2021 05:15:38 GMT - migration script:
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1124