Re: [PATCH -mm] make swapin readahead skip over holes

From: John Stoffel
Date: Wed Jan 11 2012 - 09:12:04 EST


>>>>> "KOSAKI" == KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxx> writes:

>> Also, I doubt current swap_cluster default is best value on nowadays.
KOSAKI> I meant, current average hdd spec is,
KOSAKI> - average seek time: 8.5ms
KOSAKI> - sequential access performance: about 60MB/sec

KOSAKI> so, we can eat free lunch up to 7MB ~= 60(MB/sec) * 1000 / 8.5(ms).

What if the disk is busy doing other writeout or readin during this
time? You can't assume you have the full disk bandwidth available,
esp when you hit a swap storm like this.

John
--
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/