harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wenlong Li (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-6002) Startup cost is high for Harmony
Date Thu, 23 Oct 2008 13:56:44 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-6002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642162#action_12642162

Wenlong Li commented on HARMONY-6002:

btw, threading could be another solution for startup problem as multi-core is the trend. However,
at this moment, improving the performance of single-threaded version is necessary.

> Startup cost is high for Harmony
> --------------------------------
>                 Key: HARMONY-6002
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6002
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>         Environment: Windows system. Core 2 Quad-core machine
>            Reporter: Wenlong Li
> The startup time is long for the simple helloworld program. On a Core 2 Quad-core processor,
running the simple helloworld program will take more than 300 ms. 
> For the startup benchmarks in SPECJVM2008, the startup cost of Harmony is also very high.
For example, only several operations can be executed per minute.
> I am going to address the startup cost problem. At this moment, there are several approaches
in my mind.
> (a) Add instrumentation code in Harmony to identify the hot functions. Also use VTune
to identify the performance bottleneck
> (b) Reduce the number of loaded classes. The startup cost is proportional to the number
of loaded classes. This approach may be helpful in improving startup performance, but may
not be an effective solution.
> (c) Check the class lookup operation, and see whether there is some optimization opportunity.
> (d) Check the class file reading, and see whether I/O is the bottleneck.
> (e) Check whether memory access affects performance, and apply software prefetch technique
> These are my priliminary thoughts, and I would like to hear comments and advice to fix
this problem. Any suggestion are welcome and appreciated. 

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

View raw message