why not flow control in wl_connection_flush?
jleivent
jleivent at comcast.net
Sat Feb 24 20:35:27 UTC 2024
On Fri, 23 Feb 2024 12:12:38 +0200
Pekka Paalanen <pekka.paalanen at haloniitty.fi> wrote:
> I would think it to be quite difficult for a compositor to dedicate a
> whole thread for each client.
But that means it is possible that the server cannot catch up for long
periods. And that just having a large number of otherwise friendly
clients can cause their socket buffers to fill up. And things are
worse on systems with more cores.
What is the advantage to having the impacted clients grow their send
buffers while waiting? They wait either way.
More information about the wayland-devel
mailing list