Re: [PATCH] vm - swap_prefetch v12

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 30 Sep 2005 07:54 am, Andrew Morton wrote:
> Con Kolivas <[email protected]> wrote:
> > Once pages have been added to the swapped list, a timer is started,
> > testing for conditions suitable to prefetch swap pages every 5 seconds.
> > Suitable conditions are defined as lack of swapping out or in any pages,
> > and no watermark tests failing. Significant amounts of dirtied ram also
> > prevent prefetching. It then checks that we have spare ram looking for at
> > least 3* pages_high free per zone and if it succeeds that will prefetch
> > pages from swap.
>
> Did you consider poking around in gendisk.disk_stats to determine whether
> the swap disk(s) are idleish?

I didn't know where to look for that info. Thanks! I'm open to *any* 
suggestions and I'll look into it as I can't take this code much further 
without outside help.

Cheers,
Con
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux