diff options
author | bmah <bmah@FreeBSD.org> | 2001-12-17 23:27:49 +0000 |
---|---|---|
committer | bmah <bmah@FreeBSD.org> | 2001-12-17 23:27:49 +0000 |
commit | 090c933e94e7345e9c9e9a9fbe29ea6c8397a662 (patch) | |
tree | c684b05fa81b1f3344521d42171a52f9a95ff3b2 | |
parent | 05dfe86282654dc55f5734b34dd8ba1d6a880593 (diff) | |
download | FreeBSD-src-090c933e94e7345e9c9e9a9fbe29ea6c8397a662.zip FreeBSD-src-090c933e94e7345e9c9e9a9fbe29ea6c8397a662.tar.gz |
New release note: Network device polling.
Modified release note: Smaller local slowstart flightsize now that
buffers are larger.
-rw-r--r-- | release/doc/en_US.ISO8859-1/relnotes/article.sgml | 20 | ||||
-rw-r--r-- | release/doc/en_US.ISO8859-1/relnotes/common/new.sgml | 20 |
2 files changed, 38 insertions, 2 deletions
diff --git a/release/doc/en_US.ISO8859-1/relnotes/article.sgml b/release/doc/en_US.ISO8859-1/relnotes/article.sgml index bf72bcd..bc0219d 100644 --- a/release/doc/en_US.ISO8859-1/relnotes/article.sgml +++ b/release/doc/en_US.ISO8859-1/relnotes/article.sgml @@ -608,6 +608,21 @@ protocol or routing) can be performed on these devices. The <varname>SIOCGIFCONF</varname> ioctl may be performed on the special <filename>/dev/network</filename> node.</para> + + <para arch="i386">Selected network drivers now implement a + semi-polling mode, which makes systems much more resilient to + attacks and overloads. To enable polling, the following options + are required in a kernel configuration file: + + <programlisting>options DEVICE_POLLING +options HZ=1000 # not compulsory but strongly recommended</programlisting> + + The <varname>kern.polling.enable</varname> sysctl variable + will then activate polling mode; with the + <varname>kern.polling.user_frac</varname> sysctl indicating the + percentage of CPU time to be reserved for userland. The devices + initially supporting polling are &man.dc.4;, &man.fxp.4;, and + &man.sis.4;.</para> </sect3> <sect3> @@ -725,7 +740,10 @@ <varname>net.inet.tcp.sendspace</varname> and <varname>net.inet.tcp.recvspace</varname> sysctl variables, have been increased to 32K and 64K respectively. Previously, the - default for both buffer sizes was 16K. &merged;</para> + default for both buffer sizes was 16K. To try to avoid + increasing congestion, the default value for + <varname>net.inet.tcp.local_slowstart_flightsize</varname> has + been changed from infinity to 4. &merged;</para> <para>TCP now supports RFC 1948 (Defending Against Sequence Number Attacks). This functionality is controlled by the diff --git a/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml b/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml index bf72bcd..bc0219d 100644 --- a/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml +++ b/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml @@ -608,6 +608,21 @@ protocol or routing) can be performed on these devices. The <varname>SIOCGIFCONF</varname> ioctl may be performed on the special <filename>/dev/network</filename> node.</para> + + <para arch="i386">Selected network drivers now implement a + semi-polling mode, which makes systems much more resilient to + attacks and overloads. To enable polling, the following options + are required in a kernel configuration file: + + <programlisting>options DEVICE_POLLING +options HZ=1000 # not compulsory but strongly recommended</programlisting> + + The <varname>kern.polling.enable</varname> sysctl variable + will then activate polling mode; with the + <varname>kern.polling.user_frac</varname> sysctl indicating the + percentage of CPU time to be reserved for userland. The devices + initially supporting polling are &man.dc.4;, &man.fxp.4;, and + &man.sis.4;.</para> </sect3> <sect3> @@ -725,7 +740,10 @@ <varname>net.inet.tcp.sendspace</varname> and <varname>net.inet.tcp.recvspace</varname> sysctl variables, have been increased to 32K and 64K respectively. Previously, the - default for both buffer sizes was 16K. &merged;</para> + default for both buffer sizes was 16K. To try to avoid + increasing congestion, the default value for + <varname>net.inet.tcp.local_slowstart_flightsize</varname> has + been changed from infinity to 4. &merged;</para> <para>TCP now supports RFC 1948 (Defending Against Sequence Number Attacks). This functionality is controlled by the |