From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,5f17d39477bfac44 X-Google-Attributes: gid111c93,public From: hahn@neurocog.lrdc.pitt.edu (Mark Hahn) Subject: Re: Linux/Alpha IDE inefficiency? (Was: SCSI and IDE) Date: 1997/10/09 Message-ID: <61hvet$ked@usenet.srv.cis.pitt.edu>#1/1 X-Deja-AN: 278914427 References: <61fric$1q2i$1@ftp.univie.ac.at> <61h0uc$inm@news2.zippo.com> Distribution: world Organization: Learning Research and Development Center at U. of Pittsburgh Newsgroups: comp.os.linux.alpha : time dd if=/dev/zero of=foo bs=1024k count=100 (100 megabyte file) : 60 seconds elapsed time, 28% cpu usage (and much of the rest of the system : consumed by "update") several questions come to mind. first, does hdparm exist for Alpha Linux, and are you using sensible settings such as -m8c3d1? next, the standard questions what disk, and what about the filesystem, virgin, with 4k blocks? also, why not use a file that's larger than dram, so that you don't end up mainly measuring the buffer cache? also, I expect that you'd get better performance by merely using a reasonable buffer size, not one that necessarily flushes all cache... : time cp foo bar : 120 seconds elapsed time, 35% usage (and much...) with 28 and 35% usage, this is clearly PIO. : 200 mhz dual PPro 256M ram SCSI (440FX chipset motherboard) : dd takes 4 seconds, 88% cpu : cp takes 30 seconds, 14% cpu 88% is an excellent indicator that you're measuring buffer-cache. : nor a SCSI PC164 to verify that it doesn't have this problem. I am rather : startled by the result. really? in what sense? it's basically impossible to interpret numbers that are so confounded. why not simply post a bonnie run? anyway, getting back to the issue: I can't imagine any reason why busmastering ATA wouldn't work quite fine on Alphas. I _can_ imagine that PIO (any port io, actually) might be peculiar and possibly slow, but busmastering ATA on x86's is quite sweet: ~5% CPU overhead, ~10 MB/s sustained. regards, mark hahn. -- operator may differ from spokesperson. hahn@neurocog.lrdc.pitt.edu http://neurocog.lrdc.pitt.edu/~hahn/