[ltt-dev] Force buffer sizes to be at least page size

Mathieu Desnoyers compudj at krystal.dyndns.org
Wed Jul 15 13:31:44 EDT 2009


* Chase Douglas (cndougla at linux.vnet.ibm.com) wrote:
> During some testing across various architectures we found that our ppc64 
> environment with 64K page sizes was causing lttctl to hang when  
> destroying a trace if the buffer size was less than 64K  
> (channel.all.bufsize). We had been testing with 16K buffer sizes, and  
> every other architecture ran fine. This led us to believe that ltt is  
> not handling buffer sizes less than a page size correctly.
>
> We did not determine the root cause of the failure, instead opting for a 
> quick patch to force the buffer sizes to be at least page size. I have 
> attached the patch. Please take this under advisement either to  
> determine the root cause or to force proper buffer sizes as necessary.
>

Actually, the subbuffer size (not only the buffer size) should be at
least a page. I'll do a patch for LTTng shortly.

Thanks for the report !

Mathieu

> Thank you
>


>

> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev


-- 
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68




More information about the lttng-dev mailing list