Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse in a multi-core world
Eclipse in a multi-core world [message #229385] Mon, 27 August 2007 15:28 Go to next message
Eric Kolotyluk is currently offline Eric KolotylukFriend
Messages: 65
Registered: July 2009
Member
I notice when my project is building that only half of my 2-core processor
gets saturated, whereas on a one-core system the whole processor gets
saturated. Does Eclipse build everything serially? Surely there must be
some opportunity for parallelism in the build process.

This is even more noticable when I switch workspaces and Eclipse decides
to rebuild everything, certainly each project could be built in parallel.

With newer processors comming out with more and more cores, it would be
really nice if Eclipse could fully utilize these cores whenever possible -
and shortening build times benefits everyone.

Cheers, Eric
Re: Eclipse in a multi-core world [message #229395 is a reply to message #229385] Mon, 27 August 2007 15:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Eric,

I think the build is done on a single background thread/job.
Parallelizing a build is not a trivial task, since the results of one
project's build often are needed in the downstream project's build. I
wouldn't expect this to happen any time soon...


Eric Kolotyluk wrote:
> I notice when my project is building that only half of my 2-core
> processor gets saturated, whereas on a one-core system the whole
> processor gets saturated. Does Eclipse build everything serially?
> Surely there must be some opportunity for parallelism in the build
> process.
>
> This is even more noticable when I switch workspaces and Eclipse
> decides to rebuild everything, certainly each project could be built
> in parallel.
>
> With newer processors comming out with more and more cores, it would
> be really nice if Eclipse could fully utilize these cores whenever
> possible - and shortening build times benefits everyone.
>
> Cheers, Eric
>
Re: Eclipse in a multi-core world [message #229399 is a reply to message #229395] Mon, 27 August 2007 16:22 Go to previous messageGo to next message
Eric Kolotyluk is currently offline Eric KolotylukFriend
Messages: 65
Registered: July 2009
Member
No I imaging it might not be easy. However I recall Sun had a distributed
make that spread the build out across a number of systems - although I've
never used this before. Certainly someone has faced this problem before.

Given that processors are just not going to get any faster any more
(unless you're IBM) the only direction is to add more cores and
hyperthreading to processors. The only way software is going to be able to
use this extra processing power is to parallelize more things.

AMD and Intel have quad-core processors, IBM's Cell has 8 or 9 cores, and
Sun have a processor that can run 64 simultaneous threads. I'd say we're
all going to have to start re-evaluationg our algorithms and software
designs in the future.

Cheers, Eric

Ed Merks wrote:

> Eric,

> I think the build is done on a single background thread/job.
> Parallelizing a build is not a trivial task, since the results of one
> project's build often are needed in the downstream project's build. I
> wouldn't expect this to happen any time soon...
Re: Eclipse in a multi-core world [message #229606 is a reply to message #229385] Tue, 28 August 2007 14:09 Go to previous message
Eric Kolotyluk is currently offline Eric KolotylukFriend
Messages: 65
Registered: July 2009
Member
I just found out from a collegue that Microsoft's Visual Studio will
spread building of projects out over all the cores (logical CPU) in the
system when building a solution. This can reduce total build time
considerably.
Previous Topic:Web Service Client Problems
Next Topic:Early Discount for RCP Training Ends Fri. Aug. 31
Goto Forum:
  


Current Time: Sat Apr 27 18:45:11 GMT 2024

Powered by FUDForum. Page generated in 0.07762 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top