Skip to content

Instantly share code, notes, and snippets.

@achanda
Last active April 16, 2024 18:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save achanda/6a751238f46b9d80f52634628f0d982a to your computer and use it in GitHub Desktop.
Save achanda/6a751238f46b9d80f52634628f0d982a to your computer and use it in GitHub Desktop.
root@small-ubuntu:~/kv-bench/kv-bench-rocksdb-example# turbostat --Joules taskset -c 1 ./plain_benchmark -E 8 --dd --iwp ../K-V-Workload-Generator/workload.txt --qwp ../K-V-Workload-Generator/query_workload.txt --dw --dr
turbostat version 21.05.04 - Len Brown <lenb@kernel.org>
CPUID(0): GenuineIntel 0x16 CPUID levels
CPUID(1): family:model:stepping 0x6:9e:d (6:158:13) microcode 0xfa
CPUID(0x80000000): max_extended_levels: 0x80000008
CPUID(1): SSE3 MONITOR SMX EIST TM2 TSC MSR ACPI-TM HT TM
CPUID(6): APERF, TURBO, DTS, PTM, HWP, HWPnotify, HWPwindow, HWPepp, No-HWPpkg, EPB
cpu3: MSR_IA32_MISC_ENABLE: 0x00850089 (TCC EIST MWAIT PREFETCH TURBO)
CPUID(7): SGX
cpu3: MSR_IA32_FEATURE_CONTROL: 0x00020005 (Locked )
CPUID(0x15): eax_crystal: 2 ebx_tsc: 284 ecx_crystal_hz: 0
TSC: 3408 MHz (24000000 Hz * 284 / 2 / 1000000)
CPUID(0x16): base_mhz: 3400 max_mhz: 5000 bus_mhz: 100
cpu3: MSR_MISC_PWR_MGMT: 0x00401cc0 (ENable-EIST_Coordination DISable-EPB DISable-OOB)
RAPL: 3277 sec. Joule Counter Range, at 80 Watts
cpu3: MSR_PLATFORM_INFO: 0x80838f1012200
8 * 100.0 = 800.0 MHz max efficiency frequency
34 * 100.0 = 3400.0 MHz base frequency
cpu3: MSR_IA32_POWER_CTL: 0x000c005d (C1E auto-promotion: DISabled)
cpu3: MSR_TURBO_RATIO_LIMIT: 0x2e2e2f3030313132
46 * 100.0 = 4600.0 MHz max turbo 8 active cores
46 * 100.0 = 4600.0 MHz max turbo 7 active cores
47 * 100.0 = 4700.0 MHz max turbo 6 active cores
48 * 100.0 = 4800.0 MHz max turbo 5 active cores
48 * 100.0 = 4800.0 MHz max turbo 4 active cores
49 * 100.0 = 4900.0 MHz max turbo 3 active cores
49 * 100.0 = 4900.0 MHz max turbo 2 active cores
50 * 100.0 = 5000.0 MHz max turbo 1 active cores
cpu3: MSR_CONFIG_TDP_NOMINAL: 0x00000022 (base_ratio=34)
cpu3: MSR_CONFIG_TDP_LEVEL_1: 0x00000000 ()
cpu3: MSR_CONFIG_TDP_LEVEL_2: 0x00000000 ()
cpu3: MSR_CONFIG_TDP_CONTROL: 0x80000000 ( lock=1)
cpu3: MSR_TURBO_ACTIVATION_RATIO: 0x000000ff (MAX_NON_TURBO_RATIO=255 lock=0)
cpu3: MSR_PKG_CST_CONFIG_CONTROL: 0x1e008008 (UNdemote-C3, UNdemote-C1, demote-C3, demote-C1, locked, pkg-cstate-limit=8 (unlimited))
/dev/cpu_dma_latency: 2000000000 usec (default)
current_driver: intel_idle
current_governor: menu
current_governor_ro: menu
cpu3: POLL: CPUIDLE CORE POLL IDLE
cpu3: C1: MWAIT 0x00
cpu3: C1E: MWAIT 0x01
cpu3: C3: MWAIT 0x10
cpu3: C6: MWAIT 0x20
cpu3: C7s: MWAIT 0x33
cpu3: C8: MWAIT 0x40
cpu3: C9: MWAIT 0x50
cpu3: C10: MWAIT 0x60
cpu3: cpufreq driver: intel_pstate
cpu3: cpufreq governor: powersave
cpufreq intel_pstate no_turbo: 0
cpu3: MSR_MISC_FEATURE_CONTROL: 0x00000000 (L2-Prefetch L2-Prefetch-pair L1-Prefetch L1-IP-Prefetch)
cpu0: MSR_PM_ENABLE: 0x00000001 (HWP)
cpu0: MSR_HWP_CAPABILITIES: 0x01082232 (high 50 guar 34 eff 8 low 1)
cpu0: MSR_HWP_REQUEST: 0x80003208 (min 8 max 50 des 0 epp 0x80 window 0x0 pkg 0x0)
cpu0: MSR_HWP_INTERRUPT: 0x00000000 (Dis_Guaranteed_Perf_Change, Dis_Excursion_Min)
cpu0: MSR_HWP_STATUS: 0x00000004 (No-Guaranteed_Perf_Change, Excursion_Min)
cpu0: EPB: 6 (balanced)
cpu0: MSR_RAPL_POWER_UNIT: 0x000a0e03 (0.125000 Watts, 0.000061 Joules, 0.000977 sec.)
cpu0: MSR_PKG_POWER_INFO: 0x00000280 (80 W TDP, RAPL 0 - 0 W, 0.000000 sec.)
cpu0: MSR_PKG_POWER_LIMIT: 0x4284b000dd8280 (UNlocked)
cpu0: PKG Limit #1: ENabled (80.000000 Watts, 28.000000 sec, clamp ENabled)
cpu0: PKG Limit #2: ENabled (150.000000 Watts, 0.002441* sec, clamp DISabled)
cpu0: MSR_DRAM_POWER_LIMIT: 0x5400de00000000 (UNlocked)
cpu0: DRAM Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp DISabled)
cpu0: MSR_PP0_POLICY: 0
cpu0: MSR_PP0_POWER_LIMIT: 0x00000000 (UNlocked)
cpu0: Cores Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp DISabled)
cpu0: MSR_PP1_POLICY: 0
cpu0: MSR_PP1_POWER_LIMIT: 0x00000000 (UNlocked)
cpu0: GFX Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp DISabled)
cpu0: MSR_IA32_TEMPERATURE_TARGET: 0x00641400 (100 C) (100 default - 0 offset)
cpu0: MSR_IA32_PACKAGE_THERM_STATUS: 0x884b0800 (25 C)
cpu0: MSR_IA32_PACKAGE_THERM_INTERRUPT: 0x00000003 (100 C, 100 C)
cpu3: MSR_PKGC3_IRTL: 0x0000884e (valid, 79872 ns)
cpu3: MSR_PKGC6_IRTL: 0x00008876 (valid, 120832 ns)
cpu3: MSR_PKGC7_IRTL: 0x00008894 (valid, 151552 ns)
cpu3: MSR_PKGC8_IRTL: 0x000088fa (valid, 256000 ns)
cpu3: MSR_PKGC9_IRTL: 0x0000894c (valid, 339968 ns)
cpu3: MSR_PKGC10_IRTL: 0x00008bf2 (valid, 1034240 ns)
Starting experiments ...
Loading workload ...
Load complete ...
Loading workload ...
Load complete ...
=========>10%<==========>20%<==========>30%<==========>40%<==========>50%<==========>60%<==========>70%<==========>80%<==========>90%<==========>OK!
=========>10%<==========>20%<==========>30%<==========>40%<==========>50%<==========>60%<==========>70%<==========>80%<==========>90%<==========>OK!
point query latency: 0.086237 (ms/query)
avg operation latency: 0.086237 (ms/ops)
OK
End of experiment run: 1
===== End of all experiments in 1496.61ms !! =====
-----LSM state-----
T P B E M
2.00 128 128 8 131072
----- Query summary -----
#I #U #D #R #Q #Z #S #TOTAL
0 0 0 0 3000 0 0 3000
I U D R Q Z S TOTAL
0.00 0.00 0.00 0.00 258.7113 0.0000 0.00 258.71
----- Latency(ms/op) -----
avg_I avg_U avg_D avg_R avg_Q avg_Z avg_S avg_query
-nan -nan -nan -nan 0.0862 -nan -nan 0.09
----- Throughput(op/ms) -----
avg_I avg_U avg_D avg_R avg_Q avg_Z avg_S avg_query
-nan -nan -nan -nan 11.5959 -nan -nan 11.60
1.501456 sec
Core CPU Avg_MHz Busy% Bzy_MHz TSC_MHz IPC IRQ SMI POLL C1 C1E C3 C6 C7s C8 C9 C10 POLL% C1% C1E% C3% C6% C7s% C8% C9% C10% CPU%c1 CPU%c3 CPU%c6CPU%c7 CoreTmp PkgTmp Totl%C0 Any%C0 GFX%C0 CPUGFX% Pkg%pc2 Pkg%pc3 Pkg%pc6 Pkg%pc7 Pkg%pc8 Pkg%pc9 Pk%pc10 SYS%LPI Pkg_J Cor_J GFX_J RAM_J PKG_% RAM_%
- - 77 1.61 4790 3408 1.69 3603 0 33 351 1340 132 402 136 1009 80 2142 0.00 0.24 1.12 0.09 0.50 0.10 4.92 0.07 91.33 6.87 0.54 0.70 90.27 28 28 26.87 24.97 0.00 0.00 6.28 51.62 0.00 0.00 0.00 0.00 0.00 0.00 15.21 13.76 0.00 4.40 0.00 0.00
0 0 3 0.08 4266 3408 0.52 44 0 0 0 0 0 0 0 28 0 59 0.00 0.00 0.00 0.00 0.00 0.00 6.67 0.00 93.25 3.11 0.44 0.78 95.60 23 28 26.87 24.97 0.00 0.00 6.28 51.62 0.00 0.00 0.00 0.00 0.00 0.00 15.21 13.76 0.00 4.40 0.00 0.00
0 8 20 0.42 4838 3408 0.52 34 0 0 16 67 11 48 20 123 24 110 0.00 0.52 1.27 0.15 0.88 0.38 3.35 0.22 92.82 2.77
1 1 1106 23.03 4801 3408 1.85 688 0 14 252 865 58 148 116 249 34 18 0.02 2.14 8.09 0.80 2.44 1.28 5.91 0.36 55.74 12.16 2.00 1.89 60.92 28
1 9 8 0.18 4482 3408 0.35 72 0 8 9 1 4 24 0 86 0 188 0.01 0.27 0.00 0.05 0.92 0.00 10.22 0.00 88.36 35.01
2 2 1 0.01 4695 3408 0.59 9 0 0 0 0 0 0 0 5 0 4 0.00 0.00 0.00 0.00 0.00 0.00 1.24 0.00 98.74 0.67 0.00 0.30 99.02 25
2 10 6 0.13 4452 3408 0.26 143 0 0 0 0 0 2 0 16 4 125 0.00 0.00 0.00 0.00 0.31 0.00 2.87 0.33 96.37 0.55
3 3 2 0.05 4687 3408 0.33 29 0 1 0 0 0 2 0 10 0 31 0.00 0.00 0.00 0.00 0.22 0.00 2.60 0.00 97.12 0.24 0.00 0.21 99.50 24
3 11 1 0.02 4568 3408 0.51 22 0 0 0 0 3 0 0 18 0 4 0.00 0.00 0.00 0.01 0.00 0.00 4.68 0.00 95.29 0.28
4 4 0 0.01 4611 3408 0.72 7 0 0 0 0 0 0 0 6 0 2 0.00 0.00 0.00 0.00 0.00 0.00 1.48 0.00 98.51 0.07 0.00 0.00 99.92 24
4 12 1 0.01 4609 3408 0.66 14 0 0 0 0 0 0 0 13 0 2 0.00 0.00 0.00 0.00 0.00 0.00 3.34 0.00 96.65 0.07
5 5 1 0.02 4558 3408 0.49 24 0 0 0 1 0 0 0 20 0 4 0.00 0.00 0.00 0.00 0.00 0.00 5.19 0.00 94.79 0.11 0.00 0.00 99.87 24
5 13 1 0.02 4568 3408 0.51 23 0 0 0 0 0 0 0 21 0 3 0.00 0.00 0.00 0.00 0.00 0.00 5.45 0.00 94.53 0.11
6 6 17 0.36 4840 3408 0.39 91 0 0 1 1 11 30 0 121 0 142 0.00 0.02 0.01 0.04 1.27 0.00 16.17 0.00 82.13 0.79 0.01 1.20 97.64 26
6 14 1 0.02 3894 3408 0.57 9 0 0 0 0 0 0 0 6 0 11 0.00 0.00 0.00 0.00 0.00 0.00 1.35 0.00 98.64 1.13
7 7 66 1.40 4705 3408 0.22 2387 0 10 73 405 45 148 0 280 18 1428 0.02 0.96 8.58 0.37 1.99 0.00 6.72 0.16 79.90 25.78 1.88 1.23 69.72 23
7 15 2 0.03 4750 3408 1.26 7 0 0 0 0 0 0 0 7 0 11 0.00 0.00 0.00 0.00 0.00 0.00 1.53 0.00 98.43 27.14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment