On 2013-04-02 05:47, Groden (Jinhu) Li wrote: > Hi > > Libhugetlbfs override the morecore function to implement hugepage > for > malloc, but for multi thread version of malloc( PT malloc) ,only the > main arena use > > The morecore ,other arenas use mmap to alloc heap , that mean ,for a > multithread program only one thread can benefit from hugetlb ,other > thread cannot > > Benefit from hugetlb , is it right. > > Best Regards > > Groden
Sorry for the resend, didn't re-all Groden, If other arena's use mmap directly instead of __morecore, then yes, only the thread(s) whose malloc uses __morecore to allocate more space will use huge pages. Eric ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html _______________________________________________ Libhugetlbfs-devel mailing list Libhugetlbfs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel