File: benchmarks.html

package info (click to toggle)
libatomic-queue 0.0%2Bgit20220518.83774a2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 10,352 kB
  • sloc: cpp: 1,620; javascript: 353; makefile: 131; python: 82; ansic: 74; sh: 59
file content (74 lines) | stat: -rw-r--r-- 4,514 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<!DOCTYPE html>
<!-- Copyright (c) 2019 Maxim Egorushkin. MIT License. See the full licence in file LICENSE. -->
<html>
  <head>
    <!-- Global site tag (gtag.js) - Google Analytics -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-141287509-1"></script>
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());
      gtag('config', 'UA-141287509-1');
    </script>

    <link href="https://fonts.googleapis.com/css?family=Roboto+Slab:400,700&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="benchmarks.css">
    <script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha256-pasqAKBDmFT4eHoN2ndd6lN370kFiGUFyTiUHWhU7k8=" crossorigin="anonymous"></script>
    <script src="https://code.highcharts.com/highcharts.js"></script>
    <script src="https://code.highcharts.com/highcharts-more.js"></script>
    <script src="https://code.highcharts.com/modules/pattern-fill.js"></script>
    <script src="theme.js"></script>
    <script src="benchmarks.js"></script>
    <meta charset="utf-8">
    <title>Scalaibilty and Latency Benchmarks</title>
  </head>
  <body>
    <h1>Scalability Benchmark</h1>
    <p>N producer threads push a 4-byte integer into one same queue, N consumer threads pop the integers from the queue. All producers posts 1,000,000 messages in total. Total time to send and receive all the messages is measured. The benchmark is run for from 1 producer and 1 consumer up to (total-number-of-cpus / 2) producers/consumers to measure the scalabilty of different queues.</p>
    <div class="chart" id="scalability-9900KS-5GHz"></div>
    <div class="chart" id="scalability-xeon-gold-6132"></div>
    <div class="chart" id="scalability-ryzen-5950x"></div>
    <h1>Latency Benchmark</h1>
    <p>One thread posts a 4-byte integer to another thread through one queue and waits for a reply from another queue (2 queues in total). The benchmark measures the total time of 100,000 ping-pongs, best of 10 runs. Contention is minimal here (1-producer-1-consumer, 1 element in the queue) to be able to achieve and measure the lowest latency. Reports the average round-trip time.</p>
    <div class="chart" id="latency-9900KS-5GHz"></div>
    <div class="chart" id="latency-xeon-gold-6132"></div>
    <div class="chart" id="latency-ryzen-5950x"></div>
    <h2>Systems details</h2>
    <h3>Intel i9-9900KS system</h3>
    <ul>
      <li>OS: Ubuntu-18.04.4 LTS
      <li>Compiler: gcc-8.4.0
      <li>atomic_queue version: commit 7e138d21fcd4bad95e030d8d6c8b77d5a4538baa
      <li>Boost version: 1.65.1
      <li>TBB version: 2019_U7, commit 4233fef583b4f8cbf9f781311717600feaaa0694
      <li>moodycamel concurrentqueue version: commit dea078cf5b6e742cd67a0d725e36f872feca4de4
      <li>moodycamel readerwriterqueue version: commit 2ae710de996a1d02bbc7696b2cdff2c6078e76f8
      <li>xenium library version: commit f6416d30043a7d025405038d5ddd4794aaaab4a3
    </ul>
    <h3>Intel Xeon Gold 6132 system</h3>
    <ul>
      <li>OS: Red Hat Enterprise Linux Server release 6.10 (Santiago)
      <li>Compiler: gcc-8.4.0
      <li>atomic_queue version: commit 7e138d21fcd4bad95e030d8d6c8b77d5a4538baa
      <li>Boost version: 1.65.1
      <li>TBB version: 2019_U7, commit 4233fef583b4f8cbf9f781311717600feaaa0694
      <li>moodycamel concurrentqueue version: commit dea078cf5b6e742cd67a0d725e36f872feca4de4
      <li>moodycamel readerwriterqueue version: commit 2ae710de996a1d02bbc7696b2cdff2c6078e76f8
      <li>xenium library version: commit f6416d30043a7d025405038d5ddd4794aaaab4a3
    </ul>
    <h3>AMD Ryzen 9 5950X system</h3>
    <ul>
      <li>OS: KDE Neon based on Ubuntu 20.04 and XanMod Kernel 5.10 LTS.
      <li>Compiler: gcc-9.3.0
      <li>atomic_queue version: commit e02078c14cab70f0df594ea3406f1240297e11d7
      <li>Boost version: 1.71.0
      <li>TBB version: 2019_U7, commit 4233fef583b4f8cbf9f781311717600feaaa0694
      <li>moodycamel concurrentqueue version: commit dea078cf5b6e742cd67a0d725e36f872feca4de4
      <li>moodycamel readerwriterqueue version: commit 2ae710de996a1d02bbc7696b2cdff2c6078e76f8
      <li>xenium library version: commit f6416d30043a7d025405038d5ddd4794aaaab4a3
    </ul>
    <h3>Source Code</h3>
    <p><a href="https://github.com/max0x7ba/atomic_queue">github.com/max0x7ba/atomic_queue</a></p>
    <p class="copyright">Copyright (c) 2019 Maxim Egorushkin. MIT License. See the full licence in file LICENSE.</p>
  </body>
</html>