From owner-freebsd-current Tue Apr 30 09:37:36 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA20103 for current-outgoing; Tue, 30 Apr 1996 09:37:36 -0700 (PDT) Received: from GndRsh.aac.dev.com (GndRsh.aac.dev.com [198.145.92.241]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id JAA20097 Tue, 30 Apr 1996 09:37:31 -0700 (PDT) Received: (from rgrimes@localhost) by GndRsh.aac.dev.com (8.6.12/8.6.12) id JAA13493; Tue, 30 Apr 1996 09:34:21 -0700 From: "Rodney W. Grimes" Message-Id: <199604301634.JAA13493@GndRsh.aac.dev.com> Subject: Re: lmbench IDE anomaly To: koshy@india.hp.com (A JOSEPH KOSHY) Date: Tue, 30 Apr 1996 09:34:21 -0700 (PDT) Cc: hackers@freebsd.org, current@freebsd.org In-Reply-To: <199604301053.AA141971583@fakir.india.hp.com> from A JOSEPH KOSHY at "Apr 30, 96 04:23:03 pm" X-Mailer: ELM [version 2.4ME+ PL11 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > Running lmdd on a -current system supped around mid apr: > > ---- > >> single lmdd run on scsi disk > > krill# lmdd if=/dev/rsd0a of=internal bs=1024 count=8192 # SCSI disk, aha1542 > 8.00 MB in 11.35 secs, 721.92 KB/sec > ... > However when the same exercise is repeated with the IDE disk: > > ---- > krill# lmdd if=/dev/rwd0a of=internal bs=1024 count=8192 # IDE disk > 8.00 MB in 9.17 secs, 892.89 KB/sec ... > > Here we see a 8x degradation per process; 4x in terms of total throughput. > > Is this to be expected, or am i doing something wrong here? The system was > otherwise idle during these tests. run those command with a ``time'' in front of them as in: time lmdd if=/dev/rwd0a of=internal bs=1024 count=8192 # IDE disk You may be seeing CPU saturation effecting the ability of the system to keep the disk drive busy due to the fact that the wd class disks have to do rep insb to copy the data from the disk to memory where as the 1542 does this with bus mastering. -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Reliable computers for FreeBSD