Skip to content

Instantly share code, notes, and snippets.

@Shawyeok
Last active December 24, 2024 09:53
Show Gist options
  • Save Shawyeok/4a7ef034baa187b27a9321145d2f05c9 to your computer and use it in GitHub Desktop.
Save Shawyeok/4a7ef034baa187b27a9321145d2f05c9 to your computer and use it in GitHub Desktop.
# java -jar summary-benchmarks.jar -t 24
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.openjdk.jmh.util.Utils (file:/root/summary-benchmarks-2.jar) to method java.io.Console.encoding()
WARNING: Please consider reporting this to the maintainers of org.openjdk.jmh.util.Utils
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
# JMH version: 1.37
# VM version: JDK 11.0.25, OpenJDK 64-Bit Server VM, 11.0.25+9-LTS
# VM invoker: /usr/lib/jvm/java-11-openjdk-11.0.25.0.9-3.el9.x86_64/bin/java
# VM options: <none>
# Blackhole mode: full + dont-inline hint (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
# Warmup: 3 iterations, 3 s each
# Measurement: 3 iterations, 15 s each
# Timeout: 10 min per iteration
# Threads: 24 threads, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: com.zhaopin.benchmark.sample.SummaryBenchmark.summaryObserve
# Parameters: (detailLevel = BASIC, version = 1.x)
# Run progress: 0.00% complete, ETA 00:03:36
# Fork: 1 of 1
# Warmup Iteration 1: 0.944 ops/us
# Warmup Iteration 2: 1.023 ops/us
# Warmup Iteration 3: 1.052 ops/us
Iteration 1: 1.015 ops/us
Iteration 2: 1.012 ops/us
Iteration 3: 1.056 ops/us
Result "com.zhaopin.benchmark.sample.SummaryBenchmark.summaryObserve":
1.027 ±(99.9%) 0.446 ops/us [Average]
(min, avg, max) = (1.012, 1.027, 1.056), stdev = 0.024
CI (99.9%): [0.582, 1.473] (assumes normal distribution)
# JMH version: 1.37
# VM version: JDK 11.0.25, OpenJDK 64-Bit Server VM, 11.0.25+9-LTS
# VM invoker: /usr/lib/jvm/java-11-openjdk-11.0.25.0.9-3.el9.x86_64/bin/java
# VM options: <none>
# Blackhole mode: full + dont-inline hint (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
# Warmup: 3 iterations, 3 s each
# Measurement: 3 iterations, 15 s each
# Timeout: 10 min per iteration
# Threads: 24 threads, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: com.zhaopin.benchmark.sample.SummaryBenchmark.summaryObserve
# Parameters: (detailLevel = BASIC, version = 0.x)
# Run progress: 25.00% complete, ETA 00:02:42
# Fork: 1 of 1
# Warmup Iteration 1: 0.976 ops/us
# Warmup Iteration 2: 1.002 ops/us
# Warmup Iteration 3: 1.025 ops/us
Iteration 1: 1.014 ops/us
Iteration 2: 1.016 ops/us
Iteration 3: 1.095 ops/us
Result "com.zhaopin.benchmark.sample.SummaryBenchmark.summaryObserve":
1.041 ±(99.9%) 0.843 ops/us [Average]
(min, avg, max) = (1.014, 1.041, 1.095), stdev = 0.046
CI (99.9%): [0.198, 1.884] (assumes normal distribution)
# JMH version: 1.37
# VM version: JDK 11.0.25, OpenJDK 64-Bit Server VM, 11.0.25+9-LTS
# VM invoker: /usr/lib/jvm/java-11-openjdk-11.0.25.0.9-3.el9.x86_64/bin/java
# VM options: <none>
# Blackhole mode: full + dont-inline hint (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
# Warmup: 3 iterations, 3 s each
# Measurement: 3 iterations, 15 s each
# Timeout: 10 min per iteration
# Threads: 24 threads, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: com.zhaopin.benchmark.sample.SummaryBenchmark.summaryObserve
# Parameters: (detailLevel = ADVANCED, version = 1.x)
# Run progress: 50.00% complete, ETA 00:01:48
# Fork: 1 of 1
# Warmup Iteration 1: 0.914 ops/us
# Warmup Iteration 2: 0.957 ops/us
# Warmup Iteration 3: 1.003 ops/us
Iteration 1: 0.983 ops/us
Iteration 2: 0.992 ops/us
Iteration 3: 1.051 ops/us
Result "com.zhaopin.benchmark.sample.SummaryBenchmark.summaryObserve":
1.009 ±(99.9%) 0.671 ops/us [Average]
(min, avg, max) = (0.983, 1.009, 1.051), stdev = 0.037
CI (99.9%): [0.337, 1.680] (assumes normal distribution)
# JMH version: 1.37
# VM version: JDK 11.0.25, OpenJDK 64-Bit Server VM, 11.0.25+9-LTS
# VM invoker: /usr/lib/jvm/java-11-openjdk-11.0.25.0.9-3.el9.x86_64/bin/java
# VM options: <none>
# Blackhole mode: full + dont-inline hint (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
# Warmup: 3 iterations, 3 s each
# Measurement: 3 iterations, 15 s each
# Timeout: 10 min per iteration
# Threads: 24 threads, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: com.zhaopin.benchmark.sample.SummaryBenchmark.summaryObserve
# Parameters: (detailLevel = ADVANCED, version = 0.x)
# Run progress: 75.00% complete, ETA 00:00:54
# Fork: 1 of 1
# Warmup Iteration 1: 0.956 ops/us
# Warmup Iteration 2: 0.965 ops/us
# Warmup Iteration 3: 0.948 ops/us
Iteration 1: 0.989 ops/us
Iteration 2: 0.906 ops/us
Iteration 3: 1.006 ops/us
Result "com.zhaopin.benchmark.sample.SummaryBenchmark.summaryObserve":
0.967 ±(99.9%) 0.979 ops/us [Average]
(min, avg, max) = (0.906, 0.967, 1.006), stdev = 0.054
CI (99.9%): [≈ 0, 1.946] (assumes normal distribution)
# Run complete. Total time: 00:03:36
REMEMBER: The numbers below are just data. To gain reusable insights, you need to follow up on
why the numbers are the way they are. Use profilers (see -prof, -lprof), design factorial
experiments, perform baseline and negative tests that provide experimental control, make sure
the benchmarking environment is safe on JVM/OS/HW level, ask for reviews from the domain experts.
Do not assume the numbers tell you what you want them to tell.
Benchmark (detailLevel) (version) Mode Cnt Score Error Units
SummaryBenchmark.summaryObserve BASIC 1.x thrpt 3 1.027 ± 0.446 ops/us
SummaryBenchmark.summaryObserve BASIC 0.x thrpt 3 1.041 ± 0.843 ops/us
SummaryBenchmark.summaryObserve ADVANCED 1.x thrpt 3 1.009 ± 0.671 ops/us
SummaryBenchmark.summaryObserve ADVANCED 0.x thrpt 3 0.967 ± 0.979 ops/us
lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 46 bits physical, 57 bits virtual
Byte Order: Little Endian
CPU(s): 96
On-line CPU(s) list: 0-95
Vendor ID: GenuineIntel
BIOS Vendor ID: Intel(R) Corporation
Model name: Intel(R) Xeon(R) Gold 5318Y CPU @ 2.10GHz
BIOS Model name: Intel(R) Xeon(R) Gold 5318Y CPU @ 2.10GHz
CPU family: 6
Model: 106
Thread(s) per core: 2
Core(s) per socket: 24
Socket(s): 2
Stepping: 6
CPU(s) scaling MHz: 100%
CPU max MHz: 3400.0000
CPU min MHz: 800.0000
BogoMIPS: 4200.00
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 syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonst
op_tsc cpuid aperfmperf pni pclmulqdq dtes64 ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid
_fault epb cat_l3 intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma cl
flushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local split_lock_detect wbnoinvd dtherm ida arat pln pts vnmi avx512vbmi umip pku osp
ke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg tme avx512_vpopcntdq la57 rdpid fsrm md_clear pconfig flush_l1d arch_capabilities
Virtualization features:
Virtualization: VT-x
Caches (sum of all):
L1d: 2.3 MiB (48 instances)
L1i: 1.5 MiB (48 instances)
L2: 60 MiB (48 instances)
L3: 72 MiB (2 instances)
NUMA:
NUMA node(s): 2
NUMA node0 CPU(s): 0-23,48-71
NUMA node1 CPU(s): 24-47,72-95
Vulnerabilities:
Gather data sampling: Mitigation; Microcode
Itlb multihit: Not affected
L1tf: Not affected
Mds: Not affected
Meltdown: Not affected
Mmio stale data: Mitigation; Clear CPU buffers; SMT vulnerable
Retbleed: Not affected
Spec rstack overflow: Not affected
Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl
Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Spectre v2: Mitigation; Enhanced / Automatic IBRS, IBPB conditional, RSB filling, PBRSB-eIBRS SW sequence
Srbds: Not affected
Tsx async abort: Not affected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment