Top Banner
Project Presentation
84

Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Dec 22, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Project Presentation

Page 2: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Reminder

• 13th November 1 – 5pm

• Read your emails/Visit web sites for more information (later)

Page 3: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Reminder

• Please check your project title• Please check your grades

Page 4: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Reviews Categories

• 4 categories• No submission• Did not demonstrate understanding• Understand and summarize• Understand, think and summarize

Page 5: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

What I Hope You Have Learned

• How to read papers?• How to evaluate papers?• Think critically about what you

read

Page 6: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Recent Papers

from conferences

Page 7: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Sessions

•Session 1: Movies and Music•Session 2: Peer-to-Peer

Streaming•Session 3: Power-Friendly

Page 8: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Movies and Music

Session 1

Page 9: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Characterizing DVD

Wu-Chi Feng et. al.Packet Video 2003

Page 10: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Motivations

• Lots of DVD videos available• How are they encoded?• What is the implications to our

research?

Page 11: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

DVD data

•107 video streams•140 hours•80 DVDs

Page 12: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Bit-rates

• Maximum DVD bit rates 10 Mbps• Found on DVD 3.3 – 7.8 Mbps

• VBR• Quantization values change over time

(only Spy Kids is CBR)

Page 13: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

GOPs and Sequences

• Each GOP was encoded into a different sequence

• GOP sizes: around 12 frames

Page 14: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

NUS.SOC.CS5248OOI Wei Tsang

Sequence

sequence header:• width• height• frame rate• bit rate• :

Page 15: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

NUS.SOC.CS5248OOI Wei Tsang

GOP: Group of Picture

gop header:• time• :

Page 16: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

NUS.SOC.CS5248OOI Wei Tsang

Picture

pic header:• number• type (I,P,B)• :

Page 17: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Frame Patterns

• Most videos have varying• Number of frames within a GOP • Frame patterns

(ID4 has 134 unique GOP

patterns)

Page 18: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Frame Pattern

• Scene Change Detection used extensively

• IPPPPPPP quite common!

Page 19: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Implication to Research

• Cannot assume fixed frame pattern

• Cannot always drop B frames

Page 20: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Network Musical Performances

UC BerkeleyNOSSDAV 2001

Page 21: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Goal

• Show that networked musical performances (NMP) can be done

Page 22: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Observation

• Stanford – Berkeley (40 miles)• RTT ~4 ms• 0.72 meters

• Berkeley – Caltech (375 miles)• RTT ~28 ms• 4.88 meters

Page 23: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Observation

• Musical instruments have long production latency

Page 24: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Observation

• Don’t send audio, send command

• Keeps “states” of the current music performance

Page 25: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Example

• NoteOn(channel, note, velocity)• NoteOff(channel, note)

Page 26: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Packet Loss Recovery

• Lost/Late NoteOn • skipped

• Lost/Late NoteOff• executed

Page 27: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Packet Loss Recovery

• Guard packets

• Recovery journals

Page 28: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Bandwidth

• 20 MIDI command per seconds• 640 bps

• With recovery journals• ~7 kbps

Page 29: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Experience

• Lost/Late NoteOn/NoteOff

• But musician can adjust and play fluidly

Page 30: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Peer-to-Peer

Session 2

Page 31: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

P2Cast

Yang Guo et. al. WWW 2003

Page 32: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

NUS.SOC.CS5248OOI WEI TSANG

Patching

Time

Client Request

mcast

unicast

Page 33: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

NUS.SOC.CS5248OOI WEI TSANG

Patching

Time

Client Request

Patching Window: W

mcast

mcast

Page 34: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Problem with VOD

• IP Multicast usually assumed• Patching still requires unicast

connections

Page 35: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

P2Cast

Page 36: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

New Session

Page 37: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Existing Session + Patch

?

?

Fat Pipe First

Page 38: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Patch Server Selection

Page 39: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Patching Stream

patching stream

base stream

Page 40: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Tree Example

Page 41: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Failure Recovery

X

Page 42: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Failure Recovery

• What if• Patch server failed?

• Base server failed?

Page 43: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

PROMISE

Mohamed Hafeeda et. al.

ACM MM 2003

Page 44: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Problem

• P2P with streaming• One peer may not have enough

bandwidth• Need to aggregate multiple

peers

Page 45: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Architecture

B/2B/4B/4

CollectCast

Page 46: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

CollectCast

• Select sending peers• Monitor network• Assign streaming rates and data

segments• Decide when to change peers

Page 47: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

PROMISE Operations

I want to watch

LOTR:T2T

Page 48: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

PROMISE Operations

These are the

candidates..

Page 49: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

PROMISE Operations

Max expected goodnessSubject to rate constraints

Page 50: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

PROMISE Operations

Here are your peers!

Page 51: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

PROMISE Operations

Send these..

Page 52: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

PROMISE OperationsShould

I switch

?

Page 53: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

PALS

Reza Rejaie et. al.NOSSDAV 2003

Page 54: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Problem

• P2P with streaming• One peer may not have enough

bandwidth• Need to aggregate multiple

peers•Using layered coding•With congestion control

Page 55: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Sliding Window

playout time window

Page 56: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Packet Assignment

playout timeS1 S2

Page 57: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Sending Mechanism

• Request packets in priority order• Sender must send in order• Next request overwrites previous

one

Page 58: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Power-Friendly

Session 3

Page 59: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

GRACE-OS

Wanghong YuanSOSP 2003

Page 60: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Motivation

• Mobile devices run on battery• How to save battery?

Page 61: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Dynamic Voltage Scaling

•Example: AMD Athlon 4 PowerOn {300, 500, 600, 700, 800, 1000}MHz

• Energy V2

Page 62: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

CPU Scheduler

•When to execute a task•How long to execute it•How fast to execute it

Page 63: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

NUS.SOC.CS5248OOI WEI TSANG

CPU Reservation

“I need C units of time, out of every T units.”

Page 64: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Probability Distribution

cycles

Cum. Prob.

Page 65: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

CPU Requirements

• “I need C units of time, out of every T units.”

Page 66: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Speed Schedulesp

eed

time

Page 67: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Finding Speed Schedule

• Let task execute at speed vx

during cycle x• execution time:• power:• average power:

Page 68: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Optimize This

• Minimize:

• Subjected to:

Page 69: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Implementation

• Linux Kernel• AMD Athlon 4•716 lines of code

Page 70: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Findings

• Probability distribution is quite stable

• Able to meet deadlines with bounded miss ratio

• Save energy by 7 – 72%

Page 71: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Proxy Assisted Streaming

Prashant Shenoy et. al.MMCN 2003

Page 72: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Motivation

• Power-aware streaming to mobile device• save energy in decoding frames• save energy in receiving packets

Page 73: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Architecture

server/proxy client

Here’s my energy budget for decoding +

network reception and max resolution

Page 74: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Architecture

server/proxy client

OK, what should I send?

Page 75: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Information Needed

• Map stream properties to energy requirement

• Need to know decoding time of a frame

Page 76: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Frame Decoding Time

Page 77: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Estimating Frame Decoding Time

Page 78: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Transcoding

• If current stream would exceed client decoding energy budget

• Need to transcode by reducing quality

Page 79: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Transcode to what?

E = estimated energy neededwhile E > energy budget reduce quality by ε E = estimate energy needed

Page 80: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Transcoded Streams

server/proxy client

Page 81: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Reducing NIC Energy

• NIC has two modes : active/sleep

• Client can activate NIC only when packets are expected.

Page 82: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Burst Transmission

I will start transmitting at

10:12:54.86 pm

Page 83: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

EvaluationsDecoding Time

Frame Number

Page 84: Project Presentation. Reminder 13th November 1 – 5pm Read your emails/Visit web sites for more information (later)

Evaluations

• NIC Idle Uptime: 2 – 20%