Advertisement
AntonyZhilin

Lock-free, aligned, randomized (precomputed permutations)

Sep 10th, 2022 (edited)
122
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:03:19+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.33, 2.75, 4.47
  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 8.39 ns 8.22 ns 10
  16. mutex_coro_lock_median 8.36 ns 8.20 ns 10
  17. mutex_coro_lock_stddev 0.420 ns 0.405 ns 10
  18. mutex_coro_lock_cv 5.00 % 4.93 % 10
  19. mutex_coro_unlock_mean 23.1 ns 23.2 ns 10
  20. mutex_coro_unlock_median 22.6 ns 22.8 ns 10
  21. mutex_coro_unlock_stddev 1.81 ns 1.81 ns 10
  22. mutex_coro_unlock_cv 7.83 % 7.81 % 10
  23. mutex_coro_contention/1_mean 22.0 ns 22.0 ns 10 locks=45.613M/s locks-per-thread=45.613M/s
  24. mutex_coro_contention/1_median 22.1 ns 22.1 ns 10 locks=45.2037M/s locks-per-thread=45.2037M/s
  25. mutex_coro_contention/1_stddev 1.02 ns 1.02 ns 10 locks=2.13897M/s locks-per-thread=2.13897M/s
  26. mutex_coro_contention/1_cv 4.65 % 4.65 % 10 locks=4.69% locks-per-thread=4.69%
  27. mutex_coro_contention/2_mean 158 ns 158 ns 10 locks=13.5732M/s locks-per-thread=6.78658M/s
  28. mutex_coro_contention/2_median 159 ns 159 ns 10 locks=13.4491M/s locks-per-thread=6.72457M/s
  29. mutex_coro_contention/2_stddev 33.7 ns 33.7 ns 10 locks=1.72131M/s locks-per-thread=860.657k/s
  30. mutex_coro_contention/2_cv 21.28 % 21.26 % 10 locks=12.68% locks-per-thread=12.68%
  31. mutex_coro_contention/4_mean 635 ns 634 ns 10 locks=6.046M/s locks-per-thread=1.5115M/s
  32. mutex_coro_contention/4_median 633 ns 633 ns 10 locks=6.03723M/s locks-per-thread=1.50931M/s
  33. mutex_coro_contention/4_stddev 27.5 ns 27.3 ns 10 locks=236.221k/s locks-per-thread=59.0553k/s
  34. mutex_coro_contention/4_cv 4.33 % 4.31 % 10 locks=3.91% locks-per-thread=3.91%
  35. mutex_coro_contention/8_mean 1896 ns 1887 ns 10 locks=4.12323M/s locks-per-thread=515.404k/s
  36. mutex_coro_contention/8_median 1865 ns 1862 ns 10 locks=4.16986M/s locks-per-thread=521.233k/s
  37. mutex_coro_contention/8_stddev 67.4 ns 74.2 ns 10 locks=152.282k/s locks-per-thread=19.0353k/s
  38. mutex_coro_contention/8_cv 3.56 % 3.93 % 10 locks=3.69% locks-per-thread=3.69%
  39. mutex_coro_contention/16_mean 4139 ns 2741 ns 10 locks=5.70177M/s locks-per-thread=356.361k/s
  40. mutex_coro_contention/16_median 4176 ns 2736 ns 10 locks=5.64532M/s locks-per-thread=352.833k/s
  41. mutex_coro_contention/16_stddev 178 ns 379 ns 10 locks=712.112k/s locks-per-thread=44.507k/s
  42. mutex_coro_contention/16_cv 4.30 % 13.83 % 10 locks=12.49% locks-per-thread=12.49%
  43. mutex_coro_contention/32_mean 8609 ns 2931 ns 10 locks=10.5423M/s locks-per-thread=329.446k/s
  44. mutex_coro_contention/32_median 8609 ns 2979 ns 10 locks=10.5577M/s locks-per-thread=329.929k/s
  45. mutex_coro_contention/32_stddev 425 ns 164 ns 10 locks=406.261k/s locks-per-thread=12.6956k/s
  46. mutex_coro_contention/32_cv 4.93 % 5.61 % 10 locks=3.85% locks-per-thread=3.85%
  47. mutex_coro_contention_with_payload/1_mean 63.4 ns 63.4 ns 10 locks=15.8521M/s locks-per-thread=15.8521M/s
  48. mutex_coro_contention_with_payload/1_median 63.4 ns 63.4 ns 10 locks=15.7705M/s locks-per-thread=15.7705M/s
  49. mutex_coro_contention_with_payload/1_stddev 4.55 ns 4.54 ns 10 locks=1098.93k/s locks-per-thread=1098.93k/s
  50. mutex_coro_contention_with_payload/1_cv 7.19 % 7.17 % 10 locks=6.93% locks-per-thread=6.93%
  51. mutex_coro_contention_with_payload/2_mean 284 ns 284 ns 10 locks=7.49259M/s locks-per-thread=3.74629M/s
  52. mutex_coro_contention_with_payload/2_median 284 ns 284 ns 10 locks=7.06175M/s locks-per-thread=3.53088M/s
  53. mutex_coro_contention_with_payload/2_stddev 60.6 ns 60.6 ns 10 locks=1.46519M/s locks-per-thread=732.596k/s
  54. mutex_coro_contention_with_payload/2_cv 21.33 % 21.34 % 10 locks=19.56% locks-per-thread=19.56%
  55. mutex_coro_contention_with_payload/4_mean 897 ns 897 ns 10 locks=4.46827M/s locks-per-thread=1.11707M/s
  56. mutex_coro_contention_with_payload/4_median 897 ns 897 ns 10 locks=4.45984M/s locks-per-thread=1.11496M/s
  57. mutex_coro_contention_with_payload/4_stddev 25.1 ns 25.0 ns 10 locks=136.023k/s locks-per-thread=34.0058k/s
  58. mutex_coro_contention_with_payload/4_cv 2.79 % 2.79 % 10 locks=3.04% locks-per-thread=3.04%
  59. mutex_coro_contention_with_payload/8_mean 2550 ns 2547 ns 10 locks=3.1416M/s locks-per-thread=392.699k/s
  60. mutex_coro_contention_with_payload/8_median 2544 ns 2543 ns 10 locks=3.1403M/s locks-per-thread=392.537k/s
  61. mutex_coro_contention_with_payload/8_stddev 63.6 ns 62.4 ns 10 locks=72.1584k/s locks-per-thread=9.0198k/s
  62. mutex_coro_contention_with_payload/8_cv 2.49 % 2.45 % 10 locks=2.30% locks-per-thread=2.30%
  63. mutex_coro_contention_with_payload/16_mean 5582 ns 3811 ns 10 locks=4.19537M/s locks-per-thread=262.211k/s
  64. mutex_coro_contention_with_payload/16_median 5513 ns 3809 ns 10 locks=4.19325M/s locks-per-thread=262.078k/s
  65. mutex_coro_contention_with_payload/16_stddev 235 ns 233 ns 10 locks=307.055k/s locks-per-thread=19.1909k/s
  66. mutex_coro_contention_with_payload/16_cv 4.21 % 6.10 % 10 locks=7.32% locks-per-thread=7.32%
  67. mutex_coro_contention_with_payload/32_mean 11409 ns 3890 ns 10 locks=8.11432M/s locks-per-thread=253.573k/s
  68. mutex_coro_contention_with_payload/32_median 11520 ns 3910 ns 10 locks=8.15453M/s locks-per-thread=254.829k/s
  69. mutex_coro_contention_with_payload/32_stddev 346 ns 109 ns 10 locks=170.08k/s locks-per-thread=5.315k/s
  70. mutex_coro_contention_with_payload/32_cv 3.03 % 2.79 % 10 locks=2.10% locks-per-thread=2.10%
  71.  
  72. Process finished with exit code 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement