- root@EPU-102054501-AugustToepfer:~/x86_rdtscp# ./a.out
- #start.
- # pthread_setaffinity_np(), thread fixed to cpu 1
- _rdtscp: A=0, retval=9cb4c9f186358
- sched_getcpu(): cpu=1
- # mismatch A!=cpu
- #done.
- root@EPU-102054501-AugustToepfer:~/x86_rdtscp# ./a.out
- #start.
- # pthread_setaffinity_np(), thread fixed to cpu 0
- _rdtscp: A=0, retval=9cb4d175299e8
- sched_getcpu(): cpu=0
- #done.
- root@EPU-102054501-AugustToepfer:~/x86_rdtscp# cat /proc/cpuinfo
- processor : 0
- vendor_id : GenuineIntel
- cpu family : 6
- model : 69
- model name : Intel(R) Celeron(R) 2980U @ 1.60GHz
- stepping : 1
- microcode : 0x1f
- cpu MHz : 1600.000
- cache size : 2048 KB
- physical id : 0
- siblings : 2
- core id : 0
- cpu cores : 2
- apicid : 0
- initial apicid : 0
- fdiv_bug : no
- f00f_bug : no
- coma_bug : no
- fpu : yes
- fpu_exception : yes
- cpuid level : 13
- wp : yes
- flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer xsave rdrand lahf_lm abm arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust erms invpcid xsaveopt
- bugs :
- bogomips : 3192.54
- clflush size : 64
- cache_alignment : 64
- address sizes : 39 bits physical, 48 bits virtual
- power management:
- processor : 1
- vendor_id : GenuineIntel
- cpu family : 6
- model : 69
- model name : Intel(R) Celeron(R) 2980U @ 1.60GHz
- stepping : 1
- microcode : 0x1f
- cpu MHz : 1600.000
- cache size : 2048 KB
- physical id : 0
- siblings : 2
- core id : 1
- cpu cores : 2
- apicid : 2
- initial apicid : 2
- fdiv_bug : no
- f00f_bug : no
- coma_bug : no
- fpu : yes
- fpu_exception : yes
- cpuid level : 13
- wp : yes
- flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer xsave rdrand lahf_lm abm arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust erms invpcid xsaveopt
- bugs :
- bogomips : 3192.54
- clflush size : 64
- cache_alignment : 64
- address sizes : 39 bits physical, 48 bits virtual
- power management:
- root@EPU-102054501-AugustToepfer:~/x86_rdtscp#
x86_rdtscp test results on EPU-102054501-AugustToepfer
Posted by Anonymous on Tue 18th Oct 2022 12:14
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.