[parisc-linux] Linux/PA-RISC speed (was Re: C240 Graphics, 64bit kernel and more)

Grant Grundler grundler@puffin.external.hp.com
Thu, 15 Nov 2001 11:29:14 -0700

Markus Grabert wrote:
> Jurriaan Kalkman wrote:
> > There are still bugs.
> But Grand Grundler wrote:
> | Yes - should work fine. Note one can build 32-bit PA2.0 binaries.
> | The scheduling and insns are optimized for PA2.0 CPU but will
> | run in "narrow" mode.
> Mhh who's right ? I tend to believe Grand.

I believe I was talking in general and without regard to the
issues we've recently had (and are *almost* fully resolved).
For the past week or two the apt-get'able toolchain has been

> Of course there are bugs in binutils/gcc. But are there KNOW bugs/issues
> a software developer (not a kernel freak) has to be aware of ?
> What about glibc ?
> Are threads fully supported ? Are gcc's ObjC, Java and C++ compilers
> also working ?

Recently, bugs have been fixed in dynamic linking and C++ toolchain.
Just waiting for the fixes to propogate into the debian pkg pool
so we can all apt-get them.

> > I can only say that compiling a kernel on my C200 takes about 2 times
> > as long as on my alpha (21164, 500 Mhz, 2 Mb cache). I feel it should
> > be faster.
> That's odd.
> A 21164/500MHz (not 21164A or 21164PC) is slower according to
> Spec_INT95, Spec_FP95 and the Spec_base(INT|FP)95 variants.
> Indeed the benchmarks say that the Alpha is about 50% slower for FP stuff
> and just a little bit slower for INT stuff (compared to a C240 HP/UX).

Those benchmarks are most likely based on hpux and hpux toolchain.

gcc is not as good at pipelining and other parisc specific
micro optimizations. C240 is PA8200 (iirc) and can execute
2 to 4 insn per cycle under optimal conditions.