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

"Karl Stahl" <karl.stahl@intertex.se> Wed, 01 May 2013 18:13 UTC

Return-Path: <karl.stahl@intertex.se>
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 DD72B21F99B6 for <rtcweb@ietfa.amsl.com>; Wed, 1 May 2013 11:13:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.15
X-Spam-Level:
X-Spam-Status: No, score=-1.15 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, HTML_MESSAGE=0.001, MSGID_MULTIPLE_AT=1.449]
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 UoSxPPx28dYc for <rtcweb@ietfa.amsl.com>; Wed, 1 May 2013 11:13:50 -0700 (PDT)
Received: from smtp.it-norr.com (smtp.it-norr.com [80.244.64.152]) by ietfa.amsl.com (Postfix) with ESMTP id 7FD9921F9735 for <rtcweb@ietf.org>; Wed, 1 May 2013 11:13:49 -0700 (PDT)
Received: from ([90.229.134.75]) by smtp.it-norr.com (Telecom3 SMTP service) with ASMTP id MXO63634; Wed, 01 May 2013 20:13:34 +0200
From: Karl Stahl <karl.stahl@intertex.se>
To: 'Justin Uberti' <juberti@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> <CAOJ7v-1K6B6GTBShbwcE2FZWtL+Hm_XLMS_cRvMJejx8gUtieg@mail.gmail.com>
In-Reply-To: <CAOJ7v-1K6B6GTBShbwcE2FZWtL+Hm_XLMS_cRvMJejx8gUtieg@mail.gmail.com>
Date: Wed, 01 May 2013 20:13:34 +0200
Message-ID: <033801ce4697$988126d0$c9837470$@stahl>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0339_01CE46A8.5C09F6D0"
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: Ac5GhS7LbCaBsqoGQXuoFMNzAOVJVwAEfv2g
Content-Language: sv
X-Spam-IndexStatus: 0
Cc: "'Cullen Jennings (fluffy)'" <fluffy@cisco.com>, 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 18:13:55 -0000

RTT is round trip time, isn’t it? Our 250 ms was just one way – so same finding.

 

Satellite links do certainly add lots of delay – speed of light again.

 

/Karl

 

Från: Justin Uberti [mailto:juberti@google.com] 
Skickat: den 1 maj 2013 18:01
Till: Karl Stahl
Kopia: Cullen Jennings (fluffy); Harald Alvestrand; rtcweb@ietf.org
Ämne: Re: [rtcweb] Network times . was SDP Security Descriptions (RFC 4568) and RTCWeb

 

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