[lttng-dev] lttng

Thibault, Daniel Daniel.Thibault at drdc-rddc.gc.ca
Mon May 6 08:41:28 EDT 2013


> Message: 1
> Date: Fri, 3 May 2013 10:42:22 -0400
>
> There are now two tracing modes implemented in lttng-ust (user-space tracer), each with their own advantages (+)/disadvantages(-):
>
> 1) per-pid buffer tracing,
> [...]
> 2) per-uid (shared) buffer tracing, (buffers shared across applications
>    with same user ID)
>   + less memory overhead, less runtime overhead for short-lived
>     processes,
>   - if a process dies between reserve and commit, it creates a whole in
>     the subbuffer. This whole will be detected only when the producer
>     will fill up the buffer and find the unbalanced reserved/commit
>     counter the next time it reaches this sub-buffer. Until the buffer
>     the unbalanced reserve/commit count is observed by a producer,
>     the consumer is unable to read the buffer futher than the packet
>     containing the "whole". When the producer rebalances this packet's
>     reserve/commit count, it will be counted as a "discarded" packet,
>     and we lose all data within the packet that contains the whole.

   whole ⇒ hole

   This changes the meaning completely.   :-)

Daniel U. Thibault
Protection des systèmes et contremesures (PSC) | Systems Protection & Countermeasures (SPC)
Cyber sécurité pour les missions essentielles (CME) | Mission Critical Cyber Security (MCCS)
R & D pour la défense Canada - Valcartier (RDDC Valcartier) | Defence R&D Canada - Valcartier (DRDC Valcartier)
2459 route de la Bravoure
Québec QC  G3J 1X5
CANADA
Vox : (418) 844-4000 x4245
Fax : (418) 844-4538
NAC : 918V QSDJ <http://www.travelgis.com/map.asp?addr=918V%20QSDJ>
Gouvernement du Canada | Government of Canada
<http://www.valcartier.drdc-rddc.gc.ca/>


More information about the lttng-dev mailing list