On 12.10.2006 [12:46:13 -0700], Nishanth Aravamudan wrote:
> On 12.10.2006 [11:41:12 -0700], Nishanth Aravamudan wrote:
> > On 12.10.2006 [11:12:53 -0700], Nishanth Aravamudan wrote:
> > > On 11.10.2006 [11:29:05 +1000], David Gibson wrote:
> > > > On Tue, Oct 10, 2006 at 11:28:55AM -0700, Nishanth Aravamudan wrote:
> > > > > On 10.10.2006 [15:36:47 +1000], David Gibson wrote:

<snip>

> Description: Since we now pad the BSS of relinked binaries, we now
> require a larger number of hugepages than before, even if most of them
> are unused. This leads to issues with the linkshare testcase, as it
> spawns a fixed number of threads, all of which will consume hugepages
> and eventually lead to a ENOMEM (in hugepages) condition. Modify the
> testcase invocation to spawn a number of threads relative to the number
> of free hugepages (even if the BSS padding is fixed differently, this is
> a reasonable thing to do). Also modify the linkshare testcase to do
> nothing if no threads are requested (which will now occur if the number
> of hugepages free in the system is 0).

I should also mention:

Compile- and run-tested on a ppc64 kernel with 0, 100 and 200 hugepages
allocated. Without the patch, the middle case will definitely cause
unexpected failures.

Thanks,
Nish

-- 
Nishanth Aravamudan <[EMAIL PROTECTED]>
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