Re: [tcpm] Review of draft-fairhurst-tcpm-newcwv-03

Joe Touch <touch@isi.edu> Fri, 27 July 2012 22:44 UTC

Return-Path: <touch@isi.edu>
X-Original-To: tcpm@ietfa.amsl.com
Delivered-To: tcpm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BA13A11E80C5 for <tcpm@ietfa.amsl.com>; Fri, 27 Jul 2012 15:44:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.497
X-Spam-Level:
X-Spam-Status: No, score=-105.497 tagged_above=-999 required=5 tests=[AWL=1.102, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RhBWRpesd-jG for <tcpm@ietfa.amsl.com>; Fri, 27 Jul 2012 15:44:29 -0700 (PDT)
Received: from boreas.isi.edu (boreas.isi.edu [128.9.160.161]) by ietfa.amsl.com (Postfix) with ESMTP id 1BEFC11E8098 for <tcpm@ietf.org>; Fri, 27 Jul 2012 15:44:27 -0700 (PDT)
Received: from [128.9.160.166] (abc.isi.edu [128.9.160.166]) (authenticated bits=0) by boreas.isi.edu (8.13.8/8.13.8) with ESMTP id q6RMhZ3D023603 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 27 Jul 2012 15:43:35 -0700 (PDT)
Message-ID: <50131997.7000305@isi.edu>
Date: Fri, 27 Jul 2012 15:43:35 -0700
From: Joe Touch <touch@isi.edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Yuchung Cheng <ycheng@google.com>
References: <CAK6E8=d_NrKkFhRUjSJ1MEMZ_CnEEEadzRAySD7SGGoGcjCdDw@mail.gmail.com> <50049F5A.7000709@isi.edu> <50082223.9010701@isi.edu> <CAK6E8=fudTifjsvPZ8u2tsR7MRCppCsgKZ9u764hLJc-3D-OnQ@mail.gmail.com> <500845E0.8050601@isi.edu> <CAK6E8=ccre=jTNUadFe0iKUudM1aY8jouFFhfkxM6CxEZGUdow@mail.gmail.com> <5009786B.80707@isi.edu> <CAK6E8=ex4Fqstmt33T5a_uGiAfdrdf2so_0gMm5Hzj1Avw7-gw@mail.gmail.com>
In-Reply-To: <CAK6E8=ex4Fqstmt33T5a_uGiAfdrdf2so_0gMm5Hzj1Avw7-gw@mail.gmail.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 8bit
X-ISI-4-43-8-MailScanner: Found to be clean
X-MailScanner-From: touch@isi.edu
Cc: "iccrg@cs.ucl.ac.uk" <iccrg@cs.ucl.ac.uk>, "tcpm@ietf.org Extensions" <tcpm@ietf.org>, "Arjuna Sathiaseelan (work)" <arjuna@erg.abdn.ac.uk>
Subject: Re: [tcpm] Review of draft-fairhurst-tcpm-newcwv-03
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: TCP Maintenance and Minor Extensions Working Group <tcpm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tcpm>, <mailto:tcpm-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tcpm>
List-Post: <mailto:tcpm@ietf.org>
List-Help: <mailto:tcpm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tcpm>, <mailto:tcpm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jul 2012 22:44:30 -0000

Hi,

On 7/20/2012 2:43 PM, Yuchung Cheng wrote:
> On Fri, Jul 20, 2012 at 8:25 AM, Joe Touch <touch@isi.edu> wrote:
>>
>>
>> On 7/20/2012 7:37 AM, Yuchung Cheng wrote:
>> ...
>>
>>>> The server receives the request, and then sends a response. The server
>>>> has a
>>>> response that's typically larger - thus the burst. The server decides
>>>> "how
>>>> long has it been since I *received* anything? Since that time is very
>>>> short,
>>>
>>>
>>> but RFC 2861 does not use the most recently received timing? not in their
>>> main algorithm (section 3.2) at least.
>>
>>
>> I'm referring to the algorithm  as per Standard TCP [RFC5681] which, resets
>> CWND to the restart window after the app goes idle (as described in this
>> doc). However, RFC  2681 failed to note that the restart algorithm was
>> widely deployed at the time, and was based on erroneous logic in a footnote
>> of an unpublished extension of Van Jacobson's 1988 congestion control paper
>> (ax explained in detail in draft-hughes-restart-00.txt).
>>
>>
>>>> there's no slow-start restart, and the burst goes out.
>>>>
>>>> The only time the server would timeout and do slowstart restart would be
>>>> if
>>>> it decides to send something a while after anything has been received -
>>>> that
>>>> might occur for auto-refresh pages, but not much else.
>>>>
>>>> The issue is explained in detail here: J. Heidemann, K. Obraczka, J.
>>>> Touch,
>>>> “Modeling the Performance of HTTP Over Several Transport Protocols,”
>>>> IEEE/ACM Transactions on Networking, V5, N5, Oct. 1997, pp.616-630.
>>>
>>>
>>> But why does receiving something recently justify the sending cwnd is safe
>>> to
>>>    not cause burst-induced losses? Sorry but I can't find the explanation
>>> in
>>> the paper.
>>
>>
>> It doesn't justify it - it was an incorrect conclusion. The goal is "restart
>> if you haven't SENT in a while", but Van's footnote said that most
>> implementations at that time had a 'time since last received' timer, but not
>> a 'time since last sent', and that because TCP is symmetric you can use the
>> receive timer instead of the send one. That logic was false, and persistent
>> HTTP turned out to have exactly that pattern.
>>
>> However, the mechanism proposed in this doc still allows most HTTP exchanges
>> to burst an entire window - because it would be very likely that users will
>> click on URLs within a received page within the 5 minute timeout.
>>
>> I.e., I don't think section 4 of this doc is appropriate (it still amounts
>> to a send timer), and still favor the "burst-or-lose" style approach as
>> recommended in draft-hughes-restart-00.txt.
 >
> I enjoy reading this draft. Very nice summary of all the mechanisms proposed!
> I also like burst-or-lose due to its simplicity (and is interested in
> rate-pacing as well).
>
> In burst-or-lose, do the acks of the N packets increment the cwnd if
> FlightSize < cwnd?

Not sure - it's been a long time since I cared about this ;-) The doc 
should explain what you need to figure it out...

Joe

>
> I'd recommend newcwv draft to cite and discuss hugest-restart draft.
>>
>> Joe
>>
>>
>>