1 2018-03-10T00:00:03  *** weez17 has quit IRC
  2 2018-03-10T00:00:48  *** weez17 has joined #bitcoin-core-dev
  3 2018-03-10T00:10:35  *** dlb76 has quit IRC
  4 2018-03-10T00:13:44  *** dlb76 has joined #bitcoin-core-dev
  5 2018-03-10T00:30:02  *** jojeyh has quit IRC
  6 2018-03-10T00:32:04  *** btcdrak has quit IRC
  7 2018-03-10T00:43:26  *** Aliencorpse has quit IRC
  8 2018-03-10T00:52:32  *** arbitrary_guy has joined #bitcoin-core-dev
  9 2018-03-10T00:55:15  *** Aliencorpse has joined #bitcoin-core-dev
 10 2018-03-10T00:59:43  *** gribble has joined #bitcoin-core-dev
 11 2018-03-10T01:03:37  *** justan0theruser has quit IRC
 12 2018-03-10T01:05:16  *** jojeyh has joined #bitcoin-core-dev
 13 2018-03-10T01:05:25  *** justanotheruser has joined #bitcoin-core-dev
 14 2018-03-10T01:07:37  <karelb> I am porting the autogenerated doc into bitcoincore.org website so I can make a PR and it looks fine :)
 15 2018-03-10T01:07:41  <karelb> https://i.imgur.com/Qu42lTZ.png
 16 2018-03-10T01:08:05  <karelb> well at least on my notebook
 17 2018-03-10T01:08:51  <karelb> I hijacked the GUI you have for article TOC for also adding a menu
 18 2018-03-10T01:09:59  <karelb> (that is where I found https://github.com/bitcoin-core/bitcoincore.org/issues/525 )
 19 2018-03-10T01:13:14  <luke-jr> I wonder if the Doxygen stuff would be useful to publish
 20 2018-03-10T01:21:57  <karelb> There is something here
 21 2018-03-10T01:21:58  <karelb> https://dev.visucore.com/bitcoin/doxygen/struct_c_coin.html
 22 2018-03-10T01:22:35  <karelb> and I don't think it's more useful than just looking at the source, to be frank
 23 2018-03-10T01:28:02  *** AhNo1 has joined #bitcoin-core-dev
 24 2018-03-10T01:30:39  *** qu4ku has joined #bitcoin-core-dev
 25 2018-03-10T01:32:17  <bitcoin-git> [bitcoin] sipa opened pull request #12658: Sanitize some wallet serialize (master...201803_crazywalletser) https://github.com/bitcoin/bitcoin/pull/12658
 26 2018-03-10T01:36:29  *** rex_4539 has quit IRC
 27 2018-03-10T01:39:30  *** qu4ku has quit IRC
 28 2018-03-10T01:41:07  *** qu4ku has joined #bitcoin-core-dev
 29 2018-03-10T01:50:35  *** Randolf has quit IRC
 30 2018-03-10T01:51:21  *** AhNo1 has quit IRC
 31 2018-03-10T01:56:33  *** Victorsueca has quit IRC
 32 2018-03-10T01:57:49  *** Victorsueca has joined #bitcoin-core-dev
 33 2018-03-10T02:01:45  *** skeees has quit IRC
 34 2018-03-10T02:06:33  *** AhNo1 has joined #bitcoin-core-dev
 35 2018-03-10T02:22:42  *** belcher_ has quit IRC
 36 2018-03-10T02:38:00  *** goatpig has quit IRC
 37 2018-03-10T02:40:07  <bitcoin-git> [bitcoin] eklitzke closed pull request #12491: Try to use posix_fadvise with CBufferedFile (master...fadvise) https://github.com/bitcoin/bitcoin/pull/12491
 38 2018-03-10T02:51:33  *** krypto-praxis has quit IRC
 39 2018-03-10T02:54:50  *** harryTrout has joined #bitcoin-core-dev
 40 2018-03-10T03:04:34  *** krypto-praxis has joined #bitcoin-core-dev
 41 2018-03-10T03:12:43  *** CapitanRetardo has quit IRC
 42 2018-03-10T03:18:24  *** AhNo1 has quit IRC
 43 2018-03-10T03:18:58  *** AaronvanW has quit IRC
 44 2018-03-10T03:29:05  *** molly has quit IRC
 45 2018-03-10T03:29:20  *** molly has joined #bitcoin-core-dev
 46 2018-03-10T03:40:09  *** CapitanRetardo has joined #bitcoin-core-dev
 47 2018-03-10T03:43:51  *** harryTrout has quit IRC
 48 2018-03-10T03:44:49  *** CapitanRetardo has quit IRC
 49 2018-03-10T03:45:02  *** dermoth has quit IRC
 50 2018-03-10T03:45:33  *** dermoth has joined #bitcoin-core-dev
 51 2018-03-10T03:48:17  *** harryTrout has joined #bitcoin-core-dev
 52 2018-03-10T03:50:52  *** CapitanRetardo has joined #bitcoin-core-dev
 53 2018-03-10T03:51:11  *** Krellan has quit IRC
 54 2018-03-10T03:51:31  *** Krellan has joined #bitcoin-core-dev
 55 2018-03-10T03:54:04  <pierre_rochard> karelb: I’ve found the doxygen call/caller graphs to be useful, but otherwise agree that source is more useful
 56 2018-03-10T03:56:46  *** Krellan has quit IRC
 57 2018-03-10T04:08:42  *** meshcollider has joined #bitcoin-core-dev
 58 2018-03-10T04:09:00  *** lllll has joined #bitcoin-core-dev
 59 2018-03-10T04:09:11  *** lllll has left #bitcoin-core-dev
 60 2018-03-10T04:09:57  *** EpicBaldGuy has quit IRC
 61 2018-03-10T04:17:36  *** lari has quit IRC
 62 2018-03-10T04:18:10  *** lysobit_ has joined #bitcoin-core-dev
 63 2018-03-10T04:18:29  *** musalbas has quit IRC
 64 2018-03-10T04:18:41  *** lysobit_ is now known as musalbas
 65 2018-03-10T04:18:51  *** lari has joined #bitcoin-core-dev
 66 2018-03-10T04:21:24  *** cysm has quit IRC
 67 2018-03-10T04:21:33  *** qu4ku has quit IRC
 68 2018-03-10T04:24:35  *** cysm has joined #bitcoin-core-dev
 69 2018-03-10T04:36:19  *** harryTrout has quit IRC
 70 2018-03-10T04:48:50  *** Randolf has joined #bitcoin-core-dev
 71 2018-03-10T05:05:51  *** amin has quit IRC
 72 2018-03-10T05:06:36  *** amin has joined #bitcoin-core-dev
 73 2018-03-10T05:08:16  *** Giszmo has quit IRC
 74 2018-03-10T05:10:50  *** go1111111 has quit IRC
 75 2018-03-10T05:11:19  *** go1111111 has joined #bitcoin-core-dev
 76 2018-03-10T05:22:52  *** cryptojanitor has quit IRC
 77 2018-03-10T05:23:43  *** StopAndDecrypt has quit IRC
 78 2018-03-10T05:43:20  *** ossifrage has quit IRC
 79 2018-03-10T05:48:46  *** mmgen has joined #bitcoin-core-dev
 80 2018-03-10T06:02:17  *** ossifrage has joined #bitcoin-core-dev
 81 2018-03-10T06:06:11  *** bitstr3am has joined #bitcoin-core-dev
 82 2018-03-10T06:11:10  *** bitstr3am has quit IRC
 83 2018-03-10T06:41:41  *** go1111111 has quit IRC
 84 2018-03-10T06:54:53  <bitcoin-git> [bitcoin] eklitzke opened pull request #12659: Improve Fatal LevelDB Log Messages (master...leveldb_errmsg) https://github.com/bitcoin/bitcoin/pull/12659
 85 2018-03-10T06:55:22  <armid> what plugin in the code make spacing in variable declaration ?
 86 2018-03-10T06:55:25  <armid> such that
 87 2018-03-10T06:55:26  <armid>  SELECTCOINS = (1 << 10),
 88 2018-03-10T06:55:31  <armid> QT          = (1 << 19),
 89 2018-03-10T06:57:36  <sipa> what?
 90 2018-03-10T06:57:55  <sipa> bitcoin core doesn't have plugins
 91 2018-03-10T06:58:56  <armid> i mean IDE plugin
 92 2018-03-10T06:58:58  <armid> or something
 93 2018-03-10T06:59:05  <armid> vscode-plugin ?
 94 2018-03-10T06:59:08  <armid> that can format code
 95 2018-03-10T06:59:32  <sipa> you can use whatever you want
 96 2018-03-10T06:59:42  <sipa> i think most develooers just use text editors
 97 2018-03-10T07:00:07  *** Krellan has joined #bitcoin-core-dev
 98 2018-03-10T07:00:25  *** mrannanay has joined #bitcoin-core-dev
 99 2018-03-10T07:00:58  <armid> ^^
100 2018-03-10T07:04:22  *** Krellan has quit IRC
101 2018-03-10T07:07:58  *** rex_4539 has joined #bitcoin-core-dev
102 2018-03-10T07:16:26  <mrannanay> ryanofsky: Thanks!
103 2018-03-10T07:24:30  *** CubicEarths has quit IRC
104 2018-03-10T07:24:58  *** CubicEarths has joined #bitcoin-core-dev
105 2018-03-10T07:25:52  *** CubicEarths has quit IRC
106 2018-03-10T07:26:09  *** CubicEarths has joined #bitcoin-core-dev
107 2018-03-10T07:26:22  *** mmgen has quit IRC
108 2018-03-10T07:26:35  *** mmgen has joined #bitcoin-core-dev
109 2018-03-10T07:27:38  *** mmgen has quit IRC
110 2018-03-10T07:31:37  *** mmgen has joined #bitcoin-core-dev
111 2018-03-10T07:43:25  *** tryphe has quit IRC
112 2018-03-10T07:43:55  *** tryphe has joined #bitcoin-core-dev
113 2018-03-10T08:01:10  *** go1111111 has joined #bitcoin-core-dev
114 2018-03-10T08:09:29  *** farsider350 has joined #bitcoin-core-dev
115 2018-03-10T08:09:57  *** farsider350 has quit IRC
116 2018-03-10T08:11:57  *** arbitrary_guy has quit IRC
117 2018-03-10T08:19:59  *** harryTrout has joined #bitcoin-core-dev
118 2018-03-10T08:27:06  *** farsider350 has joined #bitcoin-core-dev
119 2018-03-10T08:28:19  *** meshcollider has quit IRC
120 2018-03-10T08:39:44  *** SATOTY has joined #bitcoin-core-dev
121 2018-03-10T08:41:29  *** harryTrout has quit IRC
122 2018-03-10T08:41:55  *** harryTrout has joined #bitcoin-core-dev
123 2018-03-10T08:53:39  *** SATOTY has quit IRC
124 2018-03-10T09:01:53  *** harryTrout has quit IRC
125 2018-03-10T09:06:33  *** ProfMac has quit IRC
126 2018-03-10T09:14:19  *** harryTrout has joined #bitcoin-core-dev
127 2018-03-10T09:33:39  *** bago has joined #bitcoin-core-dev
128 2018-03-10T09:35:23  *** alexneudatchin has joined #bitcoin-core-dev
129 2018-03-10T09:41:10  *** Sinclair6 has quit IRC
130 2018-03-10T10:00:53  *** bago has quit IRC
131 2018-03-10T10:04:22  *** harryTrout has quit IRC
132 2018-03-10T10:10:30  *** rex_4539 has quit IRC
133 2018-03-10T10:16:01  *** Victorsueca has quit IRC
134 2018-03-10T10:17:20  *** Victorsueca has joined #bitcoin-core-dev
135 2018-03-10T10:18:02  *** Sinclair6 has joined #bitcoin-core-dev
136 2018-03-10T10:18:25  *** larafale has joined #bitcoin-core-dev
137 2018-03-10T10:28:56  *** CubicEarths has quit IRC
138 2018-03-10T10:29:21  *** CubicEarths has joined #bitcoin-core-dev
139 2018-03-10T10:31:49  *** promag has joined #bitcoin-core-dev
140 2018-03-10T10:34:42  *** _flow_ has quit IRC
141 2018-03-10T10:37:40  *** _flow_ has joined #bitcoin-core-dev
142 2018-03-10T10:38:25  *** CapitanRetardo has quit IRC
143 2018-03-10T10:40:38  *** Guyver2 has joined #bitcoin-core-dev
144 2018-03-10T10:41:08  *** CapitanRetardo has joined #bitcoin-core-dev
145 2018-03-10T10:49:15  *** CapitanRetardo has quit IRC
146 2018-03-10T10:49:25  *** CapitanRetardo has joined #bitcoin-core-dev
147 2018-03-10T11:12:57  *** alexneudatchin has quit IRC
148 2018-03-10T11:22:06  *** CubicEarths has quit IRC
149 2018-03-10T11:22:44  *** CubicEarths has joined #bitcoin-core-dev
150 2018-03-10T11:23:27  *** CubicEarths has joined #bitcoin-core-dev
151 2018-03-10T11:26:24  *** hirish has quit IRC
152 2018-03-10T11:27:00  *** qu4ku has joined #bitcoin-core-dev
153 2018-03-10T11:31:11  *** hirish has joined #bitcoin-core-dev
154 2018-03-10T11:32:18  *** AaronvanW has joined #bitcoin-core-dev
155 2018-03-10T11:40:38  *** nman999 has joined #bitcoin-core-dev
156 2018-03-10T11:43:58  *** Victorsueca has quit IRC
157 2018-03-10T11:45:19  *** Victorsueca has joined #bitcoin-core-dev
158 2018-03-10T11:46:48  *** AaronvanW has quit IRC
159 2018-03-10T11:47:24  *** AaronvanW has joined #bitcoin-core-dev
160 2018-03-10T12:01:27  *** rex_4539 has joined #bitcoin-core-dev
161 2018-03-10T12:06:22  *** cryptojanitor has joined #bitcoin-core-dev
162 2018-03-10T12:40:14  *** nman999_ has joined #bitcoin-core-dev
163 2018-03-10T12:43:13  *** nman999 has quit IRC
164 2018-03-10T12:47:17  *** nman999_ has quit IRC
165 2018-03-10T13:25:42  *** harryTrout has joined #bitcoin-core-dev
166 2018-03-10T13:32:47  *** alexneudatchin has joined #bitcoin-core-dev
167 2018-03-10T13:45:35  *** harryTrout has quit IRC
168 2018-03-10T13:46:14  *** DrFeelGood has quit IRC
169 2018-03-10T13:48:57  *** opdenkamp has quit IRC
170 2018-03-10T14:19:22  *** ossifrage has quit IRC
171 2018-03-10T14:20:53  *** jojeyh has quit IRC
172 2018-03-10T14:23:00  *** murchandamus has quit IRC
173 2018-03-10T14:29:08  *** murchandamus has joined #bitcoin-core-dev
174 2018-03-10T14:30:53  *** murchandamus has joined #bitcoin-core-dev
175 2018-03-10T15:06:13  *** larafale has quit IRC
176 2018-03-10T15:06:56  *** larafale has joined #bitcoin-core-dev
177 2018-03-10T15:09:33  *** molly has quit IRC
178 2018-03-10T15:09:59  *** molly has joined #bitcoin-core-dev
179 2018-03-10T15:11:11  *** Adam___ has joined #bitcoin-core-dev
180 2018-03-10T15:13:20  *** Adam___ has quit IRC
181 2018-03-10T15:14:15  *** Victorsueca has quit IRC
182 2018-03-10T15:15:27  *** larafale has quit IRC
183 2018-03-10T15:15:28  *** Victorsueca has joined #bitcoin-core-dev
184 2018-03-10T15:32:54  *** ProfMac has joined #bitcoin-core-dev
185 2018-03-10T15:35:05  *** DrFeelGood has joined #bitcoin-core-dev
186 2018-03-10T15:36:00  *** ProfMac has quit IRC
187 2018-03-10T15:36:19  *** ProfMac has joined #bitcoin-core-dev
188 2018-03-10T16:00:55  *** laurentmt has joined #bitcoin-core-dev
189 2018-03-10T16:15:28  <bitcoin-git> [bitcoin] laanwj pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/29fad97c320c...bb98aec6743e
190 2018-03-10T16:15:29  <bitcoin-git> bitcoin/master a7324bd practicalswift: Format timestamps using ISO 8601 formatting (e.g. "2018-02-28T12:34:56Z")...
191 2018-03-10T16:15:29  <bitcoin-git> bitcoin/master bb98aec Wladimir J. van der Laan: Merge #12567: util: Print timestamp strings in logs using ISO 8601 formatting...
192 2018-03-10T16:15:52  *** pierre_rochard has quit IRC
193 2018-03-10T16:16:09  *** cryptojanitor has quit IRC
194 2018-03-10T16:16:26  <bitcoin-git> [bitcoin] laanwj closed pull request #12567: util: Print timestamp strings in logs using ISO 8601 formatting (master...iso-8601) https://github.com/bitcoin/bitcoin/pull/12567
195 2018-03-10T16:16:40  *** pierre_rochard has joined #bitcoin-core-dev
196 2018-03-10T16:24:14  *** CubicEarths has quit IRC
197 2018-03-10T16:25:48  *** BullShark has quit IRC
198 2018-03-10T16:26:00  *** BullShark has joined #bitcoin-core-dev
199 2018-03-10T16:26:28  *** wbnns has quit IRC
200 2018-03-10T16:26:33  *** CodeShark has quit IRC
201 2018-03-10T16:26:46  *** CodeShark has joined #bitcoin-core-dev
202 2018-03-10T16:26:47  *** wbnns has joined #bitcoin-core-dev
203 2018-03-10T16:49:00  *** bzb has joined #bitcoin-core-dev
204 2018-03-10T16:52:18  *** Samdney has joined #bitcoin-core-dev
205 2018-03-10T17:02:57  *** molly has quit IRC
206 2018-03-10T17:03:21  *** molly has joined #bitcoin-core-dev
207 2018-03-10T17:04:45  *** molly has quit IRC
208 2018-03-10T17:05:01  *** molly has joined #bitcoin-core-dev
209 2018-03-10T17:06:08  <bitcoin-git> [bitcoin] eklitzke opened pull request #12664: Rename LevelDB background compaction thread (master...bgcompact) https://github.com/bitcoin/bitcoin/pull/12664
210 2018-03-10T17:06:09  *** CapitanRetardo has quit IRC
211 2018-03-10T17:09:58  *** SopaXorzTaker has joined #bitcoin-core-dev
212 2018-03-10T17:12:01  *** bzb has quit IRC
213 2018-03-10T17:12:48  *** molly has quit IRC
214 2018-03-10T17:13:06  *** mol has joined #bitcoin-core-dev
215 2018-03-10T17:14:10  *** larafale has joined #bitcoin-core-dev
216 2018-03-10T17:15:17  *** molly has joined #bitcoin-core-dev
217 2018-03-10T17:16:53  *** mmgen has quit IRC
218 2018-03-10T17:17:45  *** mmgen has joined #bitcoin-core-dev
219 2018-03-10T17:17:47  <bitcoin-git> [bitcoin] practicalswift opened pull request #12665: Add compile time checking for all run time locking assertions (master...compile-time-checking-of-runtime-assertions) https://github.com/bitcoin/bitcoin/pull/12665
220 2018-03-10T17:18:25  *** mol has quit IRC
221 2018-03-10T17:20:16  *** juscamarena has joined #bitcoin-core-dev
222 2018-03-10T17:35:13  <eklitzke> i was looking at malloc stats before/after flushing the dbcache, it looks like glibc malloc doesn't do so hot: https://gist.github.com/eklitzke/9cdcedaf5d15157f79e59128edd83234
223 2018-03-10T17:35:50  <eklitzke> the memory use for heap 7 (where the loadblk thread is running) is basically the same before and after the 2GB flush
224 2018-03-10T17:37:42  *** tryphe_ has joined #bitcoin-core-dev
225 2018-03-10T17:38:26  *** molly has quit IRC
226 2018-03-10T17:38:49  <sipa> eklitzke: how do i view that?
227 2018-03-10T17:39:19  *** tryphe has quit IRC
228 2018-03-10T17:39:45  <eklitzke> bitcoin-cli getmemory mallocinfo
229 2018-03-10T17:42:31  <sipa> o
230 2018-03-10T17:44:13  <eklitzke> you can get global stats with mallinfo(3) but the xml thing seems to be the only way to get the stats broken down by arena (for bitcoin each thread effectively gets its own arena)
231 2018-03-10T17:46:02  <gmaxwell> eklitzke: by do so hot, you're expecting usage to go down... I wouldn't expect it to due to fragmentation. the cache is kazillions of tiny sparse allocations that all happened at different times.
232 2018-03-10T17:46:54  <eklitzke> it may not be fragmentation per se but it's not releasing the memory back to the os
233 2018-03-10T17:47:33  <eklitzke> i was experimenting with trying to dynamically change the dbcache size and it was ineffecitve for this reason, even when using rehash etc.
234 2018-03-10T17:48:26  <eklitzke> it would be nice if the dbcache could be given its own arena since it uses so much memory (on many configurations) and has a somewhat unique allocation pattern
235 2018-03-10T17:49:20  <gmaxwell> Instead, I'd rather it didn't allocate at all.
236 2018-03-10T17:49:52  <eklitzke> you mean like with a slab allocator?
237 2018-03-10T17:49:57  <gmaxwell> what I'd previously propsosed is that we make it into an open hash table, with all data internal. (and an exception map for rare unusually large entries)
238 2018-03-10T17:50:14  <eklitzke> i was thinking about that too
239 2018-03-10T17:50:18  <gmaxwell> everything inline, so no pointer chasing in lookups.
240 2018-03-10T17:50:32  <gmaxwell> (except for the exception entries)
241 2018-03-10T17:50:36  <eklitzke> nearly everything in the cache is the same size, the data could fit very compactly
242 2018-03-10T17:50:42  <gmaxwell> right.
243 2018-03-10T17:51:18  <gmaxwell> just make every entry the same size, and the rare ones that don't fit, the storage is a union with a pointer, and a flag tells you to look in an map for the payload.
244 2018-03-10T17:51:47  <gmaxwell> or something along those lines.
245 2018-03-10T17:51:53  <eklitzke> makes sense
246 2018-03-10T17:52:20  <sipa> but avoiding allocating inside the LevelDB batch creation would need serious refactoring
247 2018-03-10T17:52:51  <eklitzke> leveldb isn't really optimized for the way bitcoin writes to it
248 2018-03-10T17:53:03  <eklitzke> you could make it a lot more efficient
249 2018-03-10T17:53:31  <gmaxwell> and entries could be never deleted from the open hash table, just flagged.. and make the insert routine understand that it can just write over the first non-dirty entry it encounters.
250 2018-03-10T17:54:34  <eklitzke> it would require kind of serious surgery to the leveldb guts, but leveldb already represents the data in ordered ranges for the sstables, and the data to be flushed can be sorted, so i think you could redo the merge algorithm to zip through the on-disk data and the data being flushed and do the merge without doing a lot of allocatoins
251 2018-03-10T17:54:42  *** juscamarena has quit IRC
252 2018-03-10T17:54:49  <luke-jr> IIRC, at least at one point, Linux didn't *support* processes releasing memory back to the OS. But that may have changed (it's been years)
253 2018-03-10T17:55:14  <eklitzke> linux has supported releasing memory back to the operating system for 20+ years if you munmap the data
254 2018-03-10T17:55:21  <eklitzke> you can't do it with brk/sbrk though
255 2018-03-10T17:56:09  *** jamesob_ has joined #bitcoin-core-dev
256 2018-03-10T17:56:37  <eklitzke> glibc mixes both which is kind of weird
257 2018-03-10T17:56:58  <eklitzke> from what i can tell the main arena is allocated with sbrk and the other arenas are allocated with mmap
258 2018-03-10T17:57:31  <sipa> iirc it's just a threshold
259 2018-03-10T17:57:44  <sipa> memory ranges above a certain size are anonymous mmaps
260 2018-03-10T17:58:05  <eklitzke> i think step 1 though would be to implement greg
261 2018-03-10T17:58:17  <eklitzke> s idea, since that doesn't require messing with the allocator used by the rest of the code
262 2018-03-10T17:58:23  <sipa> i believe greg is notoriously hard to implement
263 2018-03-10T17:58:29  <sipa> ah.
264 2018-03-10T17:59:44  <sipa> eklitzke: i have a flame graph!
265 2018-03-10T18:00:12  <eklitzke> did you get it color coded?
266 2018-03-10T18:00:35  <sipa> yes; it's inside libsecp256k1 though, in a microbenchmark
267 2018-03-10T18:00:47  <eklitzke> awesome!
268 2018-03-10T18:01:52  <sipa> http://bitcoin.sipa.be/flame.svg
269 2018-03-10T18:02:28  *** ctrlbreak has quit IRC
270 2018-03-10T18:02:36  <eklitzke> for micro benchmarks you should look at "perf stat" (man perf-stat)
271 2018-03-10T18:02:42  <sipa> ah
272 2018-03-10T18:02:51  *** ctrlbreak has joined #bitcoin-core-dev
273 2018-03-10T18:02:52  <sipa> the same scripts apply?
274 2018-03-10T18:03:34  <eklitzke> no it just gives you detailed information about things like cache hits/misses, cpu cycles, page faults, etc.
275 2018-03-10T18:04:38  <eklitzke> so much gmpz realloc
276 2018-03-10T18:05:01  <sipa> the problem i'm trying to investigate is why this call to GMP takes 600 cpu cycles when run inside the microbenchmark, but 6000 cpu cycles when called from a higher-level benchmark in core
277 2018-03-10T18:05:32  <sipa> and at this point i have no better guess than cache effects... but i'm very surprised it would be that much difference
278 2018-03-10T18:07:43  *** alexneudatchin has quit IRC
279 2018-03-10T18:08:08  <eklitzke> one guess: in the benchmark there's one thread so everything is in the same core and numa memory zone, but in core the code has to access memory in another numa zone
280 2018-03-10T18:08:35  <eklitzke> there's some stuff in numactl you could do try to force core to run all on one core to test that hypothesis
281 2018-03-10T18:08:55  <sipa> the whole thing should be one thread even when called from bench_bitcoin
282 2018-03-10T18:09:51  <eklitzke> try perf-stat -a --per-core
283 2018-03-10T18:10:04  *** sipa has quit IRC
284 2018-03-10T18:10:04  *** sipa has joined #bitcoin-core-dev
285 2018-03-10T18:11:58  *** CubicEarths has joined #bitcoin-core-dev
286 2018-03-10T18:16:27  *** CubicEarths has quit IRC
287 2018-03-10T18:17:17  *** Giszmo has joined #bitcoin-core-dev
288 2018-03-10T18:26:33  *** CubicEarths has joined #bitcoin-core-dev
289 2018-03-10T18:27:46  *** CapitanRetardo has joined #bitcoin-core-dev
290 2018-03-10T18:31:19  *** CubicEarths has quit IRC
291 2018-03-10T18:32:19  *** cryptojanitor has joined #bitcoin-core-dev
292 2018-03-10T18:36:22  *** dermoth has quit IRC
293 2018-03-10T18:36:45  *** dermoth has joined #bitcoin-core-dev
294 2018-03-10T18:40:41  *** CubicEarths has joined #bitcoin-core-dev
295 2018-03-10T18:44:57  *** CubicEarths has quit IRC
296 2018-03-10T18:53:02  *** CubicEarths has joined #bitcoin-core-dev
297 2018-03-10T18:57:07  *** Victorsueca has quit IRC
298 2018-03-10T18:57:34  *** CubicEarths has quit IRC
299 2018-03-10T18:57:43  *** Victorsueca has joined #bitcoin-core-dev
300 2018-03-10T18:59:20  *** CubicEarths has joined #bitcoin-core-dev
301 2018-03-10T18:59:59  *** SopaXorzTaker is now known as ^y
302 2018-03-10T19:02:07  *** qu4ku has quit IRC
303 2018-03-10T19:05:36  *** mrannanay has quit IRC
304 2018-03-10T19:10:35  *** HFRadical has joined #bitcoin-core-dev
305 2018-03-10T19:10:37  *** HFRadical has quit IRC
306 2018-03-10T19:11:31  *** ^y is now known as z
307 2018-03-10T19:11:39  *** z is now known as ^y
308 2018-03-10T19:24:24  *** jamesob_ has quit IRC
309 2018-03-10T19:30:22  *** Giszmo has quit IRC
310 2018-03-10T19:32:31  *** Hen_ has joined #bitcoin-core-dev
311 2018-03-10T19:33:16  *** ^y has quit IRC
312 2018-03-10T19:33:28  *** Hen_ has quit IRC
313 2018-03-10T19:38:39  *** AaronvanW has quit IRC
314 2018-03-10T19:39:17  *** AaronvanW has joined #bitcoin-core-dev
315 2018-03-10T19:43:29  *** AaronvanW has quit IRC
316 2018-03-10T19:50:45  *** ossifrage has joined #bitcoin-core-dev
317 2018-03-10T19:58:36  *** Randolf has quit IRC
318 2018-03-10T20:12:57  *** CubicEarths has quit IRC
319 2018-03-10T20:13:09  *** arbitrary_guy has joined #bitcoin-core-dev
320 2018-03-10T20:13:32  *** CubicEarths has joined #bitcoin-core-dev
321 2018-03-10T20:18:16  *** CubicEarths has quit IRC
322 2018-03-10T20:38:54  *** AaronvanW has joined #bitcoin-core-dev
323 2018-03-10T20:39:00  *** mmgen has quit IRC
324 2018-03-10T20:39:16  *** mmgen has joined #bitcoin-core-dev
325 2018-03-10T20:44:05  *** mmgen has quit IRC
326 2018-03-10T20:50:43  *** AriseChikun has quit IRC
327 2018-03-10T20:51:31  *** AriseChikun has joined #bitcoin-core-dev
328 2018-03-10T20:57:20  *** jojeyh has joined #bitcoin-core-dev
329 2018-03-10T21:11:24  *** ProfMac has quit IRC
330 2018-03-10T21:12:47  *** ProfMac_ has joined #bitcoin-core-dev
331 2018-03-10T21:18:48  *** arbitrary_guy has quit IRC
332 2018-03-10T21:31:17  *** mrannanay has joined #bitcoin-core-dev
333 2018-03-10T21:39:38  *** cryptojanitor has quit IRC
334 2018-03-10T21:40:47  *** Giszmo has joined #bitcoin-core-dev
335 2018-03-10T21:48:13  *** jbnj has joined #bitcoin-core-dev
336 2018-03-10T21:48:15  <jbnj> hi
337 2018-03-10T21:49:20  <jbnj> hi everybody
338 2018-03-10T21:50:37  *** jbnj has quit IRC
339 2018-03-10T21:50:59  *** laurentmt has quit IRC
340 2018-03-10T21:51:16  *** harryTrout has joined #bitcoin-core-dev
341 2018-03-10T21:56:32  *** harryTrout has quit IRC
342 2018-03-10T22:16:42  <bitcoin-git> [bitcoin] luke-jr opened pull request #12666: configure: UniValue 1.0.4 is required for pushKV(, bool) (master...univalue-1.0.4-required) https://github.com/bitcoin/bitcoin/pull/12666
343 2018-03-10T22:17:28  *** nuke_bloodaxe has quit IRC
344 2018-03-10T22:17:54  *** nuke_bloodaxe has joined #bitcoin-core-dev
345 2018-03-10T22:24:42  *** larafale has quit IRC
346 2018-03-10T22:28:28  *** arbitrary_guy has joined #bitcoin-core-dev
347 2018-03-10T22:31:57  *** qu4ku has joined #bitcoin-core-dev
348 2018-03-10T22:35:05  *** Victorsueca has quit IRC
349 2018-03-10T22:36:14  *** Victorsueca has joined #bitcoin-core-dev
350 2018-03-10T22:36:15  *** mehdi0x61 has joined #bitcoin-core-dev
351 2018-03-10T22:38:44  *** qu4ku has quit IRC
352 2018-03-10T22:43:21  *** Squidicc has joined #bitcoin-core-dev
353 2018-03-10T22:44:27  *** musalbas has quit IRC
354 2018-03-10T22:44:57  *** Soligor has quit IRC
355 2018-03-10T22:45:27  *** Squidicuz has quit IRC
356 2018-03-10T22:45:53  *** Soligor has joined #bitcoin-core-dev
357 2018-03-10T22:47:27  *** musalbas has joined #bitcoin-core-dev
358 2018-03-10T22:56:38  *** rex_4539 has quit IRC
359 2018-03-10T23:01:26  *** arbitrary_guy has quit IRC
360 2018-03-10T23:01:32  *** mehdi0x61 has quit IRC
361 2018-03-10T23:08:23  *** jojeyh has quit IRC
362 2018-03-10T23:08:29  *** belcher_ has joined #bitcoin-core-dev
363 2018-03-10T23:08:57  *** mehdi0x61 has joined #bitcoin-core-dev
364 2018-03-10T23:11:35  *** flotwig has quit IRC
365 2018-03-10T23:11:52  *** flotwig has joined #bitcoin-core-dev
366 2018-03-10T23:29:14  *** Squidicuz has joined #bitcoin-core-dev
367 2018-03-10T23:29:27  *** michagogo has quit IRC
368 2018-03-10T23:30:14  *** michagogo has joined #bitcoin-core-dev
369 2018-03-10T23:30:57  *** Squidicc has quit IRC
370 2018-03-10T23:34:32  *** Guyver2 has quit IRC
371 2018-03-10T23:34:46  *** meshcollider has joined #bitcoin-core-dev
372 2018-03-10T23:40:02  *** sgeisler has joined #bitcoin-core-dev
373 2018-03-10T23:42:26  *** sgeisler has quit IRC
374 2018-03-10T23:47:36  *** CapitanRetardo has quit IRC
375 2018-03-10T23:51:37  *** CapitanRetardo has joined #bitcoin-core-dev