Created
September 23, 2015 03:34
-
-
Save sejima/7668343b79417f5a5247 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Xeon L5630:~$ for i in {0..7}; do sudo /usr/bin/cpufreq-set -g userspace -c $i; done | |
Xeon L5630:~$ for i in {0..7}; do sudo /usr/bin/cpufreq-set -f 1600 -c $i; done | |
Xeon L5630:~$ for i in 1 2; do perf stat -e cycles,instructions,cache-references,cache-misses,stalled-cycles-frontend,stalled-cycles-backend,LLC-loads,LLC-load-misses ./test$i; sleep 3; done | |
16777216 | |
Performance counter stats for './test1': | |
12364612599 cycles [50.03%] | |
20176026807 instructions # 1.63 insns per cycle | |
# 0.34 stalled cycles per insn [62.54%] | |
8838679 cache-references [62.56%] | |
4413207 cache-misses # 49.931 % of all cache refs [62.57%] | |
6949306494 stalled-cycles-frontend # 56.20% frontend cycles idle [62.57%] | |
232268078 stalled-cycles-backend # 1.88% backend cycles idle [62.52%] | |
79215 LLC-loads [49.94%] | |
16883 LLC-load-misses # 21.31% of all LL-cache hits [49.92%] | |
7.758160333 seconds time elapsed | |
16777216 | |
Performance counter stats for './test2': | |
16613859654 cycles [50.02%] | |
20190257589 instructions # 1.22 insns per cycle | |
# 0.55 stalled cycles per insn [62.52%] | |
148455264 cache-references [62.51%] | |
91421134 cache-misses # 61.582 % of all cache refs [62.52%] | |
11055174602 stalled-cycles-frontend # 66.54% frontend cycles idle [62.52%] | |
3057101167 stalled-cycles-backend # 18.40% backend cycles idle [62.48%] | |
138648427 LLC-loads [49.98%] | |
86206769 LLC-load-misses # 62.18% of all LL-cache hits [50.00%] | |
10.437229621 seconds time elapsed | |
Xeon L5630:~$ for i in {0..7}; do sudo /usr/bin/cpufreq-set -g performance -c $i; done | |
Xeon L5630:~$ for i in 1 2; do perf stat -e cycles,instructions,cache-references,cache-misses,stalled-cycles-frontend,stalled-cycles-backend,LLC-loads,LLC-load-misses ./test$i; sleep 3; done | |
16777216 | |
Performance counter stats for './test1': | |
12387772412 cycles [50.01%] | |
20194330128 instructions # 1.63 insns per cycle | |
# 0.34 stalled cycles per insn [62.50%] | |
8439048 cache-references [62.50%] | |
4226535 cache-misses # 50.083 % of all cache refs [62.50%] | |
6954956426 stalled-cycles-frontend # 56.14% frontend cycles idle [62.51%] | |
238302493 stalled-cycles-backend # 1.92% backend cycles idle [62.50%] | |
42524 LLC-loads [50.04%] | |
25812 LLC-load-misses # 60.70% of all LL-cache hits [50.00%] | |
5.504984168 seconds time elapsed | |
16777216 | |
Performance counter stats for './test2': | |
21290324064 cycles [49.95%] | |
20194301356 instructions # 0.95 insns per cycle | |
# 0.77 stalled cycles per insn [62.46%] | |
136039599 cache-references [62.48%] | |
119467792 cache-misses # 87.818 % of all cache refs [62.56%] | |
15608529500 stalled-cycles-frontend # 73.31% frontend cycles idle [62.58%] | |
6629117392 stalled-cycles-backend # 31.14% backend cycles idle [62.55%] | |
126630726 LLC-loads [50.00%] | |
114571394 LLC-load-misses # 90.48% of all LL-cache hits [49.95%] | |
9.431040798 seconds time elapsed | |
Xeon L5630:~$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment