Jason Maas
2009-02-27 21:42:00 UTC
Hello,
Yesterday we figured out a problem with our network which was causing
severe disruption of our LTSP setup at times and I thought I'd share
what I learned in case it's helpful to anyone else.
Our LTSP server has a gigabit NIC and is plugged into a gigabit switch.
Our LTSP clients have 100 megabit NICs. The problem we were seeing is
that a single client displaying anything resembling video (youtube,
screencast demo of software, flash-animated website) would bring all
other terminals on the network to a crawl. Very painful, not cool.
Well, it turned out that a feature of modern ethernet called Flow
Control (802.3x) was the source of our problem. It was enabled on a
switch with mixed speed connections and when a 100 megabit connection
was getting flooded it would tell the sender, our LTSP server, to stop
sending traffic for a bit. All traffic. As you can imagine that's not
helpful in a thin client environment!
Turning off Flow Control (using the web interface on our Netgear smart
switches) made it so one terminal's network traffic doesn't affect the
rest of the terminals. Yay!
Here's a link to a nice blog article which explains it better than I can:
http://virtualthreads.blogspot.com/2006/02/beware-ethernet-flow-control.html
As a side note, turning on SSH compression by adding a line like
"Compression yes" in a place /opt/ltsp/i386/etc/ssh/ssh_config as was
discussed recently dropped the amount of traffic down *considerably* so
that other devices on the same edge switch (without gigabit uplink)
won't get starved either.
Note that we're still running Ubuntu 8.04 and thus not using local apps
yet, which could of course change the amount of network traffic for
videos, etc. We'll get there someday!
HTH,
Jason
Yesterday we figured out a problem with our network which was causing
severe disruption of our LTSP setup at times and I thought I'd share
what I learned in case it's helpful to anyone else.
Our LTSP server has a gigabit NIC and is plugged into a gigabit switch.
Our LTSP clients have 100 megabit NICs. The problem we were seeing is
that a single client displaying anything resembling video (youtube,
screencast demo of software, flash-animated website) would bring all
other terminals on the network to a crawl. Very painful, not cool.
Well, it turned out that a feature of modern ethernet called Flow
Control (802.3x) was the source of our problem. It was enabled on a
switch with mixed speed connections and when a 100 megabit connection
was getting flooded it would tell the sender, our LTSP server, to stop
sending traffic for a bit. All traffic. As you can imagine that's not
helpful in a thin client environment!
Turning off Flow Control (using the web interface on our Netgear smart
switches) made it so one terminal's network traffic doesn't affect the
rest of the terminals. Yay!
Here's a link to a nice blog article which explains it better than I can:
http://virtualthreads.blogspot.com/2006/02/beware-ethernet-flow-control.html
As a side note, turning on SSH compression by adding a line like
"Compression yes" in a place /opt/ltsp/i386/etc/ssh/ssh_config as was
discussed recently dropped the amount of traffic down *considerably* so
that other devices on the same edge switch (without gigabit uplink)
won't get starved either.
Note that we're still running Ubuntu 8.04 and thus not using local apps
yet, which could of course change the amount of network traffic for
videos, etc. We'll get there someday!
HTH,
Jason