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

"Karl Stahl" <karl.stahl@intertex.se> Wed, 01 May 2013 18:10 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 611C821F9AB9 for <rtcweb@ietfa.amsl.com>; Wed, 1 May 2013 11:10:29 -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=[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 SCEfF4JiMW4i for <rtcweb@ietfa.amsl.com>; Wed, 1 May 2013 11:10:23 -0700 (PDT)
Received: from smtp.it-norr.com (smtp.it-norr.com [80.244.64.152]) by ietfa.amsl.com (Postfix) with ESMTP id 063A221F9918 for <rtcweb@ietf.org>; Wed, 1 May 2013 11:10:21 -0700 (PDT)
Received: from ([90.229.134.75]) by smtp.it-norr.com (Telecom3 SMTP service) with ASMTP id MXL30806; Wed, 01 May 2013 20:10:06 +0200
From: Karl Stahl <karl.stahl@intertex.se>
To: "'Roy, Radhika R CIV USARMY (US)'" <radhika.r.roy.civ@mail.mil>, "'Cullen Jennings (fluffy)'" <fluffy@cisco.com>, 'Harald Alvestrand' <harald@alvestrand.no>
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> <02d001ce465c$bf00f690$3d02e3b0$@stahl@intertex.se> <8486C8728176924BAF5BDB2F7D7EEDDF49AC5673@ucolhp9b.easf.csd.disa.mil>
In-Reply-To: <8486C8728176924BAF5BDB2F7D7EEDDF49AC5673@ucolhp9b.easf.csd.disa.mil>
Date: Wed, 01 May 2013 20:10:06 +0200
Message-ID: <033701ce4697$1c545d20$54fd1760$@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: AQHORiot3hT0toA1x0SAjJDE87njG5jv9reggAA9LSCAAG1MQA==
Content-Language: sv
X-Spam-IndexStatus: 0
Cc: 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: Wed, 01 May 2013 18:10:29 -0000

Just to clarify:
DTLS setup/key exchange goes over the UDP "voice/video channel".
/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