Re: hdparm and DMA

2002-11-24 Thread Lourens Steenkamp
Lourens replying to mdevin <[EMAIL PROTECTED]> wrote: > Actually, some more digging shows some new support in the 2.5 > kernel for the VIA VT8235 chipset which is on my mobo. It > seems that udma6 can then be enabled by passing 'ide0=ata66' to > the kernel at boot time

Re: hdparm and DMA and raid

2002-11-20 Thread Emil Pedersen
[...] > > As I don't know your mobo I might be wrong, but the general opinion > > seems to be "stay away from the built in raid and go for linux software > > raid". Usually the cheap so called raid chip/cards are just new bios > > instructions to do software raid anyway, something that the kerne

Re: hdparm and DMA and raid

2002-11-20 Thread mdevin
On Tue, Nov 19, 2002 at 11:04:49 +0100, Emil Pedersen wrote: > [slightly change/addition of topic] > > It seems like you could try 2.4.20-pre2-ac5 (or later I guess) instead > of stepping to 2.5, at least the change log says "Add VIA vt8235 IDE > support". Excellent. I will compile one when I ge

Re: hdparm and DMA

2002-11-19 Thread Rogier Wolff
On Tue, Nov 19, 2002 at 03:29:24AM +1000, mdevin wrote: > Actually, some more digging shows some new support in the 2.5 kernel for > the VIA VT8235 chipset which is on my mobo. It seems that udma6 can > then be enabled by passing 'ide0=ata66' to the kernel at boot time. > (Note that I do have the

Re: hdparm and DMA

2002-11-19 Thread Rogier Wolff
On Mon, Nov 18, 2002 at 04:16:57PM +0100, Emil Pedersen wrote: > > /dev/hda: > > Timing buffer-cache reads: 128 MB in 0.46 seconds =278.26 MB/sec > > Timing buffered disk reads: 64 MB in 16.12 seconds = 3.97 MB/sec > > THIS is ok, without dma performance is lousy, but I really don't > under

Re: hdparm and DMA

2002-11-19 Thread Rogier Wolff
On Tue, Nov 19, 2002 at 09:40:38AM +1000, mdevin wrote: > On Mon, Nov 18, 2002 at 12:47:09 -0500, Mike Dresser wrote: > > On Tue, 19 Nov 2002, mdevin wrote: > > > > > # hdparm -i /dev/hdc > > > /dev/hdc: > > > Model=WDC WD400BB-32AUA1, FwRev=18.20D18, SerialNo=WD-WMA6R3707054 > > > DMA modes: md

hdparm and DMA and raid

2002-11-19 Thread Emil Pedersen
[slightly change/addition of topic] mdevin wrote: > > I really appreciate the effort you and others have put into helping me > with this problem. Unfortunately, I won't be able do things like > compile a 2.5 kernel or re-boot with ide0=ata66, until I return from > work in about 5 days time. I

Re: hdparm and DMA

2002-11-19 Thread mdevin
I really appreciate the effort you and others have put into helping me with this problem. Unfortunately, I won't be able do things like compile a 2.5 kernel or re-boot with ide0=ata66, until I return from work in about 5 days time. I don't want to do stuff like that remotely. The first thing I w

Re: hdparm and DMA

2002-11-18 Thread Emil Pedersen
[I'm responding to several cut-n-pastes from different letters, if it's bad behavior flame me (one time is enough though) or read the original posts, then it should make sense.] mdevin wrote: > > On Mon, Nov 18, 2002 at 16:16:57 +0100, Emil Pedersen wrote: > > > So are the read times as

Re: hdparm and DMA

2002-11-18 Thread mdevin
On Mon, Nov 18, 2002 at 17:53:44 -0800, Alvin Oga wrote: > > > === CAUTION > > > === playing will hdparm options -- you risk losing data on your disks > > > > Yeah, I have read that and it worries me. > > you're supposed to do hdparm testing on your spare disk that you > dont care about >

Re: hdparm and DMA

2002-11-18 Thread Alvin Oga
hi ay mark On Tue, 19 Nov 2002, mdevin wrote: > On Mon, Nov 18, 2002 at 17:04:44 -0800, Alvin Oga wrote: > > thats a good option, you might also wanna try > > > > hdparm -c3 -d1 -u1 /dev/hda > > -u1 allow the system to process other systeminterrupts > > while waiting for the disk > >

Re: hdparm and DMA

2002-11-18 Thread mdevin
On Mon, Nov 18, 2002 at 17:04:44 -0800, Alvin Oga wrote: > thats a good option, you might also wanna try > > hdparm -c3 -d1 -u1 /dev/hda > -u1 allow the system to process other systeminterrupts > while waiting for the disk Yep, tried that too but each time I see errors in syslog and

Re: hdparm and DMA

2002-11-18 Thread Alvin Oga
hi mdevin > On Mon, Nov 18, 2002 at 16:16:57 +0100, Emil Pedersen wrote: > > > So are the read times as expected for an IDE ATA133, 7200RPM, 40GB drive? > > > > Certainly not. Bellow is what I got from my IBM 7200 rpm disk, (using > > UDMA66): > > > I only just got this computer and hard drive

Re: hdparm and DMA

2002-11-18 Thread mdevin
On Mon, Nov 18, 2002 at 12:47:09 -0500, Mike Dresser wrote: > On Tue, 19 Nov 2002, mdevin wrote: > > > # hdparm -i /dev/hdc > > /dev/hdc: > > Model=WDC WD400BB-32AUA1, FwRev=18.20D18, SerialNo=WD-WMA6R3707054 > > DMA modes: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5 > > > > # hdparm

Re: hdparm and DMA

2002-11-18 Thread Jamin W. Collins
On Tue, Nov 19, 2002 at 02:43:38AM +1000, mdevin wrote: > Then checking in syslog I see: > Nov 19: hda: timeout waiting for DMA (snip) > Nov 19: ide0: reset: success > > So it seems that the drive gets reset for some reason. IIRC, this tends to happen when DMA is not fully supported for the drive

Re: hdparm and DMA

2002-11-18 Thread Mike Dresser
On Tue, 19 Nov 2002, mdevin wrote: > # hdparm -i /dev/hdc > /dev/hdc: > Model=WDC WD400BB-32AUA1, FwRev=18.20D18, SerialNo=WD-WMA6R3707054 > DMA modes: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5 > > # hdparm -i /dev/hda > /dev/hda: > Model=WDC WD400JB-00ENA0, FwRev=05.03E05, SerialN

Re: hdparm and DMA

2002-11-18 Thread mdevin
Actually, some more digging shows some new support in the 2.5 kernel for the VIA VT8235 chipset which is on my mobo. It seems that udma6 can then be enabled by passing 'ide0=ata66' to the kernel at boot time. (Note that I do have the drive connected using an 80 pin ATA133 cable). Hmmm, I don't th

Re: hdparm and DMA

2002-11-18 Thread mdevin
I have an just checked the hdparm output on another computer for an earlier model Western Digital drive which is ATA100, 7200RPM, 40GB. Therefore this drive should not perform as well. Here is what I get: Note that the kernel being used on this machine also has compiled support for using DMA by d

Re: hdparm and DMA

2002-11-18 Thread mdevin
On Mon, Nov 18, 2002 at 16:16:57 +0100, Emil Pedersen wrote: > > So are the read times as expected for an IDE ATA133, 7200RPM, 40GB drive? > > Certainly not. Bellow is what I got from my IBM 7200 rpm disk, (using > UDMA66): > I only just got this computer and hard drive 1 week ago and it is suppo

Re: hdparm and DMA

2002-11-18 Thread Mike Dresser
On Tue, 19 Nov 2002, mdevin wrote: > So are the read times as expected for an IDE ATA133, 7200RPM, 40GB drive? > This is one of the faster IDE drives now isn't it? What does hdparm -i /dev/hda say? Mike -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? C

Re: hdparm and DMA

2002-11-18 Thread Emil Pedersen
[...] > # hdparm /dev/hda > /dev/hda: > multcount= 0 (off) > I/O support = 0 (default 16-bit) > unmaskirq= 0 (off) > using_dma= 0 (off) > keepsettings = 0 (off) > nowerr = 0 (off) > readonly = 0 (off) > readahead= 8 (on) > geometry = 77545/16/63, se

Re: hdparm and DMA

2002-11-18 Thread Mike Dresser
On Tue, 19 Nov 2002, mdevin wrote: > # hdparm -tT /dev/hda > /dev/hda: > Timing buffer-cache reads: 128 MB in 0.46 seconds =278.26 MB/sec > Timing buffered disk reads: 64 MB in 16.12 seconds = 3.97 MB/sec > > Thus all the same as before whether turned on or off. I also tried > setting Mult

Re: hdparm and DMA

2002-11-18 Thread mdevin
On Mon, Nov 18, 2002 at 14:46:27 +0100, Emil Pedersen wrote: > > [...] > > > Now the kernel I am using I compiled myself and I selected to use DMA > > when available. Here is part of the kernel config: > > CONFIG_BLK_DEV_IDEPCI=y > > CONFIG_IDEPCI_SHARE_IRQ=y > > CONFIG_BLK_DEV_IDEDMA_PCI=y > >

Re: hdparm and DMA

2002-11-18 Thread Emil Pedersen
[...] > Now the kernel I am using I compiled myself and I selected to use DMA > when available. Here is part of the kernel config: > CONFIG_BLK_DEV_IDEPCI=y > CONFIG_IDEPCI_SHARE_IRQ=y > CONFIG_BLK_DEV_IDEDMA_PCI=y > CONFIG_BLK_DEV_ADMA=y > # CONFIG_BLK_DEV_OFFBOARD is not set > CONFIG_IDEDMA_PC

hdparm and DMA

2002-11-18 Thread mdevin
Sorry for starting a new thread, but I was getting lost in the other about hdparm since it started out as about KDE. On Thu, Nov 14, 2002 at 07:03:16PM +0530, Sandip P Deshmukh wrote: > # hdparm /dev/hda > > /dev/hda: > multcount= 16 (on) > I/O support = 1 (32-bit) > unmaskirq= 1 (o