svn commit: r344276 - head/sys/rpc/rpcsec_gss

Edward Tomasz Napierala trasz at FreeBSD.org
Tue Feb 19 11:07:04 UTC 2019


Author: trasz
Date: Tue Feb 19 11:07:02 2019
New Revision: 344276
URL: https://svnweb.freebsd.org/changeset/base/344276

Log:
  Bump the default kern.rpc.gss.client_max from 128 to 1024.
  
  The old value resulted in bad performance, with high kernel
  and gssd(8) load, with more than ~64 clients; it also triggered
  crashes, which are to be fixed by a different patch.
  
  PR:		235582
  Discussed with:	rmacklem@
  MFC after:	2 weeks

Modified:
  head/sys/rpc/rpcsec_gss/svc_rpcsec_gss.c

Modified: head/sys/rpc/rpcsec_gss/svc_rpcsec_gss.c
==============================================================================
--- head/sys/rpc/rpcsec_gss/svc_rpcsec_gss.c	Tue Feb 19 10:40:35 2019	(r344275)
+++ head/sys/rpc/rpcsec_gss/svc_rpcsec_gss.c	Tue Feb 19 11:07:02 2019	(r344276)
@@ -170,7 +170,7 @@ struct svc_rpc_gss_cookedcred {
 };
 
 #define CLIENT_HASH_SIZE	256
-#define CLIENT_MAX		128
+#define CLIENT_MAX		1024
 u_int svc_rpc_gss_client_max = CLIENT_MAX;
 u_int svc_rpc_gss_client_hash_size = CLIENT_HASH_SIZE;
 


More information about the svn-src-all mailing list