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

"Karl Stahl" <karl.stahl@intertex.se> Thu, 02 May 2013 17:55 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 B6B9521F8EB7 for <rtcweb@ietfa.amsl.com>; Thu, 2 May 2013 10:55:46 -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, 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 38aGLdfoZAHg for <rtcweb@ietfa.amsl.com>; Thu, 2 May 2013 10:55:40 -0700 (PDT)
Received: from smtp.it-norr.com (smtp.it-norr.com [80.244.64.152]) by ietfa.amsl.com (Postfix) with ESMTP id 5125721F8E76 for <rtcweb@ietf.org>; Thu, 2 May 2013 10:55:34 -0700 (PDT)
Received: from ([79.136.100.83]) by smtp.it-norr.com (Telecom3 SMTP service) with ASMTP id NWF80219; Thu, 02 May 2013 19:55:19 +0200
From: Karl Stahl <karl.stahl@intertex.se>
To: 'Harald Alvestrand' <harald@alvestrand.no>
References: <3FA2E46D-C98E-4FC0-9F1D-AD595A861CE1@iii.ca> <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> <02d001ce465c$bf00f690$3d02e3b0$@stahl@intertex.se> <8486C8728176924BAF5BDB2F7D7EEDDF49AC5673@ucolhp9b.easf.csd.disa.mil> <033701ce4697$1c545d20$54fd1760$@stahl@intertex.se> <5182745F.4080508@alves trand.no>
In-Reply-To: <5182745F.4080508@alvestrand.no>
Date: Thu, 02 May 2013 19:55:22 +0200
Message-ID: <01b801ce475e$37f2a5b0$a7d7f110$@stahl>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: Ac5HPyRtcW0I7pJuQg+/d4GiweqGrwAHemaw
Content-Language: sv
Cc: "'Cullen Jennings (fluffy)'" <fluffy@cisco.com>, rtcweb@ietf.org
Subject: Re: [rtcweb] Network times . was SDP Security Descriptions (RFC 4568) and RTCWeb (UNCLASSIFIED)
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: Thu, 02 May 2013 17:55:46 -0000

Yes, that was why I put it in within quotes.
I just wanted to make clear that DTLS setup/key exchange goes via UDP
packets. Those are NOT "normal data" that are error corrected/retransmitted
at that level (in ref to the previous email).
/Karl



-----Ursprungligt meddelande-----
Från: Harald Alvestrand [mailto:harald@alvestrand.no] 
Skickat: den 2 maj 2013 16:13
Till: Karl Stahl
Kopia: 'Roy, Radhika R CIV USARMY (US)'; 'Cullen Jennings (fluffy)';
rtcweb@ietf.org
Ämne: Re: SV: [rtcweb] Network times . was SDP Security Descriptions (RFC
4568) and RTCWeb (UNCLASSIFIED)

On 05/01/2013 08:10 PM, Karl Stahl wrote:
> Just to clarify:
> DTLS setup/key exchange goes over the UDP "voice/video channel".

Now you've gotten me confused.

DTLS setup/key exchange goes via UDP packets.
These UDP packets are not sent over RTP (but I do expect them to use the
same source and destination port numbers as the RTP streams).

I've always used "voice/video channel" (if I've ever used it) to mean RTP.

> /Karl
>
> -----Ursprungligt meddelande-----
> Från: Roy, Radhika R CIV USARMY (US) 
> [mailto:radhika.r.roy.civ@mail.mil]
> Skickat: den 1 maj 2013 13:47
> Till: Karl Stahl; 'Cullen Jennings (fluffy)'; 'Harald Alvestrand'
> Kopia: rtcweb@ietf.org
> Ämne: RE: [rtcweb] Network times . was SDP Security Descriptions (RFC 
> 4568) and RTCWeb (UNCLASSIFIED)
>
> Classification: UNCLASSIFIED
> Caveats: NONE
>
> Folks:
>
> I am responding only on a part of this email about retransmissions of 
> audio or video packets.
>
> Let us not consider the retransmission of audio or video packets. Let 
> us consider audio or video packets are sent only over UDP. Let MOS/QoS 
> of audio or video are considered in a way that retransmissions do not take
place.
>
> Then the question comes only about "data" traffic retransmissions. 
> Data traffic can tolerate much higher delays than that of audio or 
> video. Data has only QoS (and no MOS).
>
> Let us divide the performance problems in two different parts.
>
> In this case, we can have more focused solutions related to 
> (Audio/Video) MOS/QoS or (Data) QoS as explained above.
>
> BR/Radhika
>
> -----Original Message-----
> From: rtcweb-bounces@ietf.org [mailto:rtcweb-bounces@ietf.org] On 
> Behalf Of Karl Stahl
> Sent: Wednesday, May 01, 2013 7:12 AM
> To: 'Cullen Jennings (fluffy)'; 'Harald Alvestrand'
> Cc: rtcweb@ietf.org
> Subject: Re: [rtcweb] Network times . was SDP Security Descriptions 
> (RFC
> 4568) and RTCWeb
>
> 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 :-)
>
>
>
>
>
>
>
>
> Classification: UNCLASSIFIED
> Caveats: NONE
>
>