diff options
author | dg <dg@FreeBSD.org> | 1996-01-04 18:32:31 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1996-01-04 18:32:31 +0000 |
commit | 32818d3b27651d21cb0746feb7f28de479091de1 (patch) | |
tree | a99fd812e1e253c33ebe1068e779f3980ca7478a /sys/vm/vm_object.c | |
parent | 9575405f0359f787f85773c9e75528bde2fd1e18 (diff) | |
download | FreeBSD-src-32818d3b27651d21cb0746feb7f28de479091de1.zip FreeBSD-src-32818d3b27651d21cb0746feb7f28de479091de1.tar.gz |
Increased vm_object_cache_max by about 50% to yield better utilization of
memory when lots of small files are cached.
Reviewed by: dyson
Diffstat (limited to 'sys/vm/vm_object.c')
-rw-r--r-- | sys/vm/vm_object.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c index 7d14fb0..37bf211 100644 --- a/sys/vm/vm_object.c +++ b/sys/vm/vm_object.c @@ -61,7 +61,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_object.c,v 1.59 1995/12/11 04:58:20 dyson Exp $ + * $Id: vm_object.c,v 1.60 1995/12/14 09:55:03 phk Exp $ */ /* @@ -188,7 +188,7 @@ vm_object_init() vm_object_cache_max = 84; if (cnt.v_page_count > 1000) - vm_object_cache_max += (cnt.v_page_count - 1000) / 4; + vm_object_cache_max += (cnt.v_page_count - 1000) / 3; kernel_object = &kernel_object_store; _vm_object_allocate(OBJT_DEFAULT, OFF_TO_IDX(VM_MAX_KERNEL_ADDRESS - VM_MIN_KERNEL_ADDRESS), |