From: David Ashley <dash@xdr.com>
To: linux-kernel@vger.kernel.org
Subject: 2.4.18 beats 2.5.50 in hard drive access????
Date: Fri, 6 Dec 2002 11:29:57 -0800 [thread overview]
Message-ID: <200212061929.gB6JTvq10286@xdr.com> (raw)
Same hard drive (Western Digital 7200 rpm 80 gig ATA100 drive).
Test program does scattered reads across disk surface, each read is 96256
bytes, and it uses threads. Each thread opens the device, does a read, then
closes the device. The program spawns 250 threads. The reads are each from a
different random place on the disk. Each time the program is run the random
number generator is seeded from the time of day clock, so the random
locations are always unique.
2.4.18 gets 7.26 megs/second read capacity.
2.5.50 gets 1.92 megs/second read capacity with TCQ off.
2.5.50 gets 1.97 megs/second read capacity with TCQ on, set to 32.
Part of my dmesg is this:
Kernel command line: rw root=/dev/rd/0 rdbase= ide0=ata66 ide1=ata66 idebus=66
ide_setup: ide0=ata66
ide_setup: ide1=ata66
ide_setup: idebus=66
...
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 66MHz system bus speed for PIO modes
SvrWks OSB4: IDE controller at PCI slot 00:0f.1
SvrWks OSB4: chipset revision 0
SvrWks OSB4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x1880-0x1887, BIOS settings: hda:pio, hdb:DMA
ide1: BM-DMA at 0x1888-0x188f, BIOS settings: hdc:pio, hdd:DMA
hda: LTN486S, ATAPI CD/DVD-ROM drive
hdb: WDC WD800BB-00CAA1, ATA DISK drive
hda: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error }
hda: set_drive_speed_status: error=0x04
hda: DMA disabled
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: WDC WD800BB-00CAA1, ATA DISK drive
hdd: WDC WD800BB-00CAA1, ATA DISK drive
hdc: DMA disabled
hdc: DMA disabled
ide1 at 0x170-0x177,0x376 on irq 15
hdb: host protected area => 1
hdb: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=10337/240/63, (U)DMA
/dev/ide/host0/bus0/target1/lun0: unknown partition table
hdc: host protected area => 1
hdc: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=155061/16/63
/dev/ide/host0/bus1/target0/lun0: unknown partition table
hdd: host protected area => 1
hdd: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=155061/16/63, (U)DMA
/dev/ide/host0/bus1/target1/lun0: unknown partition table
hda: ATAPI 48X CD-ROM drive, 120kB Cache
All three drives (hdb,hdc,hdd) are identical.
I put in the idebus=66 because there was a kernel warning about that
earlier but it made no difference. Nor did the ide?=ata66. I've
tried forcing the BIOS to use udma2 instead of autodetecting, since there
was some issue on a google search about that in a similiar problem. No
difference.
Possibly I tried this experiment with 2.5.40 (or 2.5.16) and got better
results, but I'm not certain, and it would have been on completely different
hardware.
On the SeekComplete Error messages I tried turning the IDEDISK_MULTI_MODE
on, but it didn't make any difference (it is on in this case).
Any help appreciated.
-Dave
next reply other threads:[~2002-12-06 19:22 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-06 19:29 David Ashley [this message]
2002-12-06 23:20 ` Alan Cox
2002-12-06 23:00 David Ashley
2002-12-07 2:10 ` Alan Cox
2002-12-07 4:29 ` Trever L. Adams
2002-12-08 1:55 ` Alan Cox
2002-12-08 3:28 ` Tomas Szepe
2002-12-08 17:27 ` Trever L. Adams
2002-12-06 23:02 Manish Lachwani
2002-12-07 2:36 David Ashley
2002-12-07 2:48 David Ashley
2002-12-07 3:02 Manish Lachwani
2002-12-07 5:51 David Ashley
2002-12-07 15:25 David Ashley
2002-12-07 17:19 David Ashley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200212061929.gB6JTvq10286@xdr.com \
--to=dash@xdr.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®