[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: long raidctl initialization times
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: long raidctl initialization times
- From: "Niall James O'Higgins" <njo_(_at_)_sig11_(_dot_)_com>
- Date: Sat, 14 Aug 2004 18:17:52 +0100
- Reply-to: "Niall James O'Higgins" <njo_(_at_)_sig11_(_dot_)_com>
On Fri, Aug 13, 2004 at 09:45:57AM -0700, Aaron Glenn wrote:
> On Fri, 13 Aug 2004 09:32:13 +0100, Niall James O'Higgins <njo_(_at_)_sig11_(_dot_)_com> wrote:
> > A dmesg would tell you what mode the disks were configured to run in. I'm
> > sure its possible they are set to run very slowly.
>
> dmesg:
> OpenBSD 3.5 (RAIDCTL) #0: Fri Aug 13 19:47:27 PDT 2004
> root_(_at_)_sharpie_(_dot_)_ipcolo_(_dot_)_lsanca01_(_dot_)_wavestream_(_dot_)_net:/usr/src/sys/arch/i386/compile/RAIDCTL
> cpu0: Intel(R) Pentium(R) 4 CPU 2.80GHz ("GenuineIntel" 686-class) 2.80GHz
> <....>
> vendor "Intel", unknown product 0x25ab (class system subclass
> miscellaneous, rev 0x02) at pci0 dev 29 function 4 not configured
> vendor "Intel", unknown product 0x25ac (class system subclass
> miscellaneous, rev 0x02) at pci0 dev 29 function 5 not configured
> vendor "Intel", unknown product 0x25ad (class system subclass
> miscellaneous, rev 0x02) at pci0 dev 29 function 7 not configured
> <...>
> pciide0 at pci0 dev 31 function 2 vendor "Intel,unknown product 0x25a3
> rev 0x02: DMA (unsupported), channel 0 configured to compatibility,
> channel 1 configured to compatibility
> atapiscsi0 at pciide0 channel 0 drive 0
> scsibus0 at atapiscsi0: 2 targets
> wd0 at pciide0 channel1 drive 0: <WDC WD740GD-00FLA0>
> wd0: 16-sector PIO, LBA48, 70811MB, 145226112 sectors
> wd1 at pciide0 channel1 drive 1: <WDC WD740GD-00FLA0>
> wd1: 16-sector PIO, LBA48, 70811MB, 145226112 sectors
> <...>
You actually didn't include the part of the dmesg which gives the
mode the disk is in fact using. For example on one machine I have:
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6
On another (much older) machine I have:
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
This line is what interests you. I suspect that your disks
are indeed being set to a slower fall-back compatibility mode which is
the source of your poor performance.
> How can I force it to set the correct mode on the disks? And is it
> possible to add the PCI ID's to pcidevs.h and recompile my kernel?
Perhaps the controller you are using isn't supported properly by the
kernel yet; a driver might need to be written.
// Niall.
--
njo_(_at_)_sig11_(_dot_)_com
------------------------------------------------------------
"You know, feminism is nothing more than liberalism."
--Rush Limbaugh Feb 2, 2004
Visit your host, monkey.org