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: lindahl@pbm.com (Greg Lindahl) Subject: Re: Linux/Alpha IDE inefficiency? (Was: SCSI and IDE) Date: 1997/10/09 Message-ID: <61iu96$bt2@news1.zippo.com>#1/1 X-Deja-AN: 279035955 References: <61hvet$ked@usenet.srv.cis.pitt.edu> Distribution: world Organization: a guest of Shadow Island Games Newsgroups: comp.os.linux.alpha hahn@neurocog.lrdc.pitt.edu (Mark Hahn) writes: > : 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... I was only investigating cpu consumption. This test shows IDE has extremely high CPU consumption. You don't need the other details; they are irrelevant. > 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, Then why is the CPU overhead so high on the PC164 under linux? Also, PIO isn't necessarily this high of an overhead -- I have gigabit networking cards that use PIO. While it does consume the entire CPU, it moves 20x as much data as a disk does. I'm guessing bug in the Linux Alpha EIDE driver, but to confirm it would be nice to have both EIDE and SCSI numbers for both Linux and Digital Unix on the PC164. -- g