A Contract and Balancing Mechanism for Sharing Capacity in...

102
A Contract and Balancing Mechanism for Sharing Capacity in a Communication Network Richard Steinberg University of Cambridge Joint with Eddie Anderson, AGSM Frank Kelly, University of Cambridge July 2005

Transcript of A Contract and Balancing Mechanism for Sharing Capacity in...

Page 1: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

A Contract and Balancing Mechanism forSharing Capacity in a Communication Network

Richard SteinbergUniversity of Cambridge

Joint with

Eddie Anderson, AGSMFrank Kelly, University of Cambridge

July 2005

Page 2: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Problem

Page 3: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Problem

The owner of a communication network wishes tosell bandwidth to users

Page 4: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Problem

The owner of a communication network wishes tosell bandwidth to users

• Bandwidth: Amount of data that can be transmitted per unit time via fibre optic cables (specified in bits per second, bps)

Page 5: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Problem

The owner of a communication network wishes tosell bandwidth to users

• Bandwidth: Amount of data that can be transmitted per unit time via fibre optic cables (specified in bits per second, bps)

• Users are those who require a dedicated network

Page 6: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Problem

The owner of a communication network wishes tosell bandwidth to users

• Bandwidth: Amount of data that can be transmitted per unit time via fibre optic cables (specified in bits per second, bps)

• Users are those who require a dedicated network

- small telecoms companies

Page 7: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Problem

The owner of a communication network wishes tosell bandwidth to users

• Bandwidth: Amount of data that can be transmitted per unit time via fibre optic cables (specified in bits per second, bps)

• Users are those who require a dedicated network

- small telecoms companies

- business that host network applications (e.g., BlockbusterEntertainment on demand)

Page 8: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Problem

The owner of a communication network wishes tosell bandwidth to users

• Bandwidth: Amount of data that can be transmitted per unit time via fibre optic cables (specified in bits per second, bps)

• Users are those who require a dedicated network

- small telecoms companies

- business that host network applications (e.g., BlockbusterEntertainment on demand)

- other (e.g., Merrill Lynch, for one-off video broadcast forits analysts)

Page 9: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

The Customers’ Dilemma

Page 10: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

The Customers’ Dilemma

Customers can either:

Page 11: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

The Customers’ Dilemma

Customers can either:

(1) Buy capacity for only their regular needs

Page 12: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

The Customers’ Dilemma

Customers can either:

(1) Buy capacity for only their regular needs

- But then they’ll have problems when usage spikes

Page 13: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

The Customers’ Dilemma

Customers can either:

(1) Buy capacity for only their regular needs

- But then they’ll have problems when usage spikes

(2) Buy sufficient capacity to serve maximum demand

Page 14: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

The Customers’ Dilemma

Customers can either:

(1) Buy capacity for only their regular needs

- But then they’ll have problems when usage spikes

(2) Buy sufficient capacity to serve maximum demand

- But then they waste money on access they’re not using

Page 15: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Two types of communication networks

Page 16: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Two types of communication networks

• Circuit-switched networks

Page 17: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Two types of communication networks

• Circuit-switched networks

- A specific path to destination is obtained for the message

Page 18: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Two types of communication networks

• Circuit-switched networks

- A specific path to destination is obtained for the message- No other information travels along the lines involved

Page 19: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Two types of communication networks

• Circuit-switched networks

- A specific path to destination is obtained for the message- No other information travels along the lines involved- Example: the public telephone network

Page 20: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Two types of communication networks

• Circuit-switched networks

- A specific path to destination is obtained for the message- No other information travels along the lines involved- Example: the public telephone network

• Packet-switched (IP) networks

Page 21: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Two types of communication networks

• Circuit-switched networks

- A specific path to destination is obtained for the message- No other information travels along the lines involved- Example: the public telephone network

• Packet-switched (IP) networks

- Data is broken down into small units, called packets

Page 22: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Two types of communication networks

• Circuit-switched networks

- A specific path to destination is obtained for the message- No other information travels along the lines involved- Example: the public telephone network

• Packet-switched (IP) networks

- Data is broken down into small units, called packets- Packets individually routed & re-assembled at destination

Page 23: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Two types of communication networks

• Circuit-switched networks

- A specific path to destination is obtained for the message- No other information travels along the lines involved- Example: the public telephone network

• Packet-switched (IP) networks

- Data is broken down into small units, called packets- Packets individually routed & re-assembled at destination

Our focus will be on packet-switched networks.

Page 24: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Sharing capacity

Page 25: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Sharing capacity

• IP networks have congestion control mechanisms to allow users to share capacity...

Page 26: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Sharing capacity

• IP networks have congestion control mechanisms to allow users to share capacity...

... and thus absorb random fluctuations in users’ demands

Page 27: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Sharing capacity

• IP networks have congestion control mechanisms to allow users to share capacity...

... and thus absorb random fluctuations in users’ demands

• The rate at which a source sends packets to the destination is controlled by TCP

Page 28: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Sharing capacity

• IP networks have congestion control mechanisms to allow users to share capacity...

... and thus absorb random fluctuations in users’ demands

• The rate at which a source sends packets to the destination is controlled by TCP

… implemented as software on computers on IP networks

Page 29: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Sharing capacity

• IP networks have congestion control mechanisms to allow users to share capacity...

... and thus absorb random fluctuations in users’ demands

• The rate at which a source sends packets to the destination is controlled by TCP

… implemented as software on computers on IP networks

• TCP shares bandwidth amongst flows

Page 30: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

How TCP operates

Page 31: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

How TCP operates

• Each time a packet arrives at the destination, an acknowledgement packet is sent back to the source

Page 32: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

How TCP operates

• Each time a packet arrives at the destination, an acknowledgement packet is sent back to the source

• When the destination becomes overloaded, one or more packets are lost

Page 33: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

How TCP operates

• Each time a packet arrives at the destination, an acknowledgement packet is sent back to the source

• When the destination becomes overloaded, one or more packets are lost

- the source knows that the packet was lost because itfailed to receive an acknowledgement packet

Page 34: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

How TCP operates

• Each time a packet arrives at the destination, an acknowledgement packet is sent back to the source

• When the destination becomes overloaded, one or more packets are lost

- the source knows that the packet was lost because itfailed to receive an acknowledgement packet

- the source slows down

Page 35: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

How TCP operates

• Each time a packet arrives at the destination, an acknowledgement packet is sent back to the source

• When the destination becomes overloaded, one or more packets are lost

- the source knows that the packet was lost because itfailed to receive an acknowledgement packet

- the source slows down

• TCP gradually increases the sending rate until it again receives an indication of congestion

Page 36: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

How TCP operates

• Each time a packet arrives at the destination, an acknowledgement packet is sent back to the source

• When the destination becomes overloaded, one or more packets are lost

- the source knows that the packet was lost because itfailed to receive an acknowledgement packet

- the source slows down

• TCP gradually increases the sending rate until it again receives an indication of congestion

• In this way, TCP serves to discover and utilise whatever bandwidth is available and to share it amongst flows

Page 37: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Structure of a Packet

Page 38: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Structure of a Packet

• All packets have three parts

Page 39: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Structure of a Packet

• All packets have three parts- IP header

Page 40: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Structure of a Packet

• All packets have three parts- IP header - TCP header

Page 41: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Structure of a Packet

• All packets have three parts- IP header - TCP header - data from “application layer”

Page 42: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Structure of a Packet

• All packets have three parts- IP header - TCP header - data from “application layer”

Page 43: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Structure of a Packet

• All packets have three parts- IP header - TCP header - data from “application layer”

• There is currently one bit in IP header reserved for some “future use”

Page 44: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Structure of a Packet

• All packets have three parts- IP header - TCP header - data from “application layer”

• There is currently one bit in IP header reserved for some “future use” (can be set to 0 or 1)

Page 45: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Is there a better way to signal congestion?

Page 46: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Is there a better way to signal congestion?

Two problems with dropped packets

Page 47: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Is there a better way to signal congestion?

Two problems with dropped packets

(1) Wasteful of system resources

Page 48: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Is there a better way to signal congestion?

Two problems with dropped packets

(1) Wasteful of system resources

- Dropped packets need to be re-sent

Page 49: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Is there a better way to signal congestion?

Two problems with dropped packets

(1) Wasteful of system resources

- Dropped packets need to be re-sent

(2) The congestion signal is delayed

Page 50: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Is there a better way to signal congestion?

Two problems with dropped packets

(1) Wasteful of system resources

- Dropped packets need to be re-sent

(2) The congestion signal is delayed

- Until the point when packets begin to be dropped,users are unaware of imminent congestion problems

Page 51: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Is there a better way to signal congestion?

Two problems with dropped packets

(1) Wasteful of system resources

- Dropped packets need to be re-sent

(2) The congestion signal is delayed

- Until the point when packets begin to be dropped,users are unaware of imminent congestion problems

A better way

Page 52: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Is there a better way to signal congestion?

Two problems with dropped packets

(1) Wasteful of system resources

- Dropped packets need to be re-sent

(2) The congestion signal is delayed

- Until the point when packets begin to be dropped,users are unaware of imminent congestion problems

A better way

There is a ‘Proposed Standard’ for congestion control...

Page 53: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

ECN: Explicit Congestion Notification

Page 54: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

ECN: Explicit Congestion Notification

• Packets encountering long queues can have that extrabit set to indicate congestion

Page 55: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

ECN: Explicit Congestion Notification

• Packets encountering long queues can have that extrabit set to indicate congestion

• Users detecting ECN marks should respond by reducing transmission rates

Page 56: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

ECN: Explicit Congestion Notification

• Packets encountering long queues can have that extrabit set to indicate congestion

• Users detecting ECN marks should respond by reducing transmission rates

• Thus, ECN marks are designed to be used to control congestion

Page 57: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

ECN: Explicit Congestion Notification

• Packets encountering long queues can have that extrabit set to indicate congestion

• Users detecting ECN marks should respond by reducing transmission rates

• Thus, ECN marks are designed to be used to control congestion

• Our idea: ECN marks can be also used to control the supply of capacity

Page 58: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

“Contract and Balancing Mechanism” (CBM)(Anderson, Kelly and Steinberg 2005)

Page 59: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

“Contract and Balancing Mechanism” (CBM)(Anderson, Kelly and Steinberg 2005)

• Owner of link sells contracts for usage over a period

Page 60: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

“Contract and Balancing Mechanism” (CBM)(Anderson, Kelly and Steinberg 2005)

• Owner of link sells contracts for usage over a period

• At end of period, users participate in a balancingprocess

Page 61: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

“Contract and Balancing Mechanism” (CBM)(Anderson, Kelly and Steinberg 2005)

• Owner of link sells contracts for usage over a period

• At end of period, users participate in a balancingprocess

• Users make or receive payments based on:

Page 62: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

“Contract and Balancing Mechanism” (CBM)(Anderson, Kelly and Steinberg 2005)

• Owner of link sells contracts for usage over a period

• At end of period, users participate in a balancingprocess

• Users make or receive payments based on:

- proportion of marks they received, compared with

Page 63: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

“Contract and Balancing Mechanism” (CBM)(Anderson, Kelly and Steinberg 2005)

• Owner of link sells contracts for usage over a period

• At end of period, users participate in a balancingprocess

• Users make or receive payments based on:

- proportion of marks they received, compared with- capacity they had contracted for.

Page 64: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

“Contract and Balancing Mechanism” (CBM)

Example

Page 65: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

“Contract and Balancing Mechanism” (CBM)

Example• Two users contract for part of 300 Mbps line for month

Page 66: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

“Contract and Balancing Mechanism” (CBM)

Example• Two users contract for part of 300 Mbps line for month

- User A contracts for 100 Mbps

Page 67: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

“Contract and Balancing Mechanism” (CBM)

Example• Two users contract for part of 300 Mbps line for month

- User A contracts for 100 Mbps- User B contracts for 200 Mbps

Page 68: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

“Contract and Balancing Mechanism” (CBM)

Example• Two users contract for part of 300 Mbps line for month

- User A contracts for 100 Mbps- User B contracts for 200 Mbps

• Rates charged by the owner

Page 69: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

“Contract and Balancing Mechanism” (CBM)

Example• Two users contract for part of 300 Mbps line for month

- User A contracts for 100 Mbps- User B contracts for 200 Mbps

• Rates charged by the owner- contractual rate: c dollars per megabit

Page 70: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

“Contract and Balancing Mechanism” (CBM)

Example• Two users contract for part of 300 Mbps line for month

- User A contracts for 100 Mbps- User B contracts for 200 Mbps

• Rates charged by the owner- contractual rate: c dollars per megabit- balancing charge: γ dollars per mark

Page 71: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

“Contract and Balancing Mechanism” (CBM)

Example• Two users contract for part of 300 Mbps line for month

- User A contracts for 100 Mbps- User B contracts for 200 Mbps

• Rates charged by the owner- contractual rate: c dollars per megabit- balancing charge: γ dollars per mark

• At beginning of the month, owner receives

Page 72: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

“Contract and Balancing Mechanism” (CBM)

Example• Two users contract for part of 300 Mbps line for month

- User A contracts for 100 Mbps- User B contracts for 200 Mbps

• Rates charged by the owner- contractual rate: c dollars per megabit- balancing charge: γ dollars per mark

• At beginning of the month, owner receives- 100c dollars from User A

Page 73: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

“Contract and Balancing Mechanism” (CBM)

Example• Two users contract for part of 300 Mbps line for month

- User A contracts for 100 Mbps- User B contracts for 200 Mbps

• Rates charged by the owner- contractual rate: c dollars per megabit- balancing charge: γ dollars per mark

• At beginning of the month, owner receives- 100c dollars from User A - 200c dollars from User B

Page 74: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

During the month…

Page 75: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

During the month…

• Number of marks received by each user is recorded:

Page 76: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

During the month…

• Number of marks received by each user is recorded:

zA = number of marks received by User A

Page 77: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

During the month…

• Number of marks received by each user is recorded:

zA = number of marks received by User A

zB = number of marks received by User B

Page 78: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

At end of month…

Page 79: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

At end of month…

• If User A received exactly 1/3 the total marks,then no further payments are made

Page 80: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

At end of month…

• If User A received exactly 1/3 the total marks,then no further payments are made

• If User A received more than 1/3 the total marks, then A will pay B the balancing charge times the excess:

Page 81: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

At end of month…

• If User A received exactly 1/3 the total marks,then no further payments are made

• If User A received more than 1/3 the total marks, then A will pay B the balancing charge times the excess:

γ [zA - a (zA+ zB)]

Page 82: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

At end of month…

• If User A received exactly 1/3 the total marks,then no further payments are made

• If User A received more than 1/3 the total marks, then A will pay B the balancing charge times the excess:

γ [zA - a (zA+ zB)]

• If User A received less than 1/3 the total marks,then A will receive from B the above amount.

Page 83: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

A word about ECN marking…

Page 84: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

A word about ECN marking…

• Recall the basic principle of ECN marking:

Page 85: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

A word about ECN marking…

• Recall the basic principle of ECN marking:

Packets encountering long queues have a bit set to indicate congestion

Page 86: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

A word about ECN marking…

• Recall the basic principle of ECN marking:

Packets encountering long queues have a bit set to indicate congestion

• We haven’t discussed the point at which a queue is considered to be `long’

Page 87: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

A word about ECN marking…

• Recall the basic principle of ECN marking:

Packets encountering long queues have a bit set to indicate congestion

• We haven’t discussed the point at which a queue is considered to be `long’

• However, this is not very significant, as we only need to know the proportion of ECN marks received

Page 88: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Player’s optimal contract amount

Page 89: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Player’s optimal contract amount

Theorem: Suppose the users can each predict theirown usage over the period.

Page 90: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Player’s optimal contract amount

Theorem: Suppose the users can each predict theirown usage over the period.

Then a user’s optimal contract quantity is a weightedaverage of his anticipated usage over the period.

Page 91: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Player’s optimal contract amount

Theorem: Suppose the users can each predict theirown usage over the period.

Then a user’s optimal contract quantity is a weightedaverage of his anticipated usage over the period.

Corollary: Users who are:

Page 92: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Player’s optimal contract amount

Theorem: Suppose the users can each predict theirown usage over the period.

Then a user’s optimal contract quantity is a weightedaverage of his anticipated usage over the period.

Corollary: Users who are:

• price insensitive, or

Page 93: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Player’s optimal contract amount

Theorem: Suppose the users can each predict theirown usage over the period.

Then a user’s optimal contract quantity is a weightedaverage of his anticipated usage over the period.

Corollary: Users who are:

• price insensitive, or• have a constant usage over time

Page 94: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Player’s optimal contract amount

Theorem: Suppose the users can each predict theirown usage over the period.

Then a user’s optimal contract quantity is a weightedaverage of his anticipated usage over the period.

Corollary: Users who are:

• price insensitive, or• have a constant usage over time

should contract for precisely their anticipated usage.

Page 95: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Conclusions

Page 96: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Conclusions

Two benefits of the scheme

Page 97: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Conclusions

Two benefits of the scheme

• If a user has constant bandwidth requirements, i.e., never delivers more than his contracted capacity...

Page 98: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Conclusions

Two benefits of the scheme

• If a user has constant bandwidth requirements, i.e., never delivers more than his contracted capacity...

- Then he will only receive--never be required to make--payments in the balancing process.

Page 99: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Conclusions

Two benefits of the scheme

• If a user has constant bandwidth requirements, i.e., never delivers more than his contracted capacity...

- Then he will only receive--never be required to make--payments in the balancing process.

• If capacity of a link is fully contracted, the network owner receives no additional payments from process.

Page 100: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Conclusions

Two benefits of the scheme

• If a user has constant bandwidth requirements, i.e., never delivers more than his contracted capacity...

- Then he will only receive--never be required to make--payments in the balancing process.

• If capacity of a link is fully contracted, the network owner receives no additional payments from process.

- Thus, he is indifferent to short term behaviour of network.

Page 101: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Conclusions

Two benefits of the scheme

• If a user has constant bandwidth requirements, i.e., never delivers more than his contracted capacity...

- Then he will only receive--never be required to make--payments in the balancing process.

• If capacity of a link is fully contracted, the network owner receives no additional payments from process.

- Thus, he is indifferent to short term behaviour of network.

Page 102: A Contract and Balancing Mechanism for Sharing Capacity in ...cfp.mit.edu/publications/CFP_Presentations/All Member Meetings/ju… · A Contract and Balancing Mechanism for Sharing

Conclusions

Two benefits of the scheme

• If a user has constant bandwidth requirements, i.e., never delivers more than his contracted capacity...

- Then he will only receive--never be required to make--payments in the balancing process.

• If capacity of a link is fully contracted, the network owner receives no additional payments from process.

- Thus, he is indifferent to short term behaviour of network.