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 38CCD2F045 for ; Thu, 12 Apr 2001 21:14:18 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f3D1GMx24926 for axp-list@listman.redhat.com; Thu, 12 Apr 2001 21:16:22 -0400 Received: from utep.el.utwente.nl (root@utep.el.utwente.nl [130.89.30.10]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f3D1GLV24922 for ; Thu, 12 Apr 2001 21:16:21 -0400 Received: from tn.utwente.nl (uttnb55.tn.utwente.nl [130.89.74.55]) by utep.el.utwente.nl (8.9.3/8.9.3) with ESMTP id DAA22526 for ; Fri, 13 Apr 2001 03:14:34 +0200 Message-ID: <3AD652F1.232FF71C@tn.utwente.nl> Date: Fri, 13 Apr 2001 03:14:25 +0200 From: "Andrei A. Dergatchev" X-Mailer: Mozilla 4.5 [en] (Win95; I) X-Accept-Language: en,ru MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: AlphaLinux Vs Wintel performance References: <3AD64C50.EE8999D1@jtcsv.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.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: Hi, > Hi, > I am doing some performance analysis of our code (ICU > http://oss.software.ibm.com/icu) on Windows and AlphaLinux systems and > I have noticed that AlphaLinux is slower. My question is this expected? > > What are some points I need to consider before drawing a > conclusion. 1) Profile your code 2) Use Compaq C compiler 3) With code full of uint32_t, uint8_t, shifts and stuff like fcd = FCD_STAGE_3_[ FCD_STAGE_2_[FCD_STAGE_1_[codepoint >> STAGE_1_SHIFT_] + ((codepoint >> STAGE_2_SHIFT_) & STAGE_2_MASK_AFTER_SHIFT_)] + (codepoint & STAGE_3_MASK_)]; trailingCC = (uint8_t)(fcd & LAST_BYTE_MASK_); secondary = (uint8_t)((order >>= 8) & UCOL_BYTE_SIZE_MASK); primary2 = (uint8_t)((order >>= 8) & UCOL_BYTE_SIZE_MASK); primary1 = (uint8_t)(order >>= 8); you aren't going to see 64-bit CPU doing any better the 32-bit one, I would guess. > > > Unicode collation performance: > > [...] > Thanks in advance for your help > > Ram Viswanadha Regards, Andrei