WIP: manual plot
This commit is contained in:
parent
11601703ce
commit
74f83b5c11
2
garlic/postprocess/filter/fetch
Executable file
2
garlic/postprocess/filter/fetch
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
rsync -a mn1:go/$1 .
|
18
garlic/postprocess/filter/filter
Executable file
18
garlic/postprocess/filter/filter
Executable file
@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
for unit in $1/*; do
|
||||
#echo unit=$unit
|
||||
bs=$(jq ".blocksize" "$unit/garlic_config.json")
|
||||
#echo bs=$bs
|
||||
|
||||
awk '/^time /{print $2}' > time.$bs $unit/stdout.log
|
||||
|
||||
N=$(wc -l "time.$bs" | awk '{print $1}')
|
||||
#echo N=$N
|
||||
|
||||
if [ $N -lt 30 ]; then
|
||||
echo "too few points ($N) in unit $unit"
|
||||
#exit 1
|
||||
fi
|
||||
|
||||
done
|
17
garlic/postprocess/filter/plot.gnuplot
Normal file
17
garlic/postprocess/filter/plot.gnuplot
Normal file
@ -0,0 +1,17 @@
|
||||
set terminal png size 800,800
|
||||
set output 'out.png'
|
||||
|
||||
set xrange [16:1024]
|
||||
set nokey
|
||||
set logscale x 2
|
||||
set logscale y 2
|
||||
set grid
|
||||
|
||||
set xlabel "blocksize"
|
||||
set ylabel "time (s)"
|
||||
|
||||
plot 'time.32' using (32):1 with circles title "32", \
|
||||
'time.64' using (64):1 with circles title "64", \
|
||||
'time.128' using (128):1 with circles title "128", \
|
||||
'time.256' using (256):1 with circles title "256", \
|
||||
'time.512' using (512):1 with circles title "512"
|
Loading…
Reference in New Issue
Block a user