Re: [ppsp] Proposal to resolve Issue 10 + 13

zhangyunfei <zhangyunfei@chinamobile.com> Thu, 17 May 2012 03:30 UTC

Return-Path: <zhangyunfei@chinamobile.com>
X-Original-To: ppsp@ietfa.amsl.com
Delivered-To: ppsp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A61AF11E808F for <ppsp@ietfa.amsl.com>; Wed, 16 May 2012 20:30:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -96.345
X-Spam-Level:
X-Spam-Status: No, score=-96.345 tagged_above=-999 required=5 tests=[AWL=2.278, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_BASE64_TEXT=1.753, RELAY_IS_221=2.222, 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 hggUUnrg8GCY for <ppsp@ietfa.amsl.com>; Wed, 16 May 2012 20:30:51 -0700 (PDT)
Received: from imss.chinamobile.com (imss.chinamobile.com [221.130.253.135]) by ietfa.amsl.com (Postfix) with ESMTP id BCCBB11E8089 for <ppsp@ietf.org>; Wed, 16 May 2012 20:30:49 -0700 (PDT)
Received: from imss.chinamobile.com (localhost [127.0.0.1]) by localhost.chinamobile.com (Postfix) with ESMTP id 9D42AE433; Thu, 17 May 2012 11:30:46 +0800 (CST)
Received: from mail.chinamobile.com (unknown [10.1.28.22]) by imss.chinamobile.com (Postfix) with ESMTP id 23148F3B6; Thu, 17 May 2012 11:30:44 +0800 (CST)
Received: from zyf-PC ([10.2.43.220]) by mail.chinamobile.com (Lotus Domino Release 6.5.6) with ESMTP id 2012051711304091-6735 ; Thu, 17 May 2012 11:30:40 +0800
Date: Thu, 17 May 2012 11:30:35 +0800
From: zhangyunfei <zhangyunfei@chinamobile.com>
To: Picconi Fabio <Fabio.Picconi@technicolor.com>, "arno@cs.vu.nl" <arno@cs.vu.nl>
References: <OF97B14220.883D5968-ON482579DB.003454AD-482579DB.0035B23D@zte.com.cn> <2012041216393612240745@chinamobile.com>, <4F869775.6010007@cs.vu.nl> <2012041815001581776052@chinamobile.com>, <4F8E6DCE.90101@cs.vu.nl> <20120418183444961415101@chinamobile.com> <320C4182454E96478DC039F2C481987204EB1CD37A@MOPESMBX01.eu.thmulti.com> <4FB0FAEA.8010504@cs.vu.nl> <320C4182454E96478DC039F2C481987204EB26DD39@MOPESMBX01.eu.thmulti.com> <4FB20BD5.6010607@cs.vu.nl>, <320C4182454E96478DC039F2C481987204EB26E7D4@MOPESMBX01.eu.thmulti.com> <2012051609521522582017@chinamobile.com>, <320C4182454E96478DC039F2C481987204EB2FBE81@MOPESMBX01.eu.thmulti.com>
X-Priority: 3 (Normal)
X-Mailer: Foxmail 7.0.1.85[cn]
Mime-Version: 1.0
Message-ID: <2012051711303503621122@chinamobile.com>
X-MIMETrack: Itemize by SMTP Server on jtgsml01/servers/cmcc(Release 6.5.6|March 06, 2007) at 2012-05-17 11:30:41, Serialize by Router on jtgsml01/servers/cmcc(Release 6.5.6|March 06, 2007) at 2012-05-17 11:30:45
Content-Type: multipart/alternative; boundary="----=_001_NextPart874113331685_=----"
X-TM-AS-Product-Ver: IMSS-7.0.0.8231-6.8.0.1017-18910.004
X-TM-AS-Result: No--41.394-7.0-31-10
X-imss-scan-details: No--41.394-7.0-31-10;No--41.394-7.0-31-10
X-TM-AS-User-Approved-Sender: No;No
X-TM-AS-User-Blocked-Sender: No;No
Cc: ppsp <ppsp@ietf.org>
Subject: Re: [ppsp] Proposal to resolve Issue 10 + 13
X-BeenThere: ppsp@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
Reply-To: zhangyunfei <zhangyunfei@chinamobile.com>
List-Id: discussing to draw up peer to peer streaming protocol <ppsp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ppsp>, <mailto:ppsp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ppsp>
List-Post: <mailto:ppsp@ietf.org>
List-Help: <mailto:ppsp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ppsp>, <mailto:ppsp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 17 May 2012 03:30:52 -0000

Yes. It would be great if we can have a conclusion before next next week, when is our proposed deadline for discussing the chunk addressing issue.  

BR
Yunfei




zhangyunfei

From: Picconi Fabio
Date: 2012-05-16 14:53
To: zhangyunfei; arno@cs.vu.nl
CC: ppsp
Subject: RE: RE: Proposal to resolve Issue 10 + 13
Yes, a quick simulation would shed some light on the average case. Now we need to find the time to do it. :-)
Fabio
 
From: zhangyunfei [mailto:zhangyunfei@chinamobile.com] 
Sent: mercredi 16 mai 2012 03:52
To: Picconi Fabio; arno@cs.vu.nl
Cc: ppsp
Subject: Re: RE: Proposal to resolve Issue 10 + 13
 
Hi Fabio, Arno and all,
     I have a thought on how to discuss the average case. Please discuss to see if it works.
     We may find in some measurement work to see the distribution of the chunks in the buffer (maybe in different phase, there are different distributions, e.g., the beginning, the normal play, after dragging, but I am not sure). In this case, the problem Fabio proposed is solved and we can get an analysis of the two schemes.
 
BR
Yunfei
 



zhangyunfei
 
From: Picconi Fabio
Date: 2012-05-15 21:04
To: arno@cs.vu.nl
CC: zhangyunfei; ppsp
Subject: RE: Proposal to resolve Issue 10 + 13
I'm not sure I follow you.
 
First, I assumed three chunks per second because there is a paper that suggests that this is a good value [1]. But the actual chunk rate does not change the calculation (more chunks per seconds means both more bins and more ranges).
 
Second, if you use ranges, sending an update to inform the reception of an entire 32K block (i.e., 32 1K chunks) takes two integers with range lists, or one integer using bins. If you have three blocks per second, that means 6 integers per second per neighbor, instead of 3 integers per second per neighbor. In both cases the overhead is negligible.
 
In the absence of an average case analysis (i.e., where the buffer contains lots of holes) showing that bins are better than range lists, and given the negligible overhead of both solutions in the worst and best case, I would go for the simpler solution, i.e., range lists.
 
Fabio
 
[1] Size Does Matter (in P2P Live Streaming). N. Hegde, F. Mathieu and D. Perino. In Algotel'09 and also Inria Technical report #7032, 2009.
 
 
 
 
> -----Original Message-----
> From: Arno Bakker [mailto:arno@cs.vu.nl]
> Sent: mardi 15 mai 2012 09:55
> To: Picconi Fabio
> Cc: zhangyunfei; ppsp
> Subject: Re: Proposal to resolve Issue 10 + 13
> 
> Hi Fabio and all
> 
> On 14/05/2012 17:52, Picconi Fabio wrote:
> >
> > Taking W=30 seconds and 3 chunks per second, 4 bytes per integer, and
> > 1 buffer map per second to 10 neighbors, range list requires ~ 30
> kbps
> > in the worst case vs. ~ 15 kbps for bins. For a 1 Mbps stream, that's
> > a 3% overhead instead of 1.5%, which I don't think is that big a
> deal.
> >
> 
> IMHO, the calculation should be somewhat different. It now assumes we
> send the complete 30 second map every second. I'd say it is more likely
> that we download at approx. the bitrate so we have only 1 seconds worth
> of updates to the map to send. I.e. 3 chunks in your example. This
> means less overhead.
> 
> With UDP as a transport, chunk size is preferably 1K to keep the impact
> of the loss of a single IP packet low (on Ethernet). Then 3 chunks per
> second should be 100 chunks per second for 1 Mbps, implying we send
> either 800 bytes (2 ints per range) or 400 bytes (1 bin) as overhead,
> worst case. For 10 neighbours this means 64 and 32 kbps, or 6% and 3%
> respectively.
> 
> 
> > Now, two things: 1) an optimized implementation of range lists would
> > encode single-element ranges with a single integer, so the overhead
> > would be identical to that of bins (i.e., 1.5%); 2) we're talking
> > about the worst case which is extremely unlikely to happen... it
> would
> > be interesting to do the average case analysis for the [P+1,P+W]
> > interval.
> >
> 
> As argued before, I assume data will be requested in blocks of chunks,
> in particular on UDP with 1K chunks, which are a power of 2, e.g. 32K.
> We can align these requests on power-2 boundaries such that we need
> just
> 1 bin to address them. With ranges we always need 2 ints, as we're
> denoting a block of chunks.
> 
> With this block assumption, in the worst case, an update is (100K/block
> size) ranges. So e.g. 3 ranges for 32 K, taking either 2 or 1 int to
> encode, and thus implying 2 kbps and 1 kbps for 10 neighbours, or 0.2
> and 0.1% overhead. Less for larger block sizes.
> 
> In conclusion, if we send map updates instead of the full map, the
> absolute overhead of pushing chunk availability is low. Relative
> overhead can still be 100% and bins give a prettier one-unit design ;o)
> 
> CU,
>      Arno