* AlphaLinux Vs Wintel performance @ 2001-04-13 0:46 Ram Viswanadha 2001-04-13 1:14 ` Andrei A. Dergatchev 2001-04-13 17:00 ` Alexey Chupakhin 0 siblings, 2 replies; 13+ messages in thread From: Ram Viswanadha @ 2001-04-13 0:46 UTC (permalink / raw) To: axp-list [-- Attachment #1: Type: text/plain, Size: 690 bytes --] 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. Unicode collation performance: System Conf: Windows2000: 550 MHz Pentium III 128 MB ram AlphaLinux: 21164 533 MHz 128 MB RAM PC164 SX motherboard Time taken for 10000 iterations: Windows2000 AlphaLinux (Redhat 6.2) --------------------- ----------------------------------- 353 nS 1082 nS Thanks in advance for your help Ram Viswanadha [-- Attachment #2: Card for Ram Viswanadha --] [-- Type: text/x-vcard, Size: 190 bytes --] begin:vcard n:Viswanadha;Ram x-mozilla-html:FALSE org:IBM;International Components for Unicode adr:;;;;;; version:2.1 email;internet:ram@jtcsv.com title:Unicode Software Engineer end:vcard ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: AlphaLinux Vs Wintel performance 2001-04-13 0:46 AlphaLinux Vs Wintel performance Ram Viswanadha @ 2001-04-13 1:14 ` Andrei A. Dergatchev 2001-04-13 1:31 ` Ram Viswanadha 2001-04-13 17:00 ` Alexey Chupakhin 1 sibling, 1 reply; 13+ messages in thread From: Andrei A. Dergatchev @ 2001-04-13 1:14 UTC (permalink / raw) To: axp-list 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 ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: AlphaLinux Vs Wintel performance 2001-04-13 1:14 ` Andrei A. Dergatchev @ 2001-04-13 1:31 ` Ram Viswanadha 2001-04-13 3:40 ` Greg Lindahl 0 siblings, 1 reply; 13+ messages in thread From: Ram Viswanadha @ 2001-04-13 1:31 UTC (permalink / raw) To: axp-list [-- Attachment #1: Type: text/plain, Size: 1612 bytes --] Hi Andrei, Thanks for your response. I do agree that I might not be able to see any performance increase but I also donot expect to see Wintel being 3 times faster than AlphaLinux. On Sun Ultra we find that code is faster that Wintel, so was wondering.. Ram Viswanadha "Andrei A. Dergatchev" wrote: > 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 > > _______________________________________________ > Axp-list mailing list > Axp-list@redhat.com > https://listman.redhat.com/mailman/listinfo/axp-list [-- Attachment #2: Card for Ram Viswanadha --] [-- Type: text/x-vcard, Size: 190 bytes --] begin:vcard n:Viswanadha;Ram x-mozilla-html:FALSE org:IBM;International Components for Unicode adr:;;;;;; version:2.1 email;internet:ram@jtcsv.com title:Unicode Software Engineer end:vcard ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: AlphaLinux Vs Wintel performance 2001-04-13 1:31 ` Ram Viswanadha @ 2001-04-13 3:40 ` Greg Lindahl 2001-04-13 16:12 ` Ram Viswanadha 0 siblings, 1 reply; 13+ messages in thread From: Greg Lindahl @ 2001-04-13 3:40 UTC (permalink / raw) To: axp-list > I do agree that I might not be able to see any performance increase but I > also donot expect to see Wintel being 3 times > faster than AlphaLinux. You haven't even mentioned what compiler you've used, so you aren't going to get that many useful comments. BTW it is a huge win to use 64 bit ints on code like yours and platforms that have 64 bit ints. -- g ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: AlphaLinux Vs Wintel performance 2001-04-13 3:40 ` Greg Lindahl @ 2001-04-13 16:12 ` Ram Viswanadha 0 siblings, 0 replies; 13+ messages in thread From: Ram Viswanadha @ 2001-04-13 16:12 UTC (permalink / raw) To: axp-list [-- Attachment #1: Type: text/plain, Size: 665 bytes --] I am using gcc version 2.95 199078. I will try to compile with CCC and CXX and get some numbers. Ram Viswanadha Greg Lindahl wrote: > > I do agree that I might not be able to see any performance increase but I > > also donot expect to see Wintel being 3 times > > faster than AlphaLinux. > > You haven't even mentioned what compiler you've used, so you aren't > going to get that many useful comments. BTW it is a huge win to use 64 > bit ints on code like yours and platforms that have 64 bit ints. > > -- g > > _______________________________________________ > Axp-list mailing list > Axp-list@redhat.com > https://listman.redhat.com/mailman/listinfo/axp-list [-- Attachment #2: Card for Ram Viswanadha --] [-- Type: text/x-vcard, Size: 190 bytes --] begin:vcard n:Viswanadha;Ram x-mozilla-html:FALSE org:IBM;International Components for Unicode adr:;;;;;; version:2.1 email;internet:ram@jtcsv.com title:Unicode Software Engineer end:vcard ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: AlphaLinux Vs Wintel performance 2001-04-13 0:46 AlphaLinux Vs Wintel performance Ram Viswanadha 2001-04-13 1:14 ` Andrei A. Dergatchev @ 2001-04-13 17:00 ` Alexey Chupakhin 2001-04-13 17:44 ` Greg Lindahl 1 sibling, 1 reply; 13+ messages in thread From: Alexey Chupakhin @ 2001-04-13 17:00 UTC (permalink / raw) To: axp-list Ha-ha, It seems, you compiling test by gcc on Alpha. GCC is very badly optimized for Alpha. If you try DEC/Compaq C, you just have a fantastic results. The rate for using gcc 2.95.2 and Compaq C is about 10 times for Compaq C advantage. ----- Original Message ----- From: Ram Viswanadha <ram@jtcsv.com> To: <axp-list@redhat.com> Sent: Friday, April 13, 2001 4:46 AM Subject: AlphaLinux Vs Wintel performance > 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. > > Unicode collation performance: > > System Conf: > > Windows2000: > 550 MHz Pentium III > 128 MB ram > > AlphaLinux: > 21164 533 MHz > 128 MB RAM > PC164 SX motherboard > > Time taken for 10000 iterations: > > Windows2000 AlphaLinux (Redhat 6.2) > --------------------- > ----------------------------------- > 353 nS 1082 nS > > Thanks in advance for your help > > Ram Viswanadha > > > ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: AlphaLinux Vs Wintel performance 2001-04-13 17:00 ` Alexey Chupakhin @ 2001-04-13 17:44 ` Greg Lindahl 2001-04-13 19:23 ` jeff.sturm ` (2 more replies) 0 siblings, 3 replies; 13+ messages in thread From: Greg Lindahl @ 2001-04-13 17:44 UTC (permalink / raw) To: axp-list On Fri, Apr 13, 2001 at 09:00:27PM +0400, Alexey Chupakhin wrote: > Ha-ha, It seems, you compiling test by gcc on Alpha. > GCC is very badly optimized for Alpha. If you try DEC/Compaq C, you just > have a fantastic results. > The rate for using gcc 2.95.2 and Compaq C is about 10 times for Compaq C > advantage. Er, it's important to not exaggerate about this issue. I've never seen a 10x difference. Compaq C *is* almost always better, but the difference typically is in the 20% to 30% range. Occasionally it's bigger, occasionally it's smaller. He'd get a bigger boost from actually using 64 bit ints. -- g ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: AlphaLinux Vs Wintel performance 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 18:26 ` Alexey Chupakhin 2 siblings, 1 reply; 13+ messages in thread From: jeff.sturm @ 2001-04-13 19:23 UTC (permalink / raw) To: axp-list On Fri, 13 Apr 2001, Greg Lindahl wrote: > He'd get a bigger boost from actually using 64 bit ints. Perhaps. I'm not familiar with the application. If it is memory intensive the SX is going to lose. It cannot sustain enough bandwidth, especially on writes. -- Jeff Sturm jeff.sturm@commerceone.com ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: AlphaLinux Vs Wintel performance 2001-04-13 19:23 ` jeff.sturm @ 2001-04-13 19:11 ` Greg Lindahl 0 siblings, 0 replies; 13+ messages in thread From: Greg Lindahl @ 2001-04-13 19:11 UTC (permalink / raw) To: axp-list On Fri, Apr 13, 2001 at 03:23:27PM -0400, jeff.sturm@appnet.com wrote: > On Fri, 13 Apr 2001, Greg Lindahl wrote: > > He'd get a bigger boost from actually using 64 bit ints. > > Perhaps. I'm not familiar with the application. A few postings ago, someone posted some of the source. -- g ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: AlphaLinux Vs Wintel performance 2001-04-13 17:44 ` Greg Lindahl 2001-04-13 19:23 ` jeff.sturm @ 2001-04-14 18:26 ` Alexey Chupakhin 2001-04-14 19:18 ` Michal Jaegermann 2001-04-14 18:26 ` Alexey Chupakhin 2 siblings, 1 reply; 13+ messages in thread From: Alexey Chupakhin @ 2001-04-14 18:26 UTC (permalink / raw) To: axp-list May be, but on my DECpc 21064 based system it is really does. it is fun, but simple cycled test program with sin , cos, * / shows about 10x difference. ----- Original Message ----- From: Greg Lindahl <lindahl@conservativecomputer.com> To: <axp-list@redhat.com> Sent: Friday, April 13, 2001 9:44 PM Subject: Re: AlphaLinux Vs Wintel performance > On Fri, Apr 13, 2001 at 09:00:27PM +0400, Alexey Chupakhin wrote: > > > Ha-ha, It seems, you compiling test by gcc on Alpha. > > GCC is very badly optimized for Alpha. If you try DEC/Compaq C, you just > > have a fantastic results. > > The rate for using gcc 2.95.2 and Compaq C is about 10 times for Compaq C > > advantage. > > Er, it's important to not exaggerate about this issue. I've never seen > a 10x difference. Compaq C *is* almost always better, but the > difference typically is in the 20% to 30% range. Occasionally it's > bigger, occasionally it's smaller. > > He'd get a bigger boost from actually using 64 bit ints. > > -- g > > > > _______________________________________________ > Axp-list mailing list > Axp-list@redhat.com > https://listman.redhat.com/mailman/listinfo/axp-list ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: AlphaLinux Vs Wintel performance 2001-04-14 18:26 ` Alexey Chupakhin @ 2001-04-14 19:18 ` Michal Jaegermann 2001-04-14 21:07 ` W Bauske 0 siblings, 1 reply; 13+ messages in thread From: Michal Jaegermann @ 2001-04-14 19:18 UTC (permalink / raw) To: axp-list On Sat, Apr 14, 2001 at 10:26:20PM +0400, Alexey Chupakhin wrote: > May be, but on my DECpc 21064 based system it is really does. it is > fun, but simple cycled test program with sin , cos, * / shows about > 10x difference. As it is well known for a very long time your "simple" program has not very much to do with a compiler but with libraries. If you want to compare a code generated by compilers then use the same libraries, especially for elementary functions, linked with your binary or you are talking apples and oranges. Even if you would like to refrain from using libcpml for some reasons then alternative, much faster, implementations of elementary functions for Linux/Alpha are available for many years. From a small fragment somebody quoted the code under discussion has nothing do to with things like sin() and cos(). Michal ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: AlphaLinux Vs Wintel performance 2001-04-14 19:18 ` Michal Jaegermann @ 2001-04-14 21:07 ` W Bauske 0 siblings, 0 replies; 13+ messages in thread From: W Bauske @ 2001-04-14 21:07 UTC (permalink / raw) To: axp-list Michal Jaegermann wrote: > > On Sat, Apr 14, 2001 at 10:26:20PM +0400, Alexey Chupakhin wrote: > > May be, but on my DECpc 21064 based system it is really does. it is > > fun, but simple cycled test program with sin , cos, * / shows about > > 10x difference. > This appears to be some other program than previously referenced. Sounds like it isn't functional code though which makes it's not very interesting. It is preferable to use real codes. Also it is not the same Alpha as the previous post, 21164sx I think. > As it is well known for a very long time your "simple" program has not > very much to do with a compiler but with libraries. If you want to > compare a code generated by compilers then use the same libraries, > especially for elementary functions, linked with your binary or you are > talking apples and oranges. > > Even if you would like to refrain from using libcpml for some reasons > then alternative, much faster, implementations of elementary functions > for Linux/Alpha are available for many years. > > >From a small fragment somebody quoted the code under discussion has > nothing do to with things like sin() and cos(). > The code fragment looked reasonable. I looked at the package and it is almost, if not all, integer based with much casting between 8/16/32 bit ints. There are many types of code where x86 can beat Alphas. For all but a few codes, modern x86 have no problems outperforming a 21064/21164, and even a 21264 in many instances. My current tests with P4 indicate it is equivalent to at least a 600Mhz 21264 for my codes, with some SSE/SSE2 in use for critical loops. Wes ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: AlphaLinux Vs Wintel performance 2001-04-13 17:44 ` Greg Lindahl 2001-04-13 19:23 ` jeff.sturm 2001-04-14 18:26 ` Alexey Chupakhin @ 2001-04-14 18:26 ` Alexey Chupakhin 2 siblings, 0 replies; 13+ messages in thread From: Alexey Chupakhin @ 2001-04-14 18:26 UTC (permalink / raw) To: axp-list May be, but on my DECpc 21064 based system it is really does. it is fun, but simple cycled test program with sin , cos, * / shows about 10x difference. ----- Original Message ----- From: Greg Lindahl <lindahl@conservativecomputer.com> To: <axp-list@redhat.com> Sent: Friday, April 13, 2001 9:44 PM Subject: Re: AlphaLinux Vs Wintel performance > On Fri, Apr 13, 2001 at 09:00:27PM +0400, Alexey Chupakhin wrote: > > > Ha-ha, It seems, you compiling test by gcc on Alpha. > > GCC is very badly optimized for Alpha. If you try DEC/Compaq C, you just > > have a fantastic results. > > The rate for using gcc 2.95.2 and Compaq C is about 10 times for Compaq C > > advantage. > > Er, it's important to not exaggerate about this issue. I've never seen > a 10x difference. Compaq C *is* almost always better, but the > difference typically is in the 20% to 30% range. Occasionally it's > bigger, occasionally it's smaller. > > He'd get a bigger boost from actually using 64 bit ints. > > -- g > > > > _______________________________________________ > Axp-list mailing list > Axp-list@redhat.com > https://listman.redhat.com/mailman/listinfo/axp-list ^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2001-04-14 20:50 UTC | newest] Thread overview: 13+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2001-04-13 0:46 AlphaLinux Vs Wintel performance Ram Viswanadha 2001-04-13 1:14 ` Andrei A. Dergatchev 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
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox