RDTSC - Throughput and Uops
With unroll_count=500 and no inner loop
- Code:
0: 0f 31 rdtsc
- Show nanoBench command
- Results:
- Instructions retired: 1.0
- Core cycles: 26.0
- Reference cycles: 15.36
- UOPS_EXECUTED.THREAD: 15.0
- RETIRE_SLOTS: 18.0
- UOPS_MITE: 2.0
- UOPS_MS: 16.0
- UOPS_PORT_0: 2.25
- UOPS_PORT_1: 3.75
- UOPS_PORT_6: 5.5
- UOPS_PORT_49: 0.0
- UOPS_PORT_78: 0.0
- UOPS_PORT_5B: 3.5
- UOPS_PORT_5B>=2: 0.0
- UOPS_PORT_23A: 0.0
- DIV_CYCLES: 0.0
- ILD_STALL.LCP: 0.0
- UOPS_MITE>=1: 1.0
With unroll_count=500, no inner loop, and 1 NOP
- Code:
0: 0f 31 rdtsc
2: 90 nop
- Show nanoBench command
- Results:
- Instructions retired: 2.0
- Core cycles: 26.0
- Reference cycles: 14.32
- UOPS_EXECUTED.THREAD: 15.0
- RETIRE_SLOTS: 19.0
- UOPS_MITE: 2.97
- UOPS_MS: 16.0
- UOPS_PORT_0: 2.5
- UOPS_PORT_1: 4.0
- UOPS_PORT_6: 4.0
- UOPS_PORT_49: 0.0
- UOPS_PORT_78: 0.0
- UOPS_PORT_5B: 4.5
- UOPS_PORT_5B>=2: 0.0
- UOPS_PORT_23A: 0.0
- DIV_CYCLES: 0.0
- ILD_STALL.LCP: 0.0
- UOPS_MITE>=1: 1.99
With loop_count=1000 and unroll_count=10
- Code:
0: 0f 31 rdtsc
- Show nanoBench command
- Results:
- Instructions retired: 1.2
- Core cycles: 26.0
- Reference cycles: 15.31
- UOPS_EXECUTED.THREAD: 15.1
- RETIRE_SLOTS: 18.1
- UOPS_MITE: 2.1
- UOPS_MS: 16.01
- UOPS_PORT_0: 2.1
- UOPS_PORT_1: 3.85
- UOPS_PORT_6: 5.45
- UOPS_PORT_49: 0.0
- UOPS_PORT_78: 0.0
- UOPS_PORT_5B: 3.8
- UOPS_PORT_5B>=2: 0.0
- UOPS_PORT_23A: 0.0
- DIV_CYCLES: 0.0
- ILD_STALL.LCP: 0.0
- UOPS_MITE>=1: 1.1
With loop_count=100 and unroll_count=100
- Code:
0: 0f 31 rdtsc
- Show nanoBench command
- Results:
- Instructions retired: 1.02
- Core cycles: 26.0
- Reference cycles: 16.22
- UOPS_EXECUTED.THREAD: 15.01
- RETIRE_SLOTS: 18.01
- UOPS_MITE: 2.01
- UOPS_MS: 16.0
- UOPS_PORT_0: 2.26
- UOPS_PORT_1: 3.75
- UOPS_PORT_6: 5.49
- UOPS_PORT_49: 0.0
- UOPS_PORT_78: 0.0
- UOPS_PORT_5B: 3.51
- UOPS_PORT_5B>=2: 0.0
- UOPS_PORT_23A: 0.0
- DIV_CYCLES: 0.0
- ILD_STALL.LCP: 0.0
- UOPS_MITE>=1: 1.01