Performance issue

View: New views
3 Messages — Rating Filter:   Alert me  

Performance issue

by Claude Vittoria :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I done some tests, with knopflerfish, jam1.5.3 and GNU Classpath09.8 on a at91.
The test is the web service of knopper which provids huge web pages,
many CSS and imgs.
I compare with sun-cdc, jamvm is 12time slower... I don't understand
the issue. I try to profile but I don't how to do. On  a PC I get only
a difference of 3.

How to explore the issue ? I don't know how to do to find if the issue
is in jam or in classpath.
What are the good option to compile jam on ARM ?

Cheers,
Claude

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Jamvm-general mailing list
Jamvm-general@...
https://lists.sourceforge.net/lists/listinfo/jamvm-general

Re: Performance issue

by Robert Lougher :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Some questions:

1) What is a at91?
2) What version of sun-cdc were you using?
4) What VMs were you using on the PC?
5) What is the output of jamvm -version?

Try increasing -Xms and -Xmx (e.g. -Xms16m).  By default these values
are very low on ARM (especially the initial heap setting -Xms).  It
could be spending a lot of time garbage collecting (do -Xverbose:gc to
see).

The code-copying JIT is not on by default on ARM, while it is enabled
on desktop systems.  But a difference of 12 is far, far too big,
especially as sun-cdc is not as optimised as Hotspot.

Rob.

2009/9/18 Claude Vittoria <claude.vittoria@...>:

> Hi,
>
> I done some tests, with knopflerfish, jam1.5.3 and GNU Classpath09.8 on a at91.
> The test is the web service of knopper which provids huge web pages,
> many CSS and imgs.
> I compare with sun-cdc, jamvm is 12time slower... I don't understand
> the issue. I try to profile but I don't how to do. On  a PC I get only
> a difference of 3.
>
> How to explore the issue ? I don't know how to do to find if the issue
> is in jam or in classpath.
> What are the good option to compile jam on ARM ?
>
> Cheers,
> Claude
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Jamvm-general mailing list
> Jamvm-general@...
> https://lists.sourceforge.net/lists/listinfo/jamvm-general
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Jamvm-general mailing list
Jamvm-general@...
https://lists.sourceforge.net/lists/listinfo/jamvm-general

Re: Performance issue

by Claude Vittoria :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

On Fri, Sep 18, 2009 at 7:23 PM, Robert Lougher <rob.lougher@...> wrote:
> Hi,
>
> Some questions:
>
> 1) What is a at91?
ARM920T around 150Mhz, 64MB of memory
http://www.atmel.com/dyn/products/datasheets.asp?family_id=605
AT91RM9200 Series

> 2) What version of sun-cdc were you using?
I don't know, I suspect a SUN embedded with hotspot(a commercial version).

> 4) What VMs were you using on the PC?
Sun JSE 6.0  vs JamVM.

> 5) What is the output of jamvm -version?
Execution Engine: direct-threaded interpreter with stack-caching

>
> Try increasing -Xms and -Xmx (e.g. -Xms16m).  By default these values
> are very low on ARM (especially the initial heap setting -Xms).  It
done, but not better.

> could be spending a lot of time garbage collecting (do -Xverbose:gc to
> see).
Ok next week for a test

Claude

>
> The code-copying JIT is not on by default on ARM, while it is enabled
> on desktop systems.  But a difference of 12 is far, far too big,
> especially as sun-cdc is not as optimised as Hotspot.
>
> Rob.
>
> 2009/9/18 Claude Vittoria <claude.vittoria@...>:
>> Hi,
>>
>> I done some tests, with knopflerfish, jam1.5.3 and GNU Classpath09.8 on a at91.
>> The test is the web service of knopper which provids huge web pages,
>> many CSS and imgs.
>> I compare with sun-cdc, jamvm is 12time slower... I don't understand
>> the issue. I try to profile but I don't how to do. On  a PC I get only
>> a difference of 3.
>>
>> How to explore the issue ? I don't know how to do to find if the issue
>> is in jam or in classpath.
>> What are the good option to compile jam on ARM ?
>>
>> Cheers,
>> Claude
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry® Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9-12, 2009. Register now!
>> http://p.sf.net/sfu/devconf
>> _______________________________________________
>> Jamvm-general mailing list
>> Jamvm-general@...
>> https://lists.sourceforge.net/lists/listinfo/jamvm-general
>>
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Jamvm-general mailing list
Jamvm-general@...
https://lists.sourceforge.net/lists/listinfo/jamvm-general