Re: Controlling rate of tcp/ip data transmission
- From: Rick Jones <rick.jones2@xxxxxx>
- Date: Thu, 12 Jul 2007 17:47:37 +0000 (UTC)
David Schwartz <davids@xxxxxxxxxxxxx> wrote:
On Jul 11, 4:03 pm, Jack Snodgrass
... yes... UDP... does it matter? It's also a one-way connection..
the receiver has 0 TX and the sender has 0 RX on the connection.
Do you mean to imply that it is not physically possible for the
receiver to send anything to the sender?
It matters tremendously. The answer to your question is, use
TCP. TCP was developed precisely to solve problems just like
this. UDP was designed for applications that want to do this
themselves.
And just in case it wasn't obvious, where "this" is "flow-control."
In the case of TCP, it is a window-based flow control, where the
receiver advertises a certain window to the sender, the sender send's
up to a window's-worth of data before he must stop and wait for a
window update from the receiver.
If indeed you cannot have anything transmitted back from the receiver
to the sender you cannot use TCP, and some sort of rate-based pacing
along the lines of what you are using is what you can use. What sort
of link-rates are we talking about on either end here? What sort of
rate can the receiver tolerate? A few more details about the setup
might help us postulate some other possibilities.
The comment about the size of the sends you make via UDP possibly
leading to short bursts of IP datagram fragments is a good one to
heed.
rick jones
--
The computing industry isn't as much a game of "Follow The Leader" as
it is one of "Ring Around the Rosy" or perhaps "Duck Duck Goose."
- Rick Jones
these opinions are mine, all mine; HP might not want them anyway... :)
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
.
- References:
- Controlling rate of tcp/ip data transmission
- From: Jack Snodgrass
- Re: Controlling rate of tcp/ip data transmission
- From: David Schwartz
- Re: Controlling rate of tcp/ip data transmission
- From: Jack Snodgrass
- Re: Controlling rate of tcp/ip data transmission
- From: David Schwartz
- Controlling rate of tcp/ip data transmission
- Prev by Date: wifi, dhclient and pdnsd, after connection reestablished dns server refuses
- Next by Date: Re: Very basic FTP question
- Previous by thread: Re: Controlling rate of tcp/ip data transmission
- Next by thread: wifi, dhclient and pdnsd, after connection reestablished dns server refuses
- Index(es):
Relevant Pages
|