SPECjvm2008测试执行步骤
1,安装jdk,配置环境变量
2,下载SPECjvm2008_1_01_setup.jar包,
wget http://spec.cs.miami.edu/downloads/osg/java/SPECjvm2008_1_01_setup.jar
3,安装
sudo java -jar SPECjvm2008_1_01_setup.jar -i console
然后一直回车或者输入YES完成安装
4,执行测试命令:
./run-specjvm.sh -bt 4 -ikv
#bt为线程数
测试日志
📎g7_jvm.txt📎g7a_128core_jvm.txt📎g7a_jvm.txt📎g7anps1_jvm.txt
测试数据
benchmarks测试执行分数(ops/m) |
平均数 |
compiler.compiler |
compiler.sunflow |
compress |
crypto.aes |
crypto.rsa |
crypto.signverify |
derby |
mpegaudio |
scimark.fft.large |
scimark.lu.large |
scimark.sor.large |
scimark.sparse.large |
scimark.fft.small |
scimark.lu.small |
scimark.sor.small |
scimark.sparse.small |
scimark.monte_carlo |
serial |
sunflow |
xml.transform |
xml.validation |
|
g7 |
1线程 |
119.50 |
284.37 |
105.39 |
68.55 |
32.51 |
140.39 |
129.08 |
137.3 |
52.05 |
76.93 |
31.38 |
11.32 |
34.85 |
76.98 |
183.3 |
338.27 |
51.08 |
99.75 |
73.69 |
93.55 |
144.67 |
344 |
4线程 |
462.39 |
1127.07 |
412.85 |
272.9 |
122.81 |
545.76 |
514.82 |
494 |
205.42 |
222.41 |
65 |
45.08 |
86.67 |
733.32 |
1360.93 |
203.26 |
375.19 |
307.64 |
299.6 |
392.91 |
583.19 |
1339.32 |
|
8线程 |
916.87 |
2190.22 |
814.96 |
547.99 |
226.93 |
1154.09 |
1025.08 |
985.4 |
412.26 |
363.7 |
75.75 |
89.44 |
144.18 |
1384.51 |
2697.38 |
408.67 |
765.31 |
616.93 |
611.64 |
824.41 |
1173.93 |
2741.6 |
|
16线程 |
1762.82 |
4220.93 |
1584.41 |
1106.62 |
423 |
2263.11 |
2038.8 |
1986 |
826.91 |
521.84 |
104.27 |
179.99 |
240.22 |
2927.16 |
5259.4 |
817.21 |
1481.49 |
1207.99 |
1192.6 |
952.26 |
2358.37 |
5327.08 |
|
32线程 |
3050.46 |
7361.71 |
2791.84 |
2023.03 |
719.31 |
4046.39 |
3914.75 |
3143 |
1555.46 |
651.39 |
104.34 |
346.92 |
312.75 |
4928.69 |
9274.43 |
1634.21 |
2584.97 |
2401.46 |
2053 |
992.41 |
4125.23 |
9094.73 |
|
64线程 |
3270.47 |
7928.88 |
3032.17 |
2594.25 |
863.11 |
4136.25 |
4568.69 |
3708 |
1756.25 |
637.56 |
99.06 |
522.17 |
281.74 |
5579.12 |
9117.54 |
3114.27 |
1928.35 |
2991.74 |
2072.7 |
1018.32 |
4421.27 |
8308.58 |
|
g7anps1 |
1线程 |
109.95 |
257.69 |
93.72 |
61.41 |
31.41 |
143.06 |
136.21 |
129.8 |
51.98 |
42.94 |
27.09 |
12.66 |
39.05 |
110.25 |
106.69 |
283.25 |
55.88 |
100.01 |
70.85 |
75.72 |
150.67 |
328.6 |
4线程 |
423.08 |
1008.01 |
365.05 |
238.35 |
110.26 |
567.03 |
544.39 |
428.6 |
202.78 |
158.72 |
79.9 |
50.66 |
114.68 |
385.17 |
1119.89 |
221.36 |
388.6 |
439.1 |
267.39 |
414.56 |
598.19 |
1181.92 |
|
8线程 |
836.96 |
1960.24 |
730.2 |
499.94 |
214.72 |
1156.06 |
1077.08 |
888.9 |
397.78 |
306.07 |
109.97 |
99.61 |
198.88 |
736.16 |
2234.53 |
442.06 |
777.33 |
878.25 |
536.01 |
866.34 |
1200.19 |
2265.92 |
|
16线程 |
1632.25 |
3843.81 |
1431.74 |
1009.19 |
384.55 |
2202.01 |
2163.36 |
1750 |
822.79 |
539.45 |
132 |
201.67 |
305.18 |
1446.91 |
4469.5 |
893.72 |
1533.13 |
1847.76 |
1068.9 |
1127.61 |
2394.44 |
4709.6 |
|
32线程 |
3148.89 |
7276.02 |
2792.38 |
1969.09 |
778.56 |
4609.23 |
4314.98 |
3164 |
1636.73 |
705.58 |
103.75 |
398.45 |
293.79 |
2857.45 |
9144.52 |
1769.26 |
3171.07 |
3666.17 |
2077.2 |
1250.61 |
4617.67 |
9530.21 |
|
64线程 |
3687.61 |
8731.87 |
3433.46 |
2727.07 |
1000.05 |
5158.2 |
5795.25 |
4081 |
2120.69 |
676.7 |
88.77 |
465.13 |
276.59 |
5027.26 |
8490.85 |
3467.89 |
2957.79 |
3794.15 |
2541.9 |
1265.29 |
5514.03 |
9825.63 |
|
g7a |
1线程 |
114.08 |
264.67 |
95.14 |
62.58 |
31.23 |
137.65 |
134.34 |
141.9 |
52.03 |
42.91 |
31.26 |
12.62 |
40.41 |
110.34 |
108.04 |
292.74 |
55.82 |
99.97 |
70.96 |
120.84 |
152.35 |
337.82 |
4线程 |
433.14 |
1006.21 |
372.81 |
248.28 |
119.79 |
553.77 |
542.71 |
428.4 |
208.68 |
164.8 |
108.28 |
50.62 |
129.02 |
343.09 |
1144.74 |
223.4 |
396.4 |
439.33 |
275.67 |
457.5 |
596.76 |
1285.68 |
|
8线程 |
848.84 |
1953.67 |
730.62 |
520.17 |
242.93 |
1154.74 |
1089.67 |
895.1 |
411.68 |
295.32 |
115.38 |
101.05 |
179.65 |
742 |
2279.64 |
446.71 |
793.93 |
908 |
546.86 |
807.63 |
1186.93 |
2424.03 |
|
16线程 |
1628.26 |
3838.98 |
1416.12 |
981.26 |
473.81 |
2308.26 |
2161.35 |
1732 |
814.12 |
381.07 |
81.91 |
197.32 |
184.35 |
1391.6 |
4587.22 |
892.09 |
1581.02 |
1792.96 |
1071 |
1113.91 |
2370.65 |
4822.44 |
|
32线程 |
3031.71 |
6988.07 |
2681.67 |
2027.85 |
901.85 |
4569.46 |
4289.08 |
2947 |
1617.64 |
298.24 |
73.25 |
258.88 |
163.76 |
2846.91 |
8928.69 |
1776.21 |
3089.63 |
3475.28 |
1925.5 |
1204.97 |
4493.96 |
9107.48 |
|
64线程 |
3532.50 |
7947.22 |
3234.89 |
2608.87 |
1063.96 |
5286.85 |
5802.92 |
3217 |
2087.3 |
363.07 |
54.22 |
268.67 |
151.31 |
5026.16 |
8362.94 |
3462.77 |
3173.93 |
3640.04 |
2280.4 |
1236.94 |
5319.57 |
9593.41 |
|
g7a |
1线程 |
109.41 |
245.54 |
89.18 |
62.71 |
30.95 |
143.56 |
136.05 |
129.2 |
51.63 |
42.81 |
29.39 |
12.67 |
39.61 |
106.89 |
281.27 |
55.89 |
100.13 |
109.59 |
69.53 |
86.33 |
147.89 |
326.79 |
4线程 |
430.64 |
1045.83 |
377.33 |
244.3 |
111.53 |
578.97 |
538.97 |
439.9 |
207.42 |
163.77 |
91.54 |
50.73 |
124.65 |
461.98 |
383.17 |
1154.52 |
223.42 |
395.12 |
272.6 |
422.69 |
604.76 |
1150.35 |
|
8线程 |
855.42 |
2037.28 |
735.57 |
517.98 |
200.9 |
1136.73 |
1070.93 |
871.6 |
410.37 |
321.74 |
186.72 |
101.48 |
234.62 |
904.07 |
713.42 |
2335.82 |
446.92 |
788.39 |
532.29 |
923.73 |
1202.42 |
2290.85 |
|
16线程 |
1691.39 |
3906.01 |
1444.46 |
1034.83 |
406.15 |
2299.69 |
2174.66 |
1771 |
818.82 |
606.85 |
207.56 |
201.92 |
309.43 |
1847.28 |
1308.98 |
4693.16 |
894.59 |
1548.2 |
1092.5 |
1595.91 |
2417.83 |
4939.67 |
|
32线程 |
3153.76 |
7644.53 |
2863.88 |
2034.19 |
701.53 |
4631.14 |
4343.28 |
3275 |
1638.49 |
824.31 |
180.98 |
398.74 |
368.24 |
2765.93 |
9012.77 |
1776.82 |
2872.61 |
3693.03 |
2062.9 |
1798.47 |
4590.91 |
8751.01 |
|
64线程 |
5250.24 |
12433.97 |
4791.36 |
3415.57 |
1456.96 |
7766.93 |
8058.78 |
5601 |
2975.47 |
786.12 |
156.09 |
551.04 |
313.36 |
5203.88 |
13853.13 |
3539.83 |
5416.14 |
6323.56 |
3366.4 |
1986.46 |
8073.08 |
14186.21 |
benchmarks测试执行分数(ops/m) |
平均数 |
同线程相对g7性能 |
|
g7 |
1线程 |
119.49667 |
|
4线程 |
462.38857 |
||
8线程 |
916.87286 |
||
16线程 |
1762.8186 |
||
32线程 |
3050.4562 |
||
64线程 |
3270.4695 |
||
g7anps1 |
1线程 |
109.95048 |
-7.99% |
4线程 |
423.07857 |
-8.50% |
|
8线程 |
836.96333 |
-8.72% |
|
16线程 |
1632.2471 |
-7.41% |
|
32线程 |
3148.8881 |
3.23% |
|
64线程 |
3687.6114 |
12.75% |
|
g7a |
1线程 |
114.07524 |
-4.54% |
4线程 |
433.14095 |
-6.33% |
|
8线程 |
848.84381 |
-7.42% |
|
16线程 |
1628.2576 |
-7.63% |
|
32线程 |
3031.7081 |
-0.61% |
|
64线程 |
3532.4986 |
8.01% |
测试结论:
1、各机型随着线程数线性增加,ops得分基本保持线性增长。
2、各个benchmark表现基本一致,都是随着线程数增加保持增长。
2、线程数较低时,g7比g7anps1机型性能高8.15%,比g7a性能高6.48%;随着线程数增加,g7anps1比g7性能高7.99%,g7a比g7性能高3.70%(数据取各线程得分平均值)