26 Jan 2013 01:28
Extended periods of "waking up thread %d on cap %d"
Ben Gamari <bgamari.foss <at> gmail.com>
2013-01-26 00:28:27 GMT
2013-01-26 00:28:27 GMT
Recently I've been benchmarking my concurrent Gibbs sampler[1] on a
largish multicore machine. I've been using GHC HEAD due to various
GC-related fixes that are present. One thing that I've noticed in
looking over the event logs is that there are large durations (tens of
milliseconds) when HECs appear to be constantly bombarded with wake-ups
from other capabilities.
In these periods, the eventlog will be filled with blocks of messages
such as this snippet from one benchmark run[2] (long repeated blocks
marked with ellipses, a few irrelevant messages have been omitted yet
not marked, see eventlog for full log),
28.320958s HEC 7: running thread 293
...
28.391802s HEC 6: running thread 209
28.392070s HEC 6: waking up thread 284 on cap 7
28.392302s HEC 6: waking up thread 284 on cap 7
28.392579s HEC 6: waking up thread 284 on cap 7
28.392808s HEC 6: waking up thread 284 on cap 7
.
.
.
28.405971s HEC 16: waking up thread 284 on cap 7
28.406026s HEC 15: waking up thread 284 on cap 7
28.406080s HEC 12: waking up thread 284 on cap 7
28.406091s HEC 23: waking up thread 284 on cap 7
28.406095s HEC 6: waking up thread 284 on cap 7
28.406095s HEC 23: waking up thread 284 on cap 7
28.406225s HEC 16: waking up thread 284 on cap 7
.
(Continue reading)
RSS Feed