Răsfoiți Sursa

ipv4: add kernel parameter tcpmhash_entries

This patch also adds a reference to ip-sysctl.txt
where TCP metrics setup is described

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Fabian Frederick 10 ani în urmă
părinte
comite
747029a566
1 a modificat fișierele cu 7 adăugiri și 0 ștergeri
  1. 7 0
      Documentation/kernel-parameters.txt

+ 7 - 0
Documentation/kernel-parameters.txt

@@ -3412,6 +3412,13 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
 			neutralize any effect of /proc/sys/kernel/sysrq.
 			Useful for debugging.
 
+	tcpmhash_entries= [KNL,NET]
+			Set the number of tcp_metrics_hash slots.
+			Default value is 8192 or 16384 depending on total
+			ram pages. This is used to specify the TCP metrics
+			cache size. See Documentation/networking/ip-sysctl.txt
+			"tcp_no_metrics_save" section for more details.
+
 	tdfx=		[HW,DRM]
 
 	test_suspend=	[SUSPEND][,N]