[lttng-dev] Babeltrace Buffer Warning

Salman Rafiq salman.rafiq at esk.fraunhofer.de
Wed Apr 18 04:05:14 EDT 2012


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 <mathieu.desnoyers at efficios.com>
Date:   Mon Apr 16 10:33:55 2012 -0400

    Clarify warning message for events discarded

    Reported-by: Fredrik Oestman <Fredrik_Oestman at mentor.com>
    Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>

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: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20120418/9ebf02ae/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: syslogd.txt
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20120418/9ebf02ae/attachment-0001.txt>


More information about the lttng-dev mailing list