Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amd64/include Bump UBC_WINSHIFT & UBC_NWINS to more...
details: https://anonhg.NetBSD.org/src/rev/ce1eadd39901
branches: trunk
changeset: 968474:ce1eadd39901
user: ad <ad%NetBSD.org@localhost>
date: Fri Jan 17 21:14:16 2020 +0000
description:
Bump UBC_WINSHIFT & UBC_NWINS to more reasonable values for amd64.
diffstat:
sys/arch/amd64/include/param.h | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r 973f6526a189 -r ce1eadd39901 sys/arch/amd64/include/param.h
--- a/sys/arch/amd64/include/param.h Fri Jan 17 20:28:59 2020 +0000
+++ b/sys/arch/amd64/include/param.h Fri Jan 17 21:14:16 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.33 2019/11/14 16:23:52 maxv Exp $ */
+/* $NetBSD: param.h,v 1.34 2020/01/17 21:14:16 ad Exp $ */
#ifdef __x86_64__
@@ -113,6 +113,17 @@
#define NKMEMPAGES_MAX_UNLIMITED 1
/*
+ * Defaults for Unified Buffer Cache parameters.
+ */
+
+#ifndef UBC_WINSHIFT
+#define UBC_WINSHIFT 16 /* 64kB */
+#endif
+#ifndef UBC_NWINS
+#define UBC_NWINS 4096 /* 256MB */
+#endif
+
+/*
* XXXfvdl the PD* stuff is different from i386.
*/
/*
Home |
Main Index |
Thread Index |
Old Index