From: Bill Hartner <hartner@austin.ibm.com>
To: linux-mm@kvack.org, lse-tech@lists.sourceforge.net
Subject: VolanoMark Benchmark results for 2.5.26, 2.5.26 + rmap, 2.5.35, and 2.5.35 + mm1
Date: Tue, 17 Sep 2002 16:14:35 -0500 [thread overview]
Message-ID: <3D879B3B.9F326E20@austin.ibm.com> (raw)
I ran VolanoMark 2.1.2 under memory pressure to test rmap.
---------------
Kernels tested were :
* 2.5.26
* 2.5.26 + Dave McCracken 2.5.26-rmap patch
* 2.5.35
* 2.5.35 + Andrew Morton 2.5.35-mm1 patch
The SUT was an 8-way 700 Mhz PIII system with 3 GB mem.
A single 2 GB swap partition.
IBM JR2RE 1.3.1 cxia32131-20020302.
When VolanoMark was ran with 4 GB mem, there is about 500 MB free mem.
The JVM heaps totaled 3 GB.
When the test was ran with 3 GB mem 1 GB of swap space was required.
VolanoMark was ran in loopback mode - client and server on same system.
The JVM for the VolanoMark client used a 1536 MB heap.
The JVM for the VolanoMark server used a 1536 MB heap.
The number of messages was set at 25000 and number of rooms at 10.
The JVM does not fork - it uses pthreads.
10 rooms creates 400 client pthreads and 400 server pthreads.
More info on VolanoMark at http://www.volano.com/benchmarks.html
When the JVM heaps are exhausted (memory allocation failure) garbage
collection (GC) is done by the JVM. GC usually reclaims about 99 % of the
heap. The client JVM uses its heap more heavily than the server. The
client JVM will GC about 26 times during the test and the server JVM will GC
about twice. The meta data for the heap is _not_ in the heap itself, so
when GC is run the JVM does _not_ touch every page in the heap.
As the 3 GB mem test runs (for 2.5.26 baseline) :
HighFree goes to ~2MB at about 240 seconds into the test
Low Free goes to ~6MB at about 600 seconds into the test
SwapFree goes to ~1GB at about 1245 seconds into the test
The test ends at about 1966 seconds (33 minutes)
VolanoMark was ran 1 time for each kernel.
The results for the 3 GB mem test were :
--------
%sys/%user = ratio of system CPU utilization to %user CPU utilization.
kernel msg/s %CPU %sys/%user Total swpin Total swpout Total swapio
----------- ----- ---- ---------- ------------ ------------ ------------
2.5.26 51824 96.3 1.42 1,987,024 KB 2,148,100 KB 4,135,124 KB
2.5.26rmap 46053 90.8 1.55 3,139,324 KB 3,887,368 KB 7,026,692 KB
2.5.35 44693 86.1 1.45 1,982,236 KB 5,393,152 KB 7,375,388 KB
2.5.35mm1 39679 99.6 1.50 *2,720,600 KB *6,154,512 KB *8,875,112 KB
* used pgin/pgout instead of swapin/swapout since /proc/stat changed.
2.5.35 had the following errors after high and low mem were exhausted
for the 3 GB test :
kswapd: page allocation failure. order:0, mode:0x50
java: page allocation failure. order:0, mode:0x50
On 2.5.35, I replaced the printk of the page allocation error with a global
counter and ran 2.5.35 again. The global counter indicated 5532 page
allocation errors during the test and the throughput was 44371 msg/s.
These errors do not occur on 2.5.35 + mm1
The results for the 4 GB mem test were :
--------
kernel msg/s %CPU %sys/%user Total swpin Total swpout Total swapio
----------- ----- ---- ---------- ------------ ------------ ------------
2.5.26 55446 99.4 1.40 0 0 0
2.5.35 52845 99.9 1.38 0 0 0
2.5.35mm1 52755 99.9 1.42 0 0 0
2.5.26 vs 2.5.26 + rmap patch
-----------------------------
It appears as though the page stealing decisions made when using the
2.5.26 rmap patch may not be as good as the baseline for this workload.
There was more swap activity and idle time.
46053/51824 = 88.9 %, VolanoMark runs 11 % slower with the 2.5.26 rmap patch
when compared to 2.5.26 for the 3 GB test.
Here is a chart that compares (a) swap rate (swapin + swapout)
and (b) CPU utilization for on 2.5.26 and 2.5.26+rmap patch.
www-124.ibm.com/developerworks/opensource/linuxperf/volanomark/091602/v26.gif
2.5.35 vs 2.5.35 + mm1 patch
-----------------------------
The 2.5.35 + mm1 patch does not have the page allocation errors.
The swapin and swapout are not reported in /proc/stat for this patch.
So I used /proc/stat pgin and pgout to determine swap io rate.
39679/51824 = 77.4 %, VolanoMark runs 22 % slower with the 2.5.35 mm1 patch
when compared to 2.5.26 for the 3GB test.
Bill Hartner
IBM Linux Technology Center
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/
next reply other threads:[~2002-09-17 21:14 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-17 21:14 Bill Hartner [this message]
2002-09-17 22:32 ` Andrew Morton
2002-09-18 1:22 ` Rik van Riel
2002-09-18 16:10 ` VolanoMark Benchmark results for 2.5.26, 2.5.26 + rmap, 2.5.35,and " Bill Hartner
2002-09-18 16:17 ` Rik van Riel
2002-09-18 18:42 ` [Lse-tech] Re: VolanoMark Benchmark results for 2.5.26, 2.5.26 + rmap, 2.5.35,and2.5.35 " Bill Hartner
2002-09-27 17:00 ` VolanoMark Benchmark results for 2.5.26, 2.5.26 + rmap, 2.5.35,and 2.5.35 " Bill Hartner
2002-09-27 18:32 ` Andrew Morton
2002-10-02 18:51 ` VolanoMark Benchmark results for 2.5.26, 2.5.26 + rmap, 2.5.35 + mm1, and 2.5.38 + mm3 Bill Hartner
2002-10-02 19:36 ` Andrew Morton
2002-10-02 21:03 ` [Lse-tech] Re: VolanoMark Benchmark results for 2.5.26, 2.5.26 + rmap, 2.5.35 +mm1, " Andrew Morton
2002-10-02 20:59 ` [Lse-tech] Re: VolanoMark Benchmark results for 2.5.26, 2.5.26 + rmap, 2.5.35 + mm1, " Dave Hansen
2002-10-03 13:59 ` [Lse-tech] Re: VolanoMark Benchmark results for 2.5.26, 2.5.26+ " Bill Hartner
2002-10-03 16:43 ` Andrew Morton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D879B3B.9F326E20@austin.ibm.com \
--to=hartner@austin.ibm.com \
--cc=linux-mm@kvack.org \
--cc=lse-tech@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox