Re: [PATCH V3 0/6] event synthesization multithreading for perf record

2017-10-25 Thread Ingo Molnar
* Jiri Olsa wrote: > On Tue, Oct 24, 2017 at 02:59:44PM +0200, Ingo Molnar wrote: > > > > * Jiri Olsa wrote: > > > > > I recently made some changes on threaded record, which are based > > > on Namhyungs time* API, which is needed to read/sort the data afterwards > > > > > > but I wasn't able

Re: [PATCH V3 0/6] event synthesization multithreading for perf record

2017-10-25 Thread Jiri Olsa
On Wed, Oct 25, 2017 at 11:35:39AM +0900, Namhyung Kim wrote: > Hi Ingo, > > On Tue, Oct 24, 2017 at 03:25:23PM +0200, Ingo Molnar wrote: > > > > * Arnaldo Carvalho de Melo wrote: > > > > > Em Tue, Oct 24, 2017 at 02:59:44PM +0200, Ingo Molnar escreveu: > > > > > > > > * Jiri Olsa wrote: > >

Re: [PATCH V3 0/6] event synthesization multithreading for perf record

2017-10-25 Thread Jiri Olsa
On Tue, Oct 24, 2017 at 02:59:44PM +0200, Ingo Molnar wrote: > > * Jiri Olsa wrote: > > > I recently made some changes on threaded record, which are based > > on Namhyungs time* API, which is needed to read/sort the data afterwards > > > > but I wasn't able to get any substantial and constant r

Re: [PATCH V3 0/6] event synthesization multithreading for perf record

2017-10-24 Thread Namhyung Kim
Hi Ingo, On Tue, Oct 24, 2017 at 03:25:23PM +0200, Ingo Molnar wrote: > > * Arnaldo Carvalho de Melo wrote: > > > Em Tue, Oct 24, 2017 at 02:59:44PM +0200, Ingo Molnar escreveu: > > > > > > * Jiri Olsa wrote: > > > > > > > I recently made some changes on threaded record, which are based > >

Re: [PATCH V3 0/6] event synthesization multithreading for perf record

2017-10-24 Thread Ingo Molnar
* Jiri Olsa wrote: > I recently made some changes on threaded record, which are based > on Namhyungs time* API, which is needed to read/sort the data afterwards > > but I wasn't able to get any substantial and constant reduce of LOST events > and then I got sidetracked and did not finish, but i

Re: [PATCH V3 0/6] event synthesization multithreading for perf record

2017-10-24 Thread Arnaldo Carvalho de Melo
Em Tue, Oct 24, 2017 at 02:59:44PM +0200, Ingo Molnar escreveu: > > * Jiri Olsa wrote: > > > I recently made some changes on threaded record, which are based > > on Namhyungs time* API, which is needed to read/sort the data afterwards > > > > but I wasn't able to get any substantial and constan

Re: [PATCH V3 0/6] event synthesization multithreading for perf record

2017-10-24 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Em Tue, Oct 24, 2017 at 02:59:44PM +0200, Ingo Molnar escreveu: > > > > * Jiri Olsa wrote: > > > > > I recently made some changes on threaded record, which are based > > > on Namhyungs time* API, which is needed to read/sort the data afterwards > > > > > >

RE: [PATCH V3 0/6] event synthesization multithreading for perf record

2017-10-24 Thread Liang, Kan
> On Tue, Oct 24, 2017 at 11:22:00AM +0200, Ingo Molnar wrote: > > > > * Liang, Kan wrote: > > > > > For 'all', do you mean the whole process? > > > > Yeah. > > > > > I think that's the ultimate goal. Eventually there will be per-CPU > > > recording threads created at the beginning of perf record

Re: [PATCH V3 0/6] event synthesization multithreading for perf record

2017-10-24 Thread Jiri Olsa
On Tue, Oct 24, 2017 at 11:22:00AM +0200, Ingo Molnar wrote: > > * Liang, Kan wrote: > > > For 'all', do you mean the whole process? > > Yeah. > > > I think that's the ultimate goal. Eventually there will be per-CPU > > recording > > threads created at the beginning of perf record and go thr

Re: [PATCH V3 0/6] event synthesization multithreading for perf record

2017-10-24 Thread Ingo Molnar
* Liang, Kan wrote: > For 'all', do you mean the whole process? Yeah. > I think that's the ultimate goal. Eventually there will be per-CPU recording > threads created at the beginning of perf record and go through the whole > process. > The plan is to do the multithreading step by step from

RE: [PATCH V3 0/6] event synthesization multithreading for perf record

2017-10-23 Thread Liang, Kan
> Em Mon, Oct 23, 2017 at 01:43:39PM +, Liang, Kan escreveu: > > The plan is to do the multithreading step by step from the simplest case. > > Synthesizing stage is just a start. > > > Only for synthesizing stage, I think the patch series should already > > cover all the 'synthesizing' steps w

Re: [PATCH V3 0/6] event synthesization multithreading for perf record

2017-10-23 Thread a...@kernel.org
Em Mon, Oct 23, 2017 at 01:43:39PM +, Liang, Kan escreveu: > The plan is to do the multithreading step by step from the simplest case. > Synthesizing stage is just a start. > Only for synthesizing stage, I think the patch series should already cover > all the > 'synthesizing' steps which can

RE: [PATCH V3 0/6] event synthesization multithreading for perf record

2017-10-23 Thread Liang, Kan
> * kan.li...@intel.com wrote: > > > The latency is the time cost of __machine__synthesize_threads or its > > multithreading replacement, record__multithread_synthesize. > > > > Original: original single thread synthesize > > With patch(not merge): multithread synthesize without fina

Re: [PATCH V3 0/6] event synthesization multithreading for perf record

2017-10-23 Thread Ingo Molnar
* kan.li...@intel.com wrote: > The latency is the time cost of __machine__synthesize_threads or > its multithreading replacement, record__multithread_synthesize. > > Original: original single thread synthesize > With patch(not merge): multithread synthesize without final file merge

[PATCH V3 0/6] event synthesization multithreading for perf record

2017-10-20 Thread kan . liang
From: Kan Liang The event synthesization multithreading is introduced in ("perf top optimization") https://lkml.org/lkml/2017/9/29/269 But it was not enabled for perf record. Because the process function process_synthesized_event was not multithreading friendly. The patch series temporarily stor