read from cache is much slower with feisty than all previous ubuntu versions

Bug #90531 reported by nigra
24
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Low
Unassigned

Bug Description

Here is the result of the hdparm test on my laptop (Toshiba M40x-119)

/dev/sda:
 Timing cached reads: 1226 MB in 2.00 seconds = 612.38 MB/sec
 Timing buffered disk reads: 84 MB in 3.05 seconds = 27.54 MB/sec

Buffered disk access is the same, no problem. But cached reads were
~1500 MB/sec on my laptop with breezy,dapper,edgy. The system is slow especially
slow for example when building a dvd iso for backup, which I never experienced
with the previous versions of ubuntu.
Exactly the same problem is mentioned
Here: http://ubuntuforums.org/showthread.php?t=366723&highlight=feisty+hdparm
And here: http://ubuntuforums.org/showthread.php?t=356627&highlight=feisty+hdparm

Running Feisty Fawn Herd5 up-to-date

Revision history for this message
Chris Rose (chris-vault5) wrote :

Thanks for taking the time to report this bug. Unfortunately we can't fix it, because your description doesn't yet have enough information.

Please include the following additional information, if you have not already done so (please pay attention to lspci's additional options), as required by the Ubuntu Kernel Team:
1. Please include the output of the command "uname -a" in your next response. It should be one, long line of text which includes the exact kernel version you're running, as well as the CPU architecture.
2. Please run the command "dmesg > dmesg.log" and attach the resulting file "dmesg.log" to this bug report.
3. Please run the command "lspci -vvnn > lspci-vvnn.log" and attach the resulting file "lspci-vvnn.log" to this bug report.

For your reference, the full description of procedures for kernel-related bug reports is available at [WWW] http://wiki.ubuntu.com/DebuggingKernelProblems . Thanks in advance!

Changed in linux-source-2.6.20:
assignee: nobody → chris-vault5
importance: Undecided → Low
status: Unconfirmed → Needs Info
Revision history for this message
nigra (guneyvolkan-gmail) wrote :

unname -a:
Linux julien-laptop 2.6.20-9-generic #2 SMP Mon Feb 26 03:01:44 UTC 2007 i686 GNU/Linux

   If it is useful, the results don't change with other kernels such as lowlatency kernel
from the universe or the kernel I've compiled from the repos.

Revision history for this message
nigra (guneyvolkan-gmail) wrote :
Revision history for this message
Chris Rose (chris-vault5) wrote :

Thank you.

Changed in linux-source-2.6.20:
assignee: chris-vault5 → nobody
status: Needs Info → Unconfirmed
Revision history for this message
Frank (frank-schaeffer) wrote :

Here too, on a Thinkpad Z61m, Feisty Fawn Herd5, actually updated

uname -a:
Linux Newton 2.6.20-9-generic #2 SMP Mon Feb 26 03:01:44 UTC 2007 i686 GNU/Linux

Revision history for this message
Frank (frank-schaeffer) wrote :

And here dmesg.log
Similar, along with a Desktop-PC and SATAII-Harddisk
Best regards

Frank

Revision history for this message
Conn O Griofa (psyke83) wrote :

Hi,

I'm suffering the same bug on my systems. I'm providing logs from my laptop, a Dell Inspiron 510m. Prior to Feisty, cached reads approached 1500MB/s. Using kernel version 2.6.20-9-generic, everything up-to-date.

conn@inspiron:~/slowcache$ uname -a
Linux inspiron 2.6.20-9-generic #2 SMP Mon Feb 26 03:01:44 UTC 2007 i686 GNU/Linux

conn@inspiron:~/slowcache$ sudo hdparm -Tt /dev/hda
/dev/hda:
 Timing cached reads: 1046 MB in 2.00 seconds = 522.33 MB/sec
 Timing buffered disk reads: 80 MB in 3.09 seconds = 25.85 MB/sec

Revision history for this message
Conn O Griofa (psyke83) wrote :
Revision history for this message
VF (vfiend) wrote :

Same problem here, let me know if you need more logs from me in addition to what's already been posted here.

Revision history for this message
Kyle McMartin (kyle) wrote :
Changed in linux-source-2.6.20:
status: Unconfirmed → Needs Info
Revision history for this message
nigra (guneyvolkan-gmail) wrote :

  Kyle,
  Sorry for late answer, I am afraid I switched back to edgy few days ago, so I cannot test with the new kernel. But I installed feisty kernel(both the generic one and the one I compiled by customizing it) in edgy. The problem does not occur with the same kernel in edgy, cached reads are normal (~1500 MB/S). I don't know if this info will be any useful to lead your work in some direction but just wanted to let you know with that hope.
  It would be great if the other folks had tried that if they still hold feisty on their workstations. Thanks.

Revision history for this message
Mário Vrablanský (vrablansky) wrote :

Hi

The same problem for me

mario@notebook:~$ sudo hdparm -tT /dev/hda
Password:

/dev/hda:
 Timing cached reads: 992 MB in 2.00 seconds = 495.64 MB/sec
 Timing buffered disk reads: 96 MB in 3.01 seconds = 31.85 MB/sec
mario@notebook:~$ hdparm -i /dev/hda
/dev/hda: Permission denied
mario@notebook:~$ sudo hdparm -i /dev/hda

In edgy i had more than 1000 MB/sec . I`ve attached some logs .I use newest kernel

mario@notebook:~$ uname -a
Linux notebook 2.6.20-10-generic #2 SMP Mon Mar 12 00:02:49 UTC 2007 i686 GNU/Linux

Will check also kernel 386

Revision history for this message
Mário Vrablanský (vrablansky) wrote :
Revision history for this message
Mário Vrablanský (vrablansky) wrote :

Please ignore my last dmesg log it`s from different machine :(
Thanks

Revision history for this message
Ben Collins (ben-collins) wrote :

nigra's comments seem to suggest that the kernel was operating normally for him (under edgy userspace), so likely not a kernel issue.

Changed in linux-source-2.6.20:
status: Needs Info → Rejected
Revision history for this message
VF (vfiend) wrote :

Re-opening given the duplicate, changing so that it's not assigned to any package

Changed in linux-source-2.6.20:
status: Rejected → Confirmed
Revision history for this message
A. W. Moore (angelyn147) wrote :

Me too.

On Feisty:
/dev/sda:
 Timing cached reads: 1242 MB in 2.00 seconds = 619.52 MB/sec
 Timing buffered disk reads: 222 MB in 3.02 seconds = 73.45 MB/sec

I booted Gutsy tribe 4 today and got very similar numbers.

If I boot Edgy or Knoppix 5.01, cached read performance is very
close to doubled (about 1200 MB/sec).

Logs attached are from Feisty:
% uname -a
Linux ni 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Linux

I am willing to provide logs from Gutsy or Edgy or perform tests
under them, insofar as I'm able. Actions like grepping through a large
directory are very slow, so I'm interested in any solution. Was really
hoping Gutsy would just solve it. :(

Revision history for this message
A. W. Moore (angelyn147) wrote :
Revision history for this message
Adam Niedling (krychek) wrote :

Feisty is not supported anymore. Please retest this issue with a later version of Ubuntu and reopen this report.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.