Bug 431312 - 2.6.24: After a random amount of time, SATA drive speed is reduced to 20MB/s
2.6.24: After a random amount of time, SATA drive speed is reduced to 20MB/s
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Kernel Maintainer List
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-02-02 10:33 EST by Stewart Adam
Modified: 2008-02-08 19:15 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-02-08 19:15:35 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Gzip'd test data (25.20 KB, application/x-gzip)
2008-02-02 10:33 EST, Stewart Adam
no flags Details

  None (edit)
Description Stewart Adam 2008-02-02 10:33:49 EST
Description of problem:
I have three SATA drives, a Raptor connected to Intel ICH8 and 2x WD Caviar
drives connected to a JMicron  20360/20363. Kernels 2.6.22 and 2.6.23 are fine,
however booting into 2.6.24 results in all SATA drive speeds being reduced to
20MB/s from the usal 65-80MB/s range I get with "hdparm -t /dev/sdX"

What is weird about this problem is I discovered that the correct drivers are
being used, and booting into single user mode and testing with hdparm does
result in about 75MB/s on all drives. However, after a bit of disk activity (eg
changing runlevels or starting X) the drive speed is suddenly reduced.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Boot in single user mode, hdparm -t /dev/sda
2. Boot in 3rd runlevel, hdparm -t /dev/sda
3. Boot in 5th runlevel, hdparm -t /dev/sda
4. Boot in single user mode and start service one by one, after each start run
hdparm -t /dev/sda
Actual results:
Results from hdparm on each of the steps above:
1 --> 75MB/s
2 --> 20MB/s
3 --> 20MB/s
4 --> 75MB/s, however at one point the drives speed will drop to 20MB/s (it
isn't a specific service, it will change each time a trial is run)

Expected results:
Drive speed isn't reduced to 20MB/s

Additional info:
I've attached logs from various kernels:
* kernel-2.6.24-9.fc9.x86_64 (before drive speed was reduced)
* kernel-2.6.24-9.fc9.x86_64 (after drive speed was reduced)
* kernel-2.6.24-0.138.rc7.fc9.x86_64
* kernel-
The logs include dmesg, a timed run of dd reading a non-cached 4.6GB file, the
`vmstat 1` output while the file was being copied and the hdparm -t tests on all
three SATA drives.
Comment 1 Stewart Adam 2008-02-02 10:33:49 EST
Created attachment 293797 [details]
Gzip'd test data
Comment 2 Stewart Adam 2008-02-08 19:15:35 EST
I saw the commit for and rebuilt it locally, problem solved.

$ sudo hdparm -t /dev/sda /dev/sdb /dev/sdc

 Timing buffered disk reads:  192 MB in  3.01 seconds =  63.72 MB/sec

 Timing buffered disk reads:  184 MB in  3.03 seconds =  60.70 MB/sec

 Timing buffered disk reads:  224 MB in  3.01 seconds =  74.34 MB/sec

Note You need to log in before you can comment on or make changes to this bug.