2024-05-12 16:47:53 +02:00
|
|
|
.NH
|
2024-05-12 19:24:50 +02:00
|
|
|
Indexes
|
2024-05-12 16:47:53 +02:00
|
|
|
.LP
|
|
|
|
|
|
|
|
.G1
|
2024-05-12 20:47:09 +02:00
|
|
|
copy "legend.grap"
|
2024-05-12 19:24:50 +02:00
|
|
|
frame invis ht 3 wid 4 left solid bot solid
|
|
|
|
coord y 0,50
|
|
|
|
ticks left out from 0 to 50 by 10
|
2024-05-12 20:47:09 +02:00
|
|
|
ticks bot out at 50000 "50,000", 100000 "100,000", 150000 "150,000", 200000 "200,000", 250000 "250,000"
|
2024-05-12 19:24:50 +02:00
|
|
|
|
2024-05-12 20:47:09 +02:00
|
|
|
label left "Request duration with" unaligned "an index (us)" "(Median)" left 0.8
|
|
|
|
label bot "Number of cars in the database" down 0.1
|
2024-05-12 16:47:53 +02:00
|
|
|
|
2024-05-12 19:24:50 +02:00
|
|
|
obram = obuncache = obcache = obsemi = 0 # old bullets
|
|
|
|
cbram = cbuncache = cbcache = cbsemi = 0 # current bullets
|
2024-05-12 16:47:53 +02:00
|
|
|
|
2024-05-12 20:47:09 +02:00
|
|
|
legendxleft = 100000
|
|
|
|
legendxright = 250000
|
|
|
|
legendyup = 15
|
|
|
|
legendydown = 2
|
|
|
|
|
|
|
|
boite(legendxleft,legendxright,legendyup,legendydown)
|
|
|
|
legend(legendxleft,legendxright,legendyup,legendydown)
|
2024-05-12 16:47:53 +02:00
|
|
|
|
|
|
|
copy "../data/index.d" thru X
|
|
|
|
cx = $1*5
|
|
|
|
|
2024-05-12 19:24:50 +02:00
|
|
|
y_scale = 1000
|
|
|
|
|
2024-05-12 16:47:53 +02:00
|
|
|
# ram cached semi uncached
|
2024-05-12 19:24:50 +02:00
|
|
|
line from cx,$2/y_scale to cx,$4/y_scale
|
|
|
|
line from cx,$5/y_scale to cx,$7/y_scale
|
|
|
|
line from cx,$8/y_scale to cx,$10/y_scale
|
|
|
|
line from cx,$11/y_scale to cx,$13/y_scale
|
2024-05-12 16:47:53 +02:00
|
|
|
|
|
|
|
#ty = $3
|
|
|
|
|
|
|
|
cx = $1*5
|
|
|
|
|
2024-05-12 19:24:50 +02:00
|
|
|
cbram = $3/y_scale
|
|
|
|
cbcache = $6/y_scale
|
|
|
|
cbsemi = $9/y_scale
|
|
|
|
cbuncache = $12/y_scale
|
2024-05-12 16:47:53 +02:00
|
|
|
|
|
|
|
if (obram > 0) then {line from cx,cbram to ox,obram}
|
|
|
|
if (obcache > 0) then {line from cx,cbcache to ox,obcache}
|
|
|
|
.gcolor blue
|
|
|
|
if (obsemi > 0) then {line from cx,cbsemi to ox,obsemi}
|
|
|
|
.gcolor
|
|
|
|
.gcolor green
|
|
|
|
if (obuncache > 0) then {line from cx,cbuncache to ox,obuncache}
|
|
|
|
.gcolor
|
|
|
|
|
|
|
|
obram = cbram
|
|
|
|
obcache = cbcache
|
|
|
|
obsemi = cbsemi
|
|
|
|
obuncache = cbuncache
|
|
|
|
ox = cx
|
|
|
|
|
|
|
|
# ram cached semi uncached
|
|
|
|
.gcolor red
|
|
|
|
bullet at cx,cbram
|
|
|
|
.gcolor
|
|
|
|
bullet at cx,cbcache
|
|
|
|
.gcolor blue
|
|
|
|
bullet at cx,cbsemi
|
|
|
|
.gcolor
|
|
|
|
.gcolor green
|
|
|
|
bullet at cx,cbuncache
|
|
|
|
.gcolor
|
|
|
|
X
|
|
|
|
.G2
|
|
|
|
|
2024-05-12 19:24:50 +02:00
|
|
|
.NH
|
|
|
|
Partitions
|
|
|
|
.LP
|
2024-05-12 16:47:53 +02:00
|
|
|
.G1
|
2024-05-12 20:47:09 +02:00
|
|
|
copy "legend.grap"
|
2024-05-12 19:24:50 +02:00
|
|
|
frame invis ht 3 wid 4 left solid bot solid
|
|
|
|
coord x 0,5000*2 y 0,350
|
|
|
|
ticks left out from 0 to 350 by 50
|
|
|
|
|
2024-05-12 20:47:09 +02:00
|
|
|
label left "Request duration" unaligned "for a partition (ms)" "(Median)" left 0.8
|
|
|
|
label bot "Number of cars matching the partition" down 0.1
|
2024-05-12 16:47:53 +02:00
|
|
|
|
|
|
|
obram = obuncache = obcache = obsemi = 0
|
|
|
|
cbram = cbuncache = cbcache = cbsemi = 0
|
|
|
|
|
2024-05-12 20:47:09 +02:00
|
|
|
legendxleft = 1000
|
|
|
|
legendxright = 6500
|
|
|
|
legendyup = 330
|
|
|
|
legendydown = 230
|
|
|
|
|
|
|
|
boite(legendxleft,legendxright,legendyup,legendydown)
|
|
|
|
legend(legendxleft,legendxright,legendyup,legendydown)
|
|
|
|
|
2024-05-12 16:47:53 +02:00
|
|
|
copy "../data/partitions.d" thru X
|
2024-05-12 19:24:50 +02:00
|
|
|
cx = $1*2
|
|
|
|
|
|
|
|
y_scale = 1000000
|
2024-05-12 16:47:53 +02:00
|
|
|
|
|
|
|
# ram cached semi uncached
|
2024-05-12 19:24:50 +02:00
|
|
|
line from cx,$2/y_scale to cx,$4/y_scale
|
|
|
|
line from cx,$5/y_scale to cx,$7/y_scale
|
|
|
|
line from cx,$8/y_scale to cx,$10/y_scale
|
|
|
|
line from cx,$11/y_scale to cx,$13/y_scale
|
2024-05-12 16:47:53 +02:00
|
|
|
|
|
|
|
#ty = $3
|
|
|
|
|
2024-05-12 19:24:50 +02:00
|
|
|
cbram = $3/y_scale
|
|
|
|
cbcache = $6/y_scale
|
|
|
|
cbsemi = $9/y_scale
|
|
|
|
cbuncache = $12/y_scale
|
2024-05-12 16:47:53 +02:00
|
|
|
|
|
|
|
if (obram > 0) then {line from cx,cbram to ox,obram}
|
|
|
|
if (obcache > 0) then {line from cx,cbcache to ox,obcache}
|
|
|
|
.gcolor blue
|
|
|
|
if (obsemi > 0) then {line from cx,cbsemi to ox,obsemi}
|
|
|
|
.gcolor
|
|
|
|
.gcolor green
|
|
|
|
if (obuncache > 0) then {line from cx,cbuncache to ox,obuncache}
|
|
|
|
.gcolor
|
|
|
|
|
|
|
|
obram = cbram
|
|
|
|
obcache = cbcache
|
|
|
|
obsemi = cbsemi
|
|
|
|
obuncache = cbuncache
|
|
|
|
ox = cx
|
|
|
|
|
|
|
|
# ram cached semi uncached
|
|
|
|
.gcolor red
|
|
|
|
bullet at cx,cbram
|
|
|
|
.gcolor
|
|
|
|
bullet at cx,cbcache
|
|
|
|
.gcolor blue
|
|
|
|
bullet at cx,cbsemi
|
|
|
|
.gcolor
|
|
|
|
.gcolor green
|
|
|
|
bullet at cx,cbuncache
|
|
|
|
.gcolor
|
|
|
|
X
|
|
|
|
.G2
|
2024-05-12 19:24:50 +02:00
|
|
|
.bp
|
|
|
|
.NH
|
|
|
|
Tags
|
|
|
|
.LP
|
2024-05-12 16:47:53 +02:00
|
|
|
.G1
|
2024-05-12 20:47:09 +02:00
|
|
|
copy "legend.grap"
|
|
|
|
frame invis ht 3 wid 4 left solid bot solid
|
|
|
|
coord x 0,5000 y 0,170
|
|
|
|
ticks left out from 0 to 170 by 20
|
|
|
|
label left "Request duration" unaligned "for a tag (ms)" "(Median)" left 0.8
|
|
|
|
label bot "Number of cars matching the tag" down 0.1
|
2024-05-12 16:47:53 +02:00
|
|
|
|
|
|
|
obram = obuncache = obcache = obsemi = 0
|
|
|
|
cbram = cbuncache = cbcache = cbsemi = 0
|
|
|
|
|
2024-05-12 20:47:09 +02:00
|
|
|
legendxleft = 200
|
|
|
|
legendxright = 3000
|
|
|
|
legendyup = 170
|
|
|
|
legendydown = 120
|
|
|
|
|
|
|
|
boite(legendxleft,legendxright,legendyup,legendydown)
|
|
|
|
legend(legendxleft,legendxright,legendyup,legendydown)
|
2024-05-12 16:47:53 +02:00
|
|
|
|
|
|
|
copy "../data/tags.d" thru X
|
2024-05-12 19:24:50 +02:00
|
|
|
cx = $1
|
|
|
|
|
|
|
|
y_scale = 1000000
|
2024-05-12 16:47:53 +02:00
|
|
|
|
|
|
|
# ram cached semi uncached
|
2024-05-12 19:24:50 +02:00
|
|
|
line from cx,$2/y_scale to cx,$4/y_scale
|
|
|
|
line from cx,$5/y_scale to cx,$7/y_scale
|
|
|
|
line from cx,$8/y_scale to cx,$10/y_scale
|
|
|
|
line from cx,$11/y_scale to cx,$13/y_scale
|
2024-05-12 16:47:53 +02:00
|
|
|
|
|
|
|
#ty = $3
|
|
|
|
|
2024-05-12 19:24:50 +02:00
|
|
|
cbram = $3/y_scale
|
|
|
|
cbcache = $6/y_scale
|
|
|
|
cbsemi = $9/y_scale
|
|
|
|
cbuncache = $12/y_scale
|
2024-05-12 16:47:53 +02:00
|
|
|
|
|
|
|
if (obram > 0) then {line from cx,cbram to ox,obram}
|
|
|
|
if (obcache > 0) then {line from cx,cbcache to ox,obcache}
|
|
|
|
.gcolor blue
|
|
|
|
if (obsemi > 0) then {line from cx,cbsemi to ox,obsemi}
|
|
|
|
.gcolor
|
|
|
|
.gcolor green
|
|
|
|
if (obuncache > 0) then {line from cx,cbuncache to ox,obuncache}
|
|
|
|
.gcolor
|
|
|
|
|
|
|
|
obram = cbram
|
|
|
|
obcache = cbcache
|
|
|
|
obsemi = cbsemi
|
|
|
|
obuncache = cbuncache
|
|
|
|
ox = cx
|
|
|
|
|
|
|
|
# ram cached semi uncached
|
|
|
|
.gcolor red
|
|
|
|
bullet at cx,cbram
|
|
|
|
.gcolor
|
|
|
|
bullet at cx,cbcache
|
|
|
|
.gcolor blue
|
|
|
|
bullet at cx,cbsemi
|
|
|
|
.gcolor
|
|
|
|
.gcolor green
|
|
|
|
bullet at cx,cbuncache
|
|
|
|
.gcolor
|
|
|
|
X
|
|
|
|
.G2
|