Re: [rtcweb] Target numbers for setup time (Re: Keeping up data channel)
Justin Uberti <juberti@google.com> Mon, 02 July 2012 20:00 UTC
Return-Path: <juberti@google.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8790911E80DB for <rtcweb@ietfa.amsl.com>; Mon, 2 Jul 2012 13:00:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.616
X-Spam-Level:
X-Spam-Status: No, score=-101.616 tagged_above=-999 required=5 tests=[AWL=-0.906, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_45=0.6, RCVD_IN_DNSWL_LOW=-1, SARE_HTML_USL_OBFU=1.666, 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 Mw85VJ9SQyjj for <rtcweb@ietfa.amsl.com>; Mon, 2 Jul 2012 13:00:34 -0700 (PDT)
Received: from mail-qa0-f51.google.com (mail-qa0-f51.google.com [209.85.216.51]) by ietfa.amsl.com (Postfix) with ESMTP id 5A9BE11E80A3 for <rtcweb@ietf.org>; Mon, 2 Jul 2012 13:00:32 -0700 (PDT)
Received: by qaea16 with SMTP id a16so2120998qae.10 for <rtcweb@ietf.org>; Mon, 02 Jul 2012 13:00:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-system-of-record; bh=xzFAIoHykDjoaTLkaiMdPyh2GQC5fh1pV72NRzUbjcM=; b=KJKrHmOmz67993zHY+IrRfqYNdkiUKtsECCfEUyM8qJ/SXSA5GL7xKTwGaDnGfCJgQ ZVXr/yT98c7qrtGPOD1mz+UYZxWuDr/rcn1hN6q9ezqtibRrhajRemzwyfNKkUQI11fp lvI0ZbwYIVX9yOaeY+SQUl69vDqd+2aQymIbSu4UnZ+n/IsMuUvyESLdo2HjYg8cnCJY pObx5ANVvG6q1EBVv5kjpzx/OJKyz8k2Fwt5LA7uDl0jroSHaNFnl7Xc6o6apLYcUDXy R5hX/otbbl/bD5kKc3IqtPot77ZGNDVL32U7yKMBCJ3n7fQxqleiFS7y7AKEvYAZczhg S0Iw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-system-of-record:x-gm-message-state; bh=xzFAIoHykDjoaTLkaiMdPyh2GQC5fh1pV72NRzUbjcM=; b=STjR2rE4TYK+Q027dGpybaj7e8U9NJlzJ2d5aetYlOwvDLxEkBNEYbShf7bNAYQPPB 4cdc5kf9PW92mZDsQ6gltYYstm3nUAaURfzo3B5rHedzHj37ZOwNZZ5DXn5aReHx0Yw1 xMbcaEe+jsu4eafWDxaO3oJ11q5+qUsT45vbNRUZT6rrSBTXlGa0kfQ5SFgYeLgP2m4Y UZHyMpbgx4NOD6xBj7W8d4Pvfds63yA/BqJOXVCqGVALk2g/cU/bXrpC5ezV9KpsMlmN 6DmXDV/HfaENWz07wYYpwsZkv0tRbFI2WCC129bZy2sMbJd3GSgAMvKtklubSRFayTgg TH8w==
Received: by 10.224.220.17 with SMTP id hw17mr2246613qab.89.1341259238247; Mon, 02 Jul 2012 13:00:38 -0700 (PDT)
Received: by 10.224.220.17 with SMTP id hw17mr2246604qab.89.1341259238100; Mon, 02 Jul 2012 13:00:38 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.229.65.211 with HTTP; Mon, 2 Jul 2012 13:00:17 -0700 (PDT)
In-Reply-To: <4FEEF614.6090507@jesup.org>
References: <E44893DD4E290745BB608EB23FDDB76223EA5F@008-AM1MPN1-041.mgdnok.nokia.com> <4FD6D566.6060806@alvestrand.no> <4FD7A356.2010406@ericsson.com> <CABkgnnV7DLFsT9A=5UG_XsPcNpJY39Xan1sEoMRfmN7oJSWuVA@mail.gmail.com> <4FD83C21.4080701@alvestrand.no> <4FD85D78.1040103@jesup.org> <929BD935-0E8F-4985-9E51-9E213B0C6841@cisco.com> <4FE4A6B2.7020601@alvestrand.no> <8F1A4041-E7E8-49D4-A77B-EDFF1F5A617C@cisco.com> <4FEEF614.6090507@jesup.org>
From: Justin Uberti <juberti@google.com>
Date: Mon, 02 Jul 2012 13:00:17 -0700
Message-ID: <CAOJ7v-3W6fntUop+66SjhicuDzDnKJ-Kadxg1frp2QwiZhV=tA@mail.gmail.com>
To: Randell Jesup <randell-ietf@jesup.org>
Content-Type: multipart/alternative; boundary="20cf3071d1c87050dc04c3de40d8"
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQnlK3JBnvRcy+bdKhsgiUuKHgzLVdl4Ikh4AbvkmTeBw7RnqEf5psccWfssbSG+lGDTMKAhNgS3qK7gdeNrXEx0d9fL74jyCYCBWXsHTxsFxJeLSMV1hnCIEXbjie2vcHGSyjaTjJKzH5SFptVL7eOvHtn+A4he09gcb9vv5XQFrUsMrkA=
Cc: rtcweb@ietf.org
Subject: Re: [rtcweb] Target numbers for setup time (Re: Keeping up data channel)
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtcweb>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Jul 2012 20:00:35 -0000
We can certainly make the API allow instant creation of a data channel, but the thing I'm bringing up is the <N RTT of data channel setup>, which is currently the long pole in establishing a p2p flow. That's where 6 RTTs are coming from. Agree with Harald that this is an IETF matter though. On Sat, Jun 30, 2012 at 5:50 AM, Randell Jesup <randell-ietf@jesup.org>wrote: > On 6/28/2012 3:49 PM, Cullen Jennings (fluffy) wrote: > >> Agree - that's why I think this has to be done in zero RTT. I don't see >> any problem with setting up a data channel and being ready to send media >> before having the UI tell the user they are "connected and can start >> talking". >> > > I agree, and have suggested this as well, but it's really in the > application domain (though we can give examples that use it and recommend > it). There are some mild security concerns with accepting the data-only > connection before user decision, but manageable I believe. > > Roughly: call start (user) > caller-> Offer(SDP(data-only)) as "setup" -> server -> answerer > (also indicate if it's audio-only or audio+video) > (maybe offer data+audio (and video) to warm up ICE candidates) > answerer -> Answer (SDP(data-only)) as "setup" -> server -> answerer > answerer -> alert user > caller-> install Answer > <N RTT of data channel setup setting up "negotiation" channel> > caller-> Offer(SDP(data+media)) as "call" -> answerer (over > "negotiation" channel) > ... > answerer (user) accepts > answerer-> Answer(SDP(data+media)) as "call" -> caller (over > "negotiation" channel) > answerer starts sending > caller installs Answer > caller media starts sending > > From user accepts -> media starts, it's 0 RTT for answer sending, 1 RTT > until he sees media from the caller, which is pretty much close to > theoretical minimum. (You can do better only by starting media channels > "in the background" from the caller before user accepts, perhaps with an > Answer(SDP(data+receive-only-**media)).) > > Again, I believe this is all possible in the application domain today with > the spec. > > >> Reducing from 7 RTT to 5 RTT does not help when you need to get to 0 RTT. >> >> On Jun 22, 2012, at 10:09 , Harald Alvestrand wrote: >> >> On 06/22/2012 05:58 PM, Cullen Jennings (fluffy) wrote: >>> >>>> On Jun 13, 2012, at 5:29 , Randell Jesup wrote: >>>> >>>> How far down do you think we have to drive the setup time before you >>>>>> would not call it "abysmal"? >>>>>> >>>>> I'd probably consider above 250 ms abysmal but good news I don't see >>>> any problem with getting it down around 100 ms in when both endpoints are >>>> in a single country. >>>> >>>> Coast-to-coast US is ~4800 km, so RTT (9600 km) is 32 ms (speed of >>> light is 300 km/msec). >>> >>> So, without considering processing time, 3 RTT is 100 msec, 7 RTT is >>> "abysmal". >>> >>> There are bigger countries than the US, but this will do for a >>> back-of-the-envelope. >>> >>> -- >>> Randell Jesup >>> randell-ietf@jesup.org >>> >> ______________________________**_________________ > rtcweb mailing list > rtcweb@ietf.org > https://www.ietf.org/mailman/**listinfo/rtcweb<https://www.ietf.org/mailman/listinfo/rtcweb> >
- Re: [rtcweb] Target numbers for setup time (Re: K… Cullen Jennings (fluffy)
- Re: [rtcweb] Target numbers for setup time (Re: K… Salvatore Loreto
- Re: [rtcweb] Target numbers for setup time (Re: K… Randell Jesup
- Re: [rtcweb] Target numbers for setup time (Re: K… Justin Uberti
- Re: [rtcweb] Target numbers for setup time (Re: K… Randell Jesup
- Re: [rtcweb] Target numbers for setup time (Re: K… Cullen Jennings
- Re: [rtcweb] Target numbers for setup time (Re: K… Martin Thomson