[zeromq-dev] Could this be possible?
Martin Sustrik
sustrik at fastmq.com
Fri May 29 12:52:47 CEST 2009
Martin Sustrik wrote:
> Hi Todd,
>
>> I have an single process application that received information from 25
>> feeds. Each feed is read from in its on thread then it "sends" it to
>> the queue.
>> We are, on occasion, seeing behavior that appears to be giving priority
>> to a certain thread for a while then we see a flood.
One idea: I don't expect you have a box with 25+ cores. Thus there's
contention for CPU time between threads. If you are trying to push as
much data as possible through such a system, OS scheduler has to
alternate the threads to run... say on a single core system, a thread
gets a timeslice then waits for 24 timeslices while other threads do
their share of work etc. Can this be the cause?
Martin
More information about the zeromq-dev
mailing list