From owner-freebsd-hackers Mon Apr 1 02:30:10 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA15325 for hackers-outgoing; Mon, 1 Apr 1996 02:30:10 -0800 (PST) Received: from Root.COM (implode.Root.COM [198.145.90.17]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id CAA15316 for ; Mon, 1 Apr 1996 02:30:05 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by Root.COM (8.7.5/8.6.5) with SMTP id CAA08362; Mon, 1 Apr 1996 02:30:19 -0800 (PST) Message-Id: <199604011030.CAA08362@Root.COM> X-Authentication-Warning: implode.Root.COM: Host localhost [127.0.0.1] didn't use HELO protocol To: Kees Jan Koster cc: freebsd-hackers@FreeBSD.ORG (FreeBSD hackers Mailing list) Subject: Re: HDD cpu usage (IDE vs. SCSI). In-reply-to: Your message of "Mon, 01 Apr 1996 11:03:46 +0200." <199604010903.LAA07931@deimos.spase.nl> From: David Greenman Reply-To: davidg@Root.COM Date: Mon, 01 Apr 1996 02:30:18 -0800 Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >I was told that cpu usage of SCSI disks was lower than that of IDE disks. > >However: > >LikeEver (amd486DX4-100, ncr pci scsi controller) >Seagate -------Sequential Output-------- ---Sequential Input-- --Random-- > -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- >Directory MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU >/usr 20 1299 81.1 1263 15.5 653 18.2 1778 94.9 1982 41.8 47.7 5.7 >/tmp (mfs) 20 689 33.7 285 3.4 274 4.5 397 17.5 503 5.7 27.0 3.3 > >Maxtor -------Sequential Output-------- ---Sequential Input-- --Random-- > -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- >Directory MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU >/var 20 750 41.9 740 8.5 405 9.7 764 34.7 770 8.8 32.0 3.9 >/tmp (mfs) 20 948 48.5 479 6.4 481 9.3 772 39.0 1228 19.3 39.0 4.7 >/msdos 20 28 4.5 74 3.3 43 1.9 111 7.7 111 3.6 9.6 10.9 > >phobos (pentium 90, on-board IDE controller) >Quantum -------Sequential Output-------- ---Sequential Input-- --Random-- > -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- >Directory MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU >/usr 40 1215 41.7 1818 18.8 811 11.5 1376 41.0 1990 16.0 39.9 3.9 > >How come the seagate uses twice as much cpu as the quantum? Because a Pentium-90 is much faster than a 486-100 for certain things and most of the %CPU is for total I/O overhead, not just the overhead in the device driver. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project