git: 089eafaff3ec - main - arm64: Stop setting VM_BCACHE_SIZE_MAX
Mark Johnston
markj at FreeBSD.org
Wed Jan 20 01:36:13 UTC 2021
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=089eafaff3ec632e1fc56db35dc3b30214c9e5f9
commit 089eafaff3ec632e1fc56db35dc3b30214c9e5f9
Author: Mark Johnston <markj at FreeBSD.org>
AuthorDate: 2021-01-20 01:34:35 +0000
Commit: Mark Johnston <markj at FreeBSD.org>
CommitDate: 2021-01-20 01:34:35 +0000
arm64: Stop setting VM_BCACHE_SIZE_MAX
This setting places a (small) limit on the size of the buffer cache,
constraining UFS performance on large servers. The setting comes from
the initial arm64 implementation and appears to be vestigal. Remove it.
Reviewed by: kib
Submitted by: Klara, Inc.
Sponsored by: Ampere Computing
Differential Revision: https://reviews.freebsd.org/D28162
---
sys/arm64/include/param.h | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/sys/arm64/include/param.h b/sys/arm64/include/param.h
index a01b37da84c5..f331fd19e2c8 100644
--- a/sys/arm64/include/param.h
+++ b/sys/arm64/include/param.h
@@ -108,15 +108,6 @@
#define KSTACK_GUARD_PAGES 1 /* pages of kstack guard; 0 disables */
#define PCPU_PAGES 1
-/*
- * Ceiling on size of buffer cache (really only effects write queueing,
- * the VM page cache is not effected), can be changed via
- * the kern.maxbcache /boot/loader.conf variable.
- */
-#ifndef VM_BCACHE_SIZE_MAX
-#define VM_BCACHE_SIZE_MAX (400 * 1024 * 1024)
-#endif
-
/*
* Mach derived conversion macros
*/
More information about the dev-commits-src-main
mailing list