Pretium: Dynamic Pricing and Traffic Engineering for Timely - - PowerPoint PPT Presentation

pretium
SMART_READER_LITE
LIVE PREVIEW

Pretium: Dynamic Pricing and Traffic Engineering for Timely - - PowerPoint PPT Presentation

Pretium: Dynamic Pricing and Traffic Engineering for Timely Inter-Datacenter Transfers I SHAI M ENACHE V IRAJITH J ALAPARTI , I VAN B LIZNETS , B RENDAN L UCIER AND S RIKANTH K ANDULA M ICROSOFT * S IGCOMM 2016 *D ISCLAMER : C URRENTLY NOT PART OF


slide-1
SLIDE 1

Pretium:

Dynamic Pricing and Traffic Engineering for Timely Inter-Datacenter Transfers

ISHAI MENACHE

VIRAJITH JALAPARTI, IVAN BLIZNETS, BRENDAN LUCIER AND SRIKANTH KANDULA MICROSOFT*

SIGCOMM 2016

*DISCLAMER: CURRENTLY NOT PART OF MICROSOFT TECHNOLOGY

1

slide-2
SLIDE 2

Inter-datacenter Traffic Engineering (TE)

Allocate bandwidth between:

  • Rate requests – Interactive apps, video streaming
  • Large Transfers – business data, subject to deadlines
  • High-priority traffic – Low latency requirements

… while keeping costs low (provisioning and usage)

2

slide-3
SLIDE 3

Existing TE schemes are game-able

  • Users, who offer input to TE, can specify:

– {source, destination} of request – {begin-time, deadline} – Demand (bytes or rate) – Value or priority

  • Recent WAN TE prior work: SWAN [Sigcomm’13], B4 [Sigcomm’13],

Tempus [Sigcomm’14], Amoeba (Eurosys’15)

Gaming TE = false inputs that offer advantage

– Inflate value/priority – Report stricter deadline

3

Source Target

slide-4
SLIDE 4

Elicit truthful requirements while keeping TE usable

4

Challenge

slide-5
SLIDE 5

Today’s pricing schemes do not solve TE gaming

Network pricing, today, is largely unrelated to traffic engineering

  • Either fixed $/GB wide-area or $/bandwidth at vNIC

– E.g. $0.02/GB in-region – E.g. Lease VMs w/ guaranteed 250Mbps in/out

This hurts both users and providers

  • Providers cannot steer traffic to lightly loaded {paths, time-periods}
  • Users cannot pay more for better service (e.g., deadline guarantees)

Survey of Microsoft WAN customers

  • 81% willing to delay transfers if price is lower
  • Can accept dynamic pricing if guarantee & price are fixed when transfer

starts

5

slide-6
SLIDE 6

Our goals

A pricing + TE framework that a) pushes users towards being truthful b) facilitates offering QoS c) maximizes network efficiency given costs

  • E.g., Welfare: (Total value) minus (operating costs)
  • All must be done online, i.e., with imperfect knowledge of future
  • Complex costs

6

slide-7
SLIDE 7

Pretium – Dynamic Pricing and TE

7

Price quote

WAN

Pricing + Traffic Engineering

Request state

flow updates

slide-8
SLIDE 8

Pretium architecture

8

Request admission control

accepted requests

Pretium

Price quote

immediate Small period (e.g., minutes) Large period (e.g., hours or days)

price computer schedule adjustment state

flow updates

WAN

slide-9
SLIDE 9

Pricing model

9

A B

Maintain internal prices per {link, future time-step}

$3/GB

C

$2/GB $1/GB

A B

$1/GB

C

$1/GB $3/GB

t=1: t=2:

Request: Route 2GB from A to C by t=2 Price quote: $3

4 4

slide-10
SLIDE 10

Admission Control

  • Interface: User submits request, receives a price quote
  • Presented as a menu of (QoS, price) contracts
  • Pricing indirectly controls admission

10

A B C

5 10 15 20 1 2 3 4 5 Total Price amount of data, in GB

Price Menu: Transfer from A to C

Deadline=1 Deadline=2

A B C

t=1 t=2

4 4

$3/GB $2/GB $1/GB $1/GB $3/GB $1/GB

price computer

schedule adjustment

admission control

Request: Route 2GB from A to C by t=2

slide-11
SLIDE 11

Schedule adjustment

Late-binding: transfer is guaranteed at admission, some capacity is reserved into the future, but actual schedule is computed just-in-time Optimization:

  • 1. Why Max value?
  • 2. Value*: price-per-byte as proxy for value-per-byte
  • 3. Capacity constraints: set aside capacity for high-priority requests

11

Max [value*- costs] s.t. [satisfy transfer guarantees] [respect capacity constraints]

price computer

schedule adjustment

admission control

slide-12
SLIDE 12

Handling complex costs

  • Recall our objective: Max [value*- costs]
  • Costs can be non-linear (e.g. 95th percentile usage)
  • Solution: approximate by average top 10% usage
  • Also, can be encoded into linear program (LP) using sorting networks

12

95-percentile Top 10% time usage

slide-13
SLIDE 13

Price computation

  • Update link prices on slow time scale
  • Computing optimal prices requires demand forecasting

– demands are periodic but also some spikes…

  • Approach

– solve offline optimization centered on a reference-window of past requests – propose dual variables as prices for next time-window – Online adjustments: E.g., increase calculated price in case of link congestion

13

Time

reference-window Now dual variables prices next window

2pm 4pm 2pm 4pm

  • pt. range

price computer

schedule adjustment

admission control

slide-14
SLIDE 14

Incentive Compatibility

14

Customers will maximize their expected utility by truthfully reporting the parameters of their request

– Formal guarantees require additional technical assumptions – Even if assumptions do not hold, users do not gain much by misreporting their parameters

slide-15
SLIDE 15

Evaluation

  • Traffic trace from production inter-DC WAN

– Network: ~100 nodes, >200 edges – Netflow data collected at 5-min intervals – Request value-per-byte drawn from random distributions (normal, pareto etc.)

  • value is linear in # bytes transferred
  • Compared Pretium to various baselines

– Offline optimal (OPT) – Optimal region-based pricing (RegionOracle)

  • Divide network into regions corresponding to US, Europe, Asia etc

– Optimal peak/off-peak pricing (PeakOracle)

  • Divide 24hr period into peak and off-peak hours

15

slide-16
SLIDE 16

Benefits in welfare

  • At low load:

– RegionOracle, PeakOracle: 1-18% welfare

  • Cannot distinguish low and high-value requests

– Pretium: ~80% welfare

  • At high load:

– RegionOracle, PeakOracle: 10-30% welfare

  • Better welfare due to more high-value requests

– Pretium: ~58% welfare

  • Congestion effects…

16

slide-17
SLIDE 17

Why Pretium performs well?

Varying prices based on utilization Varying prices based on values

17

Other results: Pretium reduces peak utilization, break-down of benefits, etc.

slide-18
SLIDE 18

Conclusion

  • Takeaway: Combine dynamic pricing and traffic engineering

– Immediate quotes to users with a price (~truthful and supports QoS) – Using prices, TE repeatedly solves a linear approximation of the desired goal – Periodic (slower time-scale) price adjustment

  • Simulations show welfare gains of 30-60% relative to static pricing
  • Future work:

– Explore demand forecasting techniques – Investigate non-linear utilities (see BwE [Sigcomm’15]) – Maximize revenue

18

slide-19
SLIDE 19

Backup slides

19

slide-20
SLIDE 20

Evaluation

20