On Thu, 2007-02-01 at 08:25 -0800, Nishanth Aravamudan wrote:
> > Can we also add a comment about the above memcpy()s?  We should
> > mention their purpose (to trigger an early COW fault for each hugepage
> > in the segment).  It might also be worthwhile to note that prefaulting
> > pages here may degrade NUMA performance for very large data segments
> > in heavily multi-threaded apps.
> 
> Hrm, do we want to make this configurable too, then? So that those large
> NUMA users can avoid having this prefaulting occur?

I'd say: not yet.  This is only a theoretical issue at the moment.  A
comment in the code will remind us to look more deeply into the issue
should NUMA problems arise down the road.  Until then, an extra
configuration option would just detract from usability too much to make
it worthwhile in my opinion.

-- 
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to