Re: rdesktop mouse movement events consume excessive bandwidth

fermulator <[email protected]> Sun, 06 Jun 2010 10:14:58 -0400
Newsgroups gmane.network.rdesktop.user
Message-ID <[email protected]>
Thanks Jay,  that is really useful information.

I think we've got a good start here, so I've submitted an rdesktop bug:
https://sourceforge.net/tracker/?func=detail&aid=3012065&group_id=24366&atid=381347
Title: mouse movement events consume excessive bandwidth
ID: 3012065

~Ferm


-------- Original Message --------
From: Jay Sorg <[email protected]>
Sent: Sun 06 Jun 2010 04:23:11 AM EDT
To: [email protected]
Cc:
Subject: Re: [rdesktop-users] rdesktop mouse movement events consume
excessive bandwidth

 From my experience as an RDP developer, I think I can explain the
difference between rdesktop and MSTSC on input.

rdesktop is less efficient for 3 reasons.

1. input PDUs have a "number of events" field, see rdp_send_input in
rdp.c.  rdesktop always sends one at a time.  MSTSC sometimes sends
many.

2. Nagle algorithm.  rdesktop always disables the nagle algorithm.
This make for faster response time but more bandwidth.  Not sure but I
don't think MSTSC ever disables this.

3. Fast path input.  Since RDP 5 there is a more compact PDU for input
that rdesktop does not utilize.  I implemented this in freerdp but not
rdesktop yet.

Changing 1 is difficult but 2 and 3 are fairly easy.
For 1 you need some kind of thread or timer.

Jay

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
rdesktop-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdesktop-users




------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo