Advertisement
AntonyZhilin

Lock-free, randomized (precomputed permutations)

Sep 10th, 2022 (edited)
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.76 KB | None | 0 0
  1. /home/antonyzhilin/userver/cmake-build-release/userver/core/userver-core_benchmark --benchmark_filter=mutex_coro --benchmark_min_time=1 --benchmark_repetitions=10 --benchmark_report_aggregates_only=true
  2. 2022-09-10T15:29:13+03:00
  3. Running /home/antonyzhilin/userver/cmake-build-release/userver/core/userver-core_benchmark
  4. Run on (12 X 4600 MHz CPU s)
  5. CPU Caches:
  6. L1 Data 32 KiB (x6)
  7. L1 Instruction 32 KiB (x6)
  8. L2 Unified 256 KiB (x6)
  9. L3 Unified 12288 KiB (x1)
  10. Load Average: 3.52, 2.56, 3.66
  11. ***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead.
  12. ---------------------------------------------------------------------------------------
  13. Benchmark Time CPU Iterations
  14. ---------------------------------------------------------------------------------------
  15. mutex_coro_lock_mean 7.90 ns 7.77 ns 10
  16. mutex_coro_lock_median 7.82 ns 7.70 ns 10
  17. mutex_coro_lock_stddev 0.463 ns 0.459 ns 10
  18. mutex_coro_lock_cv 5.86 % 5.90 % 10
  19. mutex_coro_unlock_mean 13.7 ns 13.9 ns 10
  20. mutex_coro_unlock_median 13.3 ns 13.5 ns 10
  21. mutex_coro_unlock_stddev 1.25 ns 1.27 ns 10
  22. mutex_coro_unlock_cv 9.11 % 9.15 % 10
  23. mutex_coro_contention/1_mean 17.4 ns 17.4 ns 10 locks=57.8599M/s locks-per-thread=57.8599M/s
  24. mutex_coro_contention/1_median 17.2 ns 17.2 ns 10 locks=58.3881M/s locks-per-thread=58.3881M/s
  25. mutex_coro_contention/1_stddev 1.47 ns 1.47 ns 10 locks=4.82112M/s locks-per-thread=4.82112M/s
  26. mutex_coro_contention/1_cv 8.46 % 8.46 % 10 locks=8.33% locks-per-thread=8.33%
  27. mutex_coro_contention/2_mean 141 ns 141 ns 10 locks=12.8004M/s locks-per-thread=6.40019M/s
  28. mutex_coro_contention/2_median 143 ns 143 ns 10 locks=12.6826M/s locks-per-thread=6.34129M/s
  29. mutex_coro_contention/2_stddev 9.45 ns 9.45 ns 10 locks=541.47k/s locks-per-thread=270.735k/s
  30. mutex_coro_contention/2_cv 6.71 % 6.71 % 10 locks=4.23% locks-per-thread=4.23%
  31. mutex_coro_contention/4_mean 631 ns 630 ns 10 locks=5.99386M/s locks-per-thread=1.49846M/s
  32. mutex_coro_contention/4_median 633 ns 633 ns 10 locks=5.98004M/s locks-per-thread=1.49501M/s
  33. mutex_coro_contention/4_stddev 21.9 ns 21.9 ns 10 locks=229.029k/s locks-per-thread=57.2572k/s
  34. mutex_coro_contention/4_cv 3.47 % 3.48 % 10 locks=3.82% locks-per-thread=3.82%
  35. mutex_coro_contention/8_mean 2049 ns 2048 ns 10 locks=3.84985M/s locks-per-thread=481.232k/s
  36. mutex_coro_contention/8_median 2051 ns 2051 ns 10 locks=3.83946M/s locks-per-thread=479.933k/s
  37. mutex_coro_contention/8_stddev 68.6 ns 68.9 ns 10 locks=127.64k/s locks-per-thread=15.955k/s
  38. mutex_coro_contention/8_cv 3.35 % 3.36 % 10 locks=3.32% locks-per-thread=3.32%
  39. mutex_coro_contention/16_mean 4624 ns 3007 ns 10 locks=5.26333M/s locks-per-thread=328.958k/s
  40. mutex_coro_contention/16_median 4614 ns 3076 ns 10 locks=5.21019M/s locks-per-thread=325.637k/s
  41. mutex_coro_contention/16_stddev 179 ns 239 ns 10 locks=383.768k/s locks-per-thread=23.9855k/s
  42. mutex_coro_contention/16_cv 3.88 % 7.96 % 10 locks=7.29% locks-per-thread=7.29%
  43. mutex_coro_contention/32_mean 9354 ns 3160 ns 10 locks=9.93099M/s locks-per-thread=310.343k/s
  44. mutex_coro_contention/32_median 9345 ns 3135 ns 10 locks=10.0218M/s locks-per-thread=313.182k/s
  45. mutex_coro_contention/32_stddev 320 ns 122 ns 10 locks=338.803k/s locks-per-thread=10.5876k/s
  46. mutex_coro_contention/32_cv 3.42 % 3.87 % 10 locks=3.41% locks-per-thread=3.41%
  47. mutex_coro_contention_with_payload/1_mean 54.2 ns 54.2 ns 10 locks=18.5229M/s locks-per-thread=18.5229M/s
  48. mutex_coro_contention_with_payload/1_median 53.5 ns 53.5 ns 10 locks=18.6785M/s locks-per-thread=18.6785M/s
  49. mutex_coro_contention_with_payload/1_stddev 3.83 ns 3.83 ns 10 locks=1.28089M/s locks-per-thread=1.28089M/s
  50. mutex_coro_contention_with_payload/1_cv 7.07 % 7.07 % 10 locks=6.92% locks-per-thread=6.92%
  51. mutex_coro_contention_with_payload/2_mean 254 ns 254 ns 10 locks=8.36102M/s locks-per-thread=4.18051M/s
  52. mutex_coro_contention_with_payload/2_median 230 ns 230 ns 10 locks=8.68892M/s locks-per-thread=4.34446M/s
  53. mutex_coro_contention_with_payload/2_stddev 58.8 ns 58.8 ns 10 locks=1.10076M/s locks-per-thread=550.381k/s
  54. mutex_coro_contention_with_payload/2_cv 23.15 % 23.13 % 10 locks=13.17% locks-per-thread=13.17%
  55. mutex_coro_contention_with_payload/4_mean 900 ns 900 ns 10 locks=4.47255M/s locks-per-thread=1.11814M/s
  56. mutex_coro_contention_with_payload/4_median 889 ns 889 ns 10 locks=4.53337M/s locks-per-thread=1.13334M/s
  57. mutex_coro_contention_with_payload/4_stddev 56.9 ns 56.9 ns 10 locks=282.412k/s locks-per-thread=70.603k/s
  58. mutex_coro_contention_with_payload/4_cv 6.32 % 6.32 % 10 locks=6.31% locks-per-thread=6.31%
  59. mutex_coro_contention_with_payload/8_mean 2603 ns 2601 ns 10 locks=3.08805M/s locks-per-thread=386.007k/s
  60. mutex_coro_contention_with_payload/8_median 2593 ns 2592 ns 10 locks=3.1028M/s locks-per-thread=387.85k/s
  61. mutex_coro_contention_with_payload/8_stddev 41.5 ns 42.1 ns 10 locks=45.7347k/s locks-per-thread=5.71684k/s
  62. mutex_coro_contention_with_payload/8_cv 1.59 % 1.62 % 10 locks=1.48% locks-per-thread=1.48%
  63. mutex_coro_contention_with_payload/16_mean 5819 ns 3785 ns 10 locks=4.2663M/s locks-per-thread=266.644k/s
  64. mutex_coro_contention_with_payload/16_median 5822 ns 3807 ns 10 locks=4.30837M/s locks-per-thread=269.273k/s
  65. mutex_coro_contention_with_payload/16_stddev 233 ns 352 ns 10 locks=328.266k/s locks-per-thread=20.5167k/s
  66. mutex_coro_contention_with_payload/16_cv 4.01 % 9.31 % 10 locks=7.69% locks-per-thread=7.69%
  67. mutex_coro_contention_with_payload/32_mean 11769 ns 4020 ns 10 locks=7.92825M/s locks-per-thread=247.758k/s
  68. mutex_coro_contention_with_payload/32_median 11753 ns 3926 ns 10 locks=7.98525M/s locks-per-thread=249.539k/s
  69. mutex_coro_contention_with_payload/32_stddev 320 ns 204 ns 10 locks=301.248k/s locks-per-thread=9.41399k/s
  70. mutex_coro_contention_with_payload/32_cv 2.72 % 5.07 % 10 locks=3.80% locks-per-thread=3.80%
  71.  
  72. Process finished with exit code 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement