Skip to content
Browse files

make points and color more clear in predict figure

  • Loading branch information...
1 parent bbb9ee0 commit 21e34f7143afad9cfc99f4ee516168b2e94268de Ming committed
View
21 benchmark/leveldb/results/large-ratio/parse/plot.p
@@ -1,19 +1,12 @@
set size 2, 1.8
set grid ytics
-set terminal postscript eps noenhanced color "Times-Roman,40"
-set output "mris_ratio_iostat_rqsz.eps"
-
-set style data linespoints
-set title "avg-rqsz of mris_ratio by iostat"
-set xlabel "Ratio" offset 0,1.2
-set ylabel "avg-rqsz" offset 3.0,0
-set style histogram errorbars gap 1 lw 2
+set terminal postscript eps noenhanced color "Times-Roman,40"
+set output "ratio_thput_predict.eps"
-set xtics offset 0,0.5
-set ytics offset 1,0
-#set yrange [0:16]
-#set key left height 3
-set key left center
+set yrange [0:18]
+set key
+set xlabel "Ratio"
+set ylabel "Throughput (mb/sec)"
-plot "mris_ratio_iostat_rqsz.dat" using 3:4:xticlabels(1) w histogram lw 2 title "SSD-SSD", "" using 8:9:xticlabels(1) w histogram lw 2 title "Hybrid-SSD", "" using 10:11:xticlabels(1) w histogram lw 2 title "Hybrid-SATA", "" using 15:16:xticlabels(1) w histogram lw 2 title "SATA-SATA"
+plot 'mris_ratio_thput.dat' using 1:6 w points pt 20 title "benchmarked Hybrid", 1000000.0*(x*8 + 128)/(1024*(1482 * x + 37599)) lw 3 title "predicted Hybrid", '' using 1:3 w points pt 4 title "benchmarked SSD", 1000000.0*(x*8 + 128)/(1024*(1482 * x + 13238)) lw 3 title "predicted SSD", '' using 1:9 w points pt 13 title "benchmarked SATA", 1000000.0*(x*8 + 128)/(1024*(13238 * x + 37599)) lw 3 lc rgb "black" title "predicted SATA"
View
906 benchmark/leveldb/results/large-ratio/parse/ratio_thput_predict.eps
@@ -1,7 +1,7 @@
%!PS-Adobe-2.0 EPSF-2.0
%%Title: ratio_thput_predict.eps
-%%Creator: gnuplot 4.4 patchlevel 3
-%%CreationDate: Fri Dec 14 01:31:25 2012
+%%Creator: gnuplot 4.2 patchlevel 6
+%%CreationDate: Fri Dec 14 11:29:50 2012
%%DocumentFonts: (atend)
%%BoundingBox: 50 50 770 503
%%EndComments
@@ -9,8 +9,8 @@
/gnudict 256 dict def
gnudict begin
%
-% The following true/false flags may be edited by hand if desired.
-% The unit line width and grayscale image gamma correction may also be changed.
+% The following 6 true/false flags may be edited by hand if required
+% The unit line width may also be changed
%
/Color true def
/Blacktext false def
@@ -19,11 +19,9 @@ gnudict begin
/Landscape false def
/Level1 false def
/Rounded false def
-/ClipToBoundingBox false def
/TransparentPatterns false def
/gnulinewidth 5.000 def
/userlinewidth gnulinewidth def
-/Gamma 1.0 def
%
/vshift -133 def
/dl1 {
@@ -46,24 +44,16 @@ systemdict /pdfmark known not {
SDict begin [
/Title (ratio_thput_predict.eps)
/Subject (gnuplot plot)
- /Creator (gnuplot 4.4 patchlevel 3)
- /Author (ming)
+ /Creator (gnuplot 4.2 patchlevel 6 )
+ /Author (Ming Chen)
% /Producer (gnuplot)
% /Keywords ()
- /CreationDate (Fri Dec 14 01:31:25 2012)
+ /CreationDate (Fri Dec 14 11:29:50 2012)
/DOCINFO pdfmark
end
} ifelse
-/doclip {
- ClipToBoundingBox {
- newpath 50 50 moveto 770 50 lineto 770 503 lineto 50 503 lineto closepath
- clip
- } if
-} def
-%
-% Gnuplot Prolog Version 4.4 (August 2010)
%
-%/SuppressPDFMark true def
+% Gnuplot Prolog Version 4.2 (August 2006)
%
/M {moveto} bind def
/L {lineto} bind def
@@ -73,8 +63,6 @@ end
/Z {closepath} bind def
/C {setrgbcolor} bind def
/f {rlineto fill} bind def
-/g {setgray} bind def
-/Gshow {show} def % May be redefined later in the file to support UTF-8
/vpt2 vpt 2 mul def
/hpt2 hpt 2 mul def
/Lshow {currentpoint stroke M 0 vshift R
@@ -95,7 +83,6 @@ end
dup 1 lt {pop 1} if 10 mul /udl exch def} def
/PL {stroke userlinewidth setlinewidth
Rounded {1 setlinejoin 1 setlinecap} if} def
-3.8 setmiterlimit
% Default Line colors
/LCw {1 1 1} def
/LCb {0 0 0} def
@@ -437,7 +424,6 @@ end
%%EndProlog
gnudict begin
gsave
-doclip
50 50 translate
0.050 0.050 scale
0 setgray
@@ -447,626 +433,614 @@ newpath
LTb
1.000 UL
LTa
-1720 1280 M
-11958 0 V
+2200 1280 M
+11600 0 V
stroke
LTb
-1720 1280 M
+2200 1280 M
63 0 V
-11895 0 R
+11537 0 R
-63 0 V
--12135 0 R
+-11777 0 R
( 0) Rshow
1.000 UL
LTb
1.000 UL
LTa
-1720 2092 M
-11958 0 V
+2200 2092 M
+11600 0 V
stroke
LTb
-1720 2092 M
+2200 2092 M
63 0 V
-11895 0 R
+11537 0 R
-63 0 V
--12135 0 R
+-11777 0 R
( 2) Rshow
1.000 UL
LTb
1.000 UL
LTa
-1720 2904 M
-11958 0 V
+2200 2905 M
+11600 0 V
stroke
LTb
-1720 2904 M
+2200 2905 M
63 0 V
-11895 0 R
+11537 0 R
-63 0 V
--12135 0 R
+-11777 0 R
( 4) Rshow
1.000 UL
LTb
1.000 UL
LTa
-1720 3717 M
-11958 0 V
+2200 3717 M
+11600 0 V
stroke
LTb
-1720 3717 M
+2200 3717 M
63 0 V
-11895 0 R
+11537 0 R
-63 0 V
--12135 0 R
+-11777 0 R
( 6) Rshow
1.000 UL
LTb
1.000 UL
LTa
-1720 4529 M
-11958 0 V
+2200 4530 M
+11600 0 V
stroke
LTb
-1720 4529 M
+2200 4530 M
63 0 V
-11895 0 R
+11537 0 R
-63 0 V
--12135 0 R
+-11777 0 R
( 8) Rshow
1.000 UL
LTb
1.000 UL
LTa
-1720 5341 M
-11958 0 V
+2200 5342 M
+11600 0 V
stroke
LTb
-1720 5341 M
+2200 5342 M
63 0 V
-11895 0 R
+11537 0 R
-63 0 V
--12135 0 R
+-11777 0 R
( 10) Rshow
1.000 UL
LTb
1.000 UL
LTa
-1720 6153 M
-5895 0 V
+2200 6155 M
+5537 0 V
5823 0 R
240 0 V
stroke
LTb
-1720 6153 M
+2200 6155 M
63 0 V
-11895 0 R
+11537 0 R
-63 0 V
--12135 0 R
+-11777 0 R
( 12) Rshow
1.000 UL
LTb
1.000 UL
LTa
-1720 6966 M
-5895 0 V
+2200 6967 M
+5537 0 V
5823 0 R
240 0 V
stroke
LTb
-1720 6966 M
+2200 6967 M
63 0 V
-11895 0 R
+11537 0 R
-63 0 V
--12135 0 R
+-11777 0 R
( 14) Rshow
1.000 UL
LTb
1.000 UL
LTa
-1720 7778 M
-5895 0 V
+2200 7780 M
+5537 0 V
5823 0 R
240 0 V
stroke
LTb
-1720 7778 M
+2200 7780 M
63 0 V
-11895 0 R
+11537 0 R
-63 0 V
--12135 0 R
+-11777 0 R
( 16) Rshow
1.000 UL
LTb
1.000 UL
LTa
-1720 8590 M
-11958 0 V
+2200 8592 M
+11600 0 V
stroke
LTb
-1720 8590 M
+2200 8592 M
63 0 V
-11895 0 R
+11537 0 R
-63 0 V
--12135 0 R
+-11777 0 R
( 18) Rshow
1.000 UL
LTb
-1720 1280 M
+2200 1280 M
0 63 V
-0 7247 R
+0 7249 R
0 -63 V
-0 -7647 R
+0 -7649 R
( 0) Cshow
1.000 UL
LTb
-3428 1280 M
+3857 1280 M
0 63 V
-0 7247 R
+0 7249 R
0 -63 V
-0 -7647 R
+0 -7649 R
( 10) Cshow
1.000 UL
LTb
-5137 1280 M
+5514 1280 M
0 63 V
-0 7247 R
+0 7249 R
0 -63 V
-0 -7647 R
+0 -7649 R
( 20) Cshow
1.000 UL
LTb
-6845 1280 M
+7171 1280 M
0 63 V
-0 7247 R
+0 7249 R
0 -63 V
-0 -7647 R
+0 -7649 R
( 30) Cshow
1.000 UL
LTb
-8553 1280 M
+8829 1280 M
0 63 V
-0 7247 R
+0 7249 R
0 -63 V
-0 -7647 R
+0 -7649 R
( 40) Cshow
1.000 UL
LTb
-10261 1280 M
+10486 1280 M
0 63 V
-0 7247 R
+0 7249 R
0 -63 V
-0 -7647 R
+0 -7649 R
( 50) Cshow
1.000 UL
LTb
-11970 1280 M
+12143 1280 M
0 63 V
-0 7247 R
+0 7249 R
0 -63 V
-0 -7647 R
+0 -7649 R
( 60) Cshow
1.000 UL
LTb
-13678 1280 M
+13800 1280 M
0 63 V
-0 7247 R
+0 7249 R
0 -63 V
-0 -7647 R
+0 -7649 R
( 70) Cshow
1.000 UL
LTb
1.000 UL
LTb
-1720 8590 N
-0 -7310 V
-11958 0 V
-0 7310 V
--11958 0 V
+2200 8592 N
+0 -7312 V
+11600 0 V
+0 7312 V
+-11600 0 V
Z stroke
LCb setrgbcolor
-320 4935 M
-currentpoint gsave translate -270 rotate 0 0 M
+800 4936 M
+currentpoint gsave translate 90 rotate 0 0 M
(Throughput \(mb/sec\)) Cshow
grestore
LTb
LCb setrgbcolor
-7699 280 M
+8000 280 M
(Ratio) Cshow
LTb
1.000 UP
1.000 UL
LTb
-% Begin plot #1
1.000 UP
1.000 UL
LT0
-LCb setrgbcolor
-11935 8327 M
-(benchmarked SSD) Rshow
+LTb
+12057 8329 M
+(benchmarked Hybrid) Rshow
LT0
-1891 7818 C4
-2062 6815 C4
-2403 6153 C4
-3087 5341 C4
-4453 4813 C4
-7187 4163 C4
-12653 3769 C4
-12686 8327 C4
-% End plot #1
-% Begin plot #2
+2366 3218 C4
+2531 3108 C4
+2863 2986 C4
+3526 3039 C4
+4851 3067 C4
+7503 3108 C4
+12806 3230 C4
+12808 8329 C4
3.000 UL
LT1
-LCb setrgbcolor
-11935 7927 M
-(predicted SSD) Rshow
+LTb
+12057 7929 M
+(predicted Hybrid) Rshow
LT1
-12175 7927 M
+12297 7929 M
1023 0 V
-1891 4944 M
-109 -92 V
-108 -81 V
-109 -72 V
-109 -66 V
-108 -58 V
-109 -54 V
-109 -48 V
-109 -45 V
-108 -41 V
-109 -38 V
-109 -35 V
-108 -32 V
-109 -30 V
-109 -28 V
-108 -26 V
-109 -25 V
-109 -23 V
-109 -22 V
-108 -20 V
-109 -19 V
-109 -19 V
-108 -17 V
-109 -16 V
-109 -16 V
-109 -15 V
-108 -14 V
-109 -13 V
-109 -13 V
-108 -12 V
-109 -12 V
-109 -11 V
-109 -11 V
-108 -10 V
-109 -10 V
-109 -9 V
-108 -9 V
-109 -9 V
-109 -9 V
-108 -8 V
-109 -8 V
-109 -7 V
-109 -7 V
-108 -7 V
-109 -7 V
-109 -7 V
-108 -6 V
-109 -6 V
-109 -6 V
-109 -6 V
-108 -6 V
-109 -5 V
-109 -5 V
-108 -6 V
-109 -5 V
-109 -4 V
-109 -5 V
-108 -5 V
-109 -4 V
-109 -4 V
-108 -5 V
-109 -4 V
-109 -4 V
-109 -4 V
-108 -3 V
-109 -4 V
-109 -4 V
-108 -3 V
-109 -4 V
-109 -3 V
-108 -3 V
-109 -4 V
-109 -3 V
-109 -3 V
-108 -3 V
-109 -3 V
-109 -3 V
-108 -2 V
-109 -3 V
-109 -3 V
-109 -2 V
-108 -3 V
-109 -3 V
-109 -2 V
-108 -2 V
-109 -3 V
-109 -2 V
-109 -2 V
-108 -3 V
-109 -2 V
-109 -2 V
-108 -2 V
-109 -2 V
-109 -2 V
-108 -2 V
-109 -2 V
-109 -2 V
-109 -2 V
-108 -2 V
-109 -2 V
-% End plot #2
-% Begin plot #3
+2366 2661 M
+105 17 V
+106 18 V
+105 16 V
+106 15 V
+105 15 V
+105 15 V
+106 13 V
+105 14 V
+106 12 V
+105 12 V
+106 12 V
+105 11 V
+106 11 V
+105 11 V
+106 10 V
+105 9 V
+105 10 V
+106 9 V
+105 9 V
+106 8 V
+105 8 V
+106 8 V
+105 8 V
+106 8 V
+105 7 V
+106 7 V
+105 7 V
+105 6 V
+106 7 V
+105 6 V
+106 6 V
+105 6 V
+106 6 V
+105 5 V
+106 6 V
+105 5 V
+106 5 V
+105 5 V
+105 5 V
+106 5 V
+105 5 V
+106 5 V
+105 4 V
+106 4 V
+105 5 V
+106 4 V
+105 4 V
+106 4 V
+105 4 V
+105 4 V
+106 3 V
+105 4 V
+106 4 V
+105 3 V
+106 3 V
+105 4 V
+106 3 V
+105 3 V
+106 3 V
+105 4 V
+105 3 V
+106 3 V
+105 3 V
+106 2 V
+105 3 V
+106 3 V
+105 3 V
+106 2 V
+105 3 V
+106 2 V
+105 3 V
+105 2 V
+106 3 V
+105 2 V
+106 3 V
+105 2 V
+106 2 V
+105 2 V
+106 3 V
+105 2 V
+106 2 V
+105 2 V
+105 2 V
+106 2 V
+105 2 V
+106 2 V
+105 2 V
+106 2 V
+105 2 V
+106 2 V
+105 1 V
+106 2 V
+105 2 V
+105 2 V
+106 1 V
+105 2 V
+106 2 V
+105 1 V
+106 2 V
1.000 UP
stroke
1.000 UL
LT2
-LCb setrgbcolor
-11935 7527 M
-(benchmarked SATA) Rshow
+LTb
+12057 7529 M
+(benchmarked SSD) Rshow
LT2
-1891 2620 C4
-2062 2255 C4
-2403 2011 C4
-3087 1767 C4
-4453 1658 C4
-7187 1605 C4
-12653 1564 C4
-12686 7527 C4
-% End plot #3
-% Begin plot #4
+2366 7820 Box
+2531 6817 Box
+2863 6155 Box
+3526 5342 Box
+4851 4814 Box
+7503 4164 Box
+12806 3770 Box
+12808 7529 Box
3.000 UL
LT3
-LCb setrgbcolor
-11935 7127 M
-(predicted SATA) Rshow
+LTb
+12057 7129 M
+(predicted SSD) Rshow
LT3
-12175 7127 M
+12297 7129 M
1023 0 V
-1891 2341 M
-109 -117 V
-108 -87 V
-109 -69 V
-109 -54 V
-108 -45 V
-109 -37 V
-109 -32 V
-109 -27 V
-108 -24 V
-109 -20 V
-109 -18 V
-108 -17 V
-109 -14 V
-109 -13 V
-108 -12 V
-109 -10 V
-109 -10 V
-109 -9 V
-108 -8 V
-109 -8 V
-109 -7 V
-108 -7 V
-109 -6 V
-109 -5 V
-109 -6 V
-108 -5 V
-109 -4 V
-109 -5 V
-108 -4 V
-109 -4 V
-109 -4 V
-109 -3 V
-108 -3 V
-109 -4 V
-109 -3 V
-108 -2 V
-109 -3 V
-109 -3 V
-108 -2 V
-109 -3 V
-109 -2 V
-109 -2 V
-108 -2 V
-109 -2 V
-109 -2 V
-108 -2 V
-109 -2 V
-109 -2 V
-109 -1 V
-108 -2 V
-109 -1 V
-109 -2 V
-108 -1 V
-109 -2 V
-109 -1 V
-109 -1 V
-108 -2 V
-109 -1 V
-109 -1 V
-108 -1 V
-109 -1 V
-109 -1 V
-109 -2 V
-108 -1 V
-109 -1 V
-109 -1 V
-108 0 V
-109 -1 V
-109 -1 V
-108 -1 V
-109 -1 V
-109 -1 V
-109 -1 V
-108 0 V
-109 -1 V
-109 -1 V
-108 -1 V
-109 0 V
-109 -1 V
-109 -1 V
-108 0 V
-109 -1 V
-109 -1 V
-108 0 V
-109 -1 V
-109 0 V
-109 -1 V
-108 -1 V
-109 0 V
-109 -1 V
-108 0 V
-109 -1 V
-109 0 V
-108 -1 V
-109 0 V
-109 -1 V
-109 0 V
-108 -1 V
-109 0 V
-% End plot #4
-% Begin plot #5
+2366 4945 M
+105 -92 V
+106 -81 V
+105 -72 V
+106 -66 V
+105 -59 V
+105 -53 V
+106 -49 V
+105 -44 V
+106 -41 V
+105 -38 V
+106 -35 V
+105 -32 V
+106 -30 V
+105 -28 V
+106 -27 V
+105 -24 V
+105 -23 V
+106 -22 V
+105 -20 V
+106 -20 V
+105 -18 V
+106 -17 V
+105 -17 V
+106 -15 V
+105 -15 V
+106 -14 V
+105 -13 V
+105 -13 V
+106 -12 V
+105 -12 V
+106 -11 V
+105 -11 V
+106 -10 V
+105 -10 V
+106 -10 V
+105 -9 V
+106 -8 V
+105 -9 V
+105 -8 V
+106 -8 V
+105 -7 V
+106 -8 V
+105 -7 V
+106 -7 V
+105 -6 V
+106 -7 V
+105 -6 V
+106 -6 V
+105 -5 V
+105 -6 V
+106 -6 V
+105 -5 V
+106 -5 V
+105 -5 V
+106 -5 V
+105 -4 V
+106 -5 V
+105 -4 V
+106 -5 V
+105 -4 V
+105 -4 V
+106 -4 V
+105 -4 V
+106 -4 V
+105 -4 V
+106 -3 V
+105 -4 V
+106 -3 V
+105 -3 V
+106 -4 V
+105 -3 V
+105 -3 V
+106 -3 V
+105 -3 V
+106 -3 V
+105 -3 V
+106 -3 V
+105 -2 V
+106 -3 V
+105 -3 V
+106 -2 V
+105 -3 V
+105 -2 V
+106 -3 V
+105 -2 V
+106 -2 V
+105 -3 V
+106 -2 V
+105 -2 V
+106 -2 V
+105 -2 V
+106 -3 V
+105 -2 V
+105 -2 V
+106 -2 V
+105 -1 V
+106 -2 V
+105 -2 V
+106 -2 V
1.000 UP
stroke
1.000 UL
LT4
-LCb setrgbcolor
-11935 6727 M
-(benchmarked Hybrid) Rshow
+LTb
+12057 6729 M
+(benchmarked SATA) Rshow
LT4
-1891 3217 C4
-2062 3108 C4
-2403 2986 C4
-3087 3038 C4
-4453 3067 C4
-7187 3108 C4
-12653 3229 C4
-12686 6727 C4
-% End plot #5
-% Begin plot #6
+2366 2621 DiaF
+2531 2255 DiaF
+2863 2011 DiaF
+3526 1767 DiaF
+4851 1658 DiaF
+7503 1605 DiaF
+12806 1564 DiaF
+12808 6729 DiaF
3.000 UL
LT5
-LCb setrgbcolor
-11935 6327 M
-(predicted Hybrid) Rshow
+0.00 0.00 0.00 C LTb
+12057 6329 M
+(predicted SATA) Rshow
LT5
-12175 6327 M
+0.00 0.00 0.00 C 12297 6329 M
1023 0 V
-1891 2660 M
-109 18 V
-108 17 V
-109 16 V
-109 16 V
-108 15 V
-109 14 V
-109 14 V
-109 13 V
-108 13 V
-109 12 V
-109 12 V
-108 11 V
-109 11 V
-109 10 V
-108 10 V
-109 10 V
-109 9 V
-109 9 V
-108 9 V
-109 9 V
-109 8 V
-108 8 V
-109 8 V
-109 7 V
-109 7 V
-108 7 V
-109 7 V
-109 7 V
-108 6 V
-109 7 V
-109 6 V
-109 6 V
-108 5 V
-109 6 V
-109 5 V
-108 6 V
-109 5 V
-109 5 V
-108 5 V
-109 5 V
-109 4 V
-109 5 V
-108 5 V
-109 4 V
-109 4 V
-108 4 V
-109 4 V
-109 4 V
-109 4 V
-108 4 V
-109 4 V
-109 3 V
-108 4 V
-109 4 V
-109 3 V
-109 3 V
-108 4 V
-109 3 V
-109 3 V
-108 3 V
-109 3 V
-109 3 V
-109 3 V
-108 3 V
-109 3 V
-109 2 V
-108 3 V
-109 3 V
-109 2 V
-108 3 V
-109 2 V
-109 3 V
-109 2 V
-108 3 V
-109 2 V
-109 2 V
-108 3 V
-109 2 V
-109 2 V
-109 2 V
-108 2 V
-109 2 V
-109 3 V
-108 2 V
-109 2 V
-109 1 V
-109 2 V
-108 2 V
-109 2 V
-109 2 V
-108 2 V
-109 2 V
-109 1 V
-108 2 V
-109 2 V
-109 1 V
-109 2 V
-108 2 V
-109 1 V
-% End plot #6
+2366 2341 M
+105 -117 V
+106 -87 V
+105 -69 V
+106 -54 V
+105 -45 V
+105 -37 V
+106 -32 V
+105 -27 V
+106 -24 V
+105 -20 V
+106 -18 V
+105 -16 V
+106 -15 V
+105 -13 V
+106 -12 V
+105 -10 V
+105 -10 V
+106 -9 V
+105 -8 V
+106 -8 V
+105 -7 V
+106 -6 V
+105 -7 V
+106 -5 V
+105 -6 V
+106 -5 V
+105 -4 V
+105 -5 V
+106 -4 V
+105 -4 V
+106 -3 V
+105 -4 V
+106 -3 V
+105 -3 V
+106 -3 V
+105 -3 V
+106 -3 V
+105 -3 V
+105 -2 V
+106 -3 V
+105 -2 V
+106 -2 V
+105 -2 V
+106 -2 V
+105 -2 V
+106 -2 V
+105 -2 V
+106 -2 V
+105 -1 V
+105 -2 V
+106 -1 V
+105 -2 V
+106 -1 V
+105 -2 V
+106 -1 V
+105 -1 V
+106 -2 V
+105 -1 V
+106 -1 V
+105 -1 V
+105 -1 V
+106 -1 V
+105 -1 V
+106 -1 V
+105 -1 V
+106 -1 V
+105 -1 V
+106 -1 V
+105 -1 V
+106 -1 V
+105 -1 V
+105 -1 V
+106 -1 V
+105 0 V
+106 -1 V
+105 -1 V
+106 -1 V
+105 0 V
+106 -1 V
+105 -1 V
+106 0 V
+105 -1 V
+105 -1 V
+106 0 V
+105 -1 V
+106 0 V
+105 -1 V
+106 -1 V
+105 0 V
+106 -1 V
+105 0 V
+106 -1 V
+105 0 V
+105 -1 V
+106 0 V
+105 -1 V
+106 0 V
+105 -1 V
+106 0 V
stroke
1.000 UL
LTb
-1720 8590 N
-0 -7310 V
-11958 0 V
-0 7310 V
--11958 0 V
+2200 8592 N
+0 -7312 V
+11600 0 V
+0 7312 V
+-11600 0 V
Z stroke
1.000 UP
1.000 UL
View
10 benchmark/leveldb/results/large-ratio/parse/run-predict.sh
@@ -35,12 +35,12 @@ set key
set xlabel "Ratio"
set ylabel "Throughput (mb/sec)"
-plot 'mris_ratio_thput.dat' using 1:3 w points pt 20 title "benchmarked SSD", \
+plot 'mris_ratio_thput.dat' using 1:6 w points pt 20 title "benchmarked Hybrid", \
+ 1000000.0*(x*8 + 128)/(1024*($tsf * x + $tlh)) lw 3 title "predicted Hybrid", \
+ '' using 1:3 w points pt 4 title "benchmarked SSD", \
1000000.0*(x*8 + 128)/(1024*($tsf * x + $tlf)) lw 3 title "predicted SSD", \
- '' using 1:9 w points pt 20 title "benchmarked SATA", \
- 1000000.0*(x*8 + 128)/(1024*($tlf * x + $tlh)) lw 3 title "predicted SATA", \
- '' using 1:6 w points pt 20 title "benchmarked Hybrid", \
- 1000000.0*(x*8 + 128)/(1024*($tsf * x + $tlh)) lw 3 title "predicted Hybrid"
+ '' using 1:9 w points pt 13 title "benchmarked SATA", \
+ 1000000.0*(x*8 + 128)/(1024*($tlf * x + $tlh)) lw 3 lc rgb "black" title "predicted SATA"
EOF
gnuplot plot.p
View
13 doc/report/eval.tex
@@ -339,22 +339,23 @@ \subsection{MRIS Read}
However, for Hybrid, the throughputs in Figure~\ref{fig:mrismbsec} are
relatively stable. Derived from (\ref{eqn:hybridops}), the mb/sec of
-Hybrid is
+Hybrid can be expressed in
\begin{equation}
\label{eqn:hybridthput}
1000000 \frac{ratio * small + large}{t_{SF} * ratio + t_{LH}} .
\end{equation}
-The predicted mb/sec results, along with the benchmarked mb/sec
-results, are presented in Figure~\ref{fig:thputpred}. We observed that
-there exist significant discrepancy when ratio is small. This is
-something we need to further investigate.
+Similarly, we can predict the mb/sec of SSD and SATA. The predicted
+mb/sec results, along with the benchmarked mb/sec results, are
+presented in Figure~\ref{fig:thputpred}. We observed that there exists
+significant discrepancy when ratio is small. This is something we need
+to further investigate.
\begin{figure}[t]
\begin{centering}
\epsfig{file=figures/ratio_thput_predict.eps,width=\linewidth}
-\caption{Read performance of Hybrid.}
+\caption{Predicted and benchmarked read performance (mb/sec).}
\label{fig:thputpred}
\end{centering}
\end{figure}
View
906 doc/report/figures/ratio_thput_predict.eps
@@ -1,7 +1,7 @@
%!PS-Adobe-2.0 EPSF-2.0
%%Title: ratio_thput_predict.eps
-%%Creator: gnuplot 4.4 patchlevel 3
-%%CreationDate: Fri Dec 14 01:31:25 2012
+%%Creator: gnuplot 4.2 patchlevel 6
+%%CreationDate: Fri Dec 14 11:29:50 2012
%%DocumentFonts: (atend)
%%BoundingBox: 50 50 770 503
%%EndComments
@@ -9,8 +9,8 @@
/gnudict 256 dict def
gnudict begin
%
-% The following true/false flags may be edited by hand if desired.
-% The unit line width and grayscale image gamma correction may also be changed.
+% The following 6 true/false flags may be edited by hand if required
+% The unit line width may also be changed
%
/Color true def
/Blacktext false def
@@ -19,11 +19,9 @@ gnudict begin
/Landscape false def
/Level1 false def
/Rounded false def
-/ClipToBoundingBox false def
/TransparentPatterns false def
/gnulinewidth 5.000 def
/userlinewidth gnulinewidth def
-/Gamma 1.0 def
%
/vshift -133 def
/dl1 {
@@ -46,24 +44,16 @@ systemdict /pdfmark known not {
SDict begin [
/Title (ratio_thput_predict.eps)
/Subject (gnuplot plot)
- /Creator (gnuplot 4.4 patchlevel 3)
- /Author (ming)
+ /Creator (gnuplot 4.2 patchlevel 6 )
+ /Author (Ming Chen)
% /Producer (gnuplot)
% /Keywords ()
- /CreationDate (Fri Dec 14 01:31:25 2012)
+ /CreationDate (Fri Dec 14 11:29:50 2012)
/DOCINFO pdfmark
end
} ifelse
-/doclip {
- ClipToBoundingBox {
- newpath 50 50 moveto 770 50 lineto 770 503 lineto 50 503 lineto closepath
- clip
- } if
-} def
-%
-% Gnuplot Prolog Version 4.4 (August 2010)
%
-%/SuppressPDFMark true def
+% Gnuplot Prolog Version 4.2 (August 2006)
%
/M {moveto} bind def
/L {lineto} bind def
@@ -73,8 +63,6 @@ end
/Z {closepath} bind def
/C {setrgbcolor} bind def
/f {rlineto fill} bind def
-/g {setgray} bind def
-/Gshow {show} def % May be redefined later in the file to support UTF-8
/vpt2 vpt 2 mul def
/hpt2 hpt 2 mul def
/Lshow {currentpoint stroke M 0 vshift R
@@ -95,7 +83,6 @@ end
dup 1 lt {pop 1} if 10 mul /udl exch def} def
/PL {stroke userlinewidth setlinewidth
Rounded {1 setlinejoin 1 setlinecap} if} def
-3.8 setmiterlimit
% Default Line colors
/LCw {1 1 1} def
/LCb {0 0 0} def
@@ -437,7 +424,6 @@ end
%%EndProlog
gnudict begin
gsave
-doclip
50 50 translate
0.050 0.050 scale
0 setgray
@@ -447,626 +433,614 @@ newpath
LTb
1.000 UL
LTa
-1720 1280 M
-11958 0 V
+2200 1280 M
+11600 0 V
stroke
LTb
-1720 1280 M
+2200 1280 M
63 0 V
-11895 0 R
+11537 0 R
-63 0 V
--12135 0 R
+-11777 0 R
( 0) Rshow
1.000 UL
LTb
1.000 UL
LTa
-1720 2092 M
-11958 0 V
+2200 2092 M
+11600 0 V
stroke
LTb
-1720 2092 M
+2200 2092 M
63 0 V
-11895 0 R
+11537 0 R
-63 0 V
--12135 0 R
+-11777 0 R
( 2) Rshow
1.000 UL
LTb
1.000 UL
LTa
-1720 2904 M
-11958 0 V
+2200 2905 M
+11600 0 V
stroke
LTb
-1720 2904 M
+2200 2905 M
63 0 V
-11895 0 R
+11537 0 R
-63 0 V
--12135 0 R
+-11777 0 R
( 4) Rshow
1.000 UL
LTb
1.000 UL
LTa
-1720 3717 M
-11958 0 V
+2200 3717 M
+11600 0 V
stroke
LTb
-1720 3717 M
+2200 3717 M
63 0 V
-11895 0 R
+11537 0 R
-63 0 V
--12135 0 R
+-11777 0 R
( 6) Rshow
1.000 UL
LTb
1.000 UL
LTa
-1720 4529 M
-11958 0 V
+2200 4530 M
+11600 0 V
stroke
LTb
-1720 4529 M
+2200 4530 M
63 0 V
-11895 0 R
+11537 0 R
-63 0 V
--12135 0 R
+-11777 0 R
( 8) Rshow
1.000 UL
LTb
1.000 UL
LTa
-1720 5341 M
-11958 0 V
+2200 5342 M
+11600 0 V
stroke
LTb
-1720 5341 M
+2200 5342 M
63 0 V
-11895 0 R
+11537 0 R
-63 0 V
--12135 0 R
+-11777 0 R
( 10) Rshow
1.000 UL
LTb
1.000 UL
LTa
-1720 6153 M
-5895 0 V
+2200 6155 M
+5537 0 V
5823 0 R
240 0 V
stroke
LTb
-1720 6153 M
+2200 6155 M
63 0 V
-11895 0 R
+11537 0 R
-63 0 V
--12135 0 R
+-11777 0 R
( 12) Rshow
1.000 UL
LTb
1.000 UL
LTa
-1720 6966 M
-5895 0 V
+2200 6967 M
+5537 0 V
5823 0 R
240 0 V
stroke
LTb
-1720 6966 M
+2200 6967 M
63 0 V
-11895 0 R
+11537 0 R
-63 0 V
--12135 0 R
+-11777 0 R
( 14) Rshow
1.000 UL
LTb
1.000 UL
LTa
-1720 7778 M
-5895 0 V
+2200 7780 M
+5537 0 V
5823 0 R
240 0 V
stroke
LTb
-1720 7778 M
+2200 7780 M
63 0 V
-11895 0 R
+11537 0 R
-63 0 V
--12135 0 R
+-11777 0 R
( 16) Rshow
1.000 UL
LTb
1.000 UL
LTa
-1720 8590 M
-11958 0 V
+2200 8592 M
+11600 0 V
stroke
LTb
-1720 8590 M
+2200 8592 M
63 0 V
-11895 0 R
+11537 0 R
-63 0 V
--12135 0 R
+-11777 0 R
( 18) Rshow
1.000 UL
LTb
-1720 1280 M
+2200 1280 M
0 63 V
-0 7247 R
+0 7249 R
0 -63 V
-0 -7647 R
+0 -7649 R
( 0) Cshow
1.000 UL
LTb
-3428 1280 M
+3857 1280 M
0 63 V
-0 7247 R
+0 7249 R
0 -63 V
-0 -7647 R
+0 -7649 R
( 10) Cshow
1.000 UL
LTb
-5137 1280 M
+5514 1280 M
0 63 V
-0 7247 R
+0 7249 R
0 -63 V
-0 -7647 R
+0 -7649 R
( 20) Cshow
1.000 UL
LTb
-6845 1280 M
+7171 1280 M
0 63 V
-0 7247 R
+0 7249 R
0 -63 V
-0 -7647 R
+0 -7649 R
( 30) Cshow
1.000 UL
LTb
-8553 1280 M
+8829 1280 M
0 63 V
-0 7247 R
+0 7249 R
0 -63 V
-0 -7647 R
+0 -7649 R
( 40) Cshow
1.000 UL
LTb
-10261 1280 M
+10486 1280 M
0 63 V
-0 7247 R
+0 7249 R
0 -63 V
-0 -7647 R
+0 -7649 R
( 50) Cshow
1.000 UL
LTb
-11970 1280 M
+12143 1280 M
0 63 V
-0 7247 R
+0 7249 R
0 -63 V
-0 -7647 R
+0 -7649 R
( 60) Cshow
1.000 UL
LTb
-13678 1280 M
+13800 1280 M
0 63 V
-0 7247 R
+0 7249 R
0 -63 V
-0 -7647 R
+0 -7649 R
( 70) Cshow
1.000 UL
LTb
1.000 UL
LTb
-1720 8590 N
-0 -7310 V
-11958 0 V
-0 7310 V
--11958 0 V
+2200 8592 N
+0 -7312 V
+11600 0 V
+0 7312 V
+-11600 0 V
Z stroke
LCb setrgbcolor
-320 4935 M
-currentpoint gsave translate -270 rotate 0 0 M
+800 4936 M
+currentpoint gsave translate 90 rotate 0 0 M
(Throughput \(mb/sec\)) Cshow
grestore
LTb
LCb setrgbcolor
-7699 280 M
+8000 280 M
(Ratio) Cshow
LTb
1.000 UP
1.000 UL
LTb
-% Begin plot #1
1.000 UP
1.000 UL
LT0
-LCb setrgbcolor
-11935 8327 M
-(benchmarked SSD) Rshow
+LTb
+12057 8329 M
+(benchmarked Hybrid) Rshow
LT0
-1891 7818 C4
-2062 6815 C4
-2403 6153 C4
-3087 5341 C4
-4453 4813 C4
-7187 4163 C4
-12653 3769 C4
-12686 8327 C4
-% End plot #1
-% Begin plot #2
+2366 3218 C4
+2531 3108 C4
+2863 2986 C4
+3526 3039 C4
+4851 3067 C4
+7503 3108 C4
+12806 3230 C4
+12808 8329 C4
3.000 UL
LT1
-LCb setrgbcolor
-11935 7927 M
-(predicted SSD) Rshow
+LTb
+12057 7929 M
+(predicted Hybrid) Rshow
LT1
-12175 7927 M
+12297 7929 M
1023 0 V
-1891 4944 M
-109 -92 V
-108 -81 V
-109 -72 V
-109 -66 V
-108 -58 V
-109 -54 V
-109 -48 V
-109 -45 V
-108 -41 V
-109 -38 V
-109 -35 V
-108 -32 V
-109 -30 V
-109 -28 V
-108 -26 V
-109 -25 V
-109 -23 V
-109 -22 V
-108 -20 V
-109 -19 V
-109 -19 V
-108 -17 V
-109 -16 V
-109 -16 V
-109 -15 V
-108 -14 V
-109 -13 V
-109 -13 V
-108 -12 V
-109 -12 V
-109 -11 V
-109 -11 V
-108 -10 V
-109 -10 V
-109 -9 V
-108 -9 V
-109 -9 V
-109 -9 V
-108 -8 V
-109 -8 V
-109 -7 V
-109 -7 V
-108 -7 V
-109 -7 V
-109 -7 V
-108 -6 V
-109 -6 V
-109 -6 V
-109 -6 V
-108 -6 V
-109 -5 V
-109 -5 V
-108 -6 V
-109 -5 V
-109 -4 V
-109 -5 V
-108 -5 V
-109 -4 V
-109 -4 V
-108 -5 V
-109 -4 V
-109 -4 V
-109 -4 V
-108 -3 V
-109 -4 V
-109 -4 V
-108 -3 V
-109 -4 V
-109 -3 V
-108 -3 V
-109 -4 V
-109 -3 V
-109 -3 V
-108 -3 V
-109 -3 V
-109 -3 V
-108 -2 V
-109 -3 V
-109 -3 V
-109 -2 V
-108 -3 V
-109 -3 V
-109 -2 V
-108 -2 V
-109 -3 V
-109 -2 V
-109 -2 V
-108 -3 V
-109 -2 V
-109 -2 V
-108 -2 V
-109 -2 V
-109 -2 V
-108 -2 V
-109 -2 V
-109 -2 V
-109 -2 V
-108 -2 V
-109 -2 V
-% End plot #2
-% Begin plot #3
+2366 2661 M
+105 17 V
+106 18 V
+105 16 V
+106 15 V
+105 15 V
+105 15 V
+106 13 V
+105 14 V
+106 12 V
+105 12 V
+106 12 V
+105 11 V
+106 11 V
+105 11 V
+106 10 V
+105 9 V
+105 10 V
+106 9 V
+105 9 V
+106 8 V
+105 8 V
+106 8 V
+105 8 V
+106 8 V
+105 7 V
+106 7 V
+105 7 V
+105 6 V
+106 7 V
+105 6 V
+106 6 V
+105 6 V
+106 6 V
+105 5 V
+106 6 V
+105 5 V
+106 5 V
+105 5 V
+105 5 V
+106 5 V
+105 5 V
+106 5 V
+105 4 V
+106 4 V
+105 5 V
+106 4 V
+105 4 V
+106 4 V
+105 4 V
+105 4 V
+106 3 V
+105 4 V
+106 4 V
+105 3 V
+106 3 V
+105 4 V
+106 3 V
+105 3 V
+106 3 V
+105 4 V
+105 3 V
+106 3 V
+105 3 V
+106 2 V
+105 3 V
+106 3 V
+105 3 V
+106 2 V
+105 3 V
+106 2 V
+105 3 V
+105 2 V
+106 3 V
+105 2 V
+106 3 V
+105 2 V
+106 2 V
+105 2 V
+106 3 V
+105 2 V
+106 2 V
+105 2 V
+105 2 V
+106 2 V
+105 2 V
+106 2 V
+105 2 V
+106 2 V
+105 2 V
+106 2 V
+105 1 V
+106 2 V
+105 2 V
+105 2 V
+106 1 V
+105 2 V
+106 2 V
+105 1 V
+106 2 V
1.000 UP
stroke
1.000 UL
LT2
-LCb setrgbcolor
-11935 7527 M
-(benchmarked SATA) Rshow
+LTb
+12057 7529 M
+(benchmarked SSD) Rshow
LT2
-1891 2620 C4
-2062 2255 C4
-2403 2011 C4
-3087 1767 C4
-4453 1658 C4
-7187 1605 C4
-12653 1564 C4
-12686 7527 C4
-% End plot #3
-% Begin plot #4
+2366 7820 Box
+2531 6817 Box
+2863 6155 Box
+3526 5342 Box
+4851 4814 Box
+7503 4164 Box
+12806 3770 Box
+12808 7529 Box
3.000 UL
LT3
-LCb setrgbcolor
-11935 7127 M
-(predicted SATA) Rshow
+LTb
+12057 7129 M
+(predicted SSD) Rshow
LT3
-12175 7127 M
+12297 7129 M
1023 0 V
-1891 2341 M
-109 -117 V
-108 -87 V
-109 -69 V
-109 -54 V
-108 -45 V
-109 -37 V
-109 -32 V
-109 -27 V
-108 -24 V
-109 -20 V
-109 -18 V
-108 -17 V
-109 -14 V
-109 -13 V
-108 -12 V
-109 -10 V
-109 -10 V
-109 -9 V
-108 -8 V
-109 -8 V
-109 -7 V
-108 -7 V
-109 -6 V
-109 -5 V
-109 -6 V
-108 -5 V
-109 -4 V
-109 -5 V
-108 -4 V
-109 -4 V
-109 -4 V
-109 -3 V
-108 -3 V
-109 -4 V
-109 -3 V
-108 -2 V
-109 -3 V
-109 -3 V
-108 -2 V
-109 -3 V
-109 -2 V
-109 -2 V
-108 -2 V
-109 -2 V
-109 -2 V
-108 -2 V
-109 -2 V
-109 -2 V
-109 -1 V
-108 -2 V
-109 -1 V
-109 -2 V
-108 -1 V
-109 -2 V
-109 -1 V
-109 -1 V
-108 -2 V
-109 -1 V
-109 -1 V
-108 -1 V
-109 -1 V
-109 -1 V
-109 -2 V
-108 -1 V
-109 -1 V
-109 -1 V
-108 0 V
-109 -1 V
-109 -1 V
-108 -1 V
-109 -1 V
-109 -1 V
-109 -1 V
-108 0 V
-109 -1 V
-109 -1 V
-108 -1 V
-109 0 V
-109 -1 V
-109 -1 V
-108 0 V
-109 -1 V
-109 -1 V
-108 0 V
-109 -1 V
-109 0 V
-109 -1 V
-108 -1 V
-109 0 V
-109 -1 V
-108 0 V
-109 -1 V
-109 0 V
-108 -1 V
-109 0 V
-109 -1 V
-109 0 V
-108 -1 V
-109 0 V
-% End plot #4
-% Begin plot #5
+2366 4945 M
+105 -92 V
+106 -81 V
+105 -72 V
+106 -66 V
+105 -59 V
+105 -53 V
+106 -49 V
+105 -44 V
+106 -41 V
+105 -38 V
+106 -35 V
+105 -32 V
+106 -30 V
+105 -28 V
+106 -27 V
+105 -24 V
+105 -23 V
+106 -22 V
+105 -20 V
+106 -20 V
+105 -18 V
+106 -17 V
+105 -17 V
+106 -15 V
+105 -15 V
+106 -14 V
+105 -13 V
+105 -13 V
+106 -12 V
+105 -12 V
+106 -11 V
+105 -11 V
+106 -10 V
+105 -10 V
+106 -10 V
+105 -9 V
+106 -8 V
+105 -9 V
+105 -8 V
+106 -8 V
+105 -7 V
+106 -8 V
+105 -7 V
+106 -7 V
+105 -6 V
+106 -7 V
+105 -6 V
+106 -6 V
+105 -5 V
+105 -6 V
+106 -6 V
+105 -5 V
+106 -5 V
+105 -5 V
+106 -5 V
+105 -4 V
+106 -5 V
+105 -4 V
+106 -5 V
+105 -4 V
+105 -4 V
+106 -4 V
+105 -4 V
+106 -4 V
+105 -4 V
+106 -3 V
+105 -4 V
+106 -3 V
+105 -3 V
+106 -4 V
+105 -3 V
+105 -3 V
+106 -3 V
+105 -3 V
+106 -3 V
+105 -3 V
+106 -3 V
+105 -2 V
+106 -3 V
+105 -3 V
+106 -2 V
+105 -3 V
+105 -2 V
+106 -3 V
+105 -2 V
+106 -2 V
+105 -3 V
+106 -2 V
+105 -2 V
+106 -2 V
+105 -2 V
+106 -3 V
+105 -2 V
+105 -2 V
+106 -2 V
+105 -1 V
+106 -2 V
+105 -2 V
+106 -2 V
1.000 UP
stroke
1.000 UL
LT4
-LCb setrgbcolor
-11935 6727 M
-(benchmarked Hybrid) Rshow
+LTb
+12057 6729 M
+(benchmarked SATA) Rshow
LT4
-1891 3217 C4
-2062 3108 C4
-2403 2986 C4
-3087 3038 C4
-4453 3067 C4
-7187 3108 C4
-12653 3229 C4
-12686 6727 C4
-% End plot #5
-% Begin plot #6
+2366 2621 DiaF
+2531 2255 DiaF
+2863 2011 DiaF
+3526 1767 DiaF
+4851 1658 DiaF
+7503 1605 DiaF
+12806 1564 DiaF
+12808 6729 DiaF
3.000 UL
LT5
-LCb setrgbcolor
-11935 6327 M
-(predicted Hybrid) Rshow
+0.00 0.00 0.00 C LTb
+12057 6329 M
+(predicted SATA) Rshow
LT5
-12175 6327 M
+0.00 0.00 0.00 C 12297 6329 M
1023 0 V
-1891 2660 M
-109 18 V
-108 17 V
-109 16 V
-109 16 V
-108 15 V
-109 14 V
-109 14 V
-109 13 V
-108 13 V
-109 12 V
-109 12 V
-108 11 V
-109 11 V
-109 10 V
-108 10 V
-109 10 V
-109 9 V
-109 9 V
-108 9 V
-109 9 V
-109 8 V
-108 8 V
-109 8 V
-109 7 V
-109 7 V
-108 7 V
-109 7 V
-109 7 V
-108 6 V
-109 7 V
-109 6 V
-109 6 V
-108 5 V
-109 6 V
-109 5 V
-108 6 V
-109 5 V
-109 5 V
-108 5 V
-109 5 V
-109 4 V
-109 5 V
-108 5 V
-109 4 V
-109 4 V
-108 4 V
-109 4 V
-109 4 V
-109 4 V
-108 4 V
-109 4 V
-109 3 V
-108 4 V
-109 4 V
-109 3 V
-109 3 V
-108 4 V
-109 3 V
-109 3 V
-108 3 V
-109 3 V
-109 3 V
-109 3 V
-108 3 V
-109 3 V
-109 2 V
-108 3 V
-109 3 V
-109 2 V
-108 3 V
-109 2 V
-109 3 V
-109 2 V
-108 3 V
-109 2 V
-109 2 V
-108 3 V
-109 2 V
-109 2 V
-109 2 V
-108 2 V
-109 2 V
-109 3 V
-108 2 V
-109 2 V
-109 1 V
-109 2 V
-108 2 V
-109 2 V
-109 2 V
-108 2 V
-109 2 V
-109 1 V
-108 2 V
-109 2 V
-109 1 V
-109 2 V
-108 2 V
-109 1 V
-% End plot #6
+2366 2341 M
+105 -117 V
+106 -87 V
+105 -69 V
+106 -54 V
+105 -45 V