On Mon, 2006-10-16 at 12:00 -0500, Chakarat Skawratananond wrote:
> 
> Currently, I always set HUGETLB_VERBOSE to 99 in order to get all the
> debug message.  
> And the understanding now is that by setting it to 1, we will get less
> detail.  
> 
> Wouldn't it be more intuitive if we set to 100 to get more detailed if
> application segfaults ? 

Hi Chakarat.  When we first added BSS scanning to libhugetlbfs, I
thought about activating it when HUGETLB_VERBOSE > 99.  I decided on
adding a separate variable, because I think _VERBOSE and _DEBUG are
semantically different enough that they should be separate.  _VERBOSE is
for informational messages only.  _DEBUG actually drives operations in
the code that will hurt performance.  While it's fine to run at the
highest verbosity level in production, you wouldn't want to run with
debugging on all the time because as we add more checks, it will be
invasive enough to evaporate all of the normal performance benefits of
using large pages.  Because of that, we are being extra careful to
ensure it isn't set by accident.
-- 
Adam Litke - (agl at us.ibm.com)
IBM Linux Technology Center


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Libhugetlbfs-devel mailing list
Libhugetlbfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to