> Hongli Lai wrote:
> ...

Are you using a Mac?  I noticed this output from 'top' for single-threaded rake:

% rake apache2

 2150 cc1plus     48.4%  0:00.65   1    13     45   30M+ 4132K+   32M+   60M+
 2149 cc1plus     47.4%  0:00.64   1    13     45   29M+ 4128K+   32M+   60M+
 2148 cc1plus     47.0%  0:00.63   1    13     43   29M+ 3852K+   32M+   60M+
 2147 cc1plus     46.3%  0:00.63   1    13     43   29M+ 3852K+   32M+   60M+

It's already parallelized!  gcc spawns four separate compilers in
parallel when given the switches -arch ppc7400 -arch ppc64 -arch i386
-arch x86_64.  Unless you have > 4 cores, -j will probably not make
this faster :)

James M. Lawrence
_______________________________________________
Rake-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rake-devel

Reply via email to