Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Andrei A. Dergatchev" <A.Dergatchev@tn.utwente.nl>
To: axp-list@redhat.com
Subject: Re: AlphaLinux Vs Wintel performance
Date: Fri, 13 Apr 2001 03:14:25 +0200	[thread overview]
Message-ID: <3AD652F1.232FF71C@tn.utwente.nl> (raw)
In-Reply-To: 3AD64C50.EE8999D1@jtcsv.com

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




  reply	other threads:[~2001-04-13  1:14 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-13  0:46 AlphaLinux Vs Wintel performance Ram Viswanadha
2001-04-13  1:14 ` Andrei A. Dergatchev [this message]
2001-04-13  1:31   ` Ram Viswanadha
2001-04-13  3:40     ` Greg Lindahl
2001-04-13 16:12       ` Ram Viswanadha
2001-04-13 17:00 ` Alexey Chupakhin
2001-04-13 17:44   ` Greg Lindahl
2001-04-13 19:23     ` jeff.sturm
2001-04-13 19:11       ` Greg Lindahl
2001-04-14 18:26     ` Alexey Chupakhin
2001-04-14 19:18       ` Michal Jaegermann
2001-04-14 21:07         ` W Bauske
2001-04-14 18:26     ` Alexey Chupakhin
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