Date: Mon, 30 Jun 2014 04:26:29 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r268027 - head/sys/netinet Message-ID: <201406300426.s5U4QTiP039444@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Mon Jun 30 04:26:29 2014 New Revision: 268027 URL: http://svnweb.freebsd.org/changeset/base/268027 Log: If we're doing RSS then ensure the TCP timer selection uses the multi-CPU callwheel setup, rather than just dumping all the timers on swi0. Modified: head/sys/netinet/tcp_timer.c Modified: head/sys/netinet/tcp_timer.c ============================================================================== --- head/sys/netinet/tcp_timer.c Mon Jun 30 04:25:51 2014 (r268026) +++ head/sys/netinet/tcp_timer.c Mon Jun 30 04:26:29 2014 (r268027) @@ -127,7 +127,11 @@ SYSCTL_INT(_net_inet_tcp, OID_AUTO, rexm &tcp_rexmit_drop_options, 0, "Drop TCP options from 3rd and later retransmitted SYN"); +#ifdef RSS +static int per_cpu_timers = 1; +#else static int per_cpu_timers = 0; +#endif SYSCTL_INT(_net_inet_tcp, OID_AUTO, per_cpu_timers, CTLFLAG_RW, &per_cpu_timers , 0, "run tcp timers on all cpus");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406300426.s5U4QTiP039444>