87 lines
2.6 KiB
Plaintext
87 lines
2.6 KiB
Plaintext
|
.G1
|
||
|
copy "legend.grap"
|
||
|
|
||
|
graph Linear
|
||
|
frame invis ht 3 wid 4 left solid bot solid
|
||
|
coord x 0,5000*2
|
||
|
ticks bot off
|
||
|
|
||
|
label left "Request duration" unaligned "for a partition (ms)" "(Median)" left 0.8
|
||
|
label right "\s+2Linear" unaligned "scale\s0"
|
||
|
|
||
|
obram = obuncache = obfifo = obcache = obsemi = 0
|
||
|
cbram = cbuncache = cbfifo = cbcache = cbsemi = 0
|
||
|
|
||
|
legendxleft = 1000
|
||
|
legendxright = 6500
|
||
|
legendyup = 320
|
||
|
legendydown = 220
|
||
|
|
||
|
boite(legendxleft,legendxright,legendyup,legendydown)
|
||
|
legend(legendxleft,legendxright,legendyup,legendydown)
|
||
|
|
||
|
y_scale = 1000000
|
||
|
|
||
|
linear_growth(red, 110, 1000, 10000)
|
||
|
linear_growth(black, 110, 1000, 10000)
|
||
|
linear_growth(pink, 160, 1000, 10000)
|
||
|
linear_growth(blue, 13982, 1000, 10000)
|
||
|
linear_growth(green, 17350, 1000, 10000)
|
||
|
|
||
|
copy "../data/partitions.d" thru X
|
||
|
cx = $1*2
|
||
|
|
||
|
line_no_mustache(cbram, obram, $3, red)
|
||
|
line_no_mustache(cbcache, obcache, $6, black)
|
||
|
line_no_mustache(cbfifo, obfifo, $9, pink)
|
||
|
line_no_mustache(cbsemi, obsemi, $12, blue)
|
||
|
line_no_mustache(cbuncache, obuncache, $15, green)
|
||
|
|
||
|
#line_with_mustache(cbram, obram, $3, red, $2, $4)
|
||
|
#line_with_mustache(cbcache, obcache, $6, black, $5, $7)
|
||
|
#line_with_mustache(cbfifo, obfifo, $9, pink, $8, $10)
|
||
|
#line_with_mustache(cbsemi, obsemi, $12,blue, $11, $13)
|
||
|
#line_with_mustache(cbuncache,obuncache,$15,green, $14, $16)
|
||
|
|
||
|
ox = cx
|
||
|
X
|
||
|
|
||
|
graph Exponential with .Frame.n at Linear.Frame.s -(0,.05)
|
||
|
frame invis ht 3 wid 4 left solid bot solid
|
||
|
coord x 0,5000*2 y 0.05,350 log y
|
||
|
ticks bot out from 1000 to 10000 by 1000
|
||
|
|
||
|
label left "Request duration" unaligned "for a partition (ms)" "(Median)" left 0.8
|
||
|
label bot "Number of cars matching the partition" down 0.1
|
||
|
label right "\s+2Logarithmic" unaligned "scale\s0"
|
||
|
|
||
|
obram = obuncache = obfifo = obcache = obsemi = 0
|
||
|
cbram = cbuncache = cbfifo = cbcache = cbsemi = 0
|
||
|
|
||
|
y_scale = 1000000
|
||
|
|
||
|
linear_growth(red, 85, 1000, 10000)
|
||
|
linear_growth(black, 85, 1000, 10000)
|
||
|
linear_growth(pink, 160, 1000, 10000)
|
||
|
linear_growth(blue, 13982, 1000, 10000)
|
||
|
linear_growth(green, 17350, 1000, 10000)
|
||
|
|
||
|
copy "../data/partitions.d" thru X
|
||
|
cx = $1*2
|
||
|
|
||
|
line_no_mustache(cbram, obram, $3, red)
|
||
|
line_no_mustache(cbcache, obcache, $6, black)
|
||
|
line_no_mustache(cbfifo, obfifo, $9, pink)
|
||
|
line_no_mustache(cbsemi, obsemi, $12, blue)
|
||
|
line_no_mustache(cbuncache, obuncache, $15, green)
|
||
|
|
||
|
#line_with_mustache(cbram, obram, $3, red, $2, $4)
|
||
|
#line_with_mustache(cbcache, obcache, $6, black, $5, $7)
|
||
|
#line_with_mustache(cbfifo, obfifo, $9, pink, $8, $10)
|
||
|
#line_with_mustache(cbsemi, obsemi, $12,blue, $11, $13)
|
||
|
#line_with_mustache(cbuncache,obuncache,$15,green, $14, $16)
|
||
|
|
||
|
ox = cx
|
||
|
X
|
||
|
.G2
|