Re: [PATCH V2] perf: Speed up thread map generation

2014-03-18 Thread Namhyung Kim
On Tue, Mar 18, 2014 at 10:43 PM, Arnaldo Carvalho de Melo wrote: > Em Mon, Mar 17, 2014 at 10:45:49AM +0900, Namhyung Kim escreveu: >> Hi Don, >> >> On Fri, 14 Mar 2014 10:43:44 -0400, Don Zickus wrote: >> > When trying to capture perf data on a system running spejbb2013, >> > perf hung for about

Re: [PATCH V2] perf: Speed up thread map generation

2014-03-18 Thread Arnaldo Carvalho de Melo
Em Mon, Mar 17, 2014 at 10:45:49AM +0900, Namhyung Kim escreveu: > Hi Don, > > On Fri, 14 Mar 2014 10:43:44 -0400, Don Zickus wrote: > > When trying to capture perf data on a system running spejbb2013, > > perf hung for about 15 minutes. This is because it took that > > long to gather about 10,00

Re: [PATCH V2] perf: Speed up thread map generation

2014-03-16 Thread Namhyung Kim
Hi Don, On Fri, 14 Mar 2014 10:43:44 -0400, Don Zickus wrote: > When trying to capture perf data on a system running spejbb2013, > perf hung for about 15 minutes. This is because it took that > long to gather about 10,000 thread maps and process them. > > I don't think a user wants to wait that l

Re: [PATCH V2] perf: Speed up thread map generation

2014-03-14 Thread Jiri Olsa
On Fri, Mar 14, 2014 at 10:43:44AM -0400, Don Zickus wrote: > When trying to capture perf data on a system running spejbb2013, > perf hung for about 15 minutes. This is because it took that > long to gather about 10,000 thread maps and process them. > > I don't think a user wants to wait that lon

[PATCH V2] perf: Speed up thread map generation

2014-03-14 Thread Don Zickus
When trying to capture perf data on a system running spejbb2013, perf hung for about 15 minutes. This is because it took that long to gather about 10,000 thread maps and process them. I don't think a user wants to wait that long. Instead, recognize that thread maps are roughly equivalent to pid