On Thu, Aug 12, 2010 at 10:54 AM, Domas Mituzas <midom.li...@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

_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to