Date: Sun, 26 Sep 2004 14:12:36 +0200 From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= <sos@DeepCore.dk> To: Michael Nottebrock <michaelnottebrock@gmx.net> Cc: Jeremy Chadwick <freebsd@jdc.parodius.com> Subject: Re: ATA disk performance (ICH2 controller), some tests andcomparison with Linux 2.6.5 Message-ID: <4156B234.1090603@DeepCore.dk> In-Reply-To: <200409261332.23227.michaelnottebrock@gmx.net> References: <20040926044943.I40616-100000@mxb.saturn-tech.com> <200409261332.23227.michaelnottebrock@gmx.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Michael Nottebrock wrote: > On Sunday 26 September 2004 12:50, Doug Russell wrote: >=20 >>On Sun, 26 Sep 2004, Michael Nottebrock wrote: >> >>>On Saturday 25 September 2004 23:45, Jeremy Chadwick wrote: >>> >>>>6) I'm still amazed people have systems in production that use ICH2.= >>>>AFAIK, the chipset is deprecated. >>> >>>Eh? i845-based motherboards were not exactly a niche product and are n= ot >>>very ancient either. I'm surprised it surprises you to see them used. = :-) >> >>Bah! Just because some hardware is common does not mean is is good! >=20 >=20 > Supporting and being used on common-but-not-so-good hardware is one of = the=20 > best (and oldest) traditions of FreeBSD. :-) Yeah, well, we try, my last ich2 based system died long ago so it makes=20 it harder to keep support top notch :) Anyhow, please try the below patch and let me know if that changes=20 behavior in anyway. BTW, you need to compare speeds of the *exact same* area of the disk(s). = Modern disk often has only half the transfer rate on the last 1/3 of the = platters.. diff -u -r1.88 ata-chipset.c --- ata-chipset.c 10 Sep 2004 10:31:37 -0000 1.88 +++ ata-chipset.c 26 Sep 2004 12:08:56 -0000 @@ -976,6 +976,8 @@ pci_write_config(parent, 0x48, reg48 & ~(0x0001 << devno), 2); pci_write_config(parent, 0x4a, (reg4a & ~(0x3 << (devno <<=20 2))), 2); } + + reg54 |=3D 0x0400; if (mode >=3D ATA_UDMA2) pci_write_config(parent, 0x54, reg54 | (0x1 << devno), 2); else --=20 -S=F8ren
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4156B234.1090603>