On Mon, 27 Apr 2009, Carlos Coelho wrote:

> Hi Mehul,
>  
> Thank you very much. Setting HUGETLB_NO_PREFAULT=1 fixed the problem for
> the get_huge_pages 
> test. The get_huge_region test is still not working.
>  
> I have also not been able to get the get_huge_pages function to work
> properly within our application.
> We hijack malloc etc. for some other stuff so I suspect that there is
> some "interference" between
> libhugetlbfs. When I use get_huge_pages in the application I get:
>  
> "libhugetlbfs: WARNING: Couldn't open hugetlbfs file for 2093072-sized
> heap".
>  
> and huge pages are allocated. Moreover, within the application,
> gethugepagesize() returns -1! 
> This seems to suggest that setup_libhugetlbfs or at least
> setup_mounts(?) was not called by the
> time the get_huge_pages function was called.
>  
> Best regards, 
>  
> Carlos
> 

Carlos,

Can you tell me what distro and version you are using for these tests?  Also,
are you using a distro packaged version of libhuge or the latest from the
website?

Thanks,
Eric

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Libhugetlbfs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to