> On 07/25/2007 10:07 AM,
david@lang.hm wrote:
>
>> On Wed, 25 Jul 2007, Rene Herman wrote:
>
>> > Something like this?
>
> [ ... ]
>
>> when the swap readahead is enabled does it make a significant difference
>> in the time to do the random access?
>
> I don't use swap prefetch (nor -ck or -mm). If someone who has the patch
> applied waits to hit enter until swap prefetch has prefetched it all back in
> again, it certainly will.
>
> Swap prefetch's potential to do larger reads back from swapspace than a
> random segfaulting app could well be very significant. Reads are dwarved by
> seeks. If this program does what you wanted, please use it to show us.