From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,3e0c2a31adf8db21 X-Google-Attributes: gidfee84,public From: bhunt@brians.umd.edu (Brian R. Hunt) Subject: Re: Is DUnix 30% slower than VMS? Date: 1995/12/12 Message-ID: #1/1 X-Deja-AN: 121589970 references: <49cljh$cd7@sgi.iunet.it> <4a8i0d$1oi@express.ior.com> organization: University of Maryland, College Park newsgroups: comp.unix.osf.osf1 "Phil S. Wilshire" writes: >Check your compile options. >I have found a 2:1 difference in the various flavors. I think the OS can matter a good bit too, in terms of how efficient library functions are. I have access to a pair of identical machines, one running DU3.2 and one running a beta version of DU4.0. The transcendental functions in the math library are markedly faster in 4.0, perhaps 25% or so for sin(), cos(), exp(), and pow() in the test loops I ran. The timings did depend a little bit on how the program was compiled, but the overriding factor is the library routines themselves--with dynamically linked executables, the timings were correlated mainly to which machine I ran them on, while with statically linked executables, the timings were strongly correlated to which machine I compiled them on. On the other hand, the 4.0 trigonometric routines are significantly slower than the 3.2 routines when called with large (much bigger than 2*pi) arguments. -- Brian R. Hunt bhunt@ipst.umd.edu