Re: [p2p-hackers] TCP Vegas Question

2008-01-07 Thread Spencer Dawkins
Hi, Will, > Thankfully my protocol doesn't have to interact with other TCPs in any > way - I'm just pinching the TCP flow control mechanism as I figure I'm > not going to come up with a better one. Since it has no need to be > bit-compatible with TCP, and since I'm coding for a specific app > ra

Re: [p2p-hackers] TCP Vegas Question

2008-01-07 Thread Will Morton
Thankfully my protocol doesn't have to interact with other TCPs in any way - I'm just pinching the TCP flow control mechanism as I figure I'm not going to come up with a better one. Since it has no need to be bit-compatible with TCP, and since I'm coding for a specific app rather than the general

Re: [p2p-hackers] TCP Vegas Question

2008-01-04 Thread Spencer Dawkins
What Wesley said, but just to add something... In my Humble But Sometimes Correct Opinion, the standards-track guys have been tilting toward simplicity for about a decade - and the simplest theory is "if the packet got to the far end and the ACK got back here, there's no congestion, so what are

Re: [p2p-hackers] TCP Vegas Question

2008-01-04 Thread Wesley Eddy
On Fri, Jan 04, 2008 at 04:37:54PM +, Will Morton wrote: > > I have built the protocol based on TCP Vegas, but after reading those > references I clearly need to update it to use SACK and to ack-clock > except on rto, as you mention. My implementation of the protocol is > seemingly coming to

Re: [p2p-hackers] TCP Vegas Question

2008-01-04 Thread Will Morton
Thanks Spencer, this is massively helpful. The background to this is that I am implementing a TCP for use in the app I am building. Obviously I want to use best-current-practice when building it, but I do need to roll my own rather than rely on the OS' implementation as my app needs to adjust som

Re: [p2p-hackers] TCP Vegas Question

2008-01-04 Thread Spencer Dawkins
Can I ask why you're looking at TCP Vegas? Are you actually running TCP Vegas from the early 1990s, and not a more recent TCP? I haven't seen a network trace for a TCP that didn't do SACK in quite a while... If your network trace shows the TCPs offering the SACK option, you're not doing TCP Veg

[p2p-hackers] TCP Vegas Question

2008-01-04 Thread Will Morton
I wonder if someone here with TCP skillz could help me with an implementation question. Apologies if this is off-topic for this list, but its answer will help me in p2p hacking. :o) TCP Vegas, as per http://citeseer.ist.psu.edu/brakmo94tcp.html section 3.2, retransmits a packet when it receives a