diff mbox series

[ovs-dev] ovs-vswitchd: Update limits section in manpage.

Message ID 20190430235150.11936-1-blp@ovn.org
State Accepted
Commit 4224b9cf8fdba23fa35c1894eae42fd953a3780b
Headers show
Series [ovs-dev] ovs-vswitchd: Update limits section in manpage. | expand

Commit Message

Ben Pfaff April 30, 2019, 11:51 p.m. UTC
Reported-by: William Konitzer <wkonitzer@mirantis.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
---
 vswitchd/ovs-vswitchd.8.in | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

Comments

Numan Siddique May 10, 2019, 9:03 a.m. UTC | #1
On Wed, May 1, 2019 at 5:23 AM Ben Pfaff <blp@ovn.org> wrote:

> Reported-by: William Konitzer <wkonitzer@mirantis.com>
> Signed-off-by: Ben Pfaff <blp@ovn.org>
>

Acked-by: Numan Siddique <nusiddiq@redhat.com>


> ---
>  vswitchd/ovs-vswitchd.8.in | 12 +++++++-----
>  1 file changed, 7 insertions(+), 5 deletions(-)
>
> diff --git a/vswitchd/ovs-vswitchd.8.in b/vswitchd/ovs-vswitchd.8.in
> index 901f75e6f300..fcf22244a60f 100644
> --- a/vswitchd/ovs-vswitchd.8.in
> +++ b/vswitchd/ovs-vswitchd.8.in
> @@ -319,13 +319,12 @@ limits assume the use of the Linux kernel datapath.
>  \fBovs\-vswitchd\fR started through \fBovs\-ctl\fR(8) provides a limit of
> 65535
>  file descriptors.  The limits on the number of bridges and ports is
> decided by
>  the availability of file descriptors.  With the Linux kernel datapath,
> creation
> -of a single bridge consumes three file descriptors and adding a port
> consumes
> -"n-handler-threads" file descriptors per bridge port.  Performance will
> degrade
> -beyond 1,024 ports per bridge due to fixed hash table sizing.  Other
> platforms
> +of a single bridge consumes three file descriptors and each port
> +consumes one additional file descriptor.  Other platforms
>  may have different limitations.
>  .
>  .IP \(bu
> -2,048 MAC learning entries per bridge, by default.  (This is
> +8,192 MAC learning entries per bridge, by default.  (This is
>  configurable via \fBother\-config:mac\-table\-size\fR in the
>  \fBBridge\fR table.  See \fBovs\-vswitchd.conf.db\fR(5) for details.)
>  .
> @@ -351,7 +350,10 @@ time linear in the number of flows.
>  32 mirrors per bridge.
>  .
>  .IP \(bu
> -15 bytes for the name of a port.  (This is a Linux kernel limitation.)
> +15 bytes for the name of a port, for ports implemented in the Linux
> +kernel.  Ports implemented in userspace, such as patch ports, do not
> +have an arbitrary length limitation.  OpenFlow also limit port names
> +to 15 bytes.
>  .
>  .SH "SEE ALSO"
>  .BR ovs\-appctl (8),
> --
> 2.20.1
>
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>
Ben Pfaff May 10, 2019, 1:51 p.m. UTC | #2
On Fri, May 10, 2019 at 02:33:29PM +0530, Numan Siddique wrote:
> On Wed, May 1, 2019 at 5:23 AM Ben Pfaff <blp@ovn.org> wrote:
> 
> > Reported-by: William Konitzer <wkonitzer@mirantis.com>
> > Signed-off-by: Ben Pfaff <blp@ovn.org>
> >
> 
> Acked-by: Numan Siddique <nusiddiq@redhat.com>

Thanks, applied to master.
diff mbox series

Patch

diff --git a/vswitchd/ovs-vswitchd.8.in b/vswitchd/ovs-vswitchd.8.in
index 901f75e6f300..fcf22244a60f 100644
--- a/vswitchd/ovs-vswitchd.8.in
+++ b/vswitchd/ovs-vswitchd.8.in
@@ -319,13 +319,12 @@  limits assume the use of the Linux kernel datapath.
 \fBovs\-vswitchd\fR started through \fBovs\-ctl\fR(8) provides a limit of 65535
 file descriptors.  The limits on the number of bridges and ports is decided by
 the availability of file descriptors.  With the Linux kernel datapath, creation
-of a single bridge consumes three file descriptors and adding a port consumes
-"n-handler-threads" file descriptors per bridge port.  Performance will degrade
-beyond 1,024 ports per bridge due to fixed hash table sizing.  Other platforms
+of a single bridge consumes three file descriptors and each port
+consumes one additional file descriptor.  Other platforms
 may have different limitations.
 .
 .IP \(bu
-2,048 MAC learning entries per bridge, by default.  (This is
+8,192 MAC learning entries per bridge, by default.  (This is
 configurable via \fBother\-config:mac\-table\-size\fR in the
 \fBBridge\fR table.  See \fBovs\-vswitchd.conf.db\fR(5) for details.)
 .
@@ -351,7 +350,10 @@  time linear in the number of flows.
 32 mirrors per bridge.
 .
 .IP \(bu
-15 bytes for the name of a port.  (This is a Linux kernel limitation.)
+15 bytes for the name of a port, for ports implemented in the Linux
+kernel.  Ports implemented in userspace, such as patch ports, do not
+have an arbitrary length limitation.  OpenFlow also limit port names
+to 15 bytes.
 .
 .SH "SEE ALSO"
 .BR ovs\-appctl (8),