From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 181B92F877 for ; Fri, 20 Oct 2000 15:54:07 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id e9KJs6H01353 for axp-list@listman.redhat.com; Fri, 20 Oct 2000 15:54:06 -0400 Received: from toronto.sigma6.com (toronto.sigma6.com [204.176.48.147]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id e9KJs6D01345 for ; Fri, 20 Oct 2000 15:54:06 -0400 Received: from appnet.com (IDENT:jsturm@localhost.localdomain [127.0.0.1]) by toronto.sigma6.com (8.9.3/8.9.3) with ESMTP id QAA12191 for ; Fri, 20 Oct 2000 16:04:57 -0400 Message-ID: <39F0A569.95BFD85A@appnet.com> Date: Fri, 20 Oct 2000 16:04:57 -0400 From: Jeff Sturm Organization: Commerce One X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.16 i686) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: API perfomance patches on ev56 ?? References: <051DFF3BBA73D3119A5800A0C95BD0217C9EFC@barracuda.api-networks.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors 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