webtraff: a gui for web proxy cache workload modeling and analysis

28
October 15, 2002 MASCOTS 2002 1 WebTraff: A GUI for Web Proxy Cache Workload Modeling and Analysis Nayden Markatchev Carey Williamson Department of Computer Science University of Calgary

Upload: keiki

Post on 12-Jan-2016

39 views

Category:

Documents


0 download

DESCRIPTION

WebTraff: A GUI for Web Proxy Cache Workload Modeling and Analysis. Nayden Markatchev Carey Williamson Department of Computer Science University of Calgary. Introduction. What is WebTraff? - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: WebTraff: A GUI for Web Proxy Cache Workload Modeling and Analysis

October 15, 2002 MASCOTS 20021

WebTraff:A GUI for Web Proxy Cache

Workload Modeling and Analysis

Nayden Markatchev

Carey Williamson

Department of Computer Science

University of Calgary

Page 2: WebTraff: A GUI for Web Proxy Cache Workload Modeling and Analysis

October 15, 2002 MASCOTS 20022

Introduction

What is WebTraff?

- An extended and improved version of ProWGen (Proxy Workload Generator), including a GUI interface to a useful set of tools for Web traffic modeling and analysis

Purpose: To facilitate the easy generation and analysis of controllable and representative workloads for Web caching simulations

Page 3: WebTraff: A GUI for Web Proxy Cache Workload Modeling and Analysis

October 15, 2002 MASCOTS 20023

Talk Overview

WebTraff General Information System Requirements, Data Formats,

Assumptions, Inputs, Outputs, Usage Simple Demo

Using WebTraff to generate and analyze a workload, plus Web proxy cache simulation

Questions and Discussion

Page 4: WebTraff: A GUI for Web Proxy Cache Workload Modeling and Analysis

October 15, 2002 MASCOTS 20024

System Requirements

Software Requirements Unix based

environment running X windows

cc, gcc, g++, tcl 8.0 or newer, tk 8.0 or newer, wish, perl 5.0 or newer, gnuplot, gs

Hardware Requirements 64 MB or more RAM 100 MB hard disk

space (for storing long workload traces)

Future Work:Port to Windows(volunteers?)

Page 5: WebTraff: A GUI for Web Proxy Cache Workload Modeling and Analysis

October 15, 2002 MASCOTS 20025

Example of the Web Workload Trace Format Used in WebTraff

Page 6: WebTraff: A GUI for Web Proxy Cache Workload Modeling and Analysis

October 15, 2002 MASCOTS 20026

Overview of WebTraff

The WebTraff toolkit provides three main functions: Web workload trace generation Web workload trace analysis Web proxy cache simulation

Graphs displayed in PostScript format

Page 7: WebTraff: A GUI for Web Proxy Cache Workload Modeling and Analysis

October 15, 2002 MASCOTS 20027

WebTraff GUI Interface

Page 8: WebTraff: A GUI for Web Proxy Cache Workload Modeling and Analysis

October 15, 2002 MASCOTS 20028

Web Workload Generation

Page 9: WebTraff: A GUI for Web Proxy Cache Workload Modeling and Analysis

October 15, 2002 MASCOTS 20029

Web Workload Generation

This portion of the tool provides a GUI to ProWGen [Busari/Williamson 2001]

ProWGen models four key characteristics of Web proxy workloads. Zipf-like document popularity distribution High degree of “one-time” referencing Heavy-tailed file and transfer size distributions Temporal locality property in references

Page 10: WebTraff: A GUI for Web Proxy Cache Workload Modeling and Analysis

October 15, 2002 MASCOTS 200210

Web Workload Generation (cont’d) Name of trace file being generated Sliding widgets for:

Number of references (lines) in a workload file Number of distinct Web objects in workload Percentage of objects that are “one-timers” Slope of Zipf-like document popularity profile Slope of Pareto tail for document size distribution Degree of statistical correlation (if any) between

size and popularity for Web objects

Page 11: WebTraff: A GUI for Web Proxy Cache Workload Modeling and Analysis

October 15, 2002 MASCOTS 200211

Web Workload Generation (cont’d)

The notion of “temporal locality” refers to temporal correlation in referencing behaviour (e.g., recent past good predictor of near future)

Four models for referencing behaviour: Independent Reference Model (IRM) Static LRU Stack Model (SLRU) Dynamic LRU Stack Model (DLRU) New LRU Stack Model (NLRU)

Page 12: WebTraff: A GUI for Web Proxy Cache Workload Modeling and Analysis

October 15, 2002 MASCOTS 200212

Web Workload Generation (cont’d)

“Popularity Bias” parameter (hack!) This button was added to remedy a problem

in earlier version of ProWGen, which tended to choose one-timers early in the trace and popular documents late in the trace

Can now control this in workload generation Can visually check for stationarity of cache hit

ratio during simulations

Page 13: WebTraff: A GUI for Web Proxy Cache Workload Modeling and Analysis

October 15, 2002 MASCOTS 200213

Web Workload Analysis

Page 14: WebTraff: A GUI for Web Proxy Cache Workload Modeling and Analysis

October 15, 2002 MASCOTS 200214

Web Workload Analysis

Two main categories of analysis functions: Time series analysis (on the left) Web workload analysis (on the right)

Radio buttons, slide bars and text boxes available to control plotting characteristics

Page 15: WebTraff: A GUI for Web Proxy Cache Workload Modeling and Analysis

October 15, 2002 MASCOTS 200215

Requests per Interval(time series plot)

Page 16: WebTraff: A GUI for Web Proxy Cache Workload Modeling and Analysis

October 15, 2002 MASCOTS 200216

Bytes per Interval(time series plot)

Page 17: WebTraff: A GUI for Web Proxy Cache Workload Modeling and Analysis

October 15, 2002 MASCOTS 200217

Popularity Distribution plot

Page 18: WebTraff: A GUI for Web Proxy Cache Workload Modeling and Analysis

October 15, 2002 MASCOTS 200218

Document Size Distribution (zoomed)

Page 19: WebTraff: A GUI for Web Proxy Cache Workload Modeling and Analysis

October 15, 2002 MASCOTS 200219

Log-Log Complementary Distribution (LLCD) plot (size)

Page 20: WebTraff: A GUI for Web Proxy Cache Workload Modeling and Analysis

October 15, 2002 MASCOTS 200220

LRU Stack Depth Analysis(time series plot)

Page 21: WebTraff: A GUI for Web Proxy Cache Workload Modeling and Analysis

October 15, 2002 MASCOTS 200221

LRU Stack Depth Analysis(marginal distribution)

Page 22: WebTraff: A GUI for Web Proxy Cache Workload Modeling and Analysis

October 15, 2002 MASCOTS 200222

Web Proxy Cache Simulation

Page 23: WebTraff: A GUI for Web Proxy Cache Workload Modeling and Analysis

October 15, 2002 MASCOTS 200223

Web Proxy Cache Simulation

Application-level caching simulation parameters Cache size Cache replacement policy

Five replacement policies currently available Random replacement (RAND) First-In-First-Out (FIFO) Least-Recently-Used (LRU) (default setting) Least-Frequently-Used (LFU) Greedy-Dual-Size (GDS)

Page 24: WebTraff: A GUI for Web Proxy Cache Workload Modeling and Analysis

October 15, 2002 MASCOTS 200224

DHR Results from “Run Sizes”

Page 25: WebTraff: A GUI for Web Proxy Cache Workload Modeling and Analysis

October 15, 2002 MASCOTS 200225

DHR Results from “Run Policies”

Page 26: WebTraff: A GUI for Web Proxy Cache Workload Modeling and Analysis

October 15, 2002 MASCOTS 200226

BHR Results from “Run Policies”

Page 27: WebTraff: A GUI for Web Proxy Cache Workload Modeling and Analysis

October 15, 2002 MASCOTS 200227

Assessing Cache “Steady State”

Page 28: WebTraff: A GUI for Web Proxy Cache Workload Modeling and Analysis

October 15, 2002 MASCOTS 200228

For More Information…

WebTraff toolkit: http://www.cpsc.ucalgary.ca/~carey/software.htm

“ProWGen: A Synthetic Workload Generation Tool for the Simulation Evaluation of Web Proxy Caches” Busari/Williamson, Computer Networks, Vol 38, No 6, June 2002 http://www.cpsc.ucalgary.ca/~carey/publications.htm

Contact information: Email {carey,nayden}@cpsc.ucalgary.ca