Re: [RFC/PATCHSET 00/37] perf tools: Speed-up perf report by using multi thread (v1)

From: Andi Kleen
Date: Thu Jan 08 2015 - 09:52:16 EST


> > Isn't it fast enough to have a single thread that pre scans
> > the events (perhaps with some single-thread optimizations
> > like vectorization), and then load balances the work to
> > a thread pool?
>
> I don't understand it. Could you please elaborate it?

Have a thread pool. Then there is a single thread which pre-processes
events and puts them into queues, which are then processed in parallel
by the threads in the thread pool.


-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/