I’m resurrecting this one (from #13168) because I need it to make progress on #15735.
It’s now off by default and can be turned on with -logthreadnames=1
.
Ran some benchmarks (IBD from local peer from 500_000 -> 504_000) and it’s within spitting distance either on or off:
threadnames off (default)
2018-05-threadnames.3 vs. master (absolute)
name | iterations | 2018-05-threadnames.3 | master |
---|---|---|---|
ibd.local.500000.504000.dbcache=2048 | 3 | 376.1584 (± 9.2944) | 392.3414 (± 13.4238) |
ibd.local.500000.504000.dbcache=2048.mem-usage | 3 | 2236117.3333 (± 1845.9623) | 2238690.6667 (± 2669.3487) |
2018-05-threadnames.3 vs. master (relative)
name | iterations | 2018-05-threadnames.3 | master |
---|---|---|---|
ibd.local.500000.504000.dbcache=2048 | 3 | 1 | 1.043 |
ibd.local.500000.504000.dbcache=2048.mem-usage | 3 | 1 | 1.001 |
threadnames on
2018-05-threadnames-take-2 vs. master (absolute)
name | iterations | 2018-05-threadnames-take-2 | master |
---|---|---|---|
ibd.local.500000.504000.dbcache=2048 | 3 | 367.6861 (± 0.3941) | 364.1667 (± 0.9776) |
ibd.local.500000.504000.dbcache=2048.mem-usage | 3 | 2238461.3333 (± 3697.8730) | 2237014.6667 (± 3307.6966) |
2018-05-threadnames-take-2 vs. master (relative)
name | iterations | 2018-05-threadnames-take-2 | master |
---|---|---|---|
ibd.local.500000.504000.dbcache=2048 | 3 | 1.010 | 1.00 |
ibd.local.500000.504000.dbcache=2048.mem-usage | 3 | 1.001 | 1.00 |