From: Jeff Sturm <jeff.sturm@appnet.com>
To: axp-list@redhat.com
Subject: Re: API perfomance patches on ev56 ??
Date: Fri, 20 Oct 2000 16:04:57 -0400 [thread overview]
Message-ID: <39F0A569.95BFD85A@appnet.com> (raw)
In-Reply-To: 051DFF3BBA73D3119A5800A0C95BD0217C9EFC@barracuda.api-networks.com
Tom Morris wrote:
> > Can anyone tell me if they will give any performance boost on ev56
> machines?
>
> The stuff which is conditionalized for ev6 you won't see at all. If you
> were
> to build with it and run on an ev56 you'd take an illegal instruction fault
> (i.e. crash) when you hit an instruction which was added to the instruction
> set after the ev56 was designed.
That's not strictly true. Certain instructions like wh64 don't trap on ev56, it
is essentially a nop. Also prefetch instructions should be available, though
reportedly they don't benefit anything prior to ev6.
Speaking of which, has anybody observed any benefit from wh64 in their code? I
would have liked to use it in some heap libraries that allocate memory on
block-size (64-byte) boundaries. Unfortunately I couldn't find any measureable
benefit whatsoever. I don't have the code handy, but it was something like:
struct cb {
long l1;
long l2;
long l3;
long l4;
long l5;
long l6;
long l7;
long l8;
} *p;
...
wh64(p);
p->l1 = 0;
p->l2 = 0;
p->l3 = 0;
p->l4 = 0;
p->l5 = 0;
p->l6 = 0;
p->l7 = 0;
p->l8 = 0;
where the bottom six bits of "p" are zero. It actually ran slower with wh64
than without. Figuring I would need a delay between wh64 and the store, I tried
wh64(p+1) and other variations to no avail.
--
Jeff Sturm
jeff.sturm@commerceone.com
next prev parent reply other threads:[~2000-10-20 19:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-10-20 18:13 API perfomance patches on ev56 ?? Tom Morris
2000-10-20 20:04 ` Jeff Sturm [this message]
2000-10-23 14:18 ` Stig Telfer
2000-10-23 16:56 ` Jeff Sturm
2000-10-23 22:42 ` Richard Henderson
2000-10-24 11:17 ` Stig Telfer
2000-10-25 21:29 ` Richard Henderson
2000-10-31 4:58 ` Jay Estabrook
-- strict thread matches above, loose matches on Subject: below --
2000-10-19 20:42 Reinier Bikker
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox