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-5095) [drlvm][build] Enable /O2 for VM building with MSVC
Date Thu, 08 Nov 2007 12:36:51 GMT

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

Aleksey Shipilev commented on HARMONY-5095:
-------------------------------------------

On GC microbenchmark:

===== MSVC default

Measurement time: 10
          cycles: 20
     from thread: 16
       to thread: 16
     working set: 1000000

Starting 16 worker threads...
 throughput: 2031622.0 Kb/sec
 throughput: 2199359.0 Kb/sec
 throughput: 2206058.0 Kb/sec
 throughput: 2191359.0 Kb/sec
 throughput: 2169461.0 Kb/sec
 throughput: 2157661.0 Kb/sec
 throughput: 2201959.0 Kb/sec
 throughput: 2199259.0 Kb/sec
 throughput: 2189955.0 Kb/sec
 throughput: 2195759.0 Kb/sec
 throughput: 2201759.0 Kb/sec
 throughput: 2196859.0 Kb/sec
 throughput: 2205758.0 Kb/sec
 throughput: 2179160.0 Kb/sec
 throughput: 2191845.0 Kb/sec
 throughput: 2203158.0 Kb/sec
 throughput: 2186860.0 Kb/sec
 throughput: 2189359.0 Kb/sec
 throughput: 2200659.0 Kb/sec
 throughput: 2197459.0 Kb/sec

Results for 16 threads: 
======================================
Final GC throughput: 2195287 Kb/sec, (uncert: 0.06%)
 persistent objects: 15 Mb
        new objects: 416840 Mb
       transactions: 2 TPS

===== MSVC  /O2

Measurement time: 10
          cycles: 20
     from thread: 16
       to thread: 16
     working set: 1000000

Starting 16 worker threads...
 throughput: 2067958.0 Kb/sec
 throughput: 2254855.0 Kb/sec
 throughput: 2247456.0 Kb/sec
 throughput: 2252155.0 Kb/sec
 throughput: 2229957.0 Kb/sec
 throughput: 2247356.0 Kb/sec
 throughput: 2235956.0 Kb/sec
 throughput: 2234556.0 Kb/sec
 throughput: 2231557.0 Kb/sec
 throughput: 2251055.0 Kb/sec
 throughput: 2252555.0 Kb/sec
 throughput: 2252255.0 Kb/sec
 throughput: 2239956.0 Kb/sec
 throughput: 2248756.0 Kb/sec
 throughput: 2231557.0 Kb/sec
 throughput: 2246656.0 Kb/sec
 throughput: 2260455.0 Kb/sec
 throughput: 2259155.0 Kb/sec
 throughput: 2234956.0 Kb/sec
 throughput: 2246756.0 Kb/sec

Results for 16 threads: 
======================================
Final GC throughput: 2247305 Kb/sec, (uncert: 0.067%)
 persistent objects: 15 Mb
        new objects: 426571 Mb
       transactions: 2 TPS

MSVC GC /O2
Measurement time: 10
          cycles: 20
     from thread: 16
       to thread: 16
     working set: 1000000

Starting 16 worker threads...
 throughput: 2015870.0 Kb/sec
 throughput: 2208258.0 Kb/sec
 throughput: 2208058.0 Kb/sec
 throughput: 2198659.0 Kb/sec
 throughput: 2203258.0 Kb/sec
 throughput: 2220057.0 Kb/sec
 throughput: 2214758.0 Kb/sec
 throughput: 2213958.0 Kb/sec
 throughput: 2193759.0 Kb/sec
 throughput: 2215758.0 Kb/sec
 throughput: 2208958.0 Kb/sec
 throughput: 2205558.0 Kb/sec
 throughput: 2203726.0 Kb/sec
 throughput: 2213158.0 Kb/sec
 throughput: 2206927.0 Kb/sec
 throughput: 2205858.0 Kb/sec
 throughput: 2213058.0 Kb/sec
 throughput: 2206858.0 Kb/sec
 throughput: 2210758.0 Kb/sec
 throughput: 2215158.0 Kb/sec

Results for 16 threads: 
======================================
Final GC throughput: 2209001 Kb/sec, (uncert: 0.027%)
 persistent objects: 15 Mb
        new objects: 419547 Mb
       transactions: 2 TPS

MSVC default
Measurement time: 10
          cycles: 20
     from thread: 16
       to thread: 16
     working set: 1000000

Starting 16 worker threads...
 throughput: 2064169.0 Kb/sec
 throughput: 2244256.0 Kb/sec
 throughput: 2216958.0 Kb/sec
 throughput: 2231757.0 Kb/sec
 throughput: 2214358.0 Kb/sec
 throughput: 2232157.0 Kb/sec
 throughput: 2236256.0 Kb/sec
 throughput: 2224957.0 Kb/sec
 throughput: 2218358.0 Kb/sec
 throughput: 2236856.0 Kb/sec
 throughput: 2214436.0 Kb/sec
 throughput: 2240856.0 Kb/sec
 throughput: 2224557.0 Kb/sec
 throughput: 2227957.0 Kb/sec
 throughput: 2239056.0 Kb/sec
 throughput: 2230957.0 Kb/sec
 throughput: 2218058.0 Kb/sec
 throughput: 2217058.0 Kb/sec
 throughput: 2225557.0 Kb/sec
 throughput: 2235579.0 Kb/sec

Results for 16 threads: 
======================================
Final GC throughput: 2227407 Kb/sec, (uncert: 0.066%)
 persistent objects: 15 Mb
        new objects: 423563 Mb
       transactions: 2 TPS

MSVC /O2
Measurement time: 10
          cycles: 20
     from thread: 16
       to thread: 16
     working set: 1000000

Starting 16 worker threads...
 throughput: 2007571.0 Kb/sec
 throughput: 2197143.0 Kb/sec
 throughput: 2186180.0 Kb/sec
 throughput: 2207158.0 Kb/sec
 throughput: 2174060.0 Kb/sec
 throughput: 2203258.0 Kb/sec
 throughput: 2185260.0 Kb/sec
 throughput: 2200759.0 Kb/sec
 throughput: 2199259.0 Kb/sec
 throughput: 2186080.0 Kb/sec
 throughput: 2202459.0 Kb/sec
 throughput: 2206058.0 Kb/sec
 throughput: 2195932.0 Kb/sec
 throughput: 2201159.0 Kb/sec
 throughput: 2211858.0 Kb/sec
 throughput: 2178360.0 Kb/sec
 throughput: 2181877.0 Kb/sec
 throughput: 2202059.0 Kb/sec
 throughput: 2194847.0 Kb/sec
 throughput: 2209858.0 Kb/sec

Results for 16 threads: 
======================================
Final GC throughput: 2198446 Kb/sec, (uncert: 0.079%)
 persistent objects: 15 Mb
        new objects: 417316 Mb
       transactions: 2 TPS

MSVC GC /O2
Measurement time: 10
          cycles: 20
     from thread: 16
       to thread: 16
     working set: 1000000

Starting 16 worker threads...
 throughput: 2101912.0 Kb/sec
 throughput: 2266926.0 Kb/sec
 throughput: 2275912.0 Kb/sec
 throughput: 2267726.0 Kb/sec
 throughput: 2286753.0 Kb/sec
 throughput: 2271354.0 Kb/sec
 throughput: 2285353.0 Kb/sec
 throughput: 2270554.0 Kb/sec
 throughput: 2276454.0 Kb/sec
 throughput: 2274154.0 Kb/sec
 throughput: 2264155.0 Kb/sec
 throughput: 2266854.0 Kb/sec
 throughput: 2261163.0 Kb/sec
 throughput: 2270089.0 Kb/sec
 throughput: 2276611.0 Kb/sec
 throughput: 2280254.0 Kb/sec
 throughput: 2274415.0 Kb/sec
 throughput: 2264232.0 Kb/sec
 throughput: 2252876.0 Kb/sec
 throughput: 2265654.0 Kb/sec

Results for 16 threads: 
======================================
Final GC throughput: 2267630 Kb/sec, (uncert: 0.056%)
 persistent objects: 15 Mb
        new objects: 431974 Mb
       transactions: 2 TPS

MSVC default
Measurement time: 10
          cycles: 20
     from thread: 16
       to thread: 16
     working set: 1000000

Starting 16 worker threads...
 throughput: 2060071.0 Kb/sec
 throughput: 2223957.0 Kb/sec
 throughput: 2227457.0 Kb/sec
 throughput: 2214658.0 Kb/sec
 throughput: 2182460.0 Kb/sec
 throughput: 2214758.0 Kb/sec
 throughput: 2207658.0 Kb/sec
 throughput: 2199041.0 Kb/sec
 throughput: 2231457.0 Kb/sec
 throughput: 2222757.0 Kb/sec
 throughput: 2208958.0 Kb/sec
 throughput: 2212258.0 Kb/sec
 throughput: 2221157.0 Kb/sec
 throughput: 2211558.0 Kb/sec
 throughput: 2218258.0 Kb/sec
 throughput: 2224357.0 Kb/sec
 throughput: 2207116.0 Kb/sec
 throughput: 2194767.0 Kb/sec
 throughput: 2227957.0 Kb/sec
 throughput: 2220257.0 Kb/sec

Results for 16 threads: 
======================================
Final GC throughput: 2214664 Kb/sec, (uncert: 0.07%)
 persistent objects: 15 Mb
        new objects: 421058 Mb
       transactions: 2 TPS

MSVC /O2
Measurement time: 10
          cycles: 20
     from thread: 16
       to thread: 16
     working set: 1000000

Starting 16 worker threads...
 throughput: 2081566.0 Kb/sec
 throughput: 2249856.0 Kb/sec
 throughput: 2254255.0 Kb/sec
 throughput: 2255755.0 Kb/sec
 throughput: 2234456.0 Kb/sec
 throughput: 2249456.0 Kb/sec
 throughput: 2253055.0 Kb/sec
 throughput: 2229957.0 Kb/sec
 throughput: 2242404.0 Kb/sec
 throughput: 2249955.0 Kb/sec
 throughput: 2244556.0 Kb/sec
 throughput: 2253355.0 Kb/sec
 throughput: 2253955.0 Kb/sec
 throughput: 2253455.0 Kb/sec
 throughput: 2247956.0 Kb/sec
 throughput: 2227457.0 Kb/sec
 throughput: 2251855.0 Kb/sec
 throughput: 2248156.0 Kb/sec
 throughput: 2247887.0 Kb/sec
 throughput: 2263755.0 Kb/sec

Results for 16 threads: 
======================================
Final GC throughput: 2249238 Kb/sec, (uncert: 0.065%)
 persistent objects: 15 Mb
        new objects: 427313 Mb
       transactions: 2 TPS

MSVC GC /O2
Measurement time: 10
          cycles: 20
     from thread: 16
       to thread: 16
     working set: 1000000

Starting 16 worker threads...
 throughput: 2028670.0 Kb/sec
 throughput: 2192159.0 Kb/sec
 throughput: 2196659.0 Kb/sec
 throughput: 2191159.0 Kb/sec
 throughput: 2200659.0 Kb/sec
 throughput: 2187360.0 Kb/sec
 throughput: 2195559.0 Kb/sec
 throughput: 2180909.0 Kb/sec
 throughput: 2211458.0 Kb/sec
 throughput: 2177960.0 Kb/sec
 throughput: 2190859.0 Kb/sec
 throughput: 2184160.0 Kb/sec
 throughput: 2197659.0 Kb/sec
 throughput: 2192255.0 Kb/sec
 throughput: 2199459.0 Kb/sec
 throughput: 2204058.0 Kb/sec
 throughput: 2177160.0 Kb/sec
 throughput: 2204558.0 Kb/sec
 throughput: 2189159.0 Kb/sec
 throughput: 2197059.0 Kb/sec

Results for 16 threads: 
======================================
Final GC throughput: 2193638 Kb/sec, (uncert: 0.063%)
 persistent objects: 15 Mb
        new objects: 416975 Mb
       transactions: 2 TPS

MSVC default
Measurement time: 10
          cycles: 20
     from thread: 16
       to thread: 16
     working set: 1000000

Starting 16 worker threads...
 throughput: 2075845.0 Kb/sec
 throughput: 2255155.0 Kb/sec
 throughput: 2254055.0 Kb/sec
 throughput: 2247156.0 Kb/sec
 throughput: 2244156.0 Kb/sec
 throughput: 2251655.0 Kb/sec
 throughput: 2245056.0 Kb/sec
 throughput: 2257655.0 Kb/sec
 throughput: 2255255.0 Kb/sec
 throughput: 2257555.0 Kb/sec
 throughput: 2260255.0 Kb/sec
 throughput: 2259755.0 Kb/sec
 throughput: 2232457.0 Kb/sec
 throughput: 2240756.0 Kb/sec
 throughput: 2253655.0 Kb/sec
 throughput: 2246556.0 Kb/sec
 throughput: 2253955.0 Kb/sec
 throughput: 2254055.0 Kb/sec
 throughput: 2254555.0 Kb/sec
 throughput: 2247890.0 Kb/sec

Results for 16 threads: 
======================================
Final GC throughput: 2250388 Kb/sec, (uncert: 0.061%)
 persistent objects: 15 Mb
        new objects: 427830 Mb
       transactions: 2 TPS

MSVC /O2
Measurement time: 10
          cycles: 20
     from thread: 16
       to thread: 16
     working set: 1000000

Starting 16 worker threads...
 throughput: 2012652.0 Kb/sec
 throughput: 2202659.0 Kb/sec
 throughput: 2227757.0 Kb/sec
 throughput: 2197159.0 Kb/sec
 throughput: 2192259.0 Kb/sec
 throughput: 2205558.0 Kb/sec
 throughput: 2205820.0 Kb/sec
 throughput: 2199959.0 Kb/sec
 throughput: 2202909.0 Kb/sec
 throughput: 2206658.0 Kb/sec
 throughput: 2208658.0 Kb/sec
 throughput: 2187360.0 Kb/sec
 throughput: 2198459.0 Kb/sec
 throughput: 2203658.0 Kb/sec
 throughput: 2193559.0 Kb/sec
 throughput: 2206528.0 Kb/sec
 throughput: 2218158.0 Kb/sec
 throughput: 2191059.0 Kb/sec
 throughput: 2207958.0 Kb/sec
 throughput: 2209058.0 Kb/sec

Results for 16 threads: 
======================================
Final GC throughput: 2202445 Kb/sec, (uncert: 0.069%)
 persistent objects: 15 Mb
        new objects: 418646 Mb
       transactions: 2 TPS

MSVC GC /O2
Measurement time: 10
          cycles: 20
     from thread: 16
       to thread: 16
     working set: 1000000

Starting 16 worker threads...
 throughput: 2059868.0 Kb/sec
 throughput: 2250455.0 Kb/sec
 throughput: 2239656.0 Kb/sec
 throughput: 2259455.0 Kb/sec
 throughput: 2254855.0 Kb/sec
 throughput: 2257755.0 Kb/sec
 throughput: 2256255.0 Kb/sec
 throughput: 2240856.0 Kb/sec
 throughput: 2261555.0 Kb/sec
 throughput: 2223357.0 Kb/sec
 throughput: 2228457.0 Kb/sec
 throughput: 2242656.0 Kb/sec
 throughput: 2254155.0 Kb/sec
 throughput: 2243710.0 Kb/sec
 throughput: 2242556.0 Kb/sec
 throughput: 2234756.0 Kb/sec
 throughput: 2243956.0 Kb/sec
 throughput: 2256955.0 Kb/sec
 throughput: 2233157.0 Kb/sec
 throughput: 2254455.0 Kb/sec

Results for 16 threads: 
======================================
Final GC throughput: 2243481 Kb/sec, (uncert: 0.067%)
 persistent objects: 15 Mb
        new objects: 426763 Mb
       transactions: 2 TPS

MSVC default
Measurement time: 10
          cycles: 20
     from thread: 16
       to thread: 16
     working set: 1000000

Starting 16 worker threads...
 throughput: 2052306.0 Kb/sec
 throughput: 2227557.0 Kb/sec
 throughput: 2219457.0 Kb/sec
 throughput: 2227157.0 Kb/sec
 throughput: 2213358.0 Kb/sec
 throughput: 2217258.0 Kb/sec
 throughput: 2208558.0 Kb/sec
 throughput: 2222957.0 Kb/sec
 throughput: 2216858.0 Kb/sec
 throughput: 2230157.0 Kb/sec
 throughput: 2210058.0 Kb/sec
 throughput: 2230957.0 Kb/sec
 throughput: 2225157.0 Kb/sec
 throughput: 2222257.0 Kb/sec
 throughput: 2201859.0 Kb/sec
 throughput: 2227757.0 Kb/sec
 throughput: 2228757.0 Kb/sec
 throughput: 2230657.0 Kb/sec
 throughput: 2227357.0 Kb/sec
 throughput: 2212058.0 Kb/sec

Results for 16 threads: 
======================================
Final GC throughput: 2221687 Kb/sec, (uncert: 0.072%)
 persistent objects: 15 Mb
        new objects: 422085 Mb
       transactions: 2 TPS

MSVC /O2
Measurement time: 10
          cycles: 20
     from thread: 16
       to thread: 16
     working set: 1000000

Starting 16 worker threads...
 throughput: 2042969.0 Kb/sec
 throughput: 2241156.0 Kb/sec
 throughput: 2248556.0 Kb/sec
 throughput: 2244256.0 Kb/sec
 throughput: 2246656.0 Kb/sec
 throughput: 2234256.0 Kb/sec
 throughput: 2248456.0 Kb/sec
 throughput: 2238556.0 Kb/sec
 throughput: 2238956.0 Kb/sec
 throughput: 2249656.0 Kb/sec
 throughput: 2247256.0 Kb/sec
 throughput: 2247859.0 Kb/sec
 throughput: 2253555.0 Kb/sec
 throughput: 2244256.0 Kb/sec
 throughput: 2233957.0 Kb/sec
 throughput: 2219957.0 Kb/sec
 throughput: 2251355.0 Kb/sec
 throughput: 2232457.0 Kb/sec
 throughput: 2242356.0 Kb/sec
 throughput: 2233457.0 Kb/sec

Results for 16 threads: 
======================================
Final GC throughput: 2240646 Kb/sec, (uncert: 0.074%)
 persistent objects: 15 Mb
        new objects: 425754 Mb


> [drlvm][build] Enable /O2 for VM building with MSVC
> ---------------------------------------------------
>
>                 Key: HARMONY-5095
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5095
>             Project: Harmony
>          Issue Type: Improvement
>          Components: build - test - ci
>         Environment: Windows
>            Reporter: Aleksey Shipilev
>            Priority: Minor
>         Attachments: drlvm-o2.patch
>
>
> At the moment the build system passes the /Ox parameter instead of /O2 to MSVC compiler.
> Attached patch adds /O2 switch for common_vm build target when using MSVC compiler.

-- 
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