From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,f9dc4c274aad13e4 X-Google-Attributes: gid111c93,public From: willmore@whelk.cig.mot.com (David A Willmore) Subject: Re: Why is our Alpha box so slow? Date: 1998/08/05 Message-ID: #1/1 X-Deja-AN: 378229699 References: <6pv2mq$17v$1@mips.rhein-neckar.de> <6q55em$a58$1@mips.rhein-neckar.de> Organization: Motorola Cellular Infrastructure Group Newsgroups: comp.os.linux.alpha _@_._ (Chris Pirih, proverbs at wolfenet dot com) writes: >My UDB gives similar strange results. It's supposed to have 256KB cache. > 1k: 162429336 > 2k: 161239327 > 4k: 153634196 > 8k: 152466836 L1 > 16k: 115433109 > 32k: 115493359 > 64k: 115693927 > 128k: 54652508 > 256k: 33898287 L2 > 512k: 24448508 >1024k: 21316260 >2048k: 21236215 >4096k: 21339344 >As you can see by the 1024k-4096k numbers, main memory bandwidth SUCKS. >It is on par with my slowest 486 (DX2/66), and about half the speed of >my fastest 486 (AMD 160). I thought these things were supposed to have >64 bit memory busses! Anyway, that's probably why it seems so slow at >normal tasks. IIRC, the '66s have a smaller than Alpha usual memory bus as they have a lower pin count package and they use some of those scarse pins for an on chip PCI bus, right? Also, most all FP code hits memory hard, so you're going to see a great degredation in performance running that style of code on a 66. Another point to consider is that GCC is somewhat unusual for integer code. Normally the two buckets are int/good cache behavior and fp/bad cache behavior. Now, those are gross generalizations, but they are normally correct. GCC hits the memory system harder than any other int app I know of. Given that you have a RISC system (somewhat larger code size, much larger pointer size), you'll have a bigger cache footprint than an x86 running similar code. So, since the normal GCC 'happy cache size' of 512k should be a bit bigger on an alpha, I would guess that your true problem is that your cache size is either set incorrectly, or, as Linus said, you're just suffering from poor page coloring. I'd feel sorry for you, but my 386SX-16 gets that job. :) It's got 4 meg, it runs Linux 2.1.114, and, yes, it likes it. Cheers, David