Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jan 2021 01:36:13 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 089eafaff3ec - main - arm64: Stop setting VM_BCACHE_SIZE_MAX
Message-ID:  <202101200136.10K1aDq9089691@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=089eafaff3ec632e1fc56db35dc3b30214c9e5f9

commit 089eafaff3ec632e1fc56db35dc3b30214c9e5f9
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2021-01-20 01:34:35 +0000
Commit:     Mark Johnston <markj@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
  */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101200136.10K1aDq9089691>