Re: [PATCH] swapin readahead and fixes

Stephen C. Tweedie (sct@redhat.com)
Wed, 9 Dec 1998 11:58:00 GMT


Hi,

On Wed, 09 Dec 1998 11:41:52 +0900, Drago Goricanec
<drago@king.otsd.ts.fujitsu.co.jp> said:

>> If we write this way (no more expensive than normal because
>> we write the stuff in one disk movement) swapin readahead
>> will be much more effective and performance will increase.

> Except for disk I/O bound processes, where the swapout writeahead
> steals some extra time from the disk.

Not necessarily: having to do extra seeks hurts the throughput MUCH
more than doing a bit more IO when the disk head is already in position.

> I guess this is where having separate swap and data disks would
> help.

That is _always_ a good idea, anyway.

--Stephen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/