On the 0x317 day of Apache Harmony Egor Pasko wrote:
> On the 0x317 day of Apache Harmony Vladimir Strigun wrote:
> > On 18 Jul 2007 14:30:01 +0400, Egor Pasko <[EMAIL PROTECTED]> wrote:
> > > On the 0x317 day of Apache Harmony Vladimir Strigun wrote:
> > > > On 18 Jul 2007 13:58:46 +0400, Egor Pasko <[EMAIL PROTECTED]> wrote:
> > > > > On the 0x317 day of Apache Harmony Vladimir Strigun wrote:
> > > > > > Egor,
> > > > > >
> > > > > > On 17 Jul 2007 02:44:25 +0400, Egor Pasko <[EMAIL PROTECTED]> wrote:
> > > > > > > Guys,
> > > > > > >
> > > > > > > I am not very stuck with ABCD. I am not. Not at all. Not am I.
> > > > > > > Ehm.
> > > > > > >
> > > > > > > Lickily, I finished digging into the implementation and making 
> > > > > > > sure it
> > > > > > > is correct. Now I am pretty confident that classic_abcd does the 
> > > > > > > right
> > > > > > > thing! (no guarantees, you know, it's software) Had to refactor 
> > > > > > > the
> > > > > > > code a bit to fill in the gaps of my poor understanding. I think, 
> > > > > > > we
> > > > > > > should commit the changes...
> > > > > > >
> > > > > > > featuring:
> > > > > > > * two-state Inequality Graph, dot printing is just beautiful
> > > > > > > * better readability
> > > > > > > * unit-like-tests against the new functionality
> > > > > > > * option: -XX:jit.arg.dump_abcd_stats=true to dump stats 
> > > > > > > (total/eliminated)
> > > > > > > * same amount of checks eliminated as before
> > > > > > > * well-known tests breaking oldish ABCD _passed_, of course
> > > > > > >
> > > > > > > in all, HARMONY-4476 (more details in JIRA)
> > > > > > >
> > > > > > > Given that Windows is not what I am lucky with today, if a JIT 
> > > > > > > guru
> > > > > > > (Pavel, Mikhail, George?) had time to take a look at the patch 
> > > > > > > and run
> > > > > > > 'build test' on Windows that would be really-really great!
> > > > > > >
> > > > > > > And now the ugly porn:
> > > > > > >
> > > > > > > 1. I could not run almost all of DaCapo benches for various 
> > > > > > > reasons, so
> > > > > > >   tested only on hsqldb, wow, anybody aware of it or is it just me
> > > > > > >   ugly little creature? had little time, sorry
> > > > > >
> > > > > > Could you please describe what problems do you have with running 
> > > > > > Dacapo?
> > > > >
> > > > > for example:
> > > > >
> > > > > [pasko 13:51:19 dacapo]$ $HARMONY -showversion 
> > > > > -XX:jit.arg.dump_abcd_stats=true -Xem:server -jar 
> > > > > dacapo-2006-10-MR2.jar antlr
> > > > > Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache 
> > > > > Software Foundation or its licensors, as applicable.
> > > > > java version "1.5.0"
> > > > > pre-alpha : not complete or compatible
> > > > > svn = r554009, (Jul 17 2007), Linux/ia32/gcc 4.0.3, debug build
> > > > > http://harmony.apache.org
> > > > > ===== DaCapo antlr starting =====
> > > > > Running antlr on grammar antlr/cpp/calc.g
> > > > > ANTLR Parser Generator   Version 2.7.5 (20050128)   1989-2005 
> > > > > jGuru.com
> > > > > [pasko 13:52:03 dacapo]$
> > > > >
> > > > > this is a failure ("PASSED" was not printed)
> > > > > ..but the version is rather old.
> > > > >
> > > > > I am going to file the bugs as soon as I manage to check the latest 
> > > > > version.
> > > >
> > > > Yes, it's well known issue (HARMONY-1906). The problem here that
> > > > Dacapo uses patched version of antlr, while antlr.jar included to
> > > > bootclasspath for vm. So, the workaround here is to remove antlr.jar
> > > > from bootclasspath.properties file.
> > >
> > > Very interesting!
> > >
> > > Vladimir, as an expert in running benchmarks, could you, please, share
> > > the knowledge about all tricks that you know (including the just
> > > mentioned one) that are necessary to run DaCapo on Wiki?
> > 
> > AFAIK,
> > there are only several trick to run [EMAIL PROTECTED]:
> > 1. As I mentioned before, to run antlr bench, please remove antlr.jar
> > from bootclasspath.properties file.
> > 2. To run dacapo xalan you need to extract DacapoMR2 and run it with
> > the following command line: java -Xbootclasspath/p:./xalan.jar
> > Harness xalan
> > The reason for such a trick is almost the same as for antlr: dacapo
> > have internal xalan package with version 2.4.1, but 2.7.0 included to
> > Harmony.
> > 3. Jython bench fails on Linux (Harmony-2137).
> > 
> > If you think it's reasonable to reflect these tricks on Wiki, I can
> > create corresponding page.
> 
> please, that would be awesome, thank you!
> 
> > > and publishing performance measurements on Linux would be also good to
> > > start to track progress here. (but this is another subject to discuss)
> > 
> > We have performance page ( http://harmony.apache.org/performance.html
> > ) where you can find some results. As I can see, results already
> > outdated and I'll try to figure out whether we can continue to publish
> > it.
> 
> it is Windows-only, I would like to reflect Linux too.

oops, sorry, missed the "SLES" word. Better write it SUSE Linux, SLES
confuses me a little :)

-- 
Egor Pasko

Reply via email to