Re: [lttng-dev] Some confusion about cpu usage of the lttng-consumerd process

2020-11-27 Thread Jonathan Rajotte-Julien via lttng-dev
Hi, On Fri, Nov 27, 2020 at 02:39:28PM +0800, 熊毓华 via lttng-dev wrote: > Hi,dear. > > I have been using lttng to monitor my server these days,but I found something > interesting. > > The cpu usage of lttng varies with the number of cpu cores of the server. Which is a bit expected since more CP

Re: [lttng-dev] Some confusion about cpu usage of the lttng-consumerd process

2020-11-27 Thread 熊毓华 via lttng-dev
Hi,Dear. The test script was used to generate some common fileIO,netIO events. On all servers, the monitoring strategy I set up when I start lttng is the same, monitoring all fileIO, netIO and some related system calls. The following table records the amount of events generated by the test scri

Re: [lttng-dev] Some confusion about cpu usage of the lttng-consumerd process

2020-11-27 Thread Jonathan Rajotte-Julien via lttng-dev
> From: "熊毓华" > To: "Jonathan Rajotte-Julien" , > "lttng-dev" > Sent: Friday, November 27, 2020 10:32:07 AM > Subject: Re: Re: [lttng-dev] Some confusion about cpu usage of the > lttng-consumerd process > Hi,Dear. Side note, you can remove the "Dear" here. ;) > The test script was used to gen

Re: [lttng-dev] Some confusion about cpu usage of the lttng-consumerd process

2020-11-27 Thread Mathieu Desnoyers via lttng-dev
- On Nov 27, 2020, at 11:04 AM, lttng-dev lttng-dev@lists.lttng.org wrote: > Well we also want to know why! You will understand that albeit we develop > lttng > we do not always have a quick and easy answer to all problems. Performance > related problem are always tricky. > And we also have t

Re: [lttng-dev] Some confusion about cpu usage of the lttng-consumerd process

2020-11-27 Thread 熊毓华 via lttng-dev
Hi, I put my test scripts in the attachment. You can just run the script directly, create the trace session with the "--live" option on the 8core server, then you will find the cpu usage of the lttng-consumerd process reached 10% or more. About the streaming mode of lttng,I did the test be