-
Notifications
You must be signed in to change notification settings - Fork 1
/
plot.gnu
195 lines (184 loc) · 7.39 KB
/
plot.gnu
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
set terminal postscript eps enhanced color size 12cm,6.4cm fontfile "/usr/share/texmf/fonts/type1/public/lm/lmr17.pfb" "LMRoman17,17"
set title "SMhasher speed tests (higher is better)"
set ylabel "bytes per cycle"
set key noautotitle
set xtics rotate by -60
set style fill solid noborder
set boxwidth 0.75
set rmargin 5
set style data histogram
set style histogram rowstacked
unset logscale y
unset logscale x
set grid
unset key
set output 'smhasher-speed.eps'
set yrange[8:*]
set style fill
plot 'smhasher-speed.txt' using 4:xtic(1), '' using 3, '' using 2
unset style
set terminal postscript eps enhanced color size 9.6cm,6.4cm fontfile "/usr/share/texmf/fonts/type1/public/lm/lmr17.pfb" "LMRoman17,17"
set output 'speed-v-epsilon.eps'
set ylabel 'bytes per nanosecond'
set xlabel 'output entropy'
set title "Output entropy vs. B/ns (upper right is better)"
unset key
set logscale x 2
unset logscale y
unset grid
set xrange[2**20:2**160]
set yrange[10:70]
unset offsets
set format x '%L'
plot 'points-example.txt' using (1/column(2)):1:3 with labels point pt 7 offset char -1,1, '' using (1/column(5)):4:6 with labels point pt 7 offset char 2,-1
set terminal postscript eps enhanced color size 12cm,6.4cm fontfile "/usr/share/texmf/fonts/type1/public/lm/lmr17.pfb" "LMRoman17,17"
set output 'speed-v-epsilon-amd.eps'
set ylabel 'bytes per nanosecond'
set xlabel 'output entropy'
set title "Output entropy vs. B/ns (upper right is better)"
unset key
set logscale x 2
unset logscale y
set grid
set xrange[2**20:2**160]
set yrange[5:50]
unset offsets
set format x '%L'
plot 'c5a.large-clang-11-925ea6f.txt' using (1/column(2)):1:3 with labels point pt 7 offset char -1,1, '' using (1/column(5)):4:6 with labels point pt 7 offset char 2,-1
set terminal postscript eps enhanced color size 6.4cm,6.4cm fontfile "/usr/share/texmf/fonts/type1/public/lm/lmr17.pfb" "LMRoman17,17"
#set terminal postscript eps enhanced color size 5,5 fontfile "/usr/share/texlive/texmf-dist/fonts/type1/public/libertine/LinLibertineOB.pfb" "LinLibertineOB,29"
unset title
unset offsets
set xlabel 'input length in bytes'
set ylabel 'bytes per nanosecond'
set key top left
set key autotitle columnheader
unset logscale y
set logscale x
unset format y
set format x '10^{%L}'
set grid
set output 'amd-16.eps'
set yrange[*:55]
set xrange[*:*]
plot './c5a.large-clang-11-604af20.txt' using 1:3 with lines, '' using 1:4 pt 6
set terminal postscript eps enhanced color size 6.4cm,6.4cm fontfile "/usr/share/texmf/fonts/type1/public/lm/lmr17.pfb" "LMRoman17,17"
#set terminal postscript eps enhanced color size 5,5 fontfile "/usr/share/texlive/texmf-dist/fonts/type1/public/libertine/LinLibertineOB.pfb" "LinLibertineOB,29"
unset title
unset offsets
set xlabel 'input length in bytes'
unset ylabel
set key top left
set key autotitle columnheader
unset logscale y
set logscale x
unset format y
set format x '10^{%L}'
set grid
set output 'amd-24.eps'
set yrange[*:55]
set xrange[*:*]
plot './c5a.large-clang-11-22bd15d.txt' using 1:4 with lines, './c5a.large-clang-11-22bd15d.txt' using 1:8 pt 6
#plot for [i=3:3] './c5a.large-clang-11-8c4af1f.txt' using 1:i with lines, for [i=7:7] './c5a.large-clang-11-8c4af1f.txt' using 1:i pt 6
# set terminal postscript eps enhanced color size 5,5 fontfile "/usr/share/texlive/texmf-dist/fonts/type1/public/libertine/LinLibertineOB.pfb" "LinLibertineOB,29"
# set title "Input size vs. GB/s (higher is better)"
# unset offsets
# set xlabel 'input length in bytes'
# set ylabel 'billion bytes per second'
# set key top left
# set key autotitle columnheader
# unset logscale y
# set logscale x
# unset format y
# set format x '10^{%L}'
# set grid
# set output 'line-cl-hh24.eps'
# set yrange[*:90]
# set xrange[*:*]
# plot './umash-001.txt' using 1:2 pt 6, '' using 1:3 with lines lw 10, '' using 1:4 with lines
set terminal postscript eps enhanced color size 6.4cm,6.4cm fontfile "/usr/share/texmf/fonts/type1/public/lm/lmr17.pfb" "LMRoman17,17"
#set terminal postscript eps enhanced color size 5,5 fontfile "/usr/share/texlive/texmf-dist/fonts/type1/public/libertine/LinLibertineOB.pfb" "LinLibertineOB,29"
set title 'i7-7800x speed (higher is better)'
unset offsets
set xlabel 'input length in bytes'
set ylabel 'bytes per nanosecond'
set key top left
set key autotitle columnheader
unset logscale y
set logscale x
unset format y
set format x '10^{%L}'
set grid
set output 'line-cl-hh24.eps'
set yrange[*:90]
set xrange[*:*]
plot './adu-full-001.txt' using 1:4 pt 6, '' using 1:11 with lines lw 10, '' using 1:13 with lines
set terminal postscript eps enhanced color size 6.4cm,6.4cm fontfile "/usr/share/texmf/fonts/type1/public/lm/lmr17.pfb" "LMRoman17,17"
#set terminal postscript eps enhanced color size 5,5 fontfile "/usr/share/texlive/texmf-dist/fonts/type1/public/libertine/LinLibertineOB.pfb" "LinLibertineOB,29"
set title 'i7-7800x speed (higher is better)'
unset offsets
set xlabel 'input length in bytes'
set ylabel 'bytes per nanosecond'
set key top left
set key autotitle columnheader
unset logscale y
set logscale x
unset format y
set format x '10^{%L}'
set grid
set output 'line-cl-hh24-floor.eps'
set yrange[*:90]
set xrange[1000:*]
plot './adu-full-001.txt' using 1:4 pt 6, '' using 1:11 with lines lw 10, '' using 1:13 with lines
set terminal postscript eps enhanced color size 6.4cm,6.4cm fontfile "/usr/share/texmf/fonts/type1/public/lm/lmr17.pfb" "LMRoman17,17"
#set terminal postscript eps enhanced color size 5,5 fontfile "/usr/share/texlive/texmf-dist/fonts/type1/public/libertine/LinLibertineOB.pfb" "LinLibertineOB,29"
set title '7R32 speed (higher is better)'
unset offsets
set xlabel 'input length in bytes'
unset ylabel
set key top left
set key autotitle columnheader
unset logscale y
set logscale x
unset format y
set format x '10^{%L}'
set grid
set output 'amd-cl-hh24.eps'
set yrange[*:90]
set xrange[*:*]
plot './c5a.large-clang-11-22bd15d.txt' using 1:8 pt 6, '' using 1:11 with lines lw 10, '' using 1:13 with lines
#plot './c5a.large-clang-11-8c4af1f.txt' using 1:7 pt 6, './c5a.large-gcc-10-8c4af1f.txt' using 1:10 with lines lw 10, './c5a.large-clang-11-8c4af1f.txt' using 1:12 with lines
set terminal postscript eps enhanced color size 6.4cm,6.4cm fontfile "/usr/share/texmf/fonts/type1/public/lm/lmr17.pfb" "LMRoman17,17"
#set terminal postscript eps enhanced color size 5,5 fontfile "/usr/share/texlive/texmf-dist/fonts/type1/public/libertine/LinLibertineOB.pfb" "LinLibertineOB,29"
set title '7R32 speed (higher is better)'
unset offsets
set xlabel 'input length in bytes'
unset ylabel
set key top left
set key autotitle columnheader
unset logscale y
set logscale x
unset format y
set format x '10^{%L}'
set grid
set output 'amd-cl-hh24-floor.eps'
set yrange[*:90]
set xrange[1000:*]
plot './c5a.large-clang-11-22bd15d.txt' using 1:8 pt 6, '' using 1:11 with lines lw 10, '' using 1:13 with lines
#plot './c5a.large-clang-11-8c4af1f.txt' using 1:7 pt 6, './c5a.large-gcc-10-8c4af1f.txt' using 1:10 with lines lw 10, './c5a.large-clang-11-8c4af1f.txt' using 1:12 with lines
set terminal postscript eps enhanced color size 12cm,6.4cm fontfile "/usr/share/texmf/fonts/type1/public/lm/lmr17.pfb" "LMRoman17,17"
set title "Input size vs. B/ns (higher is better)"
unset offsets
set xlabel 'input length in bytes'
set ylabel 'bytes per nanosecond'
set key top left
set key autotitle columnheader
unset logscale y
set logscale x
unset format y
set format x '10^{%L}'
set grid
set output 'clang-local-hh4.eps'
set yrange[*:90]
set xrange[*:*]
plot for [i=3:6] './simpler-k2-multipliers-002.txt' using 1:i with lines