Subject: Re: very slow disk after suspend/resume
To: Greg Troxel <gdt@ir.bbn.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-i386
Date: 05/19/2005 19:27:29
On Thu, May 19, 2005 at 08:45:08AM -0400, Greg Troxel wrote:
> I have an IBM Thinkpad T30.  I've been able to suspend/resume for
> years with apm with no trouble, under 1.5 (I think), 1.6, and now
> 2.99.15.
> 
> I recently got a new 100G disk (FUJITSU MHU2100AT), and at the same
> time set up a hibernation partition.  Now, when resuming or coming out
> of hibernation, dd reports only about 3.3 MB/s read rate from the
> disk.  On a fresh boot, I get 31.7 MB/s (bs=128k).  This feels like a
> downgrade to PIO, but I don't see any such mesages in the log.
> 
> A friend has the same model disk, in a R51 (or close), and doesn't
> have this problem.
> 
> It could be that the disk is in some funky mode, but atactl reports
> that it is 'active' mode
> 
> Any clues about where to look?  Anyone else seeing this?  I wonder
> about adding something to undo a downgrade to PIO.

Yes, it's quite possible that it was downgraded to PIO. I commited code to
current this week that should help with this. If you can, try a recent current
kernel.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--