[ovs-dev] [PATCH 1/1] netdev IVSHMEM shared memory usage documentation

2015-06-19 Thread Polehn, Mike A
This adds documentation for DPDK netdev to do an IVSHMEM shared memory to host app or VM app test using current OVS code. This example allows people to do learn how it is done, so that they can develop their own shared IVSHMEM memory applications. Also adds knowledge to better system setup for

Re: [ovs-dev] [Patch] Documentation for DPDK IVSHMEM VM Communications

2014-09-03 Thread Polehn, Mike A
SHMEM? Mike -Original Message- From: Pravin Shelar [mailto:pshe...@nicira.com] Sent: Friday, August 29, 2014 3:54 PM To: Polehn, Mike A Cc: d...@openvswitch.com Subject: Re: [ovs-dev] [Patch] Documentation for DPDK IVSHMEM VM Communications On Fri, Aug 15, 2014 at 7:07 AM, Polehn, Mike A

[ovs-dev] [Patch] Documentation for DPDK IVSHMEM VM Communications

2014-08-15 Thread Polehn, Mike A
Adds documentation on how to run IVSHMEM communication through VM. Signed-off-by: Mike A. Polehn diff --git a/INSTALL.DPDK b/INSTALL.DPDK index 4551f4c..8d866e9 100644 --- a/INSTALL.DPDK +++ b/INSTALL.DPDK @@ -19,10 +19,14 @@ Recommended to use DPDK 1.6. DPDK: Set dir i.g.: export DPDK_DIR=/

[ovs-dev] [Patch] Fixes DPDK Queue size for IVSHMEM VM communications

2014-08-15 Thread Polehn, Mike A
Separates loop list process size from the endpoint DPDK queue size. Corrected DPDK queue size to be a power of 2 which allows dpdkr interface to be created. Increased queue size to improve zero loss data rate. Changed NIC queue size comment to make NIC queue size formula more clear. Signed-off-by

Re: [ovs-dev] [PATCH v2 5/5] netdev-dpdk: Add OVS_UNLIKELY annotations in dpdk_do_tx_copy().

2014-06-30 Thread Polehn, Mike A
These are already in the git repository code. Mike Polehn -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Daniele Di Proietto Sent: Monday, June 30, 2014 10:00 AM To: Ryan Wilson Cc: dev@openvswitch.org Subject: Re: [ovs-dev] [PATCH v2 5/5] netdev-dpdk: Add

[ovs-dev] [Patch v2 1/1] PMD SMP DPDK TX queue added with packet output surge adsorption

2014-06-27 Thread Polehn, Mike A
Version 2: Changes: Rebased due to recent changes in code. Made coding style changes based on feedback from Ben Pfaff. Put in a DPDK queue to receive multiple SMP input from vSwitch for NIC TX output. Eliminated the inside polling loop SMP TX output lock (DPDK queue handles SMP). Reused SMP tx-lo

Re: [ovs-dev] PATCH [1/1] High speed PMD physical NIC queue size, resubmit

2014-06-26 Thread Polehn, Mike A
may think that 2048 is the largest size possible. This is to give a hint of what values the defined value can be set to. Mike Polehn -Original Message- From: Pravin Shelar [mailto:pshe...@nicira.com] Sent: Thursday, June 26, 2014 2:18 PM To: Polehn, Mike A Cc: dev@openvswitch.org

Re: [ovs-dev] [PATCH 1/1] PMD dpdk TX output SMP dpdk queue use and packet surge assoprtion.

2014-06-26 Thread Polehn, Mike A
Sent: Wednesday, June 25, 2014 1:48 PM To: Polehn, Mike A Cc: dev@openvswitch.org Subject: Re: [ovs-dev] [PATCH 1/1] PMD dpdk TX output SMP dpdk queue use and packet surge assoprtion. On Fri, Jun 20, 2014 at 10:24:33PM +0000, Polehn, Mike A wrote: > Put in a DPDK queue to receive from multiple core S

Re: [ovs-dev] PATCH [1/1] High speed PMD physical NIC queue size, resubmit

2014-06-26 Thread Polehn, Mike A
ver. Mike Polehn -Original Message- From: Pravin Shelar [mailto:pshe...@nicira.com] Sent: Wednesday, June 25, 2014 4:19 PM To: Polehn, Mike A Cc: dev@openvswitch.org Subject: Re: [ovs-dev] PATCH [1/1] High speed PMD physical NIC queue size, resubmit On Thu, Jun 19, 2014 at 3:58 PM, Pol

[ovs-dev] [PATCH 1/1] PMD dpdk TX output SMP dpdk queue use and packet surge assoprtion.

2014-06-20 Thread Polehn, Mike A
Put in a DPDK queue to receive from multiple core SMP input from vSwitch for NIC TX output. Eliminated the inside polling loop SMP TX output lock (DPDK queue handles SMP). Added a SMP lock for non-polling operation to allow TX output by the non-polling thread when interface not being polled

Re: [ovs-dev] [Backport] Backport max-idle to branch-1.10 - branch-2.1.

2014-06-20 Thread Polehn, Mike A
MAX_BATCH]; -Original Message- From: Ethan Jackson [mailto:et...@nicira.com] Sent: Friday, June 20, 2014 11:11 AM To: Polehn, Mike A Cc: Alex Wang; dev@openvswitch.org Subject: Re: [ovs-dev] [Backport] Backport max-idle to branch-1.10 - branch-2.1. > I think the setting of 1.5 seconds i

Re: [ovs-dev] [Backport] Backport max-idle to branch-1.10 - branch-2.1.

2014-06-20 Thread Polehn, Mike A
The idle timeout of 1.5 seconds for exact match flows creates big problems for testing. I suspect that other than for internal generated flows within the system, that 1.5 seconds is not a reasonable timeout. I worry about thrashing of the flows in a congested setting where the load is so high th

[ovs-dev] PATCH [1/1] High speed PMD physical NIC queue size, resubmit

2014-06-19 Thread Polehn, Mike A
Large TX and RX queues are needed for high speed 10 GbE physical NICS. Observed a 250% zero loss improvement over small NIC queue test for A port to port flow test. Signed-off-by: Mike A. Polehn diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c index fbdb6b3..d1bcc73 100644 --- a/lib/netdev-dp

Re: [ovs-dev] PATCH [1/1] High speed PMD physical NIC queue size

2014-06-19 Thread Polehn, Mike A
this. -Original Message- From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Polehn, Mike A Sent: Thursday, June 19, 2014 2:45 PM To: Ethan Jackson Cc: dev@openvswitch.org Subject: Re: [ovs-dev] PATCH [1/1] High speed PMD physical NIC queue size I coming from an earlier version that

Re: [ovs-dev] PATCH [1/1] High speed PMD physical NIC queue size

2014-06-19 Thread Polehn, Mike A
Message- From: Ethan Jackson [mailto:et...@nicira.com] Sent: Thursday, June 19, 2014 2:54 PM To: Polehn, Mike A Cc: dev@openvswitch.org Subject: Re: [ovs-dev] PATCH [1/1] High speed PMD physical NIC queue size Also another question. Does this patch result in a measurable improvement in any

Re: [ovs-dev] PATCH [1/1] High speed PMD physical NIC queue size

2014-06-19 Thread Polehn, Mike A
queue sizing formula in the comment that is not obvious. Mike Polehn -Original Message- From: Ethan Jackson [mailto:et...@nicira.com] Sent: Thursday, June 19, 2014 10:21 AM To: Polehn, Mike A Cc: dev@openvswitch.org Subject: Re: [ovs-dev] PATCH [1/1] High speed PMD physical NIC queue size

[ovs-dev] PATCH [1/1] High speed PMD physical NIC queue size

2014-06-19 Thread Polehn, Mike A
Large TX and RX queues are needed for high speed 10 GbE physical NICS. Signed-off-by: Mike A. Polehn diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c index fbdb6b3..d1bcc73 100644 --- a/lib/netdev-dpdk.c +++ b/lib/netdev-dpdk.c @@ -70,6 +70,9 @@ static struct vlog_rate_limit rl = VLOG_RATE_LIM

Re: [ovs-dev] [PATCH v2] dpif-netdev: Polling threads directly call ofproto upcall functions.

2014-06-17 Thread Polehn, Mike A
A good reason to offload an ofproto upcall function in polling mode is to allow a different CPU to do a time consuming inexact rule matches while the polling thread maintains fast packet switching. At low data and packet rates or low rate Ethernet interface (1 GbE and lower) this does not matter

[ovs-dev] Patch [ 1/1] User space dpdk setup documentation addition, rev 2

2014-06-09 Thread Polehn, Mike A
Added details to dpdk poll mode setup and use to make it easier for some not familiar to get it operating. Signed-off-by: Mike A. Polehn diff --git a/INSTALL.DPDK b/INSTALL.DPDK index 3e0247a..df497fb 100644 --- a/INSTALL.DPDK +++ b/INSTALL.DPDK @@ -17,7 +17,8 @@ Building and Installing: Recom

Re: [ovs-dev] Patch [ 1/1] User space dpdk setup documentation addition

2014-06-09 Thread Polehn, Mike A
Yes, good catch! Mike Polehn -Original Message- From: John W. Linville [mailto:linvi...@tuxdriver.com] Sent: Monday, June 09, 2014 8:16 AM To: Polehn, Mike A Cc: dev@openvswitch.org Subject: Re: [ovs-dev] Patch [ 1/1] User space dpdk setup documentation addition On Mon, Jun 09, 2014 at

[ovs-dev] Patch [ 1/1] User space dpdk setup documentation addition, rev 1

2014-06-09 Thread Polehn, Mike A
Added details to dpdk poll mode setup and use to make it easier for some not familiar to get it operating. Signed-off-by: Mike A. Polehn diff --git a/INSTALL.DPDK b/INSTALL.DPDK index 3e0247a..689d95d 100644 --- a/INSTALL.DPDK +++ b/INSTALL.DPDK @@ -17,7 +17,8 @@ Building and Installing: Recom

[ovs-dev] Patch [ 1/1] User space dpdk setup documentation addition

2014-06-09 Thread Polehn, Mike A
Added details to dpdk poll mode setup and use to make it easier for some not familiar to get it operating. Signed-off-by: Mike A. Polehn diff --git a/INSTALL.DPDK b/INSTALL.DPDK index 3e0247a..f55ae8b 100644 --- a/INSTALL.DPDK +++ b/INSTALL.DPDK @@ -17,7 +17,8 @@ Building and Installing: Recom