From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 13027 invoked from network); 13 Nov 1998 08:17:40 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 13 Nov 1998 08:17:40 -0000 Received: from mail11.digital.com (mail11.digital.com [192.208.46.10]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id DAA18713 for ; Fri, 13 Nov 1998 03:17:39 -0500 From: krebs@kar.dec.com Received: from nestvx.kar.dec.com (nestvx.kar.dec.com [16.185.112.1]) by mail11.digital.com (8.9.1a/8.9.1/WV2.0a) with SMTP id DAA01042 for ; Fri, 13 Nov 1998 03:17:32 -0500 (EST) Received: from whopper.kar.dec.com by nestvx.kar.dec.com; (5.65/1.1.8.2/10Jul96-9.1MPM) id AA11341; Fri, 13 Nov 1998 09:17:24 +0100 Received: from localhost by whopper.kar.dec.com (5.65v3.2/1.1.10.5/21Apr97-0951PM) id AA25642; Fri, 13 Nov 1998 09:17:21 +0100 Message-Id: <9811130817.AA25642@whopper.kar.dec.com> X-Mailer: exmh version 2.0.2 2/24/98 To: axp-list@redhat.com Subject: Re: IDE DMA driver for 164SX In-Reply-To: Your message of "Thu, 12 Nov 98 16:42:22 EST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 13 Nov 98 09:17:21 +0100 X-Mts: smtp > Hmm. I'm not sure I applied/configured the kernel patch correctly. When > I run hdparm -Tt, I get: > > Timing buffer-cache reads: 32 MB in 0.36 seconds =89.58 MB/sec > Timing buffered disk reads: 16 MB in 4.35 seconds = 3.67 MB/sec > > And I got similiar numbers before I applied the patch (with kernel > 2.1.124). Anyone have any idea what I'm doing wrong? > > If it helps, here are a few lines of output from dmesg: > > CY82C693: IDE controller on PCI bus 00 dev 41 > CY82C693: not 100% native mode: will probe irqs later > ide0: BM-DMA at 0x1000-0x1007, BIOS settings: hda:DMA, hdb:pio > ide1: BM-DMA at 0x1008-0x100f, BIOS settings: hdc:DMA, hdd:pio > hda: ST36451A, ATA DISK drive > hdc: TOSHIBA CD-ROM XM-6102B, ATAPI CDROM drive > ide2: ports already in use, skipping probe > ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 > ide1 at 0x170-0x177,0x376 on irq 15 > hda: ST36451A, 6149MB w/448kB Cache, CHS=13328/15/63 > from what i see, it looks like the driver is working fine, and the results don't seem so bad, but was DMA enabled or not ? cause without the patch installed, i never got DMA performances above 1.5 MB/s, so maybe you can try it again with the patch installed and without - and make sure DMA is enabled (or simply test both DMA and PIO). by the way, I never used the patch on a kernel prior to 2.1.126 and at least with 2.1.126 and 2.1.127 it seems to work fine. one other think how fast is your disk (do you have other results) and what kinds of DMA does it support? Andreas -- _____________________________________________________________________________ Andreas S. Krebs Email mailto:krebs@kar.dec.com _____________________________________________________________________________