Tmux flow control

I connect to a machine running Ubuntu 12.04 and using tmux 1.6 on an ADSL line (8 Mbps / 1 Mbps down / up).

When there is a lot of quick output to the terminal, the link becomes saturated and does not respond completely, and I cannot switch tmux windows or something else, and I need to kill ssh.

Is there any tmux setting to prevent this? I saw several patches, but it’s not clear what they do.

+4
source share
1 answer

tmux 1.7 and later include a speed limit view. This can help if the output you are working with is a normal "scrollable" output (many normal lines, and not (for example) a huge base64 encoded block).

Two options control this speed limit: c0-change-trigger and c0-change-interval . Basically, if tmux sees more than c0-change-trigger some C0 control characters (for example, backspace, linefeed, carriage return) in 1 millisecond, then it will postpone further updates to the panel in c0-change-interval milliseconds. By default, 250 such C0 characters in 1 millisecond stop drawing the panel for 100 milliseconds.

+6
source

All Articles