From mboxrd@z Thu Jan 1 00:00:00 1970 From: salman.rafiq@esk.fraunhofer.de (Salman Rafiq) Date: Wed, 18 Apr 2012 10:05:14 +0200 Subject: [lttng-dev] Babeltrace Buffer Warning In-Reply-To: <20120416143231.GA27877@Krystal> References: <20120413130156.GA10227@Krystal> <524C960C5DFC794E82BE548D825F05CF29EE58@EU-MBX-04.mgc.mentorg.com> <20120416135206.GA26549@Krystal> <524C960C5DFC794E82BE548D825F05CF29EF3E@EU-MBX-04.mgc.mentorg.com> <20120416143231.GA27877@Krystal> Message-ID: Hello All, Increasing the number of buffers and buffer size did helped indeed. Thanks to both for the advice. Another question is, what is the maximum --subbuf-size & --num-subbuf one can go? I guess it should depend upon your memory size? I am asking this because I had trouble last time, where my system crashed with some "general protection fault" while I had --subbuf-size of 2^29 . Attached are the syslog messages. Regards, S. -- Salman Rafiq Industrial Communication Fraunhofer-Einrichtung f?r Systeme der Kommunikationstechnik ESK Hansastra?e 32 | 80686 M?nchen Telefon, Fax: +49 89 547088-356 | +49 89 547088-66-356 E-Mail: salman.rafiq at esk.fraunhofer.de Internet: http://www.esk.fraunhofer.de http://www.facebook.com/FraunhoferESK http://www.twitter.com/FraunhoferESK -----Urspr?ngliche Nachricht----- Von: Mathieu Desnoyers [mailto:mathieu.desnoyers at efficios.com] Gesendet: Monday, April 16, 2012 4:33 PM An: Oestman, Fredrik Cc: lttng-dev at lists.lttng.org; Salman Rafiq Betreff: Re: [lttng-dev] Babeltrace Buffer Warning * Oestman, Fredrik (Fredrik_Oestman at mentor.com) wrote: > Mathieu Desnoyers wrote: > > The warning message is: > > > > "[warning] Tracer discarded 280625 events between > > [1334315833.578351009] and [1334315833.578351380]. You should > > consider increasing the buffer size." > > > > which states that the tracer did discard the events (not the > > converter). > > But maybe I'm missing your point. What would you recommend to make > > this message clearer ? > > I actually had no recommendation or suggestion in mind. To me the message is clear. I just got the impression that the OP may have been confused in this respect for some reason. > > But since you ask, what about something along the lines of: > > "[warning] The tracer discarded 280625 events between > [1334315833.578351009] and [1334315833.578351380]. You should consider > making a new trace with larger buffers or with fewer event types enabled." Good idea. Fixed in commit: commit a0b34fbba498a8a447357adf5920ac2c8a22f026 Author: Mathieu Desnoyers Date: Mon Apr 16 10:33:55 2012 -0400 Clarify warning message for events discarded Reported-by: Fredrik Oestman Signed-off-by: Mathieu Desnoyers Thanks! Mathieu > > > Cheers, > > Fredrik ?stman > -- Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: command_line.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: syslogd.txt URL: