Source-Changes-HG archive

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

[src/chs-ubc2]: src/sys/arch take an initial guess at UBC parameters.



details:   https://anonhg.NetBSD.org/src/rev/dc459e354221
branches:  chs-ubc2
changeset: 471454:dc459e354221
user:      chs <chs%NetBSD.org@localhost>
date:      Fri Aug 06 15:10:25 1999 +0000

description:
take an initial guess at UBC parameters.

diffstat:

 sys/arch/amiga/include/vmparam.h    |  10 +++++++++-
 sys/arch/arm32/include/vmparam.h    |  11 ++++++++---
 sys/arch/atari/include/vmparam.h    |  10 +++++++++-
 sys/arch/bebox/include/vmparam.h    |   9 ++++++++-
 sys/arch/hp300/include/vmparam.h    |   9 ++++++++-
 sys/arch/mac68k/include/vmparam.h   |   9 ++++++++-
 sys/arch/macppc/include/vmparam.h   |   9 ++++++++-
 sys/arch/mips/include/vmparam.h     |   9 ++++++++-
 sys/arch/mvme68k/include/vmparam.h  |   9 ++++++++-
 sys/arch/newsmips/include/vmparam.h |   9 ++++++++-
 sys/arch/ofppc/include/vmparam.h    |   9 ++++++++-
 sys/arch/pc532/include/vmparam.h    |   9 ++++++++-
 sys/arch/pica/include/vmparam.h     |   9 ++++++++-
 sys/arch/pmax/include/vmparam.h     |   9 ++++++++-
 sys/arch/powerpc/include/vmparam.h  |   9 ++++++++-
 sys/arch/sparc64/include/vmparam.h  |   9 ++++++++-
 sys/arch/sun3/include/vmparam3.h    |   9 ++++++++-
 sys/arch/sun3/include/vmparam3x.h   |   9 ++++++++-
 sys/arch/vax/include/vmparam.h      |   9 ++++++++-
 sys/arch/x68k/include/vmparam.h     |   9 ++++++++-
 20 files changed, 162 insertions(+), 22 deletions(-)

diffs (truncated from 418 to 300 lines):

diff -r 2c53afad619d -r dc459e354221 sys/arch/amiga/include/vmparam.h
--- a/sys/arch/amiga/include/vmparam.h  Fri Aug 06 12:55:27 1999 +0000
+++ b/sys/arch/amiga/include/vmparam.h  Fri Aug 06 15:10:25 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.20.8.1 1999/06/21 00:46:41 thorpej Exp $ */
+/*     $NetBSD: vmparam.h,v 1.20.8.2 1999/08/06 15:10:25 chs Exp $     */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -187,4 +187,12 @@
  * number of kernel PT pages (initial only, can grow dynamically)
  */
 #define VM_KERNEL_PT_PAGES     ((vm_size_t)4)          /* XXX: SYSPTSIZE */
+
+/*
+ * Parameters for Unified Buffer Cache.
+ */
+
+#define UBC_WINSIZE 8192
+#define UBC_NWINS 1024
+
 #endif /* !_MACHINE_VMPARAM_H_ */
diff -r 2c53afad619d -r dc459e354221 sys/arch/arm32/include/vmparam.h
--- a/sys/arch/arm32/include/vmparam.h  Fri Aug 06 12:55:27 1999 +0000
+++ b/sys/arch/arm32/include/vmparam.h  Fri Aug 06 15:10:25 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.14.4.1 1999/06/21 00:47:33 thorpej Exp $ */
+/*     $NetBSD: vmparam.h,v 1.14.4.2 1999/08/06 15:10:26 chs Exp $     */
 
 /*
  * Copyright (c) 1988 The Regents of the University of California.
@@ -173,6 +173,11 @@
        char *attrs;                    /* attrs array */
 };
 
-#endif /* _ARM32_VMPARAM_H_ */
+/*
+ * Parameters for Unified Buffer Cache.
+ */
 
-/* End of vmparam.h */
+#define UBC_WINSIZE 8192
+#define UBC_NWINS 1024
+
+#endif /* _ARM32_VMPARAM_H_ */
diff -r 2c53afad619d -r dc459e354221 sys/arch/atari/include/vmparam.h
--- a/sys/arch/atari/include/vmparam.h  Fri Aug 06 12:55:27 1999 +0000
+++ b/sys/arch/atari/include/vmparam.h  Fri Aug 06 15:10:25 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.9.4.1 1999/06/21 00:48:36 thorpej Exp $  */
+/*     $NetBSD: vmparam.h,v 1.9.4.2 1999/08/06 15:10:26 chs Exp $      */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -177,4 +177,12 @@
  * number of kernel PT pages (initial only, can grow dynamically)
  */
 #define VM_KERNEL_PT_PAGES     ((vsize_t)4)            /* XXX: SYSPTSIZE */
+
+/*
+ * Parameters for Unified Buffer Cache.
+ */
+
+#define UBC_WINSIZE 8192
+#define UBC_NWINS 1024
+
 #endif /* !_MACHINE_VMPARAM_H_ */
diff -r 2c53afad619d -r dc459e354221 sys/arch/bebox/include/vmparam.h
--- a/sys/arch/bebox/include/vmparam.h  Fri Aug 06 12:55:27 1999 +0000
+++ b/sys/arch/bebox/include/vmparam.h  Fri Aug 06 15:10:25 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.7.4.1 1999/06/21 00:49:06 thorpej Exp $  */
+/*     $NetBSD: vmparam.h,v 1.7.4.2 1999/08/06 15:10:26 chs Exp $      */
 
 /*-
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -104,4 +104,11 @@
 #define VM_NFREELIST           1
 #define VM_FREELIST_DEFAULT    0
 
+/*
+ * Parameters for Unified Buffer Cache.
+ */
+
+#define UBC_WINSIZE 8192
+#define UBC_NWINS 1024
+
 #endif /* _MACHINE_VMPARAM_H_ */
diff -r 2c53afad619d -r dc459e354221 sys/arch/hp300/include/vmparam.h
--- a/sys/arch/hp300/include/vmparam.h  Fri Aug 06 12:55:27 1999 +0000
+++ b/sys/arch/hp300/include/vmparam.h  Fri Aug 06 15:10:25 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.17.4.1 1999/06/21 00:49:23 thorpej Exp $ */
+/*     $NetBSD: vmparam.h,v 1.17.4.2 1999/08/06 15:10:26 chs Exp $     */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -264,4 +264,11 @@
        char *attrs;                    /* page attributes for this seg */
 };
 
+/*
+ * Parameters for Unified Buffer Cache.
+ */
+
+#define UBC_WINSIZE 8192
+#define UBC_NWINS 1024
+
 #endif /* _HP300_VMPARAM_H_ */
diff -r 2c53afad619d -r dc459e354221 sys/arch/mac68k/include/vmparam.h
--- a/sys/arch/mac68k/include/vmparam.h Fri Aug 06 12:55:27 1999 +0000
+++ b/sys/arch/mac68k/include/vmparam.h Fri Aug 06 15:10:25 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.20.4.1 1999/06/21 00:51:01 thorpej Exp $ */
+/*     $NetBSD: vmparam.h,v 1.20.4.2 1999/08/06 15:10:27 chs Exp $     */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -288,4 +288,11 @@
        char *attrs;                    /* page attributes for this seg */
 };
 
+/*
+ * Parameters for Unified Buffer Cache.
+ */
+
+#define UBC_WINSIZE 8192
+#define UBC_NWINS 1024
+
 #endif /* _MAC68K_VMPARAM_H_ */
diff -r 2c53afad619d -r dc459e354221 sys/arch/macppc/include/vmparam.h
--- a/sys/arch/macppc/include/vmparam.h Fri Aug 06 12:55:27 1999 +0000
+++ b/sys/arch/macppc/include/vmparam.h Fri Aug 06 15:10:25 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.7.4.2 1999/08/02 19:55:12 thorpej Exp $  */
+/*     $NetBSD: vmparam.h,v 1.7.4.3 1999/08/06 15:10:27 chs Exp $      */
 
 /*-
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -109,4 +109,11 @@
 #define        VM_NFREELIST            1
 #define        VM_FREELIST_DEFAULT     0
 
+/*
+ * Parameters for Unified Buffer Cache.
+ */
+
+#define UBC_WINSIZE 8192
+#define UBC_NWINS 1024
+
 #endif /* _MACHINE_VMPARAM_H_ */
diff -r 2c53afad619d -r dc459e354221 sys/arch/mips/include/vmparam.h
--- a/sys/arch/mips/include/vmparam.h   Fri Aug 06 12:55:27 1999 +0000
+++ b/sys/arch/mips/include/vmparam.h   Fri Aug 06 15:10:25 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.14.4.1 1999/06/21 00:52:04 thorpej Exp $ */
+/*     $NetBSD: vmparam.h,v 1.14.4.2 1999/08/06 15:10:27 chs Exp $     */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -152,4 +152,11 @@
        char *attrs;                    /* page attributes for this seg */
 };
 
+/*
+ * Parameters for Unified Buffer Cache.
+ */
+
+#define UBC_WINSIZE 8192
+#define UBC_NWINS 1024
+
 #endif /* ! _MIPS_VMPARAM_H_ */
diff -r 2c53afad619d -r dc459e354221 sys/arch/mvme68k/include/vmparam.h
--- a/sys/arch/mvme68k/include/vmparam.h        Fri Aug 06 12:55:27 1999 +0000
+++ b/sys/arch/mvme68k/include/vmparam.h        Fri Aug 06 15:10:25 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.10.6.1 1999/06/21 00:52:31 thorpej Exp $ */
+/*     $NetBSD: vmparam.h,v 1.10.6.2 1999/08/06 15:10:27 chs Exp $     */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -256,4 +256,11 @@
        char *attrs;                    /* page attributes for this seg */
 };
 
+/*
+ * Parameters for Unified Buffer Cache.
+ */
+
+#define UBC_WINSIZE 8192
+#define UBC_NWINS 1024
+
 #endif /* _MVME68K_VMPARAM_H_ */
diff -r 2c53afad619d -r dc459e354221 sys/arch/newsmips/include/vmparam.h
--- a/sys/arch/newsmips/include/vmparam.h       Fri Aug 06 12:55:27 1999 +0000
+++ b/sys/arch/newsmips/include/vmparam.h       Fri Aug 06 15:10:25 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.3 1998/07/08 04:43:18 thorpej Exp $      */
+/*     $NetBSD: vmparam.h,v 1.3.10.1 1999/08/06 15:10:28 chs Exp $     */
 
 #include <mips/vmparam.h>
 
@@ -12,3 +12,10 @@
 
 /* pcb base */
 /*#define      pcbb(p)         ((u_int)(p)->p_addr) */
+
+/*
+ * Parameters for Unified Buffer Cache.
+ */
+
+#define UBC_WINSIZE 8192
+#define UBC_NWINS 1024
diff -r 2c53afad619d -r dc459e354221 sys/arch/ofppc/include/vmparam.h
--- a/sys/arch/ofppc/include/vmparam.h  Fri Aug 06 12:55:27 1999 +0000
+++ b/sys/arch/ofppc/include/vmparam.h  Fri Aug 06 15:10:25 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.8.4.1 1999/06/21 00:55:40 thorpej Exp $  */
+/*     $NetBSD: vmparam.h,v 1.8.4.2 1999/08/06 15:10:28 chs Exp $      */
 
 /*-
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -104,4 +104,11 @@
 #define VM_NFREELIST           1
 #define VM_FREELIST_DEFAULT    0
 
+/*
+ * Parameters for Unified Buffer Cache.
+ */
+
+#define UBC_WINSIZE 8192
+#define UBC_NWINS 1024
+
 #endif /* _MACHINE_VMPARAM_H_ */
diff -r 2c53afad619d -r dc459e354221 sys/arch/pc532/include/vmparam.h
--- a/sys/arch/pc532/include/vmparam.h  Fri Aug 06 12:55:27 1999 +0000
+++ b/sys/arch/pc532/include/vmparam.h  Fri Aug 06 15:10:25 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.16.4.1 1999/06/21 00:57:01 thorpej Exp $ */
+/*     $NetBSD: vmparam.h,v 1.16.4.2 1999/08/06 15:10:28 chs Exp $     */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -169,4 +169,11 @@
        short *attrs;                   /* attrs array */
 };
 
+/*
+ * Parameters for Unified Buffer Cache.
+ */
+
+#define UBC_WINSIZE 8192
+#define UBC_NWINS 1024
+
 #endif
diff -r 2c53afad619d -r dc459e354221 sys/arch/pica/include/vmparam.h
--- a/sys/arch/pica/include/vmparam.h   Fri Aug 06 12:55:27 1999 +0000
+++ b/sys/arch/pica/include/vmparam.h   Fri Aug 06 15:10:25 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.3 1998/02/25 23:30:11 thorpej Exp $      */
+/*     $NetBSD: vmparam.h,v 1.3.10.1 1999/08/06 15:10:28 chs Exp $     */
 
 #include <mips/vmparam.h>
 
@@ -9,3 +9,10 @@
 
 /* pcb base */
 /*#define      pcbb(p)         ((u_int)(p)->p_addr) */
+
+/*
+ * Parameters for Unified Buffer Cache.
+ */
+
+#define UBC_WINSIZE 8192
+#define UBC_NWINS 1024
diff -r 2c53afad619d -r dc459e354221 sys/arch/pmax/include/vmparam.h
--- a/sys/arch/pmax/include/vmparam.h   Fri Aug 06 12:55:27 1999 +0000
+++ b/sys/arch/pmax/include/vmparam.h   Fri Aug 06 15:10:25 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.8.12.1 1999/06/21 00:58:59 thorpej Exp $ */
+/*     $NetBSD: vmparam.h,v 1.8.12.2 1999/08/06 15:10:28 chs Exp $     */
 
 #include <mips/vmparam.h>
 
@@ -15,3 +15,10 @@
 
 /* pcb base */
 /*#define      pcbb(p)         ((u_int)(p)->p_addr) */
+
+/*
+ * Parameters for Unified Buffer Cache.
+ */
+
+#define UBC_WINSIZE 8192
+#define UBC_NWINS 1024
diff -r 2c53afad619d -r dc459e354221 sys/arch/powerpc/include/vmparam.h
--- a/sys/arch/powerpc/include/vmparam.h        Fri Aug 06 12:55:27 1999 +0000
+++ b/sys/arch/powerpc/include/vmparam.h        Fri Aug 06 15:10:25 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.9.4.1 1999/06/21 01:01:04 thorpej Exp $  */



Home | Main Index | Thread Index | Old Index