much slow on solaris than on windows

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
enrico
Posts: 49
Joined: Thu Jul 22, 2004 7:13 pm
Location: Shaanxi, P.R.China

much slow on solaris than on windows

Post by enrico » Fri Oct 22, 2004 2:48 am

need about 24sec to execute on windows, but almost 80sec on solaris, could anyone tell me the possible reason?

Regards,
enrico

mskjeret
Posts: 27
Joined: Sun May 23, 2004 8:58 am

Post by mskjeret » Sat Oct 23, 2004 9:59 pm

Hi

Could it be that autoAlias is set to true?
I have heard that this slows things down considerable, at least on linux.
Maybe it is true for solaris too?

Magne

enrico
Posts: 49
Joined: Thu Jul 22, 2004 7:13 pm
Location: Shaanxi, P.R.China

Post by enrico » Sun Oct 24, 2004 1:55 am

Thank you, Magne!

But could you tell me where the "autoAlias" is, I can find it... Besides, I have already setAntiAlias(false) for performance problem.

Regards,
enrico

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Mon Oct 25, 2004 5:52 pm

I think the Java2D implementation on Windows tends to be faster than on Linux, but that´s only an observation, I don´t have any performance numbers to back that up. And I don´t have access to a Solaris machine, so I can´t say anything about performance there.

It would be really nice to put together a performance reporting application for JFreeChart and get some hard numbers for various platforms, JDK versions, JFreeChart versions and chart types. I´d like to do some performance optimisation at some point, although flexibility and output quality are still more important to me than raw performance.

Can you post a sample application for a chart similar to the one you are generating? If so, I´ll run it on my machine (Gentoo Linux and Windows XP dual boot) and see how it goes.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

enrico
Posts: 49
Joined: Thu Jul 22, 2004 7:13 pm
Location: Shaanxi, P.R.China

Post by enrico » Wed Nov 10, 2004 12:43 pm

Thanks David! But the code is so complexed that I have no idea how to simplify it.(Applet reads data from files in server using RMI, and file has fixed storage format)

So could it be the RMI that slow things down? Is there any other way that is faster than RMI?

Thanks in advance!


Regards,
enrico

enrico
Posts: 49
Joined: Thu Jul 22, 2004 7:13 pm
Location: Shaanxi, P.R.China

Post by enrico » Wed Nov 10, 2004 12:46 pm

Thanks David! But the code is so complexed that I have no idea how to simplify it.(Applet reads data from files in server using RMI, and file has fixed storage format)

So could it be the RMI that slow things down? Is there any other way that is faster than RMI?

Thanks in advance!


Regards,
enrico

Locked