Исправленный gnu3d.dem для Debian squeeze
Решил воспользоваться iozone в
# uname -a Linux megabook 2.6.37.314032011.0 #1 SMP PREEMPT Sun Mar 13 09:55:40 EET 2011 i686 GNU/Linux
./Generate_Graphs /mnt/hda1/iozone_outpat
1 2 3 4 5 | "gnu3d.dem", line 24: warning: No usable data in this plot to auto-scale axis range splot 'write/iozone_gen_out.gnuplot' title "Write performance" ^ "gnu3d.dem", line 24: All points x value undefined |
для починки нашёл патч, но так же выкладываю весь файл
патч:
cat gnu3d-dem.patch
Subject: Fix Generate_Graph
Author: Steve Robbins <smr@debian.org>
Forwarded: no
Private bug report from Folkert van Heusden pointed
out that the gnuplot "set data style lines" command
now needs to be "set style data lines".
In addition, the xrange setting seems to filter out
all the data points, resulting in error message:
debian:/iz# sh Generate_Graphs /iozone_results-az.txt
"gnu3d.dem", line 25: warning: No usable data in this plot to auto-scale
axis range
splot 'write/iozone_gen_out.gnuplot' title "Write performance"
^
"gnu3d.dem", line 25: All points z value undefined
--- gnu3d.dem
+++ gnu3d.dem
@@ -16,11 +16,10 @@
set logscale x 2
set logscale y 2
set autoscale z
-set xrange [2.**5:2.**24]
set xlabel "File size in 2^n KBytes"
set ylabel "Record size in 2^n Kbytes"
set zlabel "Kbytes/sec"
-set data style lines
+set style data lines
set dgrid3d 80,80,3
splot 'write/iozone_gen_out.gnuplot' title "Write performance"
pause -1 "Hit return to continue"
@@ -37,11 +36,10 @@
set logscale x 2
set logscale y 2
set autoscale z
-set xrange [2.**5:2.**24]
set xlabel "File size in 2^n KBytes"
set ylabel "Record size in 2^n Kbytes"
set zlabel "Kbytes/sec"
-set data style lines
+set style data lines
set dgrid3d 80,80,3
splot 'rewrite/iozone_gen_out.gnuplot' using 1:2:3 title "ReWrite performance" with lines
pause -1 "Hit return to continue"
@@ -58,11 +56,10 @@
set logscale x 2
set logscale y 2
set autoscale z
-set xrange [2.**5:2.**24]
set xlabel "File size in 2^n KBytes"
set ylabel "Record size in 2^n Kbytes"
set zlabel "Kbytes/sec"
-set data style lines
+set style data lines
set dgrid3d 80,80,3
splot 'read/iozone_gen_out.gnuplot' using 1:2:3 title "Read performance" with lines
pause -1 "Hit return to continue"
@@ -80,11 +77,10 @@
set logscale x 2
set logscale y 2
set autoscale z
-set xrange [2.**5:2.**24]
set xlabel "File size in 2^n KBytes"
set ylabel "Record size in 2^n Kbytes"
set zlabel "Kbytes/sec"
-set data style lines
+set style data lines
set dgrid3d 80,80,3
splot 'reread/iozone_gen_out.gnuplot' using 1:2:3 title "Reread performance" with lines
pause -1 "Hit return to continue"
@@ -101,11 +97,10 @@
set logscale x 2
set logscale y 2
set autoscale z
-set xrange [2.**5:2.**24]
set xlabel "File size in 2^n KBytes"
set ylabel "Record size in 2^n Kbytes"
set zlabel "Kbytes/sec"
-set data style lines
+set style data lines
set dgrid3d 80,80,3
splot 'randread/iozone_gen_out.gnuplot' using 1:2:3 title "Random read performance" with lines
pause -1 "Hit return to continue"
@@ -122,11 +117,10 @@
set logscale x 2
set logscale y 2
set autoscale z
-set xrange [2.**5:2.**24]
set xlabel "File size in 2^n KBytes"
set ylabel "Record size in 2^n Kbytes"
set zlabel "Kbytes/sec"
-set data style lines
+set style data lines
set dgrid3d 80,80,3
splot 'randwrite/iozone_gen_out.gnuplot' using 1:2:3 title "Random write performance" with lines
pause -1 "Hit return to continue"
@@ -143,11 +137,10 @@
set logscale x 2
set logscale y 2
set autoscale z
-set xrange [2.**5:2.**24]
set xlabel "File size in 2^n KBytes"
set ylabel "Record size in 2^n Kbytes"
set zlabel "Kbytes/sec"
-set data style lines
+set style data lines
set dgrid3d 80,80,3
splot 'bkwdread/iozone_gen_out.gnuplot' using 1:2:3 title "Read Backwards performance" with lines
pause -1 "Hit return to continue"
@@ -164,11 +157,10 @@
set logscale x 2
set logscale y 2
set autoscale z
-set xrange [2.**5:2.**24]
set xlabel "File size in 2^n KBytes"
set ylabel "Record size in 2^n Kbytes"
set zlabel "Kbytes/sec"
-set data style lines
+set style data lines
set dgrid3d 80,80,3
splot 'recrewrite/iozone_gen_out.gnuplot' using 1:2:3 title "Record rewrite performance" with lines
pause -1 "Hit return to continue"
@@ -185,11 +177,10 @@
set logscale x 2
set logscale y 2
set autoscale z
-set xrange [2.**5:2.**24]
set xlabel "File size in 2^n KBytes"
set ylabel "Record size in 2^n Kbytes"
set zlabel "Kbytes/sec"
-set data style lines
+set style data lines
set dgrid3d 80,80,3
splot 'strideread/iozone_gen_out.gnuplot' using 1:2:3 title "Stride read performance" with lines
pause -1 "Hit return to continue"
@@ -206,11 +197,10 @@
set logscale x 2
set logscale y 2
set autoscale z
-set xrange [2.**5:2.**24]
set xlabel "File size in 2^n KBytes"
set ylabel "Record size in 2^n Kbytes"
set zlabel "Kbytes/sec"
-set data style lines
+set style data lines
set dgrid3d 80,80,3
splot 'fwrite/iozone_gen_out.gnuplot' using 1:2:3 title "Fwrite performance" with lines
pause -1 "Hit return to continue"
@@ -227,11 +217,10 @@
set logscale x 2
set logscale y 2
set autoscale z
-set xrange [2.**5:2.**24]
set xlabel "File size in 2^n KBytes"
set ylabel "Record size in 2^n Kbytes"
set zlabel "Kbytes/sec"
-set data style lines
+set style data lines
set dgrid3d 80,80,3
splot 'frewrite/iozone_gen_out.gnuplot' using 1:2:3 title "Frewrite performance" with lines
pause -1 "Hit return to continue"
@@ -248,11 +237,10 @@
set logscale x 2
set logscale y 2
set autoscale z
-set xrange [2.**5:2.**24]
set xlabel "File size in 2^n KBytes"
set ylabel "Record size in 2^n Kbytes"
set zlabel "Kbytes/sec"
-set data style lines
+set style data lines
set dgrid3d 80,80,3
splot 'fread/iozone_gen_out.gnuplot' using 1:2:3 title "Fread performance" with lines
pause -1 "Hit return to continue"
@@ -269,11 +257,10 @@
set logscale x 2
set logscale y 2
set autoscale z
-set xrange [2.**5:2.**24]
set xlabel "File size in 2^n KBytes"
set ylabel "Record size in 2^n Kbytes"
set zlabel "Kbytes/sec"
-set data style lines
+set style data lines
set dgrid3d 80,80,3
splot 'freread/iozone_gen_out.gnuplot' using 1:2:3 title "Freread performance" with lines
pause -1 "Hit return to exit"1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 | # # $Id: 3D plot of performance # # Processes files that were created by Generate_Graphs # and displays the results. Also, saves a postscript copy. # # Don Capps set terminal x11 set title "Iozone performance" set grid lt 2 lw 1 set surface set parametric set xtics set ytics set logscale x 2 set logscale y 2 set autoscale z set xlabel "File size in 2^n KBytes" set ylabel "Record size in 2^n Kbytes" set zlabel "Kbytes/sec" set style data lines set dgrid3d 80,80,3 splot 'write/iozone_gen_out.gnuplot' title "Write performance" pause -1 "Hit return to continue" set terminal postscript color set output "write/write.ps" splot 'write/iozone_gen_out.gnuplot' title "Write performance" set terminal x11 set title "Iozone performance" set grid lt 2 lw 1 set surface set xtics set ytics set logscale x 2 set logscale y 2 set autoscale z set xlabel "File size in 2^n KBytes" set ylabel "Record size in 2^n Kbytes" set zlabel "Kbytes/sec" set style data lines set dgrid3d 80,80,3 splot 'rewrite/iozone_gen_out.gnuplot' using 1:2:3 title "ReWrite performance" with lines pause -1 "Hit return to continue" set terminal postscript color set output "rewrite/rewrite.ps" splot 'rewrite/iozone_gen_out.gnuplot' using 1:2:3 title "ReWrite performance" with lines set terminal x11 set title "Iozone performance" set grid lt 2 lw 1 set surface set xtics set ytics set logscale x 2 set logscale y 2 set autoscale z set xlabel "File size in 2^n KBytes" set ylabel "Record size in 2^n Kbytes" set zlabel "Kbytes/sec" set style data lines set dgrid3d 80,80,3 splot 'read/iozone_gen_out.gnuplot' using 1:2:3 title "Read performance" with lines pause -1 "Hit return to continue" set terminal postscript color set output "read/read.ps" splot 'read/iozone_gen_out.gnuplot' using 1:2:3 title "Read performance" with lines set terminal x11 set title "Iozone performance" set grid lt 2 lw 1 set surface set xtics set ytics set logscale x 2 set logscale y 2 set autoscale z set xlabel "File size in 2^n KBytes" set ylabel "Record size in 2^n Kbytes" set zlabel "Kbytes/sec" set style data lines set dgrid3d 80,80,3 splot 'reread/iozone_gen_out.gnuplot' using 1:2:3 title "Reread performance" with lines pause -1 "Hit return to continue" set terminal postscript color set output "reread/reread.ps" splot 'reread/iozone_gen_out.gnuplot' using 1:2:3 title "Reread performance" with lines set terminal x11 set title "Iozone performance" set grid lt 2 lw 1 set surface set xtics set ytics set logscale x 2 set logscale y 2 set autoscale z set xlabel "File size in 2^n KBytes" set ylabel "Record size in 2^n Kbytes" set zlabel "Kbytes/sec" set style data lines set dgrid3d 80,80,3 splot 'randread/iozone_gen_out.gnuplot' using 1:2:3 title "Random read performance" with lines pause -1 "Hit return to continue" set terminal postscript color set output "randread/randread.ps" splot 'randread/iozone_gen_out.gnuplot' using 1:2:3 title "Random read performance" with lines set terminal x11 set title "Iozone performance" set grid lt 2 lw 1 set surface set xtics set ytics set logscale x 2 set logscale y 2 set autoscale z set xlabel "File size in 2^n KBytes" set ylabel "Record size in 2^n Kbytes" set zlabel "Kbytes/sec" set style data lines set dgrid3d 80,80,3 splot 'randwrite/iozone_gen_out.gnuplot' using 1:2:3 title "Random write performance" with lines pause -1 "Hit return to continue" set terminal postscript color set output "randwrite/randwrite.ps" splot 'randwrite/iozone_gen_out.gnuplot' using 1:2:3 title "Random write performance" with lines set terminal x11 set title "Iozone performance" set grid lt 2 lw 1 set surface set xtics set ytics set logscale x 2 set logscale y 2 set autoscale z set xlabel "File size in 2^n KBytes" set ylabel "Record size in 2^n Kbytes" set zlabel "Kbytes/sec" set style data lines set dgrid3d 80,80,3 splot 'bkwdread/iozone_gen_out.gnuplot' using 1:2:3 title "Read Backwards performance" with lines pause -1 "Hit return to continue" set terminal postscript color set output "bkwdread/bkwdread.ps" splot 'bkwdread/iozone_gen_out.gnuplot' using 1:2:3 title "Read Backwards performance" with lines set terminal x11 set title "Iozone performance" set grid lt 2 lw 1 set surface set xtics set ytics set logscale x 2 set logscale y 2 set autoscale z set xlabel "File size in 2^n KBytes" set ylabel "Record size in 2^n Kbytes" set zlabel "Kbytes/sec" set style data lines set dgrid3d 80,80,3 splot 'recrewrite/iozone_gen_out.gnuplot' using 1:2:3 title "Record rewrite performance" with lines pause -1 "Hit return to continue" set terminal postscript color set output "recrewrite/recrewrite.ps" splot 'recrewrite/iozone_gen_out.gnuplot' using 1:2:3 title "Record rewrite performance" with lines set terminal x11 set title "Iozone performance" set grid lt 2 lw 1 set surface set xtics set ytics set logscale x 2 set logscale y 2 set autoscale z set xlabel "File size in 2^n KBytes" set ylabel "Record size in 2^n Kbytes" set zlabel "Kbytes/sec" set style data lines set dgrid3d 80,80,3 splot 'strideread/iozone_gen_out.gnuplot' using 1:2:3 title "Stride read performance" with lines pause -1 "Hit return to continue" set terminal postscript color set output "strideread/strideread.ps" splot 'strideread/iozone_gen_out.gnuplot' using 1:2:3 title "Stride read performance" with lines set terminal x11 set title "Iozone performance" set grid lt 2 lw 1 set surface set xtics set ytics set logscale x 2 set logscale y 2 set autoscale z set xlabel "File size in 2^n KBytes" set ylabel "Record size in 2^n Kbytes" set zlabel "Kbytes/sec" set style data lines set dgrid3d 80,80,3 splot 'fwrite/iozone_gen_out.gnuplot' using 1:2:3 title "Fwrite performance" with lines pause -1 "Hit return to continue" set terminal postscript color set output "fwrite/fwrite.ps" splot 'fwrite/iozone_gen_out.gnuplot' using 1:2:3 title "Fwrite performance" with lines set terminal x11 set title "Iozone performance" set grid lt 2 lw 1 set surface set xtics set ytics set logscale x 2 set logscale y 2 set autoscale z set xlabel "File size in 2^n KBytes" set ylabel "Record size in 2^n Kbytes" set zlabel "Kbytes/sec" set style data lines set dgrid3d 80,80,3 splot 'frewrite/iozone_gen_out.gnuplot' using 1:2:3 title "Frewrite performance" with lines pause -1 "Hit return to continue" set terminal postscript color set output "frewrite/frewrite.ps" splot 'frewrite/iozone_gen_out.gnuplot' using 1:2:3 title "Frewrite performance" with lines set terminal x11 set title "Iozone performance" set grid lt 2 lw 1 set surface set xtics set ytics set logscale x 2 set logscale y 2 set autoscale z set xlabel "File size in 2^n KBytes" set ylabel "Record size in 2^n Kbytes" set zlabel "Kbytes/sec" set style data lines set dgrid3d 80,80,3 splot 'fread/iozone_gen_out.gnuplot' using 1:2:3 title "Fread performance" with lines pause -1 "Hit return to continue" set terminal postscript color set output "fread/fread.ps" splot 'fread/iozone_gen_out.gnuplot' using 1:2:3 title "Fread performance" with lines set terminal x11 set title "Iozone performance" set grid lt 2 lw 1 set surface set xtics set ytics set logscale x 2 set logscale y 2 set autoscale z set xlabel "File size in 2^n KBytes" set ylabel "Record size in 2^n Kbytes" set zlabel "Kbytes/sec" set style data lines set dgrid3d 80,80,3 splot 'freread/iozone_gen_out.gnuplot' using 1:2:3 title "Freread performance" with lines pause -1 "Hit return to exit" set terminal postscript color set output "freread/freread.ps" splot 'freread/iozone_gen_out.gnuplot' using 1:2:3 title "Freread performance" with lines |
Это интересно:
Как узнать название процессора в linux? Как узнать поддерживает ли ваш компьютер Linux x86_64 — 64bit?
Боремся с ошибками Gtk-WARNING **: cannot open display: :0
thank you!