Re: [Libhugetlbfs-devel] The Hugetlb looks like doesn't take effect.

2011-12-27 Thread bill4carson
*From: * "bill4carson"; > *Date: * Tue, Dec 27, 2011 12:37 PM > *To: * "Easley"; > *Cc: * "Eric B Munson"; > "libhugetlbfs-devel"; > *Subject: * Re: [Libhugetlbfs-devel] The Hugetlb looks like doesn't > take effect. > > > On

Re: [Libhugetlbfs-devel] The Hugetlb looks like doesn't take effect.

2011-12-27 Thread Easley
--- From: "bill4carson"; Date: Tue, Dec 27, 2011 12:37 PM To: "Easley"; Cc: "Eric B Munson"; "libhugetlbfs-devel"; Subject: Re: [Libhugetlbfs-devel] The Hugetlb looks like doesn't take effect. On 2011年12月27日 10:59, Easley wrote: >

Re: [Libhugetlbfs-devel] The Hugetlb looks like doesn't take effect.

2011-12-26 Thread bill4carson
> [root@ ~]# HUGETLB_MORECORE=yes LD_PRELOAD=libhugetlbfs.so ./a.out > > --- > > There's should be output some error message, > why is that ?and what's you point? > > > > but it output nothing. > > (I do this in order to check whether hu

Re: [Libhugetlbfs-devel] The Hugetlb looks like doesn't take effect.

2011-12-26 Thread Easley
From: "bill4carson"; Date: Mon, Dec 26, 2011 11:12 AM To: "Easley"; Cc: "libhugetlbfs-devel"; Subject: Re: [Libhugetlbfs-devel] The Hugetlb looks like doesn't take effect. On 2011年12月23日 20:29, Easley wrote: > > I changed #define ELEMENTS 1024

Re: [Libhugetlbfs-devel] The Hugetlb looks like doesn't take effect.

2011-12-26 Thread Eric B Munson
On Fri, 23 Dec 2011 20:29:10 +0800, Easley wrote: > I changed #define ELEMENTS 1024*1024*64 to #define ELEMENTS > 1024*1024*20, > > and it takes effect. Thank you. > --- > And there is another question. It's on another machine > I take the following steps: > -- > [root@ ~]# echo 10

Re: [Libhugetlbfs-devel] The Hugetlb looks like doesn't take effect.

2011-12-25 Thread bill4carson
appreciated. > > --Easley > > -- Original -- > *From: * "bill4carson"; > *Date: * Fri, Dec 23, 2011 11:12 AM > *To: * "Easley"; > *Cc: * "libhugetlbfs-devel"; > *Subject: * Re: [Libhugetlbfs-de

Re: [Libhugetlbfs-devel] The Hugetlb looks like doesn't take effect.

2011-12-23 Thread Easley
machine total memory is 24GB, and hugepages is 434 pages. Any help will appreciated. --Easley -- Original -- From: "bill4carson"; Date: Fri, Dec 23, 2011 11:12 AM To: "Easley"; Cc: "libhugetlbfs-devel"; Subject: Re: [Li

Re: [Libhugetlbfs-devel] The Hugetlb looks like doesn't take effect.

2011-12-22 Thread bill4carson
On 2011年12月23日 10:37, Easley wrote: > > Hi, > > I run my program by follow: > - > [root@ ~]# echo 200 > /proc/sys/vm/nr_hugepages > [root@ ~]# mkdir /hugetlb > [root@ ~]# mount -t hugetlbfs hugetlbfs /hugetlb > [root@ ~]# HUGETLB_MORECORE=yes LD_PRELOAD=libhugetlb

[Libhugetlbfs-devel] The Hugetlb looks like doesn't take effect.

2011-12-22 Thread Easley
Hi, I run my program by follow: - [root@ ~]# echo 200 > /proc/sys/vm/nr_hugepages [root@ ~]# mkdir /hugetlb [root@ ~]# mount -t hugetlbfs hugetlbfs /hugetlb [root@ ~]# HUGETLB_MORECORE=yes LD_PRELOAD=libhugetlbfs.so ./a.out [root@ ~]# grep Huge /proc/meminfo HugePa