From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,a6a2e6654649ed88 X-Google-Attributes: gid111c93,public From: anton@mips.complang.tuwien.ac.at (Anton Ertl) Subject: Re: CPU states and slow Alpha. Help! Date: 1998/06/10 Message-ID: <6llemn$gb6$1@news.tuwien.ac.at>#1/1 X-Deja-AN: 361322277 References: <357D478F.74DDE64B@chemna.dichi.unina.it> To: Luigi Cavallo Organization: Institut fuer Computersprachen, Technische Universitaet Wien Newsgroups: comp.os.linux.alpha In article <357D478F.74DDE64B@chemna.dichi.unina.it>, Luigi Cavallo writes: > Could it be due to the EIDE vs SCSI ? I know that there's a great debate > and that SCSI are definitely faster. However, with the PPro I have a > EIDE > HD and the performances are very nice, no slowdown at all. > > Maybe, EIDE drivers for alpha are not as good as those for Intel ??? The CMD 640 IDE chipset used on Alpha mainboards is bad. If your application has significant disk activity, go for SCSI on Alphas. Hmm, looking at your top outputs it looks to me like your application is one of the rare cases that eats all of the CPU it can get but also has significant disk utilization. Your application may profit more from more RAM than from SCSI (if that reduces the number of disk accesses a lot). > ------------ Alpha clone 533 MHz - HD SCSI > CPU states: 99.2% user, 0.5% system, 99.7% nice, 0.3% idle ... > ------------ Alpha clone 600 MHz - HD EIDE > CPU states: 63.8% user, 25.7% system, 1.9% nice, 10.9% idle The 25.7% system time is apparently the IDE driver, your process obviously gets only 63.8% of the CPU for useful work. The 10.9% idle may come from the process waiting for data from the disk; the CPU is faster, maybe the disk is slower, so the process might become disk-bound. Let me guess: most disk accesses are writes (if there was a significant number of reads, we would see idle time on all machines). Then RAM probably won't help much. - anton -- M. Anton Ertl Some things have to be seen to be believed anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen http://www.complang.tuwien.ac.at/anton/home.html