blob: 7c4904eff27e5765c2dbd0ae536e7c110a9f9a05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
xmax=200000
avx=plots/rate_port.data
noavx=plots/rate_noavx2_port.data
nosimd=plots/rate_nosimd_port.data
out=plots/port.png
gnuplot <<EOF
set terminal pngcairo size 600,400 enhanced font 'Lucida Sans,10' rounded
set logscale x
set xlabel "Entries for each field"
set ylabel "Mpps"
set title 'Single port'
set grid
set key right top
set output '${out}'
plot '${avx}' w l ls 1 t 'AVX2', '${noavx}' w l ls 2 t 'No AVX2', '${nosimd}' w l ls 3 t 'No SIMD'
EOF
|