afs: Raise AFS_MINBUFFERS

We currently only allocate 50 or 100 (depending on platform) dir
buffers for the buffer cache, which seems very low. Raise it to 2048,
and make it consistent for all platforms, to give the buffers a chance
at actually usefully caching data.

Change-Id: If95eafde771993532dac08057cbd1e1a8cef915c
Reviewed-on: https://gerrit.openafs.org/13532
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
This commit is contained in:
Andrew Deason 2018-09-28 15:15:32 -05:00 committed by Michael Meffie
parent 895d82bae8
commit 8211a0aaf7

View File

@ -41,11 +41,7 @@
# include <mach/thread_act.h>
#endif
#if defined(AFS_SUN5_ENV) || defined(AFS_AIX_ENV) || defined(AFS_SGI_ENV) || defined(AFS_HPUX_ENV)
#define AFS_MINBUFFERS 100
#else
#define AFS_MINBUFFERS 50
#endif
#define AFS_MINBUFFERS 2048
#if (defined(AFS_SUN5_ENV) || defined(AFS_LINUX_ENV) || defined(AFS_DARWIN80_ENV)) && !defined(UKERNEL)
/* If AFS_DAEMONOP_ENV is defined, it indicates we run "daemon" AFS syscalls by