From patchwork Wed Mar 27 15:36:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leslie Monis X-Patchwork-Id: 1067143 X-Patchwork-Delegate: shemminger@vyatta.com Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="nPkFD4K7"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 44TsYH5QCfz9sPp for ; Thu, 28 Mar 2019 02:36:35 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727594AbfC0Pge (ORCPT ); Wed, 27 Mar 2019 11:36:34 -0400 Received: from mail-pf1-f180.google.com ([209.85.210.180]:41054 "EHLO mail-pf1-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726159AbfC0Pge (ORCPT ); Wed, 27 Mar 2019 11:36:34 -0400 Received: by mail-pf1-f180.google.com with SMTP id 188so4440478pfd.8 for ; Wed, 27 Mar 2019 08:36:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=iiryz0ELfumuLArCGTnnhiqYK/oau0SyEDffDSyhiSc=; b=nPkFD4K7/0IQFWGMqrfxt6jISAnLb+e5/pHhrmE7EL5+h7c36zX3SDTGDaFqwG7xfW G2pZM9btcqn6i+TfaEe6xKB6s5N2r5z1NKtmmRtLwxf9AIhhZjQKgPIdj8AhPynncsZI 71DShG1oR6YeUuCMpTjB4CmPJ+l2gPhtTl2sOvWENcuGQ0MM8M0zmwrkqPy5LQTRfSwC lVcDip/Hf0WHyVsz/Eq3anUHX/UuxUoFIJdx9hL3jjbcmZm9rqqi5sderDS9HqS+XBeZ eoJkOVK+xVilvGRfbXz7V05b5UmCjxsZzgMk5Ziyj9fHteEA+rmUtHdZUwkF7UHqIx6v 8vFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=iiryz0ELfumuLArCGTnnhiqYK/oau0SyEDffDSyhiSc=; b=EZsdvdqSVdwbYwzNozQPLkMoNiBw6NYk1FUaZatVQDiKQ/y0+/AauPIUcG2tbPjFKQ lNkNerfQ6NCQ7W8RBb+NWTvrFhoF3qFG+E1Y40SDB4h8P2UTxO7/35e1vS5Np1QMq43W Sa2V+dOXA6v7GoiT2HT5NieenkFO+bHvc19LHN86UW8dq6LvxJtNpmuaN9dCg/EqTYAz NJg3hlhgTrJ211UIUdAnAdN9rpyORVd3sWkZG3xT4KZGiaa0tvyZH2CKTkzt9rmde9FV 7PYYw5T1AOreGr+mtpbuBpUqPXUTTXrzJEgeyp5pkHRwS5tBGAd902hkBQch8dIYHvdp Ovtw== X-Gm-Message-State: APjAAAU2ABqIERZdp+HEVx2D+2oAl320GnoDCtaKMizKcN+zFmAuzirX +2aKgfZpLJH6WKKzx1VAJyA= X-Google-Smtp-Source: APXvYqz/hB36OU7kj1P8EheIeXQFeX82F+B/rB0iqLZrTqRNMT+W/tkwdaGZjBBAjVETBtnPDTqWIw== X-Received: by 2002:a63:69c2:: with SMTP id e185mr34513957pgc.4.1553700993398; Wed, 27 Mar 2019 08:36:33 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:369b:7f6a:5d4e:357e:5f86:c164]) by smtp.gmail.com with ESMTPSA id b15sm33841341pgg.90.2019.03.27.08.36.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Mar 2019 08:36:32 -0700 (PDT) From: Leslie Monis To: stephen@networkplumber.org Cc: netdev@vger.kernel.org, Leslie Monis Subject: [PATCH iproute2 v2 2/2] tc: pie: update man page Date: Wed, 27 Mar 2019 21:06:06 +0530 Message-Id: <20190327153606.5524-3-lesliemonis@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190327153606.5524-1-lesliemonis@gmail.com> References: <20190327153606.5524-1-lesliemonis@gmail.com> Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Update man page to reflect the changes made in Linux. Signed-off-by: Leslie Monis --- man/man8/tc-pie.8 | 40 ++++++++++++++++++---------------------- man/man8/tc.8 | 1 + 2 files changed, 19 insertions(+), 22 deletions(-) diff --git a/man/man8/tc-pie.8 b/man/man8/tc-pie.8 index 278293bd..a302132f 100644 --- a/man/man8/tc-pie.8 +++ b/man/man8/tc-pie.8 @@ -60,10 +60,10 @@ limit on the queue size in packets. Incoming packets are dropped when this limit is reached. Default is 1000 packets. .SS target -is the expected queue delay. The default target delay is 20ms. +is the expected queue delay. The default target delay is 15ms. .SS tupdate -is the frequency at which the system drop probability is calculated. The default is 30ms. +is the frequency at which the system drop probability is calculated. The default is 15ms. .SS alpha .SS beta @@ -91,29 +91,27 @@ is turned off. .SH EXAMPLES # tc qdisc add dev eth0 root pie # tc -s qdisc show - qdisc pie 8034: dev eth0 root refcnt 2 limit 200p target 19000us tupdate 29000us alpha 2 beta 20 - Sent 7443524 bytes 7204 pkt (dropped 900, overlimits 0 requeues 0) - backlog 38998b 37p requeues 0 - prob 0.123384 delay 25000us avg_dq_rate 1464840 - pkts_in 7241 overlimit 900 dropped 0 maxq 186 ecn_mark 0 + qdisc pie 8036: dev eth0 root refcnt 2 limit 1000p target 15.0ms tupdate 16.0ms alpha 2 beta 20 + Sent 31216108 bytes 20800 pkt (dropped 80, overlimits 0 requeues 0) + backlog 16654b 11p requeues 0 + prob 0.006161 delay 15666us avg_dq_rate 1159667 + pkts_in 20811 overlimit 0 dropped 80 maxq 50 ecn_mark 0 # tc qdisc add dev eth0 root pie limit 100 target 20ms tupdate 30ms ecn # tc -s qdisc show - qdisc pie 8036: dev eth0 root refcnt 2 limit 200p target 19000 tupdate 29000 alpha 2 beta 20 ecn - Sent 2491922 bytes 2507 pkt (dropped 214, overlimits 0 requeues 0) - backlog 33728b 32p requeues 0 - prob 0.102262 delay 24000us avg_dq_rate 1464840 - pkts_in 2468 overlimit 214 dropped 0 maxq 192 ecn_mark 71 - + qdisc pie 8036: dev eth0 root refcnt 2 limit 100p target 20.0ms tupdate 32.0ms alpha 2 beta 20 ecn + Sent 6591724 bytes 4442 pkt (dropped 27, overlimits 0 requeues 0) + backlog 18168b 12p requeues 0 + prob 0.008845 delay 11348us avg_dq_rate 1342773 + pkts_in 4454 overlimit 0 dropped 27 maxq 65 ecn_mark 0 # tc qdisc add dev eth0 root pie limit 100 target 50ms tupdate 30ms bytemode # tc -s qdisc show - qdisc pie 8036: dev eth0 root refcnt 2 limit 200p target 19000 tupdate 29000 alpha 2 beta 20 ecn - Sent 2491922 bytes 2507 pkt (dropped 214, overlimits 0 requeues 0) - backlog 33728b 32p requeues 0 - prob 0.102262 delay 24000us avg_dq_rate 1464840 - pkts_in 2468 overlimit 214 dropped 0 maxq 192 ecn_mark 71 - + qdisc pie 8036: dev eth0 root refcnt 2 limit 100p target 50.0ms tupdate 32.0ms alpha 2 beta 20 bytemode + Sent 1616274 bytes 1137 pkt (dropped 0, overlimits 0 requeues 0) + backlog 13626b 9p requeues 0 + prob 0.000000 delay 0us avg_dq_rate 0 + pkts_in 1146 overlimit 0 dropped 0 maxq 23 ecn_mark 0 .SH SEE ALSO .BR tc (8), @@ -121,9 +119,7 @@ is turned off. .BR tc-red (8) .SH SOURCES - o IETF draft submission is at http://tools.ietf.org/html/draft-pan-tsvwg-pie-00 - o IEEE Conference on High Performance Switching and Routing 2013 : "PIE: A -Lightweight Control Scheme to Address the Bufferbloat Problem" + o RFC 8033: https://tools.ietf.org/html/rfc8033 .SH AUTHORS PIE was implemented by Vijay Subramanian and Mythili Prabhu, also the authors of diff --git a/man/man8/tc.8 b/man/man8/tc.8 index f98398a3..ab0bad8a 100644 --- a/man/man8/tc.8 +++ b/man/man8/tc.8 @@ -848,6 +848,7 @@ was written by Alexey N. Kuznetsov and added in Linux 2.2. .BR tc-mqprio (8), .BR tc-pfifo (8), .BR tc-pfifo_fast (8), +.BR tc-pie (8), .BR tc-red (8), .BR tc-route (8), .BR tc-sfb (8),