Re: [rtcweb] Network times . was SDP Security Descriptions (RFC 4568) and RTCWeb

Justin Uberti <juberti@google.com> Wed, 01 May 2013 16:01 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 C408221F936F for <rtcweb@ietfa.amsl.com>; Wed, 1 May 2013 09:01:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.976
X-Spam-Level:
X-Spam-Status: No, score=-102.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1, 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 k5R83E-9Eu2H for <rtcweb@ietfa.amsl.com>; Wed, 1 May 2013 09:01:47 -0700 (PDT)
Received: from mail-qe0-f47.google.com (mail-qe0-f47.google.com [209.85.128.47]) by ietfa.amsl.com (Postfix) with ESMTP id 676DF21F9361 for <rtcweb@ietf.org>; Wed, 1 May 2013 09:01:47 -0700 (PDT)
Received: by mail-qe0-f47.google.com with SMTP id x7so962862qeu.20 for <rtcweb@ietf.org>; Wed, 01 May 2013 09:01:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=ayQ8CeAPxl3BdGFCqsADTrUxCyZyQEB0LzWkSd9V4yI=; b=hq/5AlA+NjI/WG1CjUomG47ffCgK671T4YW8S16pjKb/C/BK2rmbNNuariAvX0nNbP MSKYbo5b+shMn0IbVrKQepA7rbSNcYNKBr7w0ZGIsjZamwVe+/sm0n/u7gcR3K+aa149 Gn4GABOhLTTf9YwQjqZokPSG+K5cNrI1RfS4KXLjjZCKDJ8bYY9I6Jr3l1mxIpUeW7J+ wOWGtyAtCLiLVqFFswsgE88+LG9I6/6BbHTe7d0zILkArLxmtKWLZwPUfWBBpW3AGEN9 c8KcKT2+LkFJa3SMdvesJxHg5f/3DCZFhctlfX0IJhtmlzuPRJ1x8RZrKdfK5qLa3OQJ UVPA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:x-gm-message-state; bh=ayQ8CeAPxl3BdGFCqsADTrUxCyZyQEB0LzWkSd9V4yI=; b=P8Oi3tbkfHqBKbPBSxvQ4QQrUwUpXMFAvV4xPj8J/Y80VYDDbRmrJOBGehrFEMfSy9 w8Hrshu3VIdsC+QTAehjuidePGfOruvWQp24u9ysfJduy6bgTCM9HFfFRakRne3NtlkP c9j2CLB/Vu7wDyhe+35RAUUVSWlD1lTKgFqRdIcv+MW7dc4ifh2G/IYi9OqGq1zFMRRr t3m/Rroeb+NfHvCDQVVZOHWw2KU/QFuVcJheJrtxJrYrRcpc2pMDEmFzw6luJcx7HcSK ZpT9cskvLGieNAtJu1DWwu2LExvd466cJ/jCPSvv2ldLTf0D/d/Y7B1sMjwUdLACzwtQ Ue0w==
X-Received: by 10.49.35.72 with SMTP id f8mr4090893qej.4.1367424106731; Wed, 01 May 2013 09:01:46 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.229.93.28 with HTTP; Wed, 1 May 2013 09:01:25 -0700 (PDT)
In-Reply-To: <5180f8ac.65f3440a.7deb.fffffeeaSMTPIN_ADDED_BROKEN@mx.google.com>
References: <3FA2E46D-C98E-4FC0-9F1D-AD595A861CE1@iii.ca> <20130425202238.74EF321F96A5@ietfa.amsl.com> <AE1A6B5FD507DC4FB3C5166F3A05A48416281FDB@tk5ex14mbxc272.redmond.corp.microsoft.com> <03FBA798AC24E3498B74F47FD082A92F3BB8FAF7@US70UWXCHMBA04.zam.alcatel-lucent.com> <9F33F40F6F2CD847824537F3C4E37DDF0E6C04AF@MCHP04MSX.global-ad.net> <CAErhfrx6xi7rNmc6CZc5iyKiYv+oZbi3sBa5QywB7dUKtms2Aw@mail.gmail.com> <C643F355C8D33C48B983F1C1EA702A450B49EA@ESESSMB301.ericsson.se> <4AA3A95D6033ED488F8AE4E45F47448742B13620@WABOTH9MSGUSR8B.ITServices.sbc.com> <CALiegfmpZZigigQtaadsXup6VfWgJAF8--TJpbUwSJMmar7fRA@mail.gmail.com> <CAD5OKxv2d2DemnjHQdB8XU8NKfK-Uu913DLPq9JUT4z9kvFfTQ@mail.gmail.com> <829F9A35-5F23-4A0F-9831-80478F70965E@phonefromhere.com> <517E2F6A.30905@alvestrand.no> <C5E08FE080ACFD4DAE31E4BDBF944EB1134B0090@xmb-aln-x02.cisco.com> <5180f8ac.65f3440a.7deb.fffffeeaSMTPIN_ADDED_BROKEN@mx.google.com>
From: Justin Uberti <juberti@google.com>
Date: Wed, 01 May 2013 09:01:25 -0700
Message-ID: <CAOJ7v-1K6B6GTBShbwcE2FZWtL+Hm_XLMS_cRvMJejx8gUtieg@mail.gmail.com>
To: Karl Stahl <karl.stahl@intertex.se>
Content-Type: multipart/alternative; boundary="047d7b6776ea23b75f04dbaa3c79"
X-Gm-Message-State: ALoCoQkk+edNeMonKc865F+Fzwv1aC6kofg4QemXLTHzXYhWZmOktasZah3S+MJKuw2nX5ck9cJDP5y0zlcQCTW9XkD/iVUhxZU/h3Ro0n7Oa+rU2J+lMrnZicfylfrUwxzGZ75YTVDPx58Ai9ax79kt90ZS4HpA5znEDAEeY35/najqRZzwZg40/Ug6J+z5o3kDAI+EB8ki
Cc: "Cullen Jennings (fluffy)" <fluffy@cisco.com>, "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] Network times . was SDP Security Descriptions (RFC 4568) and RTCWeb
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: Wed, 01 May 2013 16:01:52 -0000

This doesn't match what we are seeing. I pulled some Chrome stats on
average RTT seen across various network connections; on 3G, close to half
of users had RTTs > 250 ms. 4G is somewhat better. 2G is considerably worse.

India continues to be especially bad, partially because of the above,
partially because of use of satellite links, which due to physics incur 500
ms RTTs.


On Wed, May 1, 2013 at 4:12 AM, Karl Stahl <karl.stahl@intertex.se> wrote:

> Regarding delays...
>
> Today, packets over the Internet reach any point on the earth within 250 ms
> as Cullen found - There are simply nowhere packet are stored/buffered in
> any
> amount to give higher delays (Where would Gbps be stored for a second?).
> Routers drop packets at congestion, they don't store them (and light takes
> 140 ms for a turn around the earth, somewhat slower in a fiber).
>
> So, the problem with voice/video quality (if overall bandwidth for the
> RTP/UDP is sufficient and up) is only dropped packets, which "only" happens
> at congestion points where the pipe gets filled by TCP data (surf, email,
> file transfer), when TCP end-points regulate down to share the pipe in
> their
> hunger for infinite transfer speed. Then both TCP and RTP/UPD packets are
> dropped as a consequence of intense TCP-flows initiation. (The static
> situation is ok - no packets are dropped)
>
> Second long packet delays must come from retransmission of lost packets. If
> DTLS, it must be a higher level retransmission, I believe.
>
> Questions:
>
> 1) Does DTLS take long time to set up in itself in the browser (Aren't self
> signed certificate generated and exchanged?) while SRTP/DES is less CPU
> intense with ready certificate over the signaling path (I think)? But is
> this significant on let's say a 1 GHz smartphone which would be the lowest
> CPU power to consider?
>
> 2) Are packet drops during TLS-setup more likely over the UDP channel
> between browsers (as for DTLS) than over the signaling channel (for
> SRTP/DES). And are there more packets that safely need to arrive with DTLS
> setup?
>
> 3) SRTP/DES setup rely on TCP retransmission if packets are lost (correct
> me
> if I am wrong), while DTLS must rely on some other higher level
> retransmission mechanisms. Are there longer timers involved then? I think
> this may be the real explanation for reports of slow DTLS setup, isn't it?
>
> The only cure against dropped UPD packets is IP-level QoS, such as traffic
> shaping in firewalls/routers (but they need to be aware of traffic type)
> and
> diffserv or reservation over the transport network- but that is (currently)
> not enabled over the Internet, where all traffic is best effort class.
>
> /Karl
>
>
>
> -----Ursprungligt meddelande-----
> Från: rtcweb-bounces@ietf.org [mailto:rtcweb-bounces@ietf.org] För Cullen
> Jennings (fluffy)
> Skickat: den 1 maj 2013 07:10
> Till: Harald Alvestrand
> Kopia: rtcweb@ietf.org
> Ämne: [rtcweb] Network times … was SDP Security Descriptions (RFC 4568) and
> RTCWeb
>
>
> On Apr 29, 2013, at 2:29 AM, Harald Alvestrand <harald@alvestrand.no>
> wrote:
>
> > Would it be possible to get real data on 1) and 2) here, so that we can
> stop talking about "slow" and instead talk about "N milliseconds"?
> >
>
> I did try and round up a bunch of data for ping times from India to
> Singapore as some people were suggesting these were 1500ms.
>
> I got measurements from both home DSL and more business class from a range
> of sources in India. It seems that anywhere one could run video, you can
> ping any of Singapore, Tokyo, Boston, Palo Alto, and London in less than
> 250
> ms one way. If someone has an actually link that is getting 1500 ms out of
> India, I'd love to get the info so I can see what I can learn (the buffer
> bloat folks want to hear about this :-)
>
>
>
>
>
>
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb
>
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb
>