On Thu, Aug 12, 2010 at 10:54 AM, Domas Mituzas midom.lists@gmail.com wrote:
There're no context changes, as it running fully on a core. "plenty of CPU" is 100% core use, most of time is spent in write(), and apparently syscalls aren't free.
Without having looked at any code, can't the threads just add data to a semaphore linked list (fast), and a single separate thread writes the stuff to disk occasionally?
Magnus