linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Powerbook
@ 2002-05-03 12:04 Kári Davíðsson
  2002-05-03 13:43 ` Powerbook Joern Nettingsmeier
  0 siblings, 1 reply; 6+ messages in thread
From: Kári Davíðsson @ 2002-05-03 12:04 UTC (permalink / raw)
  To: linuxppc-dev


Hi,

This is way off topic but I have been unable to find this on the web so
I ask the people who are most likely to have done this kind of
"benchmark".

I am on the search for a notbook that I will use partly to do coding
under Linux.

How long is a kernel recompile on a Powerbook G4 (550Mhz/667Mhz)?

Thanks and sorry for the noise...

K.D.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Powerbook
  2002-05-03 12:04 Powerbook Kári Davíðsson
@ 2002-05-03 13:43 ` Joern Nettingsmeier
  2002-05-03 15:09   ` Powerbook Anton Blanchard
  2002-05-03 22:56   ` Powerbook Paul Mackerras
  0 siblings, 2 replies; 6+ messages in thread
From: Joern Nettingsmeier @ 2002-05-03 13:43 UTC (permalink / raw)
  To: Kári Davíðsson; +Cc: linuxppc-dev


Kári Davíðsson wrote:
>
> Hi,
>
> This is way off topic but I have been unable to find this on the web so
> I ask the people who are most likely to have done this kind of
> "benchmark".
>
> I am on the search for a notbook that I will use partly to do coding
> under Linux.
>
> How long is a kernel recompile on a Powerbook G4 (550Mhz/667Mhz)?
>
> Thanks and sorry for the noise...

<asbestos mode="full body protection">
if you're in for quick compilation, get an intel machine.
</asbestos>

jörn (runs)



--
Watch out where the huskies go and don't you eat
the yellow snow !
	- Frank Zappa

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Powerbook
  2002-05-03 13:43 ` Powerbook Joern Nettingsmeier
@ 2002-05-03 15:09   ` Anton Blanchard
  2002-05-03 22:56   ` Powerbook Paul Mackerras
  1 sibling, 0 replies; 6+ messages in thread
From: Anton Blanchard @ 2002-05-03 15:09 UTC (permalink / raw)
  To: Joern Nettingsmeier; +Cc: K?ri Dav??sson, linuxppc-dev



> <asbestos mode="full body protection">
> if you're in for quick compilation, get an intel machine.
> </asbestos>

Of course a PowerPC machine holds the current kernel compile record :)

Anton

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Powerbook
  2002-05-03 13:43 ` Powerbook Joern Nettingsmeier
  2002-05-03 15:09   ` Powerbook Anton Blanchard
@ 2002-05-03 22:56   ` Paul Mackerras
  2002-05-04  1:54     ` Powerbook David Edelsohn
  1 sibling, 1 reply; 6+ messages in thread
From: Paul Mackerras @ 2002-05-03 22:56 UTC (permalink / raw)
  To: Joern Nettingsmeier; +Cc: Kári Davíðsson, linuxppc-dev


Joern Nettingsmeier writes:

> <asbestos mode="full body protection">
> if you're in for quick compilation, get an intel machine.
> </asbestos>

No, if you're in for quick compilation, compile a kernel for i386
rather than a kernel for ppc, for some reason gcc is quicker at
producing x86 output than ppc output, i.e. the x86 compilation
involves less computation.

About 18 months ago I did a comparison of a (then) recent dual G4
powermac with a (then) recent dual pentium II system.  I timed all
four combinations of ppc or x86 machine and ppc or x86 output.  The
ppc machine was consistently faster than the x86 machine for the same
computation, although the ppc machine producing ppc output was slower
than the x86 machine producing x86 output.

Paul.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Powerbook
  2002-05-03 22:56   ` Powerbook Paul Mackerras
@ 2002-05-04  1:54     ` David Edelsohn
  0 siblings, 0 replies; 6+ messages in thread
From: David Edelsohn @ 2002-05-04  1:54 UTC (permalink / raw)
  To: Paul Mackerras
  Cc: Joern Nettingsmeier, Kári Davíðsson, linuxppc-dev


>>>>> Paul Mackerras writes:

Paul> No, if you're in for quick compilation, compile a kernel for i386
Paul> rather than a kernel for ppc, for some reason gcc is quicker at
Paul> producing x86 output than ppc output, i.e. the x86 compilation
Paul> involves less computation.

	PowerPC GCC is multi-arched by default for both 32-bit and 64-bit,
so many values internally are computed as 64-bit "long long" quantities.
i386 does not default to x86_64, so it uses word-sized ints.

	PowerPC GCC has many more registers to allocate and more
restricted operands for instructions.

	GCC on RISC (e.g., PowerPC) runs the scheduler at two different
phases of the compilation.  GCC on CISC (e.g., i386) runs the scheduler
only once.

	Those are some of the differences I can think of off the top of my
head.

David

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Powerbook
@ 2002-05-05 14:16 Kári Davíðsson
  0 siblings, 0 replies; 6+ messages in thread
From: Kári Davíðsson @ 2002-05-05 14:16 UTC (permalink / raw)
  To: Paul Mackerras, Joern Nettingsmeier; +Cc: linuxppc-dev


> -----Original Message-----
> From: Paul Mackerras [mailto:paulus@samba.org]
> Sent: 3. maí 2002 22:56
> To: Joern Nettingsmeier
> Cc: Kári Davíðsson; linuxppc-dev@lists.linuxppc.org
> Subject: Re: Powerbook
>
>
> Joern Nettingsmeier writes:
>
> > <asbestos mode="full body protection">
> > if you're in for quick compilation, get an intel machine.
> > </asbestos>
>
> No, if you're in for quick compilation, compile a kernel for i386
> rather than a kernel for ppc, for some reason gcc is quicker at
> producing x86 output than ppc output, i.e. the x86 compilation
> involves less computation.

It has something to do with RISC versus CISC architectures, i.e. RISC
offloads much of scheduling (?) to the compiler....
My old trusted Alpha had the same "problem" when I was using it for
development.
It is also very visible if you use cross compiler on an PIII to generate
ppc code (like I am doing now). The same code compiles significantly
slower
if cross compiled rather than natively compiled for the PIII.

K.D.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-05-05 14:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-03 12:04 Powerbook Kári Davíðsson
2002-05-03 13:43 ` Powerbook Joern Nettingsmeier
2002-05-03 15:09   ` Powerbook Anton Blanchard
2002-05-03 22:56   ` Powerbook Paul Mackerras
2002-05-04  1:54     ` Powerbook David Edelsohn
  -- strict thread matches above, loose matches on Subject: below --
2002-05-05 14:16 Powerbook Kári Davíðsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).