Re: [Libhugetlbfs-devel] How to change the hugepagesize?

2011-11-10 Thread Eric B Munson
On Thu, 10 Nov 2011 17:27:40 +0800, Easley wrote: > Thank you very much. > I still have a question. How can I know that have been take effect? > I take steps as follow: > -- > mkdir /hugetlb > mount -t hugetlbfs hugetlbfs /hugetlb > HUGETLB_MORECORE=yes LD_PRELOAD=libhugetlbfs.so hu

[Libhugetlbfs-devel] how does the text segment work

2011-11-10 Thread Luigi Semenzato
Greetings, I am considering the use of libhugetlbfs for some application. We have a large binary that also needs to start quickly. I could not find a high-level overview of the strategy employed for placing the text segment in huge pages and I am wondering if anybody can point me to any material

Re: [Libhugetlbfs-devel] How to change the hugepagesize?

2011-11-10 Thread Easley
Thank you very much. I still have a question. How can I know that have been take effect? I take steps as follow: -- mkdir /hugetlb mount -t hugetlbfs hugetlbfs /hugetlb HUGETLB_MORECORE=yes LD_PRELOAD=libhugetlbfs.so hugepagesz=16M hugepages=32 ./myprogram -- That'