38
SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

  • View
    213

  • Download
    0

Embed Size (px)

Citation preview

Page 1: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

SACRIO - An Active Buffer Mangement Scheme for

Differentiaed Services Networks

Saikrishnan Gopalakrishnan Cisco Systems

Narasimha Reddy Texas A & M University

Page 2: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

Outline

• Introduction

• Statement of Problem

• SACRIO - Approach and Implementation

• Results

• Summary

Page 3: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

Introduction

• Diff-serv network - Markers and Droppers

• Scalable -- no per-flow state maintained in core routers

• RIO - RED with IN/OUT

• 3-drop precedence mechanism R/Y/G

Page 4: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

Introduction(contd)

Page 5: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

Introduction ( contd..)

• RIO - Core router recognizes IN/OUT

• Uses RED as buffer management

• Maintenance of per-flow state details are pushed to the edge routers

• IN/OUT packets are aggregated

Page 6: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

Problems and Observation

• The achieved rates of flows with higher bandwidth < their target rates

• UDP will get unfair advantage when aggregated with TCP flows

• Lower the link’s apparent excess bandwidth closer the achieved rate with ideal target

Page 7: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

Statement of Problem

• Achieved rates different from contract rates

• Difficulty in sharing excess bandwidth

• Can we do better without per-flow state?

Page 8: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

Basic Ideas of SACRIO

• How to make the link function with no apparent excess bandwidth?– Apply Local Remarking of packets– IN and IN2 packets close to link capacity

• Convert OUT/IN into OUT/IN2/IN within the router

• Convert IN2 OUT on the output link

• How to do OUT IN2 conversion?

Page 9: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

Local Remarking

Page 10: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

Local Remarking

Page 11: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

SACRIO ( Contd..)

• Allow a target rate of OUT packets per flow– Convert packets into IN2 below this rate

• If Per-flow state is maintained, this can be done accurately

• Sampling and Caching to segregate the flows whose OUTi > target

– Employ fixed amount of state transparently

Page 12: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

Sampling and Caching

• Use fixed amount of transparent state

• Much like caches in memory systems– Transparent to the user/architecture– Improves performance– Allows scalable deployment of state– More state, more service– Provided service - a function of state and taffic

Page 13: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

Sampling and Caching(contd)

• Sample flows to see if state needs to be maintained– State management policy

• Sampling allows scalability

• Cached flows can be regulated accurately– Resource management policy

• Provide aggregated service for other flows

Page 14: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

Basis of SACRIO

• Local remarking of packets

• Employment of fixed amount of transparent state

Page 15: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

SACRIO in Detail

Page 16: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

Cost of SACRIO

• Per-packet handling cost = O(1)– Cached flows require an addition, division at

the end of observation period, computation of OUT to IN2 conversion probability

– Counters of total IN and OUT packets– Can be further reduced through sampling

• Memory cost = O(p), p = the state in the cache

Page 17: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

SACRIO and 3-color markers

• 3-color markers are employed at the edge– Have no information of resource consumption

within the network

• SACRIO employed inside the network, locally at each router

Page 18: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

3-color marking & SACRIO

Page 19: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

SACRIO Performance

• SACRIO does not explicitly drop packets that are not converted into IN2– Local resource management policy controls

this

• Different state management policies, resource management policies achieve different goals.

Page 20: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

Performance goals

• Curtail per-flow OUT BW to preset limit • Curtail per-flow OUT BW to fair share of

excess BW ( C - IN)/ n– Requires estimation of n, the # of flows– Can we use the cache to estimate n– Cache hit ratios could provide an idea

Page 21: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

Estimating # of flows

• If flows are equal rate, n = K/h– K = cache size, h = hit ratio

• Traffic is not uniform across flows

• Caches capture high-rate flows

• Estimate1 N’ = n(pinned) + m/h’

• Estimate 2 N’’= (OUT/OUT(pinned) +1) N’

Page 22: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

Simulations

Page 23: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

UDP zero reservation

0

1

2

3

4

5

6

7

UDP 0.1 0.5 1 2

Reserved rate in Mbps

Ac

hie

ve

d T

hro

ug

hp

ut

in M

bp

s

Ideal RatePlain RIOSACRIO with 5statesSACRIO with 10statesSCARIO with 40 states3-color edge marker

Page 24: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

UDP non-zero reservation

0

1

2

3

4

5

6

7

UDP 0.1 0 1 2

Reserved rate in Mbps

Ach

ieve

d T

hro

ug

hp

ut

in M

bp

s

Ideal

Plain RIO

SACRIO with 5 states

SACRIO with 10 states

SACRIO with 40 states

Page 25: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

Link with different loads

0

1

2

3

4

5

6

7

25% 50% 75% 90%

Percentage of total link capacity that is reserved

UD

P r

ate

s in

Mb

ps

Ideal rate

RIO

SACRIO with 10 states

Page 26: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

RTT bias reduction

0

0.2

0.4

0.6

0.8

1

1.2

1.4

0 0.1 0.5 1 2Reserved rate in Mbps

(ma

x-m

in)/

targ

et

Plain RIO

SACRIO with 5 states

SACRIO with 40 states

Page 27: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

Multiple Routers

Page 28: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

Additive property

0

1

2

3

4

5

6

7

UDP 0.1 0.5 1 2

Reserved Rate in Mbps

Ac

hie

ve

d T

hro

ug

hp

ut

in M

bp

s

Ideal Rate

Plain RIO

SACRIO with 2 routers

SACRIO with 3 routers

Page 29: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

Complex Topology

Page 30: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

Complex Topology

0

1

2

3

4

5

6

UDP(0) 0.1 0.4 0.5 1 2

Reserved Rate in Mbps

Ac

hie

ve

d T

hro

ug

hp

ut

in M

bp

s Ideal Rate

Plain RIO

SACRIO with 1 state

SACRIO with 3 states

Page 31: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

When # of flows is not known

0

1

2

3

4

5

6

7

UDP(0) 0.1 0.5 1 2

Reserved Rate in Mbps

Ac

hie

ve

d t

hro

ug

hp

ut

in M

bp

s

Ideal Rate

Plain RIO

SACRIO - num of flows known

SACRIO - Estimate 1

SACRIO - Estimate 2

Page 32: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

Effects of Under and over estimation of alpha

0

1

2

3

4

5

6

7

UDP(0) 0.1 0.5 1 2

Reserved Rate in Mbps

Ac

hie

ve

d R

ate

in

Mb

ps

Ideal rate

RIO

Underestimate alpha ( 50% oforiginal alpha)

Overestimate alpha (200% oforiginal alpha)

Page 33: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

Effects of OP and RTT

3.6

3.65

3.7

3.75

3.8

3.85

3.9

3.95

4

4.05

0 1 2 3 4 5 6 7

Observation periods ( X times RTT )

Th

rou

gh

pu

t in

Mb

ps

RTT 8ms

RTT 16ms

RTT 64ms

Page 34: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

SACRIO Scalability

• Seems to work with ns-2 simulations

• Do caches work in real networks?

• Analyzed Network traces at NLANR

Page 35: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

SACRIO Scalability

Page 36: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

SACRIO Scalability

Page 37: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

Conclusion

• SACRIO employs Local remarking and limited transparent state

• SACRIO shown to curtail per-flow OUT BW consumption

• SACRIO is scalable based on analysis of internet traffic

• SACRIO is additive -better performance with more deployment

Page 38: SACRIO - An Active Buffer Mangement Scheme for Differentiaed Services Networks Saikrishnan Gopalakrishnan Cisco Systems Narasimha Reddy Texas A & M University

Future Work

• Build a Linux-based prototype router with limited state

• Demonstrate and verify the costs associated with fixed amount of state

• Use sampling and caching for other purposes such as traffic monitoring