摘要

In this paper, we measure and study the peer startup process in PPLive, a popular commercial P2P streaming system, and focus on a fundamental issue in this aspect: how a peer initializes its buffer when it joins a channel, i.e., initial offset placement of peers'buffers in the startup stage. We build a general model of peer startup process in chunk-based P2P streaming systems and present an initial offset placement scheme we inferred from the measurement results, i.e., proportional placement (PP) scheme. With FP scheme, the initial buffer offset is set to the offset of the reference neighbor peer plus an advance proportional to the reference neighbor peer's offset lag or buffer width. We evaluate the performance of PP scheme and find it is stable when the placement is based on offset lag, but will be unstable when it is based on buffer width if the chunk fetching strategy and neighbor peer selection mechanism are not properly designed. We finally report our detailed measurement results of the peer startup process and initial offset placement algorithms used in PPLive. Our models and measurement results could be useful for guiding the analysis and design of buffering protocols for a real P2P live streaming system.