harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Shipilev (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-5058) [drlvm][gc] #define GC_GEN_STAT should be turned off by default
Date Thu, 01 Nov 2007 16:12:50 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-5058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539400
] 

Aleksey Shipilev commented on HARMONY-5058:
-------------------------------------------

On the attached microbenchmark and 16x Xeon 2.93 Ghz / Windows 2003 EE SP1 x86_64:

Clean:
==============================
$ harmony/bin/java -Xem:server -Xmx256m -Xms256m GCTest 10 10 16 16 1000000
Measurement time: 10
          cycles: 10
     from thread: 16
       to thread: 16
     working set: 1000000

Starting 16 worker threads...
 throughput: 2001466.0 Kb/sec
 throughput: 2189959.0 Kb/sec
 throughput: 2191859.0 Kb/sec
 throughput: 2184260.0 Kb/sec
 throughput: 2179317.0 Kb/sec
 throughput: 2187179.0 Kb/sec
 throughput: 2185960.0 Kb/sec
 throughput: 2177560.0 Kb/sec
 throughput: 2187659.0 Kb/sec
 throughput: 2182874.0 Kb/sec

Results for 16 threads:
------------------------------------------------------------------------------
Final GC throughput: 2184246 Kb/sec, (uncert: 0.042%)
 persistent objects: 15 Mb
        new objects: 206899 Mb
       transactions: 2 TPS

Patched:
==============================
$ harmony-patched/bin/java -Xem:server -Xmx256m -Xms256m GCTest 10 10 16 16 1000000
Measurement time: 10
          cycles: 10
     from thread: 16
       to thread: 16
     working set: 1000000

Starting 16 worker threads...
 throughput: 2139263.0 Kb/sec
 throughput: 2345949.0 Kb/sec
 throughput: 2341437.0 Kb/sec
 throughput: 2351549.0 Kb/sec
 throughput: 2344549.0 Kb/sec
 throughput: 2356449.0 Kb/sec
 throughput: 2345649.0 Kb/sec
 throughput: 2343649.0 Kb/sec
 throughput: 2331120.0 Kb/sec
 throughput: 2341250.0 Kb/sec

Results for 16 threads:
----------------------------------------------------------------------------
Final GC throughput: 2343623 Kb/sec, (uncert: 0.086%)
 persistent objects: 15 Mb
        new objects: 221711 Mb
       transactions: 2 TPS


As you can see, there is +7.3% boost.

> [drlvm][gc] #define GC_GEN_STAT should be turned off by default
> ---------------------------------------------------------------
>
>                 Key: HARMONY-5058
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5058
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Aleksey Shipilev
>         Attachments: GCTest.java, gcv5-gc_stat-debug.patch
>
>
> GC_GEN_STAT seem to be unneeded for GCv5 operation, but it consumes the resources on
heavy workloads.
> This issue turns off GC_GEN_STAT in GCv5.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message