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 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': | |
12433495368 cycles [49.90%] | |
20189930563 instructions # 1.62 insns per cycle | |
# 0.35 stalled cycles per insn [62.43%] | |
8512348 cache-references [62.49%] | |
4216625 cache-misses # 49.535 % of all cache refs [62.61%] |
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
$ export PS1="Xeon E5-2630L v3:\w$ " | |
Xeon E5-2630L v3:~$ grep Xeon /proc/cpuinfo | head -n1 | |
model name : Intel(R) Xeon(R) CPU E5-2630L v3 @ 1.80GHz | |
Xeon E5-2630L v3:~$ lscpu | |
Architecture: x86_64 | |
CPU op-mode(s): 32-bit, 64-bit | |
Byte Order: Little Endian | |
CPU(s): 16 | |
On-line CPU(s) list: 0-15 | |
Thread(s) per core: 2 |
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:~$ grep Xeon /proc/cpuinfo | head -n1 | |
model name : Intel(R) Xeon(R) CPU L5630 @ 2.13GHz | |
Xeon L5630:~$ lscpu | |
Architecture: x86_64 | |
CPU op-mode(s): 32-bit, 64-bit | |
Byte Order: Little Endian | |
CPU(s): 8 | |
On-line CPU(s) list: 0-7 | |
Thread(s) per core: 2 | |
Core(s) per socket: 4 |
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
$ export PS1="Xeon L5630:\w$ " | |
Xeon L5630:~$ for i in 1 2; do gcc -O2 -Wall -Werror test$i.c -o test$i; done | |
Xeon L5630:~$ diff -u <(objdump -d test1) <(objdump -d test2) | |
--- /dev/fd/63 2015-09-15 15:06:00.529163166 +0900 | |
+++ /dev/fd/62 2015-09-15 15:06:00.529163166 +0900 | |
@@ -1,5 +1,5 @@ | |
-test1: file format elf64-x86-64 | |
+test2: file format elf64-x86-64 |
NewerOlder