Yeah this only makes a difference without ssh IIRC.

That change is the throttling option but perhaps we need one based on
time rather than buffer size left.


On Tue, Apr 19, 2011 at 05:07:22PM -0700, Robin Lee Powell wrote:
> I do not see much difference, if any; I can try to nail that down if
> it's important.  The longer I wait, the worse it gets, so certainly
> some sort of buffering seems likely.
> 
> I suppose it's possible that tmux is simply pushing so much more
> data, or pushing it faster, that the network buffer is an issue in a
> way it wasn't before.
> 
> The obvious suggestion there would be a throttling option, but (1)
> that sounds hard (2) I imagine it would lead to other surprising
> behaviour.
> 
> -Robin
> 
> On Tue, Apr 19, 2011 at 04:52:50PM -0700, Robin Lee Powell wrote:
> > Yeah, ssh in both cases; I know what the network buffering part of
> > it looks like.  :D
> > 
> > Let me go grab source and get back to you.
> > 
> > -Robin
> > 
> > On Wed, Apr 20, 2011 at 12:51:06AM +0100, Nicholas Marriott wrote:
> > > Try this and see if it helps. If you are doing it over ssh it probably
> > > won't but there isn't much we can do about that because of network
> > > buffering.
> > > 
> > > Index: server-client.c
> > > ===================================================================
> > > RCS file: /cvsroot/tmux/tmux/server-client.c,v
> > > retrieving revision 1.56
> > > diff -u -p -r1.56 server-client.c
> > > --- server-client.c     18 Apr 2011 21:07:58 -0000      1.56
> > > +++ server-client.c     19 Apr 2011 23:50:21 -0000
> > > @@ -408,6 +408,7 @@ server_client_loop(void)
> > > 
> > >                 server_client_check_exit(c);
> > >                 if (c->session != NULL) {
> > > +                       server_client_check_backoff(c);
> > >                         server_client_check_redraw(c);
> > >                         server_client_reset_state(c);
> > >                 }
> > > 
> > > 
> > > On Tue, Apr 19, 2011 at 04:31:42PM -0700, Robin Lee Powell wrote:
> > > > I have a large terminal (200+ wide/80+ high) running tmux.
> > > > Sometimse I have code that dumps large amounts of data, and things
> > > > get pretty slow with the redrawing.
> > > > 
> > > > That part I'm OK with, but what's bothering me is that in screen, I
> > > > could switch windows, and the busy window would update silently
> > > > while I did other things.  In tmux, trying to do that doesn't seem
> > > > to work; it takes many seconds for the window switch to go through,
> > > > apparently not until the window is done updating?
> > > > 
> > > > -Robin
> > > > 
> > > > -- 
> > > > http://singinst.org/ :  Our last, best hope for a fantastic future.
> > > > Lojban (http://www.lojban.org/): The language in which "this parrot
> > > > is dead" is "ti poi spitaki cu morsi", but "this sentence is false"
> > > > is "na nei".   My personal page: http://www.digitalkingdom.org/rlp/
> > > > 
> > > > ------------------------------------------------------------------------------
> > > > Benefiting from Server Virtualization: Beyond Initial Workload 
> > > > Consolidation -- Increasing the use of server virtualization is a top
> > > > priority.Virtualization can reduce costs, simplify management, and 
> > > > improve 
> > > > application availability and disaster protection. Learn more about 
> > > > boosting 
> > > > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
> > > > _______________________________________________
> > > > tmux-users mailing list
> > > > tmux-users@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/tmux-users
> > 
> > -- 
> > http://singinst.org/ :  Our last, best hope for a fantastic future.
> > Lojban (http://www.lojban.org/): The language in which "this parrot
> > is dead" is "ti poi spitaki cu morsi", but "this sentence is false"
> > is "na nei".   My personal page: http://www.digitalkingdom.org/rlp/
> > 
> > ------------------------------------------------------------------------------
> > Benefiting from Server Virtualization: Beyond Initial Workload 
> > Consolidation -- Increasing the use of server virtualization is a top
> > priority.Virtualization can reduce costs, simplify management, and improve 
> > application availability and disaster protection. Learn more about boosting 
> > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
> > _______________________________________________
> > tmux-users mailing list
> > tmux-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/tmux-users
> 
> -- 
> http://singinst.org/ :  Our last, best hope for a fantastic future.
> Lojban (http://www.lojban.org/): The language in which "this parrot
> is dead" is "ti poi spitaki cu morsi", but "this sentence is false"
> is "na nei".   My personal page: http://www.digitalkingdom.org/rlp/

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to