ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <>
Subject Re: [PATCH] multithreading tasks
Date Mon, 19 Jun 2000 23:20:58 GMT
mmm. The Javac task itself might be an interesting experiment -just to see
if you get any speedup from parallelising javac tasks even on a single CPU
box -and what speedup you could get on a multiway system.

The complexity comes not from spawning off compliation into multiple
threads, but deciding what the main thread should do. In the existing ant
framework it would have to wait for the build to finish, so it would need to
either get on with its own compilation or just block till the multiple child
threads finished.

As to how much speedup you will get -who knows. When doing VC++ work on a
two way P6, I used to get up to 130% CPU utilisation -where 200% meant 'both
cores busy'. But C++ compliation may be more disk intensive (intermediate
files, linking, debug tables); you would have to try and see. In native code
I always focus on cache management ahead of multiway performance, except for
some very special cases; nothing beats a well placed prefetch.


"There is no meeting"

----- Original Message -----
From: "Bengt Bäverman" <>
To: <>
Sent: Monday, June 19, 2000 11:27
Subject: Re: [PATCH] multithreading tasks

Is this not something that can be done in a normal taskdef? I don't see this
as necessary to include in the Ant application.

Bengt Bäverman

View raw message