From nobody Tue May 24 13:55:45 2022 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2F9CD1AEFF20 for ; Tue, 24 May 2022 13:55:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L6whL0sKJz4ZWh; Tue, 24 May 2022 13:55:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653400546; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=v/PwzmotiOYxSt2Y3bkOE4StPtKt/bDQ5otMulJ07SM=; b=yNW2lxoWirmm1wOeI7+ouWJaRTBgfKmEqJoz4tUbtSceEcVpzsyv36l8obdJPTr4jfCfKC 2em+aD5DQ9WOQKy3DEgeV9O/yGmzbvU5ueM/WgsKZdx03g7DtU9Vg4BbArJtp0oQligrIt +XEvtSLKb6mxgSzlkJKzWT4NhvOFJpRVc0LydR2Vs3dVBsRKWpVFRtGkBiNzsi+3RlTwjN r4k9a4sqCla2Ftv2Fxwh5c8B3lz2w3+6Rdohig3le7wULZHtTOpmz+x55J+xamluLNH6MX pef3fuOkKgfvVxNNg0ajjvV44IswU2RucRFBEERn2YtQMUYaNf8sRUqiZ6APZg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id F0FED25A73; Tue, 24 May 2022 13:55:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24ODtjlD065365; Tue, 24 May 2022 13:55:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24ODtjbM065364; Tue, 24 May 2022 13:55:45 GMT (envelope-from git) Date: Tue, 24 May 2022 13:55:45 GMT Message-Id: <202205241355.24ODtjbM065364@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: f164c0c4a8 - main - Remove references to net.inet.tcp.inflight* List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-doc-all@freebsd.org X-BeenThere: dev-commits-doc-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f164c0c4a87ea07820bd10432a0f65c1fbcd5baa Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653400546; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=v/PwzmotiOYxSt2Y3bkOE4StPtKt/bDQ5otMulJ07SM=; b=vAqnUsF/3b9YA9S7qsw3HU0PtectjiAbdTICzcomMSkz/6KX1J3Rm28BTiI5VDbUDUv7iP m+fcqK8W9I5FYNmymKvxzrV2EQvFtK0Xht/MihiINcakmyVBXIUxMtI27RdMw34ERvqK/h Up89U8Z4uRzjPYjiE3ayHo0h1lkab2EcKKAA3XdUl+CLxO+VP33GCDqnurAHCI4KcgxdUA xhWBJHLQtVrfRMCYSucMekR+KvEN5PBNvDwkV/jzjUlI8lyPsa6KVHYh5iS+UkqovypXr2 2UJN51qVCCpFg8UaBInaipU6hYOSPkg+5c4O/Z5TQOQjri7MnrcyjJ+Vd/XWzg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653400546; a=rsa-sha256; cv=none; b=Rg8aR6iE/MVAQC6eacQXRvs/itUqThe81E1ul1EML1e/jTxtUpTHmQbhQsDw/PAKTq+tYk CXNCaDfCWOe2A4c1cBv5tnxT01ch16g6Xn1f8isoM6Bij8nmQHB6tuLV7h8zGWaSY2OOuF ohIlDD9ujgnYqzUl1G+GOzS3Hst8Yfu5qa+Isrldw+6LfC/uG6gW/bp42s3rqWYQftVQS4 BwIe/BfvUiSNIv+uvDadGRNPavNEPB5pUSFwKdCAN1eRGcd1qiyNx7v0B3gUA/RPSm9IDp fMp649wLkLZXIBq8/DArWeLeT+2BBbJKMWHLlsmg+Mi6B+Nqk25TIwIJ4V5g0A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by 0mp: URL: https://cgit.FreeBSD.org/doc/commit/?id=f164c0c4a87ea07820bd10432a0f65c1fbcd5baa commit f164c0c4a87ea07820bd10432a0f65c1fbcd5baa Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2022-05-24 13:52:49 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2022-05-24 13:52:49 +0000 Remove references to net.inet.tcp.inflight* Those variables were removed over 12 years ago. See the 1c18314d17c6ce5 ("Remove the TCP inflight bandwidth limiter...") commit in the src tree. --- .../content/en/books/handbook/config/_index.adoc | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/documentation/content/en/books/handbook/config/_index.adoc b/documentation/content/en/books/handbook/config/_index.adoc index 5fcc5a350f..57e8faf96f 100644 --- a/documentation/content/en/books/handbook/config/_index.adoc +++ b/documentation/content/en/books/handbook/config/_index.adoc @@ -1540,26 +1540,6 @@ A value of `10000`, `20000` or `30000` may be reasonable. Consider firewall effe Some firewalls may block large ranges of ports, usually low-numbered ports, and expect systems to use higher ranges of ports for outgoing connections. For this reason, it is not recommended that the value of `net.inet.ip.portrange.first` be lowered. -==== `TCP` Bandwidth Delay Product - -`TCP` bandwidth delay product limiting can be enabled by setting the `net.inet.tcp.inflight.enable` man:sysctl[8] variable to `1`. -This instructs the system to attempt to calculate the bandwidth delay product for each connection and limit the amount of data queued to the network to just the amount required to maintain optimum throughput. - -This feature is useful when serving data over modems, Gigabit Ethernet, high speed `WAN` links, or any other link with a high bandwidth delay product, especially when also using window scaling or when a large send window has been configured. -When enabling this option, also set `net.inet.tcp.inflight.debug` to `0` to disable debugging. -For production use, setting `net.inet.tcp.inflight.min` to at least `6144` may be beneficial. -Setting high minimums may effectively disable bandwidth limiting, depending on the link. -The limiting feature reduces the amount of data built up in intermediate route and switch packet queues and reduces the amount of data built up in the local host's interface queue. -With fewer queued packets, interactive connections, especially over slow modems, will operate with lower _Round Trip Times_. -This feature only effects server side data transmission such as uploading. -It has no effect on data reception or downloading. - -Adjusting `net.inet.tcp.inflight.stab` is _not_ recommended. -This parameter defaults to `20`, representing 2 maximal packets added to the bandwidth delay product window calculation. -The additional window is required to stabilize the algorithm and improve responsiveness to changing conditions, but it can also result in higher man:ping[8] times over slow links, though still much lower than without the inflight algorithm. -In such cases, try reducing this parameter to `15`, `10`, or `5` and reducing `net.inet.tcp.inflight.min` to a value such as `3500` to get the desired effect. -Reducing these parameters should be done as a last resort only. - === Virtual Memory ==== `kern.maxvnodes`