improving VM - questions

Andriy Gapon avg at FreeBSD.org
Mon Feb 27 22:43:56 UTC 2012


on 25/02/2012 17:45 Wojciech Puchar said the following:
[snip]
> i tried that patch
> 
> --- swap_pager.c.orig   2012-02-25 16:22:25.000000000 +0100
> +++ swap_pager.c        2012-02-25 13:19:51.000000000 +0100
> @@ -119,7 +119,7 @@
>  * The 32-page limit is due to the radix code (kern/subr_blist.c).
>  */
> #ifndef MAX_PAGEOUT_CLUSTER
> -#define MAX_PAGEOUT_CLUSTER 16
> +#define MAX_PAGEOUT_CLUSTER 256
> #endif
[snip]
> but swap_pager.c patch seems not to work. i observe 64kB pageouts, no more.
> 
> what is wrong in it?

Could there be a problem because of what the MAX_PAGEOUT_CLUSTER comment says?

-- 
Andriy Gapon


More information about the freebsd-hackers mailing list