On Thu, 2006-10-12 at 12:46 -0700, Nishanth Aravamudan wrote: > After some further debuggin, an "ah ha" moment -- the failed tests would > appear to be directly related to your other complaint on the excessive > requirements of hugepages. At one point, while `watch cat /proc/meminfo` > while running `make func`, I noted that the number of hugepages Rsvd > reached 150 (which would be 15 per each of the 10 processes in the > linkshare testcase). > > In the short-term, while we fix the excessive reservation issue, I can > change the run_tests.sh script to only request a number of processes > that will work given the number of free hugepages on the system. How > does this look? > > 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). > > Signed-off-by: Nishanth Aravamudan <[EMAIL PROTECTED]> Committed -- Adam Litke - (agl at us.ibm.com) 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