]> git.proxmox.com Git - mirror_frr.git/commitdiff
doc: add documentation for write- and read-quanta
authorQuentin Young <qlyoung@cumulusnetworks.com>
Wed, 16 Oct 2019 14:41:54 +0000 (14:41 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Wed, 16 Oct 2019 14:41:54 +0000 (14:41 +0000)
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
doc/user/bgp.rst

index c99a5c49a3f70383e820021422c74ec6626e0c55..bb60bad9476f288c05b4977cb36e9f307060e474 100644 (file)
@@ -2167,6 +2167,8 @@ Dumping Messages and Routing Tables
 Other BGP Commands
 ------------------
 
+The following are available in the top level *enable* mode:
+
 .. index:: clear bgp \*
 .. clicmd:: clear bgp \*
 
@@ -2202,6 +2204,24 @@ Other BGP Commands
 
    Clear peer using soft reconfiguration in this address-family and sub-address-family.
 
+The following are available in the ``router bgp`` mode:
+
+.. index:: write-quanta (1-64)
+.. clicmd:: write-quanta (1-64)
+
+   BGP message Tx I/O is vectored. This means that multiple packets are written
+   to the peer socket at the same time each I/O cycle, in order to minimize
+   system call overhead. This value controls how many are written at a time.
+   Under certain load conditions, reducing this value could make peer traffic
+   less 'bursty'. In practice, leave this settings on the default (64) unless
+   you truly know what you are doing.
+
+.. index:: read-quanta (1-10)
+.. index:: read-quanta (1-10)
+
+   Unlike Tx, BGP Rx traffic is not vectored. Packets are read off the wire one
+   at a time in a loop. This setting controls how many iterations the loop runs
+   for. As with write-quanta, it is best to leave this setting on the default.
 
 .. _bgp-displaying-bgp-information: