From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 69C1C417FC for ; Thu, 17 Oct 2002 11:51:26 -0400 (EDT) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id g9HFpQT20589 for axp-list@listman.redhat.com; Thu, 17 Oct 2002 11:51:26 -0400 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id g9HFpQf20585 for ; Thu, 17 Oct 2002 11:51:26 -0400 Received: from handhelds.org ([192.58.209.91]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g9HFUbw23100 for ; Thu, 17 Oct 2002 11:30:37 -0400 Received: (qmail 9412 invoked from network); 17 Oct 2002 15:50:59 -0000 Received: from localhost (HELO shadowfax.middleearth) (127.0.0.1) by localhost with SMTP; 17 Oct 2002 15:50:59 -0000 From: George France To: "William H. Magill" , axp-list@redhat.com Subject: Re: unaligned traps question Date: Thu, 17 Oct 2002 11:50:58 -0400 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="ISO-8859-1" Cc: alvin References: <673E0A4C-E1DF-11D6-AC80-000393768D2C@mcgillsociety.org> In-Reply-To: <673E0A4C-E1DF-11D6-AC80-000393768D2C@mcgillsociety.org> MIME-Version: 1.0 Message-Id: <02101711505805.21303@shadowfax.middleearth> Content-Transfer-Encoding: 8bit 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.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: On Thursday 17 October 2002 10:47, William H. Magill wrote: > > ============ > [Note that the compiler referred to above is the Compaq C compiler, NOT > gcc. Gcc is historically much, much worse with this sort of thing on > the Alpha. While I would trust CCC on this score, unless GCC has been > recently (ie in the past year) re-written to address the problems, it > doesn't deal with Alpha code generation issues well at all.] Although I also have more faith in CCC. This is not a compiler issue. I could hand code alignment failures in assembly. The question is what does the kernel do about them. IIRC, Alvin's premise is that the kernel is not fixing up the alignment faults correctly. I beleive that the kernel is doing the "right" thing. > > The issue of fixing the unaligned access errors is directly related to > their occurrence. I agree. >One shot programs with single errors are easily > ignored. However, in a production program even "just a couple" of > errors can quickly eat up cpu cycles. And in a "common routine" they > can be disastrous -- much more wall-clock-time is spent not only fixing > the error, but in writing out the error message than is spent > generating the results. This yields EXTREMELY poor application > performance... and it is measured in Wall-clock-time, not in CPU cycles! yup, IMHO, it is just a matter of the length of the delay verses the amount of time that I have as a programmer to find and them. Best Regards, --George