Lines Matching defs:fastscan
79 pgcnt_t fastscan = 0;
139 * for new pageout parameters, fastscan, slowscan, and handspreadpages.
143 * set new values for handspreadpages, fastscan and slowscan.
155 * The new value to use for fastscan and handspreadpages.
241 init_fscan = fastscan;
314 * The clock scan rate varies between fastscan and slowscan
323 * per sec for every processor, fastscan is set to be the smaller
327 * Setting fastscan to be 1/2 of memory allows pageout to scan
329 * accessed within 1 sec (assuming, handspreadpages == fastscan)
334 * Smaller values of fastscan result in scanning fewer pages
337 * values of fastscan result in scanning a lot more pages which
345 * (the upper bound for fastscan) based on the average number
367 * In addition to setting fastscan and slowscan, pageout is
378 * linearly between slowscan and fastscan.
381 * at slowscan to ~4% at fastscan instead of varying between
382 * ~1% at slowscan and ~10% at fastscan.
384 * The values chosen for the various VM parameters (fastscan,
405 * it more difficult to determine the values for fastscan, slowscan
423 fastscan = MIN(looppages / loopfraction, maxfastscan);
425 fastscan = init_fscan;
426 if (fastscan > looppages / loopfraction)
427 fastscan = looppages / loopfraction;
434 slowscan = MIN(fastscan / 10, maxslowscan);
437 if (slowscan > fastscan / 2)
438 slowscan = fastscan / 2;
448 * to be "fastscan" results in the front hand being a few secs
450 * at fastscan rates. This distance can be further reduced, if
461 handspreadpages = fastscan;
522 * slowscan with lotsfree and fastscan when out of memory.
563 desscan = fastscan / RATETOSCHEDPAGING;
573 faststmp = fastscan * (lotsfree - vavail);