What makes X Window or X11 protocol use a lot of bandwidth when used over a network (LTSP, etc.)? I've tried to read some docs but I can't find the answer
Asked
Active
Viewed 344 times
1
-
What i want to know does it affected by its size of the information sent/received, or because of the avg. amount of packet per second. – Spadaboyz Oct 31 '15 at 14:04
-
I am not sure I really understand your question then. Are you wondering if "a lot of bandwidth" is used by many packets of small size (and correspondingly more control overhead) or few but huge packets? AFAIK the first is the case. Can you go into detail what exactly you where looking for or what is the deeper reason you want to understand this better? – okurz Nov 02 '15 at 06:52
-
I am looking for the reason why it use a lot of bandwidth, is it because of the amount of packets sent and the size of the packet itself? Or maybe something else? I want to know it for a research matters – Spadaboyz Nov 02 '15 at 07:00
-
You could try [wireshark](https://www.wireshark.org/) to analyze the packet traffic. I am sure wireshark also offers some statistics. – okurz Nov 03 '15 at 21:55
1 Answers
0
X should run fine in a LAN environment but will impact the traffic when using multiple clients. This also depends on the applications, especially when image transfer is involved. Also, the X protocol does not necessarily cope with flaky connections, e.g. mobile connections or some wifi networks. It was not designed to be robust under these circumstances. If you try to improve performance I would recommend x2go which might also work with LTSP (https://lizards.opensuse.org/2012/09/27/run-x2go-thin-client-using-kiwi-ltsp/). Also see How to speed up X over SSH on a slow network connection? for some hints.