tbbt-trace based file system benchmarking tool · tbbt-trace based file system benchmarking tool...

29
TBBT-Trace Based file system Benchmarking Tool Ningning Zhu, Jiawu Chen, Tzi-cker Chiueh Stony Brook University Daniel Ellard Harvard University Fast’04 Work In Progress

Upload: others

Post on 03-Oct-2020

14 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: TBBT-Trace Based file system Benchmarking Tool · TBBT-Trace Based file system Benchmarking Tool Ningning Zhu, Jiawu Chen, Tzi-cker Chiueh Stony Brook University Daniel Ellard Harvard

TBBT-Trace Based file system Benchmarking Tool

Ningning Zhu, Jiawu Chen, Tzi-cker ChiuehStony Brook University

Daniel EllardHarvard University

Fast’04 Work In Progress

Page 2: TBBT-Trace Based file system Benchmarking Tool · TBBT-Trace Based file system Benchmarking Tool Ningning Zhu, Jiawu Chen, Tzi-cker Chiueh Stony Brook University Daniel Ellard Harvard

Synthetic FS benchmarks & Drawbacks

Synthetic Macro-benchmarksSPECsfs (NFS)SDET PostmarkSSH-BuildTPCCAndrew Benchmark

Synthetic Micro-benchmarksHybrid Benchmarks

hBench

Outdated

Unrealistic

Misleading

Page 3: TBBT-Trace Based file system Benchmarking Tool · TBBT-Trace Based file system Benchmarking Tool Ningning Zhu, Jiawu Chen, Tzi-cker Chiueh Stony Brook University Daniel Ellard Harvard

FS traces, contributions, and trends

1985 Ousterhout’s trace1991 Sprite trace analysis1999 Vogels, FS Usage in Windows NT2000 Roselli et al, A Comparison of FS workloads2003 Ellard et al, NFS trace study

Workload characterization to guide file system design

Larger, passive, realistic

Page 4: TBBT-Trace Based file system Benchmarking Tool · TBBT-Trace Based file system Benchmarking Tool Ningning Zhu, Jiawu Chen, Tzi-cker Chiueh Stony Brook University Daniel Ellard Harvard

Goal of TBBT toolkit Challenges

Initial image

Inactive files,

Aging

Concurrency

Error handling

Disk/CPU usage

RealisticUp to date

Easy to useScalableLight-weight

Page 5: TBBT-Trace Based file system Benchmarking Tool · TBBT-Trace Based file system Benchmarking Tool Ningning Zhu, Jiawu Chen, Tzi-cker Chiueh Stony Brook University Daniel Ellard Harvard

File System Initialization

Actual image

Page 6: TBBT-Trace Based file system Benchmarking Tool · TBBT-Trace Based file system Benchmarking Tool Ningning Zhu, Jiawu Chen, Tzi-cker Chiueh Stony Brook University Daniel Ellard Harvard

File System Initialization

Actual image Extracted image

Page 7: TBBT-Trace Based file system Benchmarking Tool · TBBT-Trace Based file system Benchmarking Tool Ningning Zhu, Jiawu Chen, Tzi-cker Chiueh Stony Brook University Daniel Ellard Harvard

File System Initialization

Actual image Extracted image Initial image

Page 8: TBBT-Trace Based file system Benchmarking Tool · TBBT-Trace Based file system Benchmarking Tool Ningning Zhu, Jiawu Chen, Tzi-cker Chiueh Stony Brook University Daniel Ellard Harvard

File System Initialization

Actual image Extracted image Initial image

Page 9: TBBT-Trace Based file system Benchmarking Tool · TBBT-Trace Based file system Benchmarking Tool Ningning Zhu, Jiawu Chen, Tzi-cker Chiueh Stony Brook University Daniel Ellard Harvard

File System Initialization

Actual image Extracted image Initial image

Page 10: TBBT-Trace Based file system Benchmarking Tool · TBBT-Trace Based file system Benchmarking Tool Ningning Zhu, Jiawu Chen, Tzi-cker Chiueh Stony Brook University Daniel Ellard Harvard

File System Initialization

Actual image Extracted image Initial image

Page 11: TBBT-Trace Based file system Benchmarking Tool · TBBT-Trace Based file system Benchmarking Tool Ningning Zhu, Jiawu Chen, Tzi-cker Chiueh Stony Brook University Daniel Ellard Harvard

File System Initialization

Actual image Extracted image Initial image

Page 12: TBBT-Trace Based file system Benchmarking Tool · TBBT-Trace Based file system Benchmarking Tool Ningning Zhu, Jiawu Chen, Tzi-cker Chiueh Stony Brook University Daniel Ellard Harvard

File System Initialization

Actual image Extracted image Initial image

Page 13: TBBT-Trace Based file system Benchmarking Tool · TBBT-Trace Based file system Benchmarking Tool Ningning Zhu, Jiawu Chen, Tzi-cker Chiueh Stony Brook University Daniel Ellard Harvard

File System Initialization

Actual image Extracted image Initial image

Page 14: TBBT-Trace Based file system Benchmarking Tool · TBBT-Trace Based file system Benchmarking Tool Ningning Zhu, Jiawu Chen, Tzi-cker Chiueh Stony Brook University Daniel Ellard Harvard

File System Initialization

Actual image Extracted image Initial image

Page 15: TBBT-Trace Based file system Benchmarking Tool · TBBT-Trace Based file system Benchmarking Tool Ningning Zhu, Jiawu Chen, Tzi-cker Chiueh Stony Brook University Daniel Ellard Harvard

File System Initialization

Actual image Extracted image Initial image

Page 16: TBBT-Trace Based file system Benchmarking Tool · TBBT-Trace Based file system Benchmarking Tool Ningning Zhu, Jiawu Chen, Tzi-cker Chiueh Stony Brook University Daniel Ellard Harvard

File System Initialization

Actual image Extracted image Initial image

Page 17: TBBT-Trace Based file system Benchmarking Tool · TBBT-Trace Based file system Benchmarking Tool Ningning Zhu, Jiawu Chen, Tzi-cker Chiueh Stony Brook University Daniel Ellard Harvard

File System Initialization

Actual image Extracted image Initial image

Page 18: TBBT-Trace Based file system Benchmarking Tool · TBBT-Trace Based file system Benchmarking Tool Ningning Zhu, Jiawu Chen, Tzi-cker Chiueh Stony Brook University Daniel Ellard Harvard

File System Initialization

Actual image Extracted image Initial image

Page 19: TBBT-Trace Based file system Benchmarking Tool · TBBT-Trace Based file system Benchmarking Tool Ningning Zhu, Jiawu Chen, Tzi-cker Chiueh Stony Brook University Daniel Ellard Harvard

File System Initialization

Actual image Extracted image Initial image aging

Page 20: TBBT-Trace Based file system Benchmarking Tool · TBBT-Trace Based file system Benchmarking Tool Ningning Zhu, Jiawu Chen, Tzi-cker Chiueh Stony Brook University Daniel Ellard Harvard

File System Initialization

Actual image Extracted image Initial image aging

Page 21: TBBT-Trace Based file system Benchmarking Tool · TBBT-Trace Based file system Benchmarking Tool Ningning Zhu, Jiawu Chen, Tzi-cker Chiueh Stony Brook University Daniel Ellard Harvard

File System Initialization

Actual image Extracted image Initial image aging

Page 22: TBBT-Trace Based file system Benchmarking Tool · TBBT-Trace Based file system Benchmarking Tool Ningning Zhu, Jiawu Chen, Tzi-cker Chiueh Stony Brook University Daniel Ellard Harvard

File System Initialization

Actual image Extracted image Initial image aging

Page 23: TBBT-Trace Based file system Benchmarking Tool · TBBT-Trace Based file system Benchmarking Tool Ningning Zhu, Jiawu Chen, Tzi-cker Chiueh Stony Brook University Daniel Ellard Harvard

Dependency Analysis

Operation modify accessObj

Obj

Dir,[obj]

Dir,obj

Dir,[obj]

Read/getattr obj

Write/setattr obj

Lookup dir name([obj])

Create/mkdir dir name(obj)

Remove/rmdir dir, name([obj])

Obj

Dir,obj

Dir,[obj]

Page 24: TBBT-Trace Based file system Benchmarking Tool · TBBT-Trace Based file system Benchmarking Tool Ningning Zhu, Jiawu Chen, Tzi-cker Chiueh Stony Brook University Daniel Ellard Harvard

TBBT load generator

Page 25: TBBT-Trace Based file system Benchmarking Tool · TBBT-Trace Based file system Benchmarking Tool Ningning Zhu, Jiawu Chen, Tzi-cker Chiueh Stony Brook University Daniel Ellard Harvard

Trace Concurrency

Page 26: TBBT-Trace Based file system Benchmarking Tool · TBBT-Trace Based file system Benchmarking Tool Ningning Zhu, Jiawu Chen, Tzi-cker Chiueh Stony Brook University Daniel Ellard Harvard

NFS/RFS evaluation by TBBT and SPECsfs

Page 27: TBBT-Trace Based file system Benchmarking Tool · TBBT-Trace Based file system Benchmarking Tool Ningning Zhu, Jiawu Chen, Tzi-cker Chiueh Stony Brook University Daniel Ellard Harvard

Conclusion

TBBT is a scalable, flexible, and efficient toolkit for file system evaluation.

The trace-driven nature makes it capable of capturing the diverse workload features and their fast evolvement.

Page 28: TBBT-Trace Based file system Benchmarking Tool · TBBT-Trace Based file system Benchmarking Tool Ningning Zhu, Jiawu Chen, Tzi-cker Chiueh Stony Brook University Daniel Ellard Harvard

File System Hierarchy Discovery

Page 29: TBBT-Trace Based file system Benchmarking Tool · TBBT-Trace Based file system Benchmarking Tool Ningning Zhu, Jiawu Chen, Tzi-cker Chiueh Stony Brook University Daniel Ellard Harvard

Synthetic Workload Generator