My pet VM benchmark is the compilation of a set of about 50 C++
files which regularly grow the EGCS compiler VM size (as shown
by 'top') to 75 to 90 MB. I only have 64MB of RAM so it swaps a lot.
Here are the times (as measured by the 'time' command) for the
compilation of this suite of files (using 'make' and EGCS 1.0.1)
with 2.2.0pre4 and 2.2.0pre4 with your latest VM patch:
TMS Compile with 2.2.0pre4
589.830u 68.830s 18:09.88 60.4% 0+0k 0+0io 188062pf+260255w
TMS Compile with 2.2.0pre4 and Andreas latest patch
597.840u 71.030s 21:59.36 50.6% 0+0k 0+0io 298514pf+237324w
^^^^^^^^ ^^^^^^
Note the wall-clock time increases from 18 minutes to almost
22 minutes and the number of page faults increases from 188,000
to 298,500. It seems something is invalidating pages too aggressively
in your patch.
Is there something I can tune to improve this? Is there an experiment
I can run to help fine-tune your VM changes?
-Ben McCann
-- Ben McCann Indus River Networks 31 Nagog Park Acton, MA, 01720 email: bmccann@indusriver.com web: www.indusriver.com phone: (978) 266-8140 fax: (978) 266-8111- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/