Re: Ant build slower on two cores than on one core?

2008-03-13 Thread Michael Meyer
--- Steve Loughran <[EMAIL PROTECTED]> schrieb: > -could you try building under vmware/xen? We do that > for releases to > ensure the release builds are with clean source, no > matter what I'm editing. I did try to install xen, but the Ubuntu 8.04 xen-kernel won't boot on my machine. I do have a

Re: Ant build slower on two cores than on one core?

2008-03-13 Thread Michael Meyer
--- Steve Loughran <[EMAIL PROTECTED]> schrieb: > Michael Meyer wrote: > > > > On mere build servers running linux one could > disable > > the second core at boot time permanently to reduce > the > > build time, if no other processes are runnin

Re: Ant build slower on two cores than on one core?

2008-03-13 Thread Michael Meyer
--- Steve Loughran <[EMAIL PROTECTED]> schrieb: > Michael Meyer wrote: > >> --- Steve Loughran <[EMAIL PROTECTED]> schrieb: > >>> this is really interesting. I'd thought javac > was > >>> unthreaded too, but > >>> even so y

Re: Ant build slower on two cores than on one core?

2008-03-11 Thread Michael Meyer
--- Steve Loughran <[EMAIL PROTECTED]> schrieb: > Michael Meyer wrote: > >> --- Steve Loughran <[EMAIL PROTECTED]> schrieb: > >>> this is really interesting. I'd thought javac > was > >>> unthreaded too, but > >>> even so y

Re: Ant build slower on two cores than on one core?

2008-03-08 Thread Michael Meyer
> --- Steve Loughran <[EMAIL PROTECTED]> schrieb: > > this is really interesting. I'd thought javac was > > unthreaded too, but > > even so you'd expect file IO to work in the other > > CPU, so get a boost > > from the second core. > > > > what happens when you try a different javac, like > >

Re: Ant build slower on two cores than on one core?

2008-03-08 Thread Michael Meyer
--- Michael Meyer <[EMAIL PROTECTED]> schrieb: > --- Steve Loughran <[EMAIL PROTECTED]> schrieb: > > this is really interesting. I'd thought javac was > > unthreaded too, but > > even so you'd expect file IO to work in the other > > CPU, so get

Re: Ant build slower on two cores than on one core?

2008-03-08 Thread Michael Meyer
--- Steve Loughran <[EMAIL PROTECTED]> schrieb: > this is really interesting. I'd thought javac was > unthreaded too, but > even so you'd expect file IO to work in the other > CPU, so get a boost > from the second core. > > what happens when you try a different javac, like > the eclipse one?

Ant build slower on two cores than on one core?

2008-03-07 Thread Michael Meyer
Hi, I have a project that uses javac and a bit latex2html. Ant version is 1.7.0. The javac is from the original Sun JDK 6 Upodate 4. The OS is Ubuntu Linux. When ant invokes the javac compiler the compilation lasts longer on two cores than on one core (maxcpus=1 at the grub prompt). This is stra