speed of simple loops: comparison to other language

Steve White swhite at aip.de
Fri Jul 2 03:26:53 PDT 2010


Hi, Andrew

There may be a two-way confusion here, on both topics.

On  1.07.10, Andrew Haley wrote:
> On 07/01/2010 05:37 PM, Steve White wrote:
> 
> > However, does better execution time necessarily imply slower start-up time?
> > If the only switches available are -server or -client, then we're stuck.
> > But maybe this just reflects an unfortunate division of the issues.
> > Frankly it surprises me that better optimization necessarily implies
> > substantially slower start-up time. 
> > 
> > Is it really either/or? 
> 
> Optimization is a computationally expensive job, so to some extent
> that can't be helped.
> 
My point is, that the "server" vs "client" distinction is maybe too
coarse-grained for many applications.

However, it turns out that for my uses, the "server" compiler works well.
I don't care about start-up time.  It is so fast as to be humanly 
insensible in my applications.  I care about compute time.

Java always worked well on our x86_64 machines, but I was perplexed why
I wasn't seeing similar performance on other machines.  Now I understand,
and I can fix the problem.

> > Just a thought: it's kind of poor that the determination has to be made
> > when building the VM.  It would be much cooler to have launch-time switch
> > that would choose such behavior.
> 
> Sure, it would, but AFAIK no-one has ever written a client compiler
> for x86_64, so we're kinda stuck.  :-)
> 
But for my purposes I wanted the contrary thing, the "server" compiler for
IA32.

Now I understand this is just a simple matter of the -server java switch
(I misunderstood that this was a compiler switch before).

Cheers!

-- 
| -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -
| Steve White                                             +49(331)7499-202
| E-Science                                        Zi. 27  Villa Turbulenz 
| -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -
| Astrophysikalisches Institut Potsdam (AIP)
| An der Sternwarte 16, D-14482 Potsdam
|
| Vorstand: Prof. Dr. Matthias Steinmetz, Peter A. Stolz
|
| Stiftung privaten Rechts, Stiftungsverzeichnis Brandenburg: III/7-71-026
| -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -


More information about the hotspot-compiler-dev mailing list