Perf improvements with concurrent hash calculation ================================================= Using the source code dataset here are the new perfs: ``` 254 541,85 msec task-clock # 1,333 CPUs utilized 489 390 context-switches # 0,002 M/sec 14 491 cpu-migrations # 0,057 K/sec 109 170 page-faults # 0,429 K/sec 702 598 342 141 cycles # 2,760 GHz 1 191 229 091 705 instructions # 1,70 insn per cycle 172 579 644 365 branches # 678,001 M/sec 2 502 920 412 branch-misses # 1,45% of all branches 191,024430360 seconds time elapsed 247,992304000 seconds user 15,759037000 seconds sys ``` But this time I also had the good idea to close all my processes and to use a tmp directory for writing. ------------------------------------------------------------------------------- With the same setup, the previous perf was: ``` 277 665,78 msec task-clock # 1,411 CPUs utilized 853 639 context-switches # 0,003 M/sec 27 276 cpu-migrations # 0,098 K/sec 110 187 page-faults # 0,397 K/sec 764 443 227 093 cycles # 2,753 GHz 1 221 696 199 089 instructions # 1,60 insn per cycle 178 891 873 274 branches # 644,271 M/sec 2 578 200 052 branch-misses # 1,44% of all branches 196,744991354 seconds time elapsed 270,030535000 seconds user 18,285378000 seconds sys ``` So not that big of an improvement, but it seems that at the same time CPU usage has decreased a bit. Maybe because less synchronization calls were made ? />
path: root/lib/omittable.h
blob: b5efecf58108e008ac910e233a6c1c555dea18d5 (plain)
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223