From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <199610290417.UAA21672@netcom4.netcom.com> Date: Mon, 28 Oct 1996 23:52:34 -0600 (CST) From: Michael Brennen Subject: Re: Alpha performance comparison In-Reply-To: <199610272137.NAA08541@netcom3.netcom.com> On Sun, 27 Oct 1996, Marc Singer wrote: > Why do I care so much? Well, I am finding that my Multi 166 is about > 70% as fast as my P5/166 and this is with the slow hard drive and 21066 > CPU. I bought a couple of UDBs to hack on Alpha with the impression > that they'd be pretty fast for the $. If I can squeeze a little more > from them, I'll be in hog heaven. What applications are you running to get that close to a P5/166? I'm running a UDB 233 (21066 overclocked to 266, 56MB, 512K cache, fast scsi 5400RPM external disk), and overall it does not come anywhere close to my P5/133 (64MB, 512K cache, DPT fast/wide 5400RPM SCSI). Kernel compiles on the P133 are just over 9 minutes, while the UDB runs over half an hour. I know that gcc is typically slow on the Alphas, but.... Anyone know where I can get 1MB cache strips for the UDB????? The UDB is running RH 4.0 (with glibc), kernel 2.1.5 compiled with "-O3 -funroll-loops" optimizations. As near as I can tell from following the list, this should give the overall best performance. Any comments to the contrary? Running "gzip -d linux-2.1.5.tar.gz" (just over a 6 meg file) gives the following results. I ran "iozone 128" each time to completely flush cache first so residual was in memory. Granted, the P133 disk is theoretically twice the transfer speed, but the CPU usage numbers indicate that this is not the significant factor. The gzip -d was fairly close between the P133 and UDB, but upon redoing the zip the UDB falls over. gzip -d linux-2.1.5.tar.gz: P133: 6.54u 1.43s 11.15elapsed 71% CPU UDB: 6.52u 3.85s 12.23elapsed 84% CPU DX2/80: 17.83u 5.17s 29.70elapsed 77% CPU gzip linux-2.1.5.tar: P133: 48.97u 1.21s 58.77elapsed 97% CPU UDB: 103.24u 3.95s 1:49.63elapsed 84% CPU DX2/80: 149.72u 6.65s 2:40 elapsed 97% CPU Okay, let's go to the mSQL "killer" test, which runs 'time' on a series of tests. These are CPU intensive tests. Running the P133 and UDB tests with NUM_INSERTS and NUM_SELECTS set to 5000 (the installed default is 10), I see the following. (I tried to compile mSQL on the UDB with -O3 -funroll-loops, but at runtime it quickly died. I suspect there are some int/long porting issues involved.) ********************************************** P133: (compiled with -g) Dropping test table Creating keyed table Inserting 5000 rows into keyed table Inserts took 9.92 seconds Deleting contents of keyed table Filling data holes with 5000 inserts. Inserts took 12.17 seconds. Selecting 5000 rows from a keyed table Selects took 12.44 seconds Dropping test table Creating flat table Inserting 5000 rows into flat table Inserts took 4.77 seconds. Deleting contents of flat table Filling data holes with 5000 inserts. Inserts took 4.82 seconds UDB: (compiled with -g) Dropping test table Creating keyed table Inserting 5000 rows into keyed table Inserts took 20.31 seconds Deleting contents of keyed table Filling data holes with 5000 inserts. Inserts took 23.74 seconds. Selecting 5000 rows from a keyed table Selects took 25.15 seconds Dropping test table Creating flat table Inserting 5000 rows into flat table Inserts took 12.78 seconds. Deleting contents of flat table Filling data holes with 5000 inserts. Inserts took 12.61 seconds ********************************************** I knew little of the Alphas when I bought two UDBs, and I had little time to adequately research them. I have been very disappointed in them overall. I can only hope that further gcc and library optimizations get the speed up some more. -- Michael -- To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null