On 07/05/2011 12:01 AM, Andrea Arcangeli wrote: > Hello, > > On Tue, May 24, 2011 at 11:10:02AM +0800, Jason Wang wrote: >> On 05/20/2011 02:55 PM, Yiqiao Pu wrote: >>> Transparent hugepage test includes: >>> 1)smoking test and stress test as basic test >>> Smoking test is test the transparent hugepage is used by kvm and guest. >>> Stress test test use a parallel dd to test the stability of transparent >>> hugepage >>> 2)swapping test >>> Bootup a vm and verify that it can be swapped out and swapped in correctly >>> 3)defrag test >>> Allocate hugepage for libhugetlbfs while defrag is on and off. >>> Than compare the result > Note: /sys/kernel/*transparent_hugepage/*defrag on and off has no > effect on hugetlbfs/libhugetlbfs. Generally libhugetlbfs won't be able > to exercise transparent hugepages (not just the defrag), but hugetlbfs > works as usual mixed with transparent hugepages, they are just managed > entirely separated, even if some VM code is shared to allocate and > clear/copy (compound) huge pages. > > Thanks, > Andrea Hi Andrea, Thanks for reminding this. And here we just use hugetlbfs as a huge page allocator. In the defrag test case we just use it to check if the number of huge page can be allocated is increase before and after the defrag option is on in a system with lots of memory fragment.
Best Regards Yiqiao Pu _______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
