The Twin Measure for System Predictability and Unfairness - PowerPoint PPT Presentation

1 / 25
About This Presentation
Title:

The Twin Measure for System Predictability and Unfairness

Description:

t create busy period of size ... NP-LCFS. Criterion. Twin. Policy. Orsis/May 2006. Raz-Predicrability & Twins. 25. Conclusion ... – PowerPoint PPT presentation

Number of Views:33
Avg rating:3.0/5.0
Slides: 26
Provided by: davi122
Category:

less

Transcript and Presenter's Notes

Title: The Twin Measure for System Predictability and Unfairness


1
The Twin Measure for System Predictability and
Unfairness
  • David Raz
  • School of Computer Science, Tel Aviv University
  • Jointly with
  • Hanoch Levy, Tel Aviv University
  • Benjamin Avi-Itzhak, RUTCOR, Rutgers University
  • MAMA, June 2006

2
What is Un-Predictability?
How long will I wait?
How well we can predictHow dispersed is the
real value around our prediction
  • Prediction EW
  • Un-Predictability VarW

3
Importance of Predictability
  • Uncertainty about waiting time influences overall
    service satisfaction in a through way (Taylor
    94).
  • if a consumer is uncertain about how long they
    will have to wait before accessing the web site
    of interest there will be negative affect, and
    this negative affect will affect the evaluation
    of the web site reading event. (Dellaert Kahn
    1999)
  • Many other

4
Information level
5
Predictability Criterion (Wierman
Harchol-Balter Sigmetrics 05)
  • A policy P is always predictable if for every
    load ? every service requirement x
  • Motivation
  • Growth rate of VarT(x) is O(x) for all work
    conserving policies
  • Inequality holds for all work conserving policies
    when x tends to infinity, equality holds for PS,
    SRPT and more

6
(No Transcript)
7
Higher Information level
  • Prediction EWx, state.
  • Unpredictability VarWx, state
  • State can be
  • Number of customers in queue
  • Workload in the system
  • More?

8
Problem Black-Box systems
  • In a black-box system customers are not aware of
    the system structure or state
  • Web servers
  • Call centers (if no queue position is given)

9
Solution Active Prediction
Web Server
Internet
  • Customers initiate probe messages to check the
    system state
  • Customer can initiate more than one probe, or may
    send two probes by accident

10
Predictability in the Black-Box setting
Web Server
Internet
  • Customer perception a customer experiencing
    large difference will feel that the system is
    unpredictable
  • Design perspective even with the same system
    state the results are very different, so the
    system cannot be predictable
  • We call identical and simultaneously arriving
    jobs twins

11
The Twin Measure
  • Two identical customers w/ service x
  • ai, di arrival/departure epochs
  • For policy

12
Policies whose Twin Measure equals zero
  • Processor Sharing (PS)
  • Least Attained Service (LAS)
  • Longest Remaining Processing Time (LRPT)

13
Twin Measure for Some Simple Policies
  • FCFS
  • Round Robin
  • x
  • ?

14
NP-LCFS
time
C1
C2
Busy Period
Waiting
15
P-LCFS
time
Busy Period
Busy Period
16
Twin Measure for Some Simple Policies
  • FCFS
  • Round Robin
  • NP-LCFS
  • P-LCFS
  • x
  • ?
  • x/(1-?)
  • x/(1-?)

17
Shortest Job First (SJF)
  • For service time probability density function
    (pdf) b(x)
  • The load of customers of size x
  • Then we can follow the same analysis

18
Twin Measure for Some Simple Policies
  • FCFS
  • Round Robin
  • NP-LCFS
  • P-LCFS
  • P/NP-SJF
  • P/NP-LJF
  • x
  • ?
  • x/(1-?)
  • x/(1-?)
  • x/(1-?(x))
  • x/(1-(?-?(x)))

19
Shortest Remaining Processing Time (SRPT)
  • Y(x)W(x)R(x)
  • W(x) Waiting time of a customer of size x, until
    first service
  • R(x) Service time of customer of size x
  • Observe customers arriving in a period dt where
    C1 has t remaining service
  • Customers with service req. ltt create busy period
    of size
  • Customers arriving in this period with tltreqltx
    are also served before C2, so the total load is

20
Shortest Remaining Processing Time (SRPT)
  • This creates a busy period for customers of size
    ltx, so the total waiting created at the interval
    dt is

21
  • Conclusion
  • Well known
  • And finally

22
Twin Measure for Some Simple Policies
  • FCFS
  • Round Robin
  • NP-LCFS
  • P-LCFS
  • P/NP-SJF
  • P/NP-LJF
  • SRPT
  • x
  • ?
  • x/(1-?)
  • x/(1-?)
  • x/(1-?(x))
  • x/(1-(?-?(x)))
  • x/(1-?(x))

FCFS lt SJFSRPT, LJF lt LCFS
23
So which policies are predictable?
24
So which policies are predictable?
25
Conclusion
  • Predictability is important
  • The Twin Measure is a requirement for Good
    Predictability
  • We can easily evaluate for many policies
  • Results are important since they do not
    necessarily agree with previous criterion
  • Future Work
  • Other policies, maybe bounds
  • Higher moments?
Write a Comment
User Comments (0)
About PowerShow.com