[zeromq-dev] taskvent/taskwork2/tasksink2 performance degredation

Martin Sustrik sustrik at 250bpm.com
Wed May 18 08:17:55 CEST 2011


On 05/18/2011 01:36 AM, John D. Mitchell wrote:
> Howdy, just installed latest zeromq from git (2.1.7) on OS X 10.6.7.
> This is a 2011 MBP with lots of free RAM and an SSD. Running into few
> problems that don't seem to show up in irc or mailing list logs...
>
> Second… using the taskvent, taskwork2, tasksink2 example code has
> very odd performance behavior… regardless of the number of workers,
> it will zip along to ~80% done and then the performance drops down a
> lot. On successive runs, the performance degrades even more.
>
> E.g., for 5 workers, instead of the expected ~5 seconds it ends up
> taking longer and longer on each run. 12 seconds, 30 seconds, the
> last run was 110 seconds. That's a bit disconcerting. :-) :-(

Such decrease in performance is often seen when OS starts swapping. Can 
that be the case?

Martin




More information about the zeromq-dev mailing list