at 2011/6/14 9:07, David Gibson wrote: > On Mon, Jun 13, 2011 at 10:57:08PM +0800, Yu Huang wrote: >> Thanks for David and Eric's suggestion! >> >> Before I submit the updated patch I would like to show some testing >> result under mips arch. I used NPB3.3-SER as the benchmark to test >> libhugetlbfs for MIPS, here is a sample result: >> >> ====================================================================== >> BEFORE using libhugetlbfs for MIPS: >> >> IS Benchmark Completed >> Class = A >> Size = 8388608 >> Iterations = 10 >> Time in seconds = 25.54 >> Mop/s total = 3.29 >> ---------------------------------------------------------------- >> AFTER using libhugetlbfs for MIPS: >> >> #hugeedit --text --data ./bin/is.A > IIRC, if you're using "new style" hugepage relinking, you shouldn't > need hugeedit. >
Oh sorry.you are right! Hugeedit is not used actually. I forgot to remove it from the document above. Only following command needed after linking the app using ld.hugetlbfs. HUGETLB_ELFMAP=RW ./bin/is.A >> #HUGETLB_ELFMAP=RW ./bin/is.A >> >> IS Benchmark Completed >> Class = A >> Size = 8388608 >> Iterations = 10 >> Time in seconds = 8.74 >> Mop/s total = 9.60 >> ======================================================================= >> >> From the result we can see that after using libhugetlbfs operations per >> second of IS increased from 3.29Mop/s to 9.60Mop/s. That's a significant >> improvement! > Heh, no. 20% is a significant improvement. 200% is a enormous > improvement. > > Although the fact that the change is so huge suggests your MMU sucked > rather badly to begin with... > Yes. our MMU sucked. Thanks to libhugetlbfs, we are able to make things a little better. -- Huang Yu Institute of Computing Technology of the Chinese Academy of Sciences, Beijing, China ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Libhugetlbfs-devel mailing list Libhugetlbfs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel