31
Design, Implementation, and Evaluation of Differentiated Caching Services Ying Lu, Tarek F. Abdelzaher, Avnees h Saxena IEEE TRASACTION ON PARALLEL AND DISTRIBUTE D SYSTEM, VOL. 15, NO. 5, MAY 2004 Presented by 張張張

Design, Implementation, and Evaluation of Differentiated Caching Services

  • Upload
    simone

  • View
    25

  • Download
    2

Embed Size (px)

DESCRIPTION

Design, Implementation, and Evaluation of Differentiated Caching Services. Ying Lu, Tarek F. Abdelzaher, Avneesh Saxena IEEE TRASACTION ON PARALLEL AND DISTRIBUTED SYSTEM, VOL. 15, NO. 5, MAY 2004 Presented by 張肇烜. Outline. Introduction The Case for Differentiated Caching Services - PowerPoint PPT Presentation

Citation preview

Page 1: Design, Implementation, and Evaluation of Differentiated Caching Services

Design, Implementation, and Evaluation of Differentiated Caching ServicesYing Lu, Tarek F. Abdelzaher, Avneesh Saxena IEEE TRASACTION ON PARALLEL AND DISTRIBUTED SYSTEM, VOL. 15, NO. 5, MAY 2004Presented by 張肇烜

Page 2: Design, Implementation, and Evaluation of Differentiated Caching Services

Outline

Introduction The Case for Differentiated Caching Services A Differentiated Caching Services Architecture Implementation of the Differentiation Heuristic

in Squid Evaluation Conclusions

Page 3: Design, Implementation, and Evaluation of Differentiated Caching Services

Introduction

Customizable content delivery architectures with a capability for performance differentiation.

We design and implement a resource management architecture for Web proxy caches.

Page 4: Design, Implementation, and Evaluation of Differentiated Caching Services

Introduction (cont.)

We use a control-theoretical approach for resource allocation to achieve the desired performance differentiation.

Page 5: Design, Implementation, and Evaluation of Differentiated Caching Services

The Case for Differentiated Caching Services Basic Synchronous Models: PRAM

A Parallel Random Access Machine (PRAM) is an abstract machine for designing the algorithms applicable to parallel computers. It eliminates the focus on miscellaneous issues such as synchronization and communication.

Page 6: Design, Implementation, and Evaluation of Differentiated Caching Services

A Differentiated Caching Services Architecture The models cited above is that they are

accurate enough only while modeling tightly coupled multiprocessor systems.

A proposal that can be cited is the Asynchronous PRAM model (APRAM), which is a fully asynchronous mode.

Page 7: Design, Implementation, and Evaluation of Differentiated Caching Services

Heterogeneous LogGP

Reasons for selecting LogGP modelThe architecture is very similar to a cluster.Removes the synchronization points needed i

n other models.The model allows overlapping computation an

d communication operations.LogGP allows considering both short and long

messages.

Page 8: Design, Implementation, and Evaluation of Differentiated Caching Services

Heterogeneous LogGP (cont.)

LogGP allows considering both short and long messages.

LogGP assumes finite network capacity.This model encourages techniques that yield

good results in practice.

Page 9: Design, Implementation, and Evaluation of Differentiated Caching Services

Heterogeneous LogGP (cont.)

HLogGP Definition:Latency, L: Communication latency depends o

n both network technology and topology.The Latency Matrix of a heterogeneous cluste

r can be defined as a square matrix L={lij, …, lmm}.

Page 10: Design, Implementation, and Evaluation of Differentiated Caching Services

Heterogeneous LogGP (cont.)

Overhead, o: the time needed by a processor to send or receive a message is referred to as overhead.

Sender overhead vector, Os={os1,…,osm}.Receiver overhead vector, Or={or1,…,orm}.Gap between message, g: this parameter refl

ects each node’s proficiency at sending consecutive short messages.

A gap vector g={g1,…,gm} .

Page 11: Design, Implementation, and Evaluation of Differentiated Caching Services

Heterogeneous LogGP (cont.)

Gap per byte, G: The Gap per byte depends on network technology.

In a heterogeneous network, a message can cross different switches with different bandwidths.

Gap matrix G={g11,…,Gmm}.

Page 12: Design, Implementation, and Evaluation of Differentiated Caching Services

Heterogeneous LogGP (cont.)

Computational power, Pi: The number of nodes cannot be used in a heterogeneous model for measuring the system’s computational power.

A computational power vector P={P1,…,Pm}.

Page 13: Design, Implementation, and Evaluation of Differentiated Caching Services

Comparative Study on the Algorithms (cont.)

Each status exchange interval is further divided into equal subintervals denoted as estimation intervals, Te.

The points of division are called estimation epochs.

Page 14: Design, Implementation, and Evaluation of Differentiated Caching Services

Comparative Study on the Algorithms (cont.)

Intervals of estimation and status exchange.

Page 15: Design, Implementation, and Evaluation of Differentiated Caching Services

Comparative Study on the Algorithms (cont.)

ELISA:Each node computes the average load on

itself and its neighboring nodes.Nodes in the neighboring set whose estimated

queue length is less than the estimated average queue length by more than a threshold θ form an active set.

Page 16: Design, Implementation, and Evaluation of Differentiated Caching Services

Comparative Study on the Algorithms (cont.)

ELISA:The node under consideration transfers jobs

to the nodes in the active set until its queue length is not greater than θ and more than the estimated average queue length.

Page 17: Design, Implementation, and Evaluation of Differentiated Caching Services

Comparative Study on the Algorithms (cont.)

RLBVR:

Page 18: Design, Implementation, and Evaluation of Differentiated Caching Services

Comparative Study on the Algorithms (cont.)

QLBVR caries out coarse adjustment on job transferring and processing rates and fine adjustment on queue length.Coarse adjustment (on transfer and

processing rates).Fine adjustment (on queue lengths).

Page 19: Design, Implementation, and Evaluation of Differentiated Caching Services

Comparative Study on the Algorithms (cont.)

QLBVR:When the job incoming rates change slightly,

coarse adjustment can work well.When the system load is very high and job

incoming rates change rapidly, fine adjustment can balance the queue lengths in a short time.

Page 20: Design, Implementation, and Evaluation of Differentiated Caching Services

Performance Evaluation and Discussions Effect of system loading:

Page 21: Design, Implementation, and Evaluation of Differentiated Caching Services

Performance Evaluation and Discussions (cont.)

When the load of the system is light or moderate, RLBVR and QLBVR have a better performance than ELISA.

When the rate of jobs becomes high, ELISA and QLBVR have a much better performance than RLBVR.

Page 22: Design, Implementation, and Evaluation of Differentiated Caching Services

Performance Evaluation and Discussions (cont.)

Effect of Ts :System loading is light.

Page 23: Design, Implementation, and Evaluation of Differentiated Caching Services

Performance Evaluation and Discussions (cont.)

Effect of Ts :System loading is moderate.

Page 24: Design, Implementation, and Evaluation of Differentiated Caching Services

Performance Evaluation and Discussions (cont.)

Effect of Ts :System loading is moderate.

Page 25: Design, Implementation, and Evaluation of Differentiated Caching Services

Extension to Large Scale Cluster Systems The mesh-connected cluster system.

Page 26: Design, Implementation, and Evaluation of Differentiated Caching Services

Extension to Large Scale Cluster Systems (cont.)

Mean response time of jobs for five different algorithms under different system utilization.System utilization is light or moderate.System utilization is high.

Page 27: Design, Implementation, and Evaluation of Differentiated Caching Services

Extension to Large Scale Cluster Systems (cont.)

System utilization is light or moderate.

Page 28: Design, Implementation, and Evaluation of Differentiated Caching Services

Extension to Large Scale Cluster Systems (cont.)

System utilization is high.

Page 29: Design, Implementation, and Evaluation of Differentiated Caching Services

Extension to Large Scale Cluster Systems (cont.)

Experiments when the arrival of loads is varying rapidly.

Page 30: Design, Implementation, and Evaluation of Differentiated Caching Services

Extension to Large Scale Cluster Systems (cont.)

Page 31: Design, Implementation, and Evaluation of Differentiated Caching Services

Conclusion

We proposed a relative differentiated caching services model that achieves differentiation of cache hit rates between different classes.

Evaluation suggests that the control theoretical approach results in a very good controller design.