• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4<title>3.5- Windows Benchmark</title>
5<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7<link rel="home" href="../../index.html" title="Boost.Sort">
8<link rel="up" href="../parallel.html" title="3.- Parallel Algorithms">
9<link rel="prev" href="linux_parallel.html" title="3.4- Linux Benchmarks">
10<link rel="next" href="../bibliography.html" title="4.- Bibliography">
11</head>
12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13<table cellpadding="2" width="100%"><tr>
14<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
15<td align="center"><a href="../../../../../../index.html">Home</a></td>
16<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
17<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
20</tr></table>
21<hr>
22<div class="spirit-nav">
23<a accesskey="p" href="linux_parallel.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../parallel.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../bibliography.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
24</div>
25<div class="section">
26<div class="titlepage"><div><div><h3 class="title">
27<a name="sort.parallel.windows_parallel"></a><a class="link" href="windows_parallel.html" title="3.5- Windows Benchmark">3.5- Windows Benchmark</a>
28</h3></div></div></div>
29<div class="blockquote"><blockquote class="blockquote">
30<p>
31          These results are obtained from complex benchmarks, not included in the
32          library because they use non free software. (If you are interested in the
33          details, contact fjtapia@gmail.com)
34        </p>
35<p>
36          There are 3 types of benchmarks,
37        </p>
38<div class="blockquote"><blockquote class="blockquote">
39<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
40<li class="listitem">
41                64 bits integers
42              </li>
43<li class="listitem">
44                strings
45              </li>
46<li class="listitem">
47                objects of several sizes.
48              </li>
49</ul></div>
50<p>
51            The objects are arrays of integers. The heavy comparison sums all the
52            elements in each, and the light comparison uses only the first number
53            of the array.
54          </p>
55<p>
56            This benchmark ran on a VirtualBox virtual machine with 8 threads and
57            16 GB of RAM, running over a Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz
58            with 6 cores and 2 threads by core, and 15M of cache.
59          </p>
60</blockquote></div>
61<h5>
62<a name="sort.parallel.windows_parallel.h0"></a>
63          <span class="phrase"><a name="sort.parallel.windows_parallel.100_000_000_numbers_of_64_bits_r"></a></span><a class="link" href="windows_parallel.html#sort.parallel.windows_parallel.100_000_000_numbers_of_64_bits_r"><span class="underline">100 000 000 NUMBERS OF 64 BITS RANDOMLY FILLED</span></a>
64        </h5>
65<p>
66          <span class="bold"><strong>
67<pre class="programlisting">                          |         |             |
68                          |  Time   |   Maximum   |
69                          |  secs   | Memory Used |
70--------------------------+---------+-------------+
71PPL parallel sort         |  2.4016 |    786 MB   |
72PPL parallel_buffered_sort|  2.0373 |   1567 MB   |
73block_indirect_sort       |  1.6101 |    785 MB   |
74                          |         |             |
75sample sort               |  2.1191 |   1565 MB   |
76parallel stable sort      |  2.4503 |   1175 MB   |
77                          |         |             |
78</pre>
79          </strong></span>
80        </p>
81<h5>
82<a name="sort.parallel.windows_parallel.h1"></a>
83          <span class="phrase"><a name="sort.parallel.windows_parallel.10_000_000_strings_randomly_fill"></a></span><a class="link" href="windows_parallel.html#sort.parallel.windows_parallel.10_000_000_strings_randomly_fill"><span class="underline">10 000 000 STRINGS RANDOMLY FILLED</span></a>
84        </h5>
85<p>
86          <span class="bold"><strong>
87<pre class="programlisting">                          |         |             |
88                          |  Time   |   Maximum   |
89                          |  secs   | Memory Used |
90--------------------------+---------+-------------+
91PPL parallel sort         |   4.3241|    887 MB   |
92PPL parallel_buffered_sort|   3.5434|   1199 MB   |
93block_indirect_sort       |   3.5732|   1601 MB   |
94                          |         |             |
95sample sort               |   3.8107|   1198 MB   |
96parallel stable sort      |   5.0277|   1041 MB   |
97                          |         |             |
98</pre>
99          </strong></span>
100        </p>
101<h5>
102<a name="sort.parallel.windows_parallel.h2"></a>
103          <span class="phrase"><a name="sort.parallel.windows_parallel.objects_randomly_filled"></a></span><a class="link" href="windows_parallel.html#sort.parallel.windows_parallel.objects_randomly_filled"><span class="underline">OBJECTS RANDOMLY FILLED</span></a>
104        </h5>
105<div class="blockquote"><blockquote class="blockquote">
106<p>
107            The objects are arrays of 64 bits numbers
108          </p>
109<p>
110            They are compared in two ways :
111          </p>
112<div class="blockquote"><blockquote class="blockquote">
113<p>
114              (H) Heavy : The comparison is the sum of all the numbers of the array.
115            </p>
116<p>
117              (L) Light : The comparison is using only the first element of the array,
118              as a key
119            </p>
120</blockquote></div>
121</blockquote></div>
122<p>
123          <span class="bold"><strong>
124<pre class="programlisting">                           |           |           |           |           |           |           |             |
125                           | 100000000 |  50000000 |  25000000 |  12500000 |   6250000 |   1562500 |             |
126                           | objects of| objects of|objects of |objects of |objects of |objects of |  Maximum    |
127                           |  8 bytes  | 16 bytes  | 32 bytes  | 64 bytes  | 128 bytes | 512 bytes |  Memory     |
128                           |           |           |           |           |           |           |  Used       |
129                           |  H     L  |  H     L  |  H     L  |  H     L  |  H     L  |  H     L  |             |
130---------------------------+-----------+-----------+-----------+-----------+-----------+-----------+-------------+
131                           |           |           |           |           |           |           |             |
132PPL parallel sort          | 2.50  2.40| 1.34  1.16| 0.85  0.73| 0.70  0.57| 0.72  0.45| 0.54  0.40|    785 MB   |
133PPL parallel_buffered_sort | 2.20  2.26| 1.34  1.24| 1.03  0.79| 1.00  0.83| 0.90  0.85| 0.78  0.87|   1567 MB   |
134                           |           |           |           |           |           |           |             |
135block_indirect_sort        | 1.62  1.59| 0.94  0.87| 0.63  0.57| 0.50  0.44| 0.58  0.38| 0.55  0.35|    785 MB   |
136                           |           |           |           |           |           |           |             |
137sample sort                | 2.19  2.25| 1.69  1.54| 1.12  1.14| 1.18  1.14| 1.03  1.13| 1.09  1.17|   1565 MB   |
138parallel stable sort       | 2.54  2.49| 1.69  1.52| 1.25  1.10| 1.10  1.03| 1.07  1.00| 1.05  0.97|   1175 MB   |
139                           |           |           |           |           |           |           |             |
140</pre>
141          </strong></span> <br> <br>
142        </p>
143</blockquote></div>
144</div>
145<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
146<td align="left"></td>
147<td align="right"><div class="copyright-footer">Copyright © 2014-2017 Steven
148      Ross, Francisco Tapia, Orson Peters<p>
149        Distributed under the <a href="http://boost.org/LICENSE_1_0.txt" target="_top">Boost
150        Software License, Version 1.0</a>.
151      </p>
152</div></td>
153</tr></table>
154<hr>
155<div class="spirit-nav">
156<a accesskey="p" href="linux_parallel.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../parallel.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../bibliography.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
157</div>
158</body>
159</html>
160