mode-switch-stat
mode-switch-stat copied to clipboard
Result list
This is permanent issue for recording the cost of mode switch from different model. It's welcome to append your result in this chain.
EDIT: Before fennecJ 's post (including), the result are done on x86_64 and needed multiply 0.83 because bug fixing in b939863. Also, due to #7 , aarch64 was supported.
Here are my results:
- AMD Ryzen Threadripper 2990WX
Model name: AMD Ryzen Threadripper 2990WX 32-Core Processor
Vulnerability Meltdown: Not affected
Avg of mode switch takes 240.76 cycles and standard deviation is 52.55
- Intel Xeon E5-2650
Model name: Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz
Vulnerability Meltdown: Mitigation; PTI
Avg of mode switch takes 2161.93 cycles and standard deviation is 593.46
- AMD Ryzen 3600
Model name: AMD Ryzen 5 3600 6-Core Processor
Vulnerability Meltdown: Not affected
Avg of mode switch takes 248.74 cycles and standard deviation is 30.06
- Intel Core i7-9700
Model name: Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz
Vulnerability Meltdown: Not affected
Avg of mode switch takes 210.45 cycles and standard deviation is 18.16
- Intel(R) Core(TM) i3-9100 CPU
Model name: Intel(R) Core(TM) i3-9100 CPU @ 3.60GHz
Vulnerability Meltdown: Mitigation; PTI
Avg of mode switch takes 1617.44 cycles and standard deviation is 33.03
- Intel® Core™ i5-5300U CPU @ 2.30GHz
Model name: Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz
Vulnerability Meltdown: Mitigation; PTI
Avg of mode switch takes 1325.52 cycles and standard deviation is 57.52
- Intel i7-8559U
Model name: Intel(R) Core(TM) i7-8559U CPU @ 2.70GHz
Vulnerability Meltdown: Mitigation; PTI
Avg of mode switch takes 1099.29 cycles and standard deviation is 122.24
- Intel(R) Core(TM) i5-10400 CPU @ 2.90GHz
Model name: Intel(R) Core(TM) i5-10400 CPU @ 2.90GHz
Vulnerability Meltdown: Not affected
Avg of mode switch takes 235.69 cycles and standard deviation is 40.20
AMD PRO A12-8800B
Model name: AMD PRO A12-8800B R7, 12 Compute Cores 4C+8G
Vulnerability Meltdown: Not affected
Avg of mode switch takes 364.57 cycles and standard deviation is 54.13
- Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
Model name: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
Vulnerability Meltdown: Mitigation; PTI
Avg of mode switch takes 1019.84 cycles and standard deviation is 270.41
- Intel(R) Core(TM) i7-7700HQ
Model name: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
Vulnerability Meltdown: Mitigation; PTI
Avg of mode switch takes 1249.87 cycles and standard deviation is 42.07
- Intel(R) Core(TM) i9-10900F
Model name: Intel(R) Core(TM) i9-10900F CPU @ 2.80GHz
Vulnerability Meltdown: Not affected
Avg of mode switch takes 183.55 cycles and standard deviation is 21.52
- AMD Ryzen 7 3700X
Model name: AMD Ryzen 7 3700X 8-Core Processor
Vulnerability Meltdown: Not affected
Avg of mode switch takes 242.10 cycles and standard deviation is 22.24
BTW, sorry for long waiting on the Pin stuff, I would bring some results shortly.
- Intel Core i7-5700HQ
Model name: Intel(R) Core(TM) i7-5700HQ CPU @ 2.70GHz
Vulnerability Meltdown: Mitigation; PTI
Avg of mode switch takes 1299.09 cycles and standard deviation is 64.73
- Intel(R) Core(TM) i7-6700HQ
Model name: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
Vulnerability Meltdown: Mitigation; PTI
Avg of mode switch takes 1474.48 cycles and standard deviation is 210.47
Kernel 5.4.72 Slackware 14.2 Current
- Intel Core i5-7300HQ
(Mitigations ON):
Model name: Intel(R) Core(TM) i5-7300HQ CPU @ 2.50GHz
Vulnerability Meltdown: Mitigation; PTI
Avg of mode switch takes 656.33 cycles and standard deviation is 18.44
(Mitigations OFF):
Model name: Intel(R) Core(TM) i5-7300HQ CPU @ 2.50GHz
Vulnerability Meltdown: Vulnerable
Avg of mode switch takes 190.26 cycles and standard deviation is 20.20
(I'm quite curious about why my time in cycles with mitigations enabled was so below average (656 vs ~1405 cycles), does anyone have any ideas? maybe the kernel version?)
- Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz
Model name: Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz
Vulnerability Meltdown: Not affected
Avg of mode switch takes 506.23 cycles and standard deviation is 20.87
ThunderX2 99xx
Architecture: aarch64
Model name: ThunderX2 99xx
Vulnerability Meltdown: Not affected
Avg of mode switch takes 984.22 cycles and standard deviation is 35.84
- AMD Ryzen 7 5700U with Radeon Graphics
Architecture: x86_64
Model name: AMD Ryzen 7 5700U with Radeon Graphics
Vulnerability Meltdown: Not affected
Avg of mode switch takes 128.10 cycles and standard deviation is 12.51
- Intel(R) Xeon(R) Gold 5218 CPU @ 2.30GHz
Architecture: x86_64
Model name: Intel(R) Xeon(R) Gold 5218 CPU @ 2.30GHz
Vulnerability Meltdown: Not affected
Avg of mode switch takes 149.23 cycles and standard deviation is 13.36
- AMD Ryzen 7 3700X
Architecture: x86_64
Model name: AMD Ryzen 7 3700X 8-Core Processor
Vulnerability Meltdown: Not affected
Avg of mode switch takes 200.74 cycles and standard deviation is 5.12