lkml.org 
[lkml]   [2012]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: dramatic I/O slowdown after upgrading 2.6.38->3.0+
On Tue, 10 Apr 2012, Jan Kara wrote:
> > 2.6.38:
> > # dd if=/dev/sdb of=/dev/null bs=1M iflag=direct count=100
> > 100+0 records in
> > 100+0 records out
> > 104857600 bytes (105 MB) copied, 1.73126 s, 60.6 MB/s
> >
> > 3.0:
> > # dd if=/dev/sdb of=/dev/null bs=1M iflag=direct count=100
> > 100+0 records in
> > 100+0 records out
> > 104857600 bytes (105 MB) copied, 29.4508 s, 3.6 MB/s
> >
> > That's about 20 times difference on direct read from the
> > same - idle - device!!

You might want to investigate the cpu-idle stuff (especially intel-idle if
it is an Intel box with a recent processor: force the box to use acpi-idle
instead) and the cpufreq stuff (try the test with the box with the
"performance" governor).

> Anyway, the most likely cause seems to be some driver issue (which would
> also explain why you can see it only on one machine). I'd also compare very
> closely config files of the two kernels if there isn't some unexpected
> difference...

Indeed. But that's such a massive performance drop, I'd also be comparing
the boot log messages of both kernels with diff, and also the lspci -vvv
output... just in case :-)

--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh


\
 
 \ /
  Last update: 2012-04-11 02:23    [from the cache]
©2003-2011 Jasper Spaans