Messages in this thread | | | Date | Thu, 8 Jan 2015 15:52:10 +0100 | From | Andi Kleen <> | Subject | Re: [RFC/PATCHSET 00/37] perf tools: Speed-up perf report by using multi thread (v1) |
| |
> > 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
| |