From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,a7f3d0ba6c313f9e X-Google-Attributes: gid1164f8,public From: grunwald@foobar.cs.colorado.edu (Dirk Grunwald) Subject: Re: Memory Bandwidth for AlphaStations? Date: 1995/04/18 Message-ID: #1/1 X-Deja-AN: 101094434 references: <3m9ivp$5af@agate.berkeley.edu> organization: University of Colorado at Boulder reply-to: grunwald@foobar.cs.colorado.edu newsgroups: comp.sys.dec Indeed, you're correct - the program used a 4MB section by default, and thus neatly fit into cache. The following uses a 24MByte region. What's interesting is that 'bzero' is slightly slower than a simple write. ----------------------------------------------------------------------------- [car-38] ./memory_speed-O OSF1 car.cs.colorado.edu X3.2 15 alpha total data xfer rate other # of bytes oper time type size MB/sec info ---------- ---- ----- ---- ---- ------ ---------- 25165824 zero 0.33 ? ? 75.174 bzero() 25165824 copy 0.59 ? ? 42.298 bcopy() 25165824 copy 0.59 ? ? 42.298 memcpy() 25165824 read 0.05 char 1 548.610 25165824 read 0.31 int 4 81.340 25165824 read 0.31 long 8 81.340 25165824 read 0.31 double 8 81.188 25165824 write 0.28 char 1 89.530 25165824 write 0.26 int 4 98.041 25165824 write 0.25 long 8 99.941 25165824 write 0.25 double 8 99.712 25165824 copy 0.61 char 1 41.124 25165824 copy 0.59 int 4 42.298 25165824 copy 0.59 long 8 42.409 25165824 copy 0.59 double 8 42.368 25165824 copy 0.60 long 8 42.229 loop unwind = 4 25165824 copy 0.60 long 8 42.270 loop unwind = 8 25165824 copy 0.59 long 8 42.298 loop unwind = 16 25165824 copy 0.63 double 8 39.976 loop unwind = 16