Upload
others
View
2
Download
0
Embed Size (px)
Citation preview
13/2/2017 On the Performance Variation in Modern Storage Stacks (FAST’17)
On the Performance Variation in Modern Storage Stacks
15th USENIX Conference on File and Storage Technologies 2017
Zhen Cao1, Vasily Tarasov2, Hari Prasath Raman1, Dean Hildebrand2, and Erez Zadok1
1Stony Brook University; 2IBM Research – Almaden;
© 2017 Stony Brook University
2
Motivation
24,888 Configurations
23% unstable(> 5% std. dev.)
3/2/2017 On the Performance Variation in Modern Storage Stacks (FAST’17)
3
Motivation (cont.)l Stable performance is critical
uBenchmarking§ Inaccurate conclusions
uProduction systems§Clients’ satisfaction
l Performance variation is complicateduVarious sourcesuTime-consuming to measure
l Storage stacks are important contributorsl First systematic study
3/2/2017 On the Performance Variation in Modern Storage Stacks (FAST’17) 4
Backgroundl Measurements for performance
uThroughput§Window size matters
uLatency
3/2/2017 On the Performance Variation in Modern Storage Stacks (FAST’17)
5
Background (cont.)Measurements for variations
3/2/2017 On the Performance Variation in Modern Storage Stacks (FAST’17)
uRelative Standard Deviation
u (Coefficient of Variation)
u
uUnderstate impacts of outliers
uRelative Rangeu
6
Background (cont.)Measurements for variations
3/2/2017 On the Performance Variation in Modern Storage Stacks (FAST’17)
uRelative Standard Deviation
u (Coefficient of Variation)
u
uUnderstate impacts of outliers
uRelative Rangeu
7
Background (cont.)Measurements for variations
3/2/2017 On the Performance Variation in Modern Storage Stacks (FAST’17)
uRelative Standard Deviation
u (Coefficient of Variation)
u
uUnderstate impacts of outliers
uRelative Rangeu
�
8
Methodologyl Important parameters
uFile Systems§ Ext4, XFS, Btrfs
uF/S parameters§ Block Size, Inode Size, etc.
uI/O SchedulersuDevices: HDDs, SSDs
l Latin Hypercube SamplinguExplore many-factor systems
3/2/2017
1,700+ Configurations1.5 Years
On the Performance Variation in Modern Storage Stacks (FAST’17)
9
Methodologyl Important parameters
uFile Systems§ Ext4, XFS, Btrfs
uF/S parameters§ Block Size, Inode Size, etc.
uI/O SchedulersuDevices: HDDs, SSDs
l Latin Hypercube SamplinguExplore many-factor systems
3/2/2017
1,700+ Configurations1.5 Years
100+ Configurations1 Month
On the Performance Variation in Modern Storage Stacks (FAST’17) 10
Experiment Settingsl Machines
u1 Intel Xeon quad-core 2.4GHz CPU, 4GB RAMuDevices: SAS, SATA, SSD
l FilebenchuWorkloads
§Mailserver, Fileserver, WebserveruFileset size: 10GB (2.5 × RAM size)uRunning time
§ 2,000s for Mailserver; otherwise 800s
l 10+ runs for each experiment3/2/2017 On the Performance Variation in Modern Storage Stacks (FAST’17)
11
Performance Variation: Overview
0%
10%
20%
30%
40%
100 1000 10000
Rel
ativ
e R
ang
e
Avg. Throughput (IOPS) (log10)
Ext4-HDDExt4-SSD
XFS-HDDXFS-SSD
Btrfs-HDDBtrfs-SSD
3/2/2017
Workload: Mailserver
On the Performance Variation in Modern Storage Stacks (FAST’17) 12
Performance Variation: Overview
0%
10%
20%
30%
40%
100 1000 10000
Rel
ativ
e R
ang
e
Avg. Throughput (IOPS) (log10)
Ext4-HDDExt4-SSD
XFS-HDDXFS-SSD
Btrfs-HDDBtrfs-SSD
3/2/2017
Workload: Mailserver
On the Performance Variation in Modern Storage Stacks (FAST’17)
13
Performance Variation: Overview
0%
10%
20%
30%
40%
100 1000 10000
Rel
ativ
e R
ang
e
Avg. Throughput (IOPS) (log10)
Ext4-HDDExt4-SSD
XFS-HDDXFS-SSD
Btrfs-HDDBtrfs-SSD
3/2/2017
Workload: Mailserver
On the Performance Variation in Modern Storage Stacks (FAST’17) 14
Performance Variation: Overview
0%
10%
20%
30%
40%
100 1000 10000
Rel
ativ
e R
ang
e
Avg. Throughput (IOPS) (log10)
Ext4-HDDExt4-SSD
XFS-HDDXFS-SSD
Btrfs-HDDBtrfs-SSD
3/2/2017
Workload: Mailserver
On the Performance Variation in Modern Storage Stacks (FAST’17)
15
Performance Variation: Overview
0%
10%
20%
30%
40%
100 1000 10000
Rel
ativ
e R
ang
e
Avg. Throughput (IOPS) (log10)
Ext4-HDDExt4-SSD
XFS-HDDXFS-SSD
Btrfs-HDDBtrfs-SSD
3/2/2017
Workload: Mailserver
On the Performance Variation in Modern Storage Stacks (FAST’17) 16
Performance Variation: Overview
0%
10%
20%
30%
40%
100 1000 10000
Rel
ativ
e R
ang
e
Avg. Throughput (IOPS) (log10)
Ext4-HDDExt4-SSD
XFS-HDDXFS-SSD
Btrfs-HDDBtrfs-SSD
3/2/2017
Workload: Mailserver
On the Performance Variation in Modern Storage Stacks (FAST’17)
17
Performance Variation: Overview
0%
10%
20%
30%
40%
100 1000 10000
Rel
ativ
e R
ang
e
Avg. Throughput (IOPS) (log10)
Ext4-HDDExt4-SSD
XFS-HDDXFS-SSD
Btrfs-HDDBtrfs-SSD
3/2/2017
Workload: Mailserver
On the Performance Variation in Modern Storage Stacks (FAST’17) 18
Performance Variation: Overview
0%
10%
20%
30%
40%
100 1000 10000
Rel
ativ
e R
ang
e
Avg. Throughput (IOPS) (log10)
Ext4-HDDExt4-SSD
XFS-HDDXFS-SSD
Btrfs-HDDBtrfs-SSD
3/2/2017
Workload: Mailserver
On the Performance Variation in Modern Storage Stacks (FAST’17)
19
Performance Variation: Overview
0%
10%
20%
30%
40%
100 1000 10000
Rel
ativ
e R
ang
e
Avg. Throughput (IOPS) (log10)
Ext4-HDDExt4-SSD
XFS-HDDXFS-SSD
Btrfs-HDDBtrfs-SSD
3/2/2017
Workload: Mailserver
HDDl Throughput
u 200 ~ 2,000l Range
u Up to 42%
On the Performance Variation in Modern Storage Stacks (FAST’17) 20
Performance Variation: Overview
0%
10%
20%
30%
40%
100 1000 10000
Rel
ativ
e R
ang
e
Avg. Throughput (IOPS) (log10)
Ext4-HDDExt4-SSD
XFS-HDDXFS-SSD
Btrfs-HDDBtrfs-SSD
3/2/2017
Workload: Mailserver
HDDl Throughput
u 200 ~ 2,000l Range
u Up to 42%
SSDl Throughput
u 2,000 ~ 20,000
l Rangeu Up to 11%
On the Performance Variation in Modern Storage Stacks (FAST’17)
21
Performance Variation: Overview
0%
10%
20%
30%
40%
100 1000 10000
Rel
ativ
e R
ang
e
Avg. Throughput (IOPS) (log10)
Ext4-HDDExt4-SSD
XFS-HDDXFS-SSD
Btrfs-HDDBtrfs-SSD
3/2/2017
Workload: Mailserver
Ext4l Up to 42%l Most above
20%
On the Performance Variation in Modern Storage Stacks (FAST’17) 22
Performance Variation: Overview
0%
10%
20%
30%
40%
100 1000 10000
Rel
ativ
e R
ang
e
Avg. Throughput (IOPS) (log10)
Ext4-HDDExt4-SSD
XFS-HDDXFS-SSD
Btrfs-HDDBtrfs-SSD
3/2/2017
Workload: Mailserver
Ext4l Up to 42%l Most above
20%XFS
l Most under 18%
On the Performance Variation in Modern Storage Stacks (FAST’17)
23
Performance Variation: Overview
0%
10%
20%
30%
40%
100 1000 10000
Rel
ativ
e R
ang
e
Avg. Throughput (IOPS) (log10)
Ext4-HDDExt4-SSD
XFS-HDDXFS-SSD
Btrfs-HDDBtrfs-SSD
3/2/2017
Workload: Mailserver
Ext4l Up to 42%l Most above
20%XFS
l Most under 18%
Btrfsl Most under
15%
On the Performance Variation in Modern Storage Stacks (FAST’17) 24
0%
10%
20%
30%
40%
1 2 3 4 5 6 7 8 9 10
Rel
ativ
e R
ange
Sampled Configurations
Mailserver Fileserver Webserver
Performance Variation: Overview (cont.)
3/2/2017 On the Performance Variation in Modern Storage Stacks (FAST’17)
25
0%
10%
20%
30%
40%
1 2 3 4 5 6 7 8 9 10
Rel
ativ
e R
ang
e
Sampled Configurations
Mailserver Fileserver Webserver
Performance Variation: Overview (cont.)
3/2/2017 On the Performance Variation in Modern Storage Stacks (FAST’17) 26
0%
10%
20%
30%
40%
1 2 3 4 5 6 7 8 9 10
Rel
ativ
e R
ang
e
Sampled Configurations
Mailserver Fileserver Webserver
Performance Variation: Overview (cont.)
3/2/2017 On the Performance Variation in Modern Storage Stacks (FAST’17)
27
0%
10%
20%
30%
40%
1 2 3 4 5 6 7 8 9 10
Rel
ativ
e R
ange
Sampled Configurations
Mailserver Fileserver Webserver
Performance Variation: Overview (cont.)
3/2/2017 On the Performance Variation in Modern Storage Stacks (FAST’17) 28
0%
10%
20%
30%
40%
1 2 3 4 5 6 7 8 9 10
Rel
ativ
e R
ange
Sampled Configurations
Mailserver Fileserver Webserver
Performance Variation: Overview (cont.)
3/2/2017 On the Performance Variation in Modern Storage Stacks (FAST’17)
29
0%
10%
20%
30%
40%
1 2 3 4 5 6 7 8 9 10
Rel
ativ
e R
ange
Sampled Configurations
Mailserver Fileserver Webserver
Performance Variation: Overview (cont.)
3/2/2017 On the Performance Variation in Modern Storage Stacks (FAST’17) 30
0%
10%
20%
30%
40%
1 2 3 4 5 6 7 8 9 10
Rel
ativ
e R
ange
Sampled Configurations
Mailserver Fileserver Webserver
Performance Variation: Overview (cont.)
3/2/2017 On the Performance Variation in Modern Storage Stacks (FAST’17)
31
0%
10%
20%
30%
40%
1 2 3 4 5 6 7 8 9 10
Rel
ativ
e R
ang
e
Sampled Configurations
Mailserver Fileserver Webserver
Performance Variation: Overview (cont.)
3/2/2017 On the Performance Variation in Modern Storage Stacks (FAST’17) 32
Ext4 Case Study
0
200
400
600
baseline
2048-2048-writeback-noatime-noop-SATA
47%
Th
rou
gh
pu
t (I
OP
S)
3/2/2017
Workload: Fileserver
On the Performance Variation in Modern Storage Stacks (FAST’17)
33
Ext4 Case Study
0
200
400
600
baseline
2048-2048-writeback-noatime-noop-SATA
47%
Th
rou
gh
pu
t (I
OP
S)
3/2/2017
Workload: Fileserver
On the Performance Variation in Modern Storage Stacks (FAST’17) 34
Ext4 Case Study
0
200
400
600
baseline
2048-2048-writeback-noatime-noop-SATA
47%
Th
rou
gh
pu
t (I
OP
S)
3/2/2017
Workload: Fileserver
On the Performance Variation in Modern Storage Stacks (FAST’17)
max1st quartilemedian3rd quartile
min
35
Ext4 Case Study
0
200
400
600
baseline
2048-2048-writeback-noatime-noop-SATA
47%
Th
rou
gh
pu
t (I
OP
S)
3/2/2017
Workload: Fileserver
On the Performance Variation in Modern Storage Stacks (FAST’17)
actual data points
36
Ext4 Case Study
0
200
400
600
baseline
2048-2048-writeback-noatime-noop-SATA
47%
Th
rou
gh
pu
t (I
OP
S)
3/2/2017
l baseline
Workload: Fileserver
On the Performance Variation in Modern Storage Stacks (FAST’17)
37
Ext4 Case Study
0
200
400
600
baseline
2048-2048-writeback-noatime-noop-SATA
47%
Th
rou
gh
pu
t (I
OP
S)
3/2/2017
l baselinel +no_lazy
u mkfs.ext4 –E lazy_itable_init=0
Workload: Fileserver
On the Performance Variation in Modern Storage Stacks (FAST’17)
0
200
400
600
baseline
+no_lazy
2048-2048-writeback-noatime-noop-SATA
47%
22%
Th
rou
gh
pu
t (I
OP
S)
38
Ext4 Case Study
0
200
400
600
baseline
2048-2048-writeback-noatime-noop-SATA
47%
Th
rou
gh
pu
t (I
OP
S)
3/2/2017
l baselinel +no_lazy
u mkfs.ext4 –E lazy_itable_init=0
Workload: Fileserver
On the Performance Variation in Modern Storage Stacks (FAST’17)
0
200
400
600
baseline
+no_lazy
2048-2048-writeback-noatime-noop-SATA
47%
22%
Th
rou
gh
pu
t (I
OP
S)
39
Ext4 Case Study
0
200
400
600
baseline
2048-2048-writeback-noatime-noop-SATA
47%
Th
rou
gh
pu
t (I
OP
S)
3/2/2017
l baselinel +no_lazy
u mkfs.ext4 –E lazy_itable_init=0
l +umountu sync → umount + mount
Workload: Fileserver
On the Performance Variation in Modern Storage Stacks (FAST’17)
0
200
400
600
baseline
+no_lazy
2048-2048-writeback-noatime-noop-SATA
47%
22%
Th
rou
gh
pu
t (I
OP
S)
0
200
400
600
baseline
+no_lazy
+umount
2048-2048-writeback-noatime-noop-SATA
47%
22% 19%
Th
rou
gh
pu
t (I
OP
S)
40
Ext4 Case Study
0
200
400
600
baseline
2048-2048-writeback-noatime-noop-SATA
47%
Th
rou
gh
pu
t (I
OP
S)
3/2/2017
l baselinel +no_lazy
u mkfs.ext4 –E lazy_itable_init=0
l +umountu sync → umount + mount
Workload: Fileserver
On the Performance Variation in Modern Storage Stacks (FAST’17)
0
200
400
600
baseline
+no_lazy
2048-2048-writeback-noatime-noop-SATA
47%
22%
Th
rou
gh
pu
t (I
OP
S)
0
200
400
600
baseline
+no_lazy
+umount
2048-2048-writeback-noatime-noop-SATA
47%
22% 19%
Th
rou
gh
pu
t (I
OP
S)
41
Ext4 Case Study
0
200
400
600
baseline
2048-2048-writeback-noatime-noop-SATA
47%
Th
rou
gh
pu
t (I
OP
S)
3/2/2017
l baselinel +no_lazy
u mkfs.ext4 –E lazy_itable_init=0
l +umountu sync → umount + mount
l +allocu Preserve layout
u e.g., dd if=/dev/sde1
Workload: Fileserver
On the Performance Variation in Modern Storage Stacks (FAST’17)
0
200
400
600
baseline
+no_lazy
2048-2048-writeback-noatime-noop-SATA
47%
22%
Th
rou
gh
pu
t (I
OP
S)
0
200
400
600
baseline
+no_lazy
+umount
2048-2048-writeback-noatime-noop-SATA
47%
22% 19%
Th
rou
gh
pu
t (I
OP
S)
0
200
400
600
baseline
+no_lazy
+umount
+alloc
2048-2048-writeback-noatime-noop-SATA
47%
22% 19%
2%
Th
rou
gh
pu
t (I
OP
S)
42
Ext4 Case Study
0
200
400
600
baseline
2048-2048-writeback-noatime-noop-SATA
47%
Th
rou
gh
pu
t (I
OP
S)
3/2/2017
l baselinel +no_lazy
u mkfs.ext4 –E lazy_itable_init=0
l +umountu sync → umount + mount
l +allocu Preserve layout
u e.g., dd if=/dev/sde1
Workload: Fileserver
On the Performance Variation in Modern Storage Stacks (FAST’17)
0
200
400
600
baseline
+no_lazy
2048-2048-writeback-noatime-noop-SATA
47%
22%
Th
rou
gh
pu
t (I
OP
S)
0
200
400
600
baseline
+no_lazy
+umount
2048-2048-writeback-noatime-noop-SATA
47%
22% 19%
Th
rou
gh
pu
t (I
OP
S)
0
200
400
600
baseline
+no_lazy
+umount
+alloc
2048-2048-writeback-noatime-noop-SATA
47%
22% 19%
2%
Th
rou
gh
pu
t (I
OP
S)
43
Ext4 Case Study
0
200
400
600
baseline
2048-2048-writeback-noatime-noop-SATA
47%
Th
rou
gh
pu
t (I
OP
S)
3/2/2017
l baselinel +no_lazy
u mkfs.ext4 –E lazy_itable_init=0
l +umountu sync → umount + mount
l +allocu Preserve layout
u e.g., dd if=/dev/sde1
Workload: Fileserver
On the Performance Variation in Modern Storage Stacks (FAST’17)
0
200
400
600
baseline
+no_lazy
2048-2048-writeback-noatime-noop-SATA
47%
22%
Th
rou
gh
pu
t (I
OP
S)
0
200
400
600
baseline
+no_lazy
+umount
2048-2048-writeback-noatime-noop-SATA
47%
22% 19%
Th
rou
gh
pu
t (I
OP
S)
0
200
400
600
baseline
+no_lazy
+umount
+alloc
2048-2048-writeback-noatime-noop-SATA
47%
22% 19%
2%
Th
rou
gh
pu
t (I
OP
S)
44
460
480
500
520
540
560
0 2x107
4x107
6x107
8x107
1x108
1.2x108
Thro
ughput
(IO
PS
)
Block Number
default alloc. policy
Ext4 Case Study (cont.)
3/2/2017
Workload: Fileserver
On the Performance Variation in Modern Storage Stacks (FAST’17)
45
460
480
500
520
540
560
0 2x107
4x107
6x107
8x107
1x108
1.2x108
Thro
ughput
(IO
PS
)
Block Number
default alloc. policy
Ext4 Case Study (cont.)
3/2/2017
Workload: Fileserver
On the Performance Variation in Modern Storage Stacks (FAST’17) 46
460
480
500
520
540
560
0 2x107
4x107
6x107
8x107
1x108
1.2x108
Thro
ughput
(IO
PS
)
Block Number
default alloc. policy
Ext4 Case Study (cont.)
3/2/2017
Workload: Fileserver
On the Performance Variation in Modern Storage Stacks (FAST’17)
47
460
480
500
520
540
560
0 2x107
4x107
6x107
8x107
1x108
1.2x108
Thro
ughput
(IO
PS
)
Block Number
default alloc. policy
Ext4 Case Study (cont.)
3/2/2017
Workload: Fileserver
On the Performance Variation in Modern Storage Stacks (FAST’17) 48
460
480
500
520
540
560
0 2x107
4x107
6x107
8x107
1x108
1.2x108
Thro
ughput
(IO
PS
)
Block Number
default alloc. policy
Ext4 Case Study (cont.)
3/2/2017
Workload: Fileserver
On the Performance Variation in Modern Storage Stacks (FAST’17)
49
460
480
500
520
540
560
0 2x107
4x107
6x107
8x107
1x108
1.2x108
Thro
ughput
(IO
PS
)
Block Number
default alloc. policy
Ext4 Case Study (cont.)
3/2/2017
Workload: Fileserver
On the Performance Variation in Modern Storage Stacks (FAST’17)
19%
50
Ext4 Case Study (cont.)
3/2/2017
460
480
500
520
540
560
0 2x107
4x107
6x107
8x107
1x108
1.2x108
Th
rou
gh
pu
t (I
OP
S)
Block Number
default alloc. policys_hash_seed=null
Workload: Fileserver
On the Performance Variation in Modern Storage Stacks (FAST’17)
51
Throughput vs. Time
0
300
600
0 0.5 1 1.5 2
Thro
ughp
ut (I
OPS
)
Time (hours)
Ext4 Btrfs XFS
3/2/2017
Workload: Fileserver
On the Performance Variation in Modern Storage Stacks (FAST’17)
Window Size: 120s
52
Throughput vs. Time
0
300
600
0 0.5 1 1.5 2
Thro
ughp
ut (I
OPS
)
Time (hours)
Ext4 Btrfs XFS
3/2/2017
Workload: Fileserver
On the Performance Variation in Modern Storage Stacks (FAST’17)
Window Size: 120s
53
Throughput vs. Time
0
300
600
0 0.5 1 1.5 2
Thro
ughp
ut (I
OPS
)
Time (hours)
Ext4 Btrfs XFS
3/2/2017
Workload: Fileserver
On the Performance Variation in Modern Storage Stacks (FAST’17)
Window Size: 120s
54
Throughput vs. Time
0
300
600
0 0.5 1 1.5 2
Thro
ughp
ut (I
OPS
)
Time (hours)
Ext4 Btrfs XFS
3/2/2017
Workload: Fileserver
On the Performance Variation in Modern Storage Stacks (FAST’17)
Window Size: 120s
55
Throughput vs. Time
0
300
600
0 0.5 1 1.5 2
Thro
ughp
ut (I
OPS
)
Time (hours)
Ext4 Btrfs XFS
3/2/2017
Workload: Fileserver
On the Performance Variation in Modern Storage Stacks (FAST’17)
Window Size: 120s
56
Throughput vs. Time
3/2/2017
Workload: Fileserver
l Ext4u 14% ~ 43%
0
300
600
0 0.5 1 1.5 2
Thro
ughp
ut (I
OPS
)
Time (hours)
Ext4 Btrfs XFS
On the Performance Variation in Modern Storage Stacks (FAST’17)
Window Size: 120s
57
Throughput vs. Time
3/2/2017
Workload: Fileserver
l Ext4u 14% ~ 43%
l Btrfsu 2% ~ 23%
0
300
600
0 0.5 1 1.5 2
Thro
ughp
ut (I
OPS
)
Time (hours)
Ext4 Btrfs XFS
On the Performance Variation in Modern Storage Stacks (FAST’17)
Window Size: 120s
58
Throughput vs. Time
3/2/2017
Workload: Fileserver
l Ext4u 14% ~ 43%
l Btrfsu 2% ~ 23%
l XFSu 7% ~ 65%
0
300
600
0 0.5 1 1.5 2
Thro
ughp
ut (I
OPS
)
Time (hours)
Ext4 Btrfs XFS
On the Performance Variation in Modern Storage Stacks (FAST’17)
Window Size: 120s
59
Throughput vs. Time (cont.)
3/2/2017
0
20
40
60
80
100
0 20 40 60 80 100
Cum
. P
ct. of
Tim
e W
indow
s (%
)
Relative Range (%)
60s120s180s240s400s
Ext4Workload: Fileserver
On the Performance Variation in Modern Storage Stacks (FAST’17) 60
Throughput vs. Time (cont.)
3/2/2017
0
20
40
60
80
100
0 20 40 60 80 100
Cum
. P
ct. of
Tim
e W
indow
s (%
)
Relative Range (%)
60s120s180s240s400s
Ext4Workload: Fileserver
On the Performance Variation in Modern Storage Stacks (FAST’17)
61
Throughput vs. Time (cont.)
3/2/2017
0
20
40
60
80
100
0 20 40 60 80 100
Cum
. P
ct. of
Tim
e W
indow
s (%
)
Relative Range (%)
60s120s180s240s400s
Ext4Workload: Fileserver
On the Performance Variation in Modern Storage Stacks (FAST’17) 62
Throughput vs. Time (cont.)
3/2/2017
0
20
40
60
80
100
0 20 40 60 80 100
Cum
. P
ct. of
Tim
e W
indow
s (%
)
Relative Range (%)
60s120s180s240s400s
Ext4Workload: Fileserver
On the Performance Variation in Modern Storage Stacks (FAST’17)
63
Throughput vs. Time (cont.)
3/2/2017
0
20
40
60
80
100
0 20 40 60 80 100
Cum
. P
ct. of
Tim
e W
indow
s (%
)
Relative Range (%)
60s120s180s240s400s
Ext4Workload: Fileserver
On the Performance Variation in Modern Storage Stacks (FAST’17) 64
Throughput vs. Time (cont.)
3/2/2017
0
20
40
60
80
100
0 20 40 60 80 100
Cum
. P
ct. of
Tim
e W
indow
s (%
)
Relative Range (%)
60s120s180s240s400s 0
20
40
60
80
100
0 20 40 60 80 100
Cum
. P
ct. of
Tim
e W
indow
s (%
)
Relative Range (%)
60s120s180s240s400s
Ext4 XFSWorkload: Fileserver
On the Performance Variation in Modern Storage Stacks (FAST’17)
65
Throughput vs. Time (cont.)
3/2/2017
0
20
40
60
80
100
0 20 40 60 80 100
Cum
. P
ct. of
Tim
e W
indow
s (%
)
Relative Range (%)
60s120s180s240s400s 0
20
40
60
80
100
0 20 40 60 80 100
Cum
. P
ct. of
Tim
e W
indow
s (%
)
Relative Range (%)
60s120s180s240s400s
Ext4 XFSWorkload: Fileserver
On the Performance Variation in Modern Storage Stacks (FAST’17) 66
Throughput vs. Time (cont.)
3/2/2017
0
20
40
60
80
100
0 20 40 60 80 100
Cum
. P
ct. of
Tim
e W
indow
s (%
)
Relative Range (%)
60s120s180s240s400s 0
20
40
60
80
100
0 20 40 60 80 100
Cum
. P
ct. of
Tim
e W
indow
s (%
)
Relative Range (%)
60s120s180s240s400s
Ext4 XFSWorkload: Fileserver
On the Performance Variation in Modern Storage Stacks (FAST’17)
67
Latency Variation
3/2/2017
0
20
40
60
80
100
10-3
10-1
101
103
Cum
. P
ct. of
Lat
ency
(%
)
Latency (ms) (log10)
read
l Ext4 - HDDu 32%
l Fileserveru createu deleteu openu readu statu write
On the Performance Variation in Modern Storage Stacks (FAST’17) 68
Latency Variation
3/2/2017
0
20
40
60
80
100
10-3
10-1
101
103
Cum
. P
ct. of
Lat
ency
(%
)
Latency (ms) (log10)
read
l Ext4 - HDDu 32%
l Fileserveru createu deleteu openu readu statu write
On the Performance Variation in Modern Storage Stacks (FAST’17)
69
Latency Variation
3/2/2017
0
20
40
60
80
100
10-3
10-1
101
103
Cum
. P
ct. of
Lat
ency
(%
)
Latency (ms) (log10)
read
l Ext4 - HDDu 32%
l Fileserveru createu deleteu openu readu statu write
On the Performance Variation in Modern Storage Stacks (FAST’17) 70
Latency Variation
3/2/2017
0
20
40
60
80
100
10-3
10-1
101
103
Cum
. P
ct. of
Lat
ency
(%
)
Latency (ms) (log10)
0
20
40
60
80
100
10-3
10-1
101
103
Cum
. P
ct. of
Lat
ency
(%
)
Latency (ms) (log10)
create read
On the Performance Variation in Modern Storage Stacks (FAST’17)
71
Conclusionsl First systematic study of storage
performance variationsl Characterization from various perspectivesl Randomization in file systemsl Lazy initialization and background activities
contribute to instabilityl We will make datasets public
3/2/2017 On the Performance Variation in Modern Storage Stacks (FAST’17) 72
Future Workl Aged file systemsl More workloads/benchmark tools l More Devices
uNear full-capacity SSDsuPCM, SMR, etc.
l More storage layersuRAID, LVM, etc.
3/2/2017 On the Performance Variation in Modern Storage Stacks (FAST’17)
733/2/2017 On the Performance Variation in Modern Storage Stacks (FAST’17)
On the Performance Variation in Modern Storage Stacks
Zhen Cao1, Vasily Tarasov2, Hari Prasath Raman1, Dean Hildebrand2, and Erez Zadok1
© 2017 Stony Brook University