forked from karlrupp/cpu-gpu-mic-comparison
-
Notifications
You must be signed in to change notification settings - Fork 1
/
gflops.gnuplot
134 lines (113 loc) · 7.4 KB
/
gflops.gnuplot
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
#!/usr/bin/gnuplot
set term postscript eps enhanced color
set style data lines
set style line 1 linetype -1 linewidth 3 lc rgb "#005197"
set style line 2 linetype -1 linewidth 3 lc rgb "#00D317"
set style line 3 linetype -1 linewidth 3 lc rgb "#971c00"
set style line 4 linetype -1 linewidth 3 lc rgb "#000000"
set style increment user
set size 1.40,1.30
set border linewidth 1.5
set logscale y
set format y "10^{%L}"
set xrange [2006.4:2018.6]
set key samplen 6 spacing 3.0
set key bottom right
set grid lw 3
set ylabel "GFLOP/sec"
set xlabel "End of Year"
set yrange [30:30000]
set output "gflops-sp.eps"
set title "Theoretical Peak Performance, Single Precision"
# Labels AMD
set label "HD 3870" at 2007,350 center rotate by 40 textcolor rgb "#971c00"
set label "HD 4870" at 2008,1700 center rotate by 40 textcolor rgb "#971c00"
set label "HD 5870" at 2009,4000 center rotate by 40 textcolor rgb "#971c00"
set label "HD 6970" at 2010,4000 center rotate by 40 textcolor rgb "#971c00"
set label "HD 6970" at 2011,4000 center rotate by 40 textcolor rgb "#971c00"
set label "HD 7970 GHz Ed." at 2012,6000 center rotate by 40 textcolor rgb "#971c00"
set label "HD 8970" at 2013,3300 center rotate by 20 textcolor rgb "#971c00"
set label "FirePro W9100" at 2014,3700 center rotate by 20 textcolor rgb "#971c00"
set label "FirePro S9150" at 2015,4000 center rotate by 20 textcolor rgb "#971c00"
set label "MI25" at 2016,22000 center rotate by 40 textcolor rgb "#971c00"
set label "MI60" at 2018,7000 center rotate by 40 textcolor rgb "#971c00"
# Labels Intel
set label "X5482" at 2007,80 center rotate by 40 textcolor rgb "#005197"
set label "X5492" at 2008,80 center rotate by 40 textcolor rgb "#005197"
set label "W5590" at 2009,80 center rotate by 40 textcolor rgb "#005197"
set label "X5680" at 2010,120 center rotate by 40 textcolor rgb "#005197"
set label "X5690" at 2011,120 center rotate by 40 textcolor rgb "#005197"
set label "E5-2690" at 2012,250 center rotate by 40 textcolor rgb "#005197"
set label "E5-2697 v2" at 2013,350 center rotate by 40 textcolor rgb "#005197"
set label "E5-2699 v3" at 2014,900 center rotate by 40 textcolor rgb "#005197"
set label "E5-2699 v3" at 2015,900 center rotate by 40 textcolor rgb "#005197"
set label "E5-2699 v4" at 2016,1100 center rotate by 40 textcolor rgb "#005197"
set label "Platinum 8180" at 2017,2500 center rotate by 40 textcolor rgb "#005197"
set label "Platinum 9282" at 2018,5000 center rotate by 40 textcolor rgb "#005197"
# Labels NVIDIA
set label "8800 GTS" at 2007,900 center rotate by 40 textcolor rgb "#00D317"
set label "GTX 280" at 2008,650 center rotate by 40 textcolor rgb "#00D317"
set label "GTX 285" at 2009,700 center rotate by 40 textcolor rgb "#00D317"
set label "GTX 580" at 2010,1000 center rotate by 40 textcolor rgb "#00D317"
set label "GTX 580" at 2011,1000 center rotate by 40 textcolor rgb "#00D317"
set label "GTX 680" at 2012,2000 center rotate by 40 textcolor rgb "#00D317"
set label "GTX Titan" at 2013,7000 center rotate by 40 textcolor rgb "#00D317"
set label "Tesla K40" at 2014,8000 center rotate by 40 textcolor rgb "#00D317"
set label "GTX Titan X" at 2015,9000 center rotate by 40 textcolor rgb "#00D317"
set label "Titan X" at 2016,17000 center rotate by 40 textcolor rgb "#00D317"
set label "Titan V" at 2017,20000 center rotate by 40 textcolor rgb "#00D317"
set label "Titan RTX" at 2018,22000 center rotate by 40 textcolor rgb "#00D317"
# Labels Xeon Phi
set label "Xeon Phi 7120 (KNC)" at 2014,1900 center rotate by 00
set label "Xeon Phi 7290 (KNL)" at 2016,5000 center rotate by 48
plot 'data-intel.txt' using 1:2 with linesp pt 9 ps 3.0 title "INTEL Xeon CPUs", \
'data-sp-nvidia.txt' using 1:2 with linesp pt 5 ps 3.0 title "NVIDIA GeForce GPUs", \
'data-amd.txt' using 1:2 with linesp pt 7 ps 3.0 title "AMD Radeon GPUs", \
'data-intel-phi.txt' using 1:2 with linesp pt 11 ps 3.0 title "INTEL Xeon Phis"
set yrange [30:10000]
set output "gflops-dp.eps"
set title "Theoretical Peak Performance, Double Precision"
unset label
# Labels AMD
set label "HD 3870" at 2007,160 center rotate by 40 textcolor rgb "#971c00"
set label "HD 4870" at 2008,350 center rotate by 40 textcolor rgb "#971c00"
set label "HD 5870" at 2009,800 center rotate by 40 textcolor rgb "#971c00"
set label "HD 6970" at 2010,900 center rotate by 40 textcolor rgb "#971c00"
set label "HD 6970" at 2011,900 center rotate by 40 textcolor rgb "#971c00"
set label "HD 7970 GHz Ed." at 2012,650 center rotate by 40 textcolor rgb "#971c00"
set label "HD 8970" at 2013,800 center rotate by 40 textcolor rgb "#971c00"
set label "FirePro W9100" at 2014,4000 center rotate by 40 textcolor rgb "#971c00"
set label "FirePro S9150" at 2015,4000 center rotate by 40 textcolor rgb "#971c00"
set label "MI25" at 2016,425 center rotate by 40 textcolor rgb "#971c00"
set label "MI60" at 2018,9000 center rotate by 00 textcolor rgb "#971c00"
# Labels Intel
set label "X5482" at 2007,40 center rotate by 40 textcolor rgb "#005197"
set label "X5492" at 2008,40 center rotate by 40 textcolor rgb "#005197"
set label "W5590" at 2009,40 center rotate by 40 textcolor rgb "#005197"
set label "X5680" at 2010,60 center rotate by 40 textcolor rgb "#005197"
set label "X5690" at 2011,60 center rotate by 40 textcolor rgb "#005197"
set label "E5-2690" at 2012,130 center rotate by 40 textcolor rgb "#005197"
set label "E5-2697 v2" at 2013,180 center rotate by 40 textcolor rgb "#005197"
set label "E5-2699 v3" at 2014,450 center rotate by 40 textcolor rgb "#005197"
set label "E5-2699 v3" at 2015,450 center rotate by 40 textcolor rgb "#005197"
set label "E5-2699 v4" at 2016,550 center rotate by 40 textcolor rgb "#005197"
set label "Platinum 8180" at 2017,1650 center rotate by 40 textcolor rgb "#005197"
set label "Platinum 9282" at 2018,3200 center rotate by 40 textcolor rgb "#005197"
# Labels NVIDIA
set label "Tesla C1060" at 2008,130 center rotate by 40 textcolor rgb "#00D317"
set label "Tesla C1060" at 2009,160 center rotate by 40 textcolor rgb "#00D317"
set label "Tesla C2050" at 2010,260 center rotate by 40 textcolor rgb "#00D317"
set label "Tesla M2090" at 2011,450 center rotate by 40 textcolor rgb "#00D317"
set label "Tesla K20" at 2012,1700 center rotate by 40 textcolor rgb "#00D317"
set label "Tesla K20X" at 2013,1900 center rotate by 40 textcolor rgb "#00D317"
set label "Tesla K40" at 2014,1900 center rotate by 40 textcolor rgb "#00D317"
set label "Tesla K40" at 2015,2000 center rotate by 40 textcolor rgb "#00D317"
set label "Tesla P100" at 2016,7000 center rotate by 40 textcolor rgb "#00D317"
set label "Tesla V100" at 2017,4900 center rotate by 40 textcolor rgb "#00D317"
# Labels Xeon Phi
set label "Xeon Phi 7120 (KNC)" at 2014.3,920 center rotate by 00
set label "Xeon Phi 7290 (KNL)" at 2016,2700 center rotate by 50
plot 'data-intel.txt' using 1:3 with linesp pt 9 ps 3.0 title "INTEL Xeon CPUs", \
'data-dp-nvidia.txt' using 1:2 with linesp pt 5 ps 3.0 title "NVIDIA Tesla GPUs", \
'data-amd.txt' using 1:3 with linesp pt 7 ps 3.0 title "AMD Radeon GPUs", \
'data-intel-phi.txt' using 1:3 with linesp pt 11 ps 3.0 title "INTEL Xeon Phis"