From: "Michael S. Zick" <mszick@morethan.org>
To: parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] B132L outperforms C160 - 64-bit userland needed?
Date: Tue, 16 Aug 2005 20:48:34 -0500 [thread overview]
Message-ID: <200508162048.35131.mszick@morethan.org> (raw)
In-Reply-To: <200508170132.j7H1W4Sq027309@hiauly1.hia.nrc.ca>
On Tue August 16 2005 20:32, John David Anglin wrote:
> > >>When that produced even worse results, I tried -march=2.0 vs 1.1 and
> > >>-mschedule=8000 vs 7300 seperately. Each one alone slows down the
> > >>benchmark and the effect is addititive. It seems that in Linux, right
> > >>now at least, compiling with -march=2.0 or -mschedule=8000 is a Bad Thing.
> > >>
>
> In theory, -mschedule=8000 should only be used on machines with PA 2.0
> processors (i.e., not the B132L). It is tweaked to the number of execution
> units, etc, in the PA 2.0 processor. How much difference this makes in the
> real world is not clear. I haven't seen any numbers. As far as the
> models themselves, they haven't changed since they were added by Jeff
> Law somewhere around GCC 3.0. It would be interesting to see how they
> compare on the same cpu, same os, etc.
>
One other suggestion.
Try running the Povray benchmark - It is compute intensive and long
enough running to turn other kernel activity into noise.
You should be able to just: apt-get povray
But it could be that the benchmark is separately packaged.
I think Joel tried hppa-Povray - he might have information to share.
Mike
> As far PA 2.0 versus 1.1, the main differences affecting 32-bit code
> are some new branch instructions. There are also some new FP instructions
> but these are somewhat compromised by linker bugs. In non floating-point
> code, I would expect the PA 2.0 features to make their presence felt
> in code with large functions.
>
> > > It would be interesting to see if this also holds with a newer GCC.
> > > (3.4, 4.0, 4.1)
>
> There have been a lot of optimization improvements in GCC since 3.3.
> It would be useful to see how effective they are in real applications
> and in benchmark performance. As far as the PA backend goes, there
> haven't been any major performance improvements added since 3.3. The
> changes mainly are bug fixes.
>
> > I can't see how it would be different. Isn't compiling for PA2.0/8000
> > in Linux tying of GCC's hands behind its back. You're telling it you
> > want good code for a 64-bit CPU, but it can't produce 64-bit code.
> >
> > Is there any real possibility that this is compiler-related and not
> > simply a 32 vs. 64 bit issue? If there is a real chance of this, I'll
> > bite the bullet and actually test out newer GCC versions.
>
> 64-bit code isn't going to make your apps run faster. There is more
> overhead in data accesses in 64-bit code (i.e., they go through the DLT)
> than in 32-bit apps. Also, a lot more sign extensions are needed. In
> terms of a GCC build, the difference is about 15-20%. The 64-bit tools
> are less mature. So generally, you only want to use 64-bit apps when
> they can benefit from the larger address space.
>
> > I have not yet compiled a 64-bit kernel for my C160. All advice I have
> > read is that this is a complete waste of time since without a 64-bit
> > userland it will just make the kernel bigger and slower. Is there
> > likely to be any benefit at all to a 64-bit kernel?
>
> I doubt it. You only want to use a 64-bit kernel when you have a machine
> with lots of memory.
>
> Dave
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
next prev parent reply other threads:[~2005-08-17 1:48 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-16 9:23 [parisc-linux] B132L outperforms C160 - 64-bit userland needed? Kurt Fitzner
2005-08-16 13:00 ` Michael S. Zick
2005-08-17 0:03 ` Kurt Fitzner
2005-08-17 1:32 ` John David Anglin
2005-08-17 1:48 ` Michael S. Zick [this message]
2005-08-17 3:43 ` Kurt Fitzner
2005-08-17 6:37 ` Grant Grundler
2005-08-17 14:16 ` John David Anglin
2005-08-17 6:19 ` Grant Grundler
2005-08-17 18:42 ` Kurt Fitzner
2005-08-17 18:56 ` Kyle McMartin
2005-08-17 19:40 ` Andrew Sharp
2005-08-18 5:27 ` Kurt Fitzner
2005-08-18 7:17 ` Grant Grundler
2005-08-20 6:21 ` Grant Grundler
2005-08-17 20:38 ` Carlos O'Donell
-- strict thread matches above, loose matches on Subject: below --
2005-08-18 8:27 Joel Soete
2005-08-20 6:26 ` Grant Grundler
[not found] ` <430778F2.8020406@tiscali.be>
[not found] ` <20050820234126.GA20524@colo.lackof.org>
2005-08-21 9:42 ` Joel Soete
[not found] ` <20050820235516.GE2756@parcelfarce.linux.theplanet.co.uk>
2005-08-21 10:29 ` Joel Soete
2005-08-21 14:19 ` Matthew Wilcox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200508162048.35131.mszick@morethan.org \
--to=mszick@morethan.org \
--cc=parisc-linux@lists.parisc-linux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.