Re: unresponsiveness on linux desktop during file copy

From: Satish Eerpini
Date: Sun May 17 2009 - 00:30:49 EST


> I've prepared a rolled up patch for you, run time tested.  It should
> protect all of the above pages from being evicted by large file copies.
>
> The attached patch is for 2.6.29.

I applied the patch , but the number don seem to show much difference
, following are the statistics with the patched kernel, could
something else be causing the huge iowait, :

Linux 2.6.29 (satish) 05/17/2009

09:57:14 AM CPU %user %nice %system %iowait %steal %idle
09:57:18 AM all 12.93 0.00 10.25 33.44
0.00 43.38
09:57:21 AM all 13.32 0.00 28.09 24.40
0.00 34.19
09:57:24 AM all 10.79 0.00 4.76 75.56
0.00 8.89
09:57:26 AM all 11.46 0.00 8.01 35.64
0.00 44.90
09:57:30 AM all 11.68 0.00 8.88 35.05
0.00 44.39
Average: all 12.03 0.00 11.94 40.81
0.00 35.22

and

hdparm -tT /dev/sda

/dev/sda:
Timing cached reads: 1332 MB in 2.00 seconds = 666.35 MB/sec
Timing buffered disk reads: 24 MB in 3.32 seconds = 7.23 MB/sec

,

Cheers
Satish
--
http://satish.playdrupal.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/