vmparam.h (1288) | vmparam.h (1549) |
---|---|
1/*- 2 * Copyright (c) 1990 The Regents of the University of California. 3 * All rights reserved. 4 * Copyright (c) 1994 John S. Dyson 5 * All rights reserved. 6 * 7 * This code is derived from software contributed to Berkeley by 8 * William Jolitz. --- 160 unchanged lines hidden (view full) --- 169 170/* 171 * KLSDIST is the advance or retard of the fifo reclaim for sequential 172 * processes data space. 173 */ 174#define KLSDIST 3 /* klusters advance/retard for seq. fifo */ 175 176/* | 1/*- 2 * Copyright (c) 1990 The Regents of the University of California. 3 * All rights reserved. 4 * Copyright (c) 1994 John S. Dyson 5 * All rights reserved. 6 * 7 * This code is derived from software contributed to Berkeley by 8 * William Jolitz. --- 160 unchanged lines hidden (view full) --- 169 170/* 171 * KLSDIST is the advance or retard of the fifo reclaim for sequential 172 * processes data space. 173 */ 174#define KLSDIST 3 /* klusters advance/retard for seq. fifo */ 175 176/* |
177 * Paging thresholds (see vm_sched.c). 178 * Strategy of 1/19/85: 179 * lotsfree is 512k bytes, but at most 1/4 of memory 180 * desfree is 200k bytes, but at most 1/8 of memory 181 * minfree is 64k bytes, but at most 1/2 of desfree 182 */ 183#define LOTSFREE (512 * 1024) 184#define LOTSFREEFRACT 4 185#define DESFREE (200 * 1024) 186#define DESFREEFRACT 8 187#define MINFREE (64 * 1024) 188#define MINFREEFRACT 2 189 190/* | |
191 * There are two clock hands, initially separated by HANDSPREAD bytes 192 * (but at most all of user memory). The amount of time to reclaim 193 * a page once the pageout process examines it increases with this 194 * distance and decreases as the scan rate rises. 195 */ 196#define HANDSPREAD (2 * 1024 * 1024) 197 198/* --- 79 unchanged lines hidden --- | 177 * There are two clock hands, initially separated by HANDSPREAD bytes 178 * (but at most all of user memory). The amount of time to reclaim 179 * a page once the pageout process examines it increases with this 180 * distance and decreases as the scan rate rises. 181 */ 182#define HANDSPREAD (2 * 1024 * 1024) 183 184/* --- 79 unchanged lines hidden --- |