[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-11-08 Thread Wang, Zhihong
> > > The setup where it goes wrong: > > > 1. Xeon E5-2699, HT on, turbo off, 1GB hugepage for both host and guest > > On the Haswell machine (on which I don't have BIOS access), HT is on, > > but I unplug siblings at runtime. > > I also have 1G pages on both sides, and I isolate the cores used by

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-11-04 Thread Yuanhan Liu
On Fri, Nov 04, 2016 at 12:22:47PM +0100, Maxime Coquelin wrote: > > > Hi Maxime, > > I did a little more macswap test and found out more stuff here: > >>>Thanks for doing more tests. > >>> > > 1. I did loopback test on another HSW machine with the same H/W, > and i

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-11-04 Thread Maxime Coquelin
er.org; Pierre Pfister (ppfister) >> ; Xie, Huawei ; dev at >> dpdk.org; >> vkaplans at redhat.com; mst at redhat.com >> Subject: Re: [dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support >> to the >> TX path >> >> >> >>>>

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-11-04 Thread Wang, Zhihong
> vkaplans at redhat.com; mst at redhat.com > Subject: Re: [dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support > to the TX path > > > > On 11/04/2016 01:30 PM, Wang, Zhihong wrote: > > > > > >> -Original Message- > >> Fro

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-11-04 Thread Maxime Coquelin
On 11/04/2016 12:36 PM, Yuanhan Liu wrote: > On Fri, Nov 04, 2016 at 12:22:47PM +0100, Maxime Coquelin wrote: >> >> >> Hi Maxime, >> >> I did a little more macswap test and found out more stuff here: > Thanks for doing more tests. > >> >> 1. I did loopback test on anot

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-11-04 Thread Wang, Zhihong
> vkaplans at redhat.com; mst at redhat.com > Subject: Re: [dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to > the > TX path > > > > >>>> Hi Maxime, > >>>> > >>>> I did a little more macswap test and found out more

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-11-04 Thread Maxime Coquelin
Hi Maxime, I did a little more macswap test and found out more stuff here: >>> Thanks for doing more tests. >>> 1. I did loopback test on another HSW machine with the same H/W, and indirect_desc on and off seems have close perf 2. So I checked the gcc

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-11-04 Thread Wang, Zhihong
> vkaplans at redhat.com; mst at redhat.com > Subject: Re: [dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support > to the TX path > > > > On 11/04/2016 08:57 AM, Maxime Coquelin wrote: > > Hi Zhihong, > > > > On 11/04/2016 08:20 AM, Wang, Zhiho

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-11-04 Thread Maxime Coquelin
2016 4:11 PM >>> To: Wang, Zhihong ; Yuanhan Liu >>> >>> Cc: stephen at networkplumber.org; Pierre Pfister (ppfister) >>> ; Xie, Huawei ; dev at >>> dpdk.org; >>> vkaplans at redhat.com; mst at redhat.com >>> Subject: Re: [dpdk-dev] [

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-11-04 Thread Maxime Coquelin
phen at networkplumber.org; Pierre Pfister (ppfister) >> ; Xie, Huawei ; dev at >> dpdk.org; >> vkaplans at redhat.com; mst at redhat.com >> Subject: Re: [dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support >> to the TX path >> >> >> >> On 11/

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-11-04 Thread Maxime Coquelin
hat.com; dev at dpdk.org; vkaplans at redhat.com > Subject: Re: [dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to > the TX path > > >> >> The strange thing with both of our figures is that this is below from >> what I obtain with my SandyBridge machine. The SB

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-11-04 Thread Wang, Zhihong
dpdk.org; > vkaplans at redhat.com; mst at redhat.com > Subject: Re: [dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support > to the TX path > > > > On 11/02/2016 11:51 AM, Maxime Coquelin wrote: > > > > > > On 10/31/2016 11:01 AM, Wang, Zhihong wrote: > &g

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-11-04 Thread Xu, Qian Q
-Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Maxime Coquelin Sent: Thursday, November 3, 2016 4:11 PM To: Wang, Zhihong ; Yuanhan Liu Cc: mst at redhat.com; dev at dpdk.org; vkaplans at redhat.com Subject: Re: [dpdk-dev] [PATCH v4] vhost: Add indirect

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-11-03 Thread Maxime Coquelin
>>> To: Wang, Zhihong ; Yuanhan Liu >>> >>> Cc: stephen at networkplumber.org; Pierre Pfister (ppfister) >>> ; Xie, Huawei ; dev at >>> dpdk.org; >>> vkaplans at redhat.com; mst at redhat.com >>> Subject: Re: [dpdk-dev] [PATCH v4] vhost

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-11-02 Thread Maxime Coquelin
er.org; Pierre Pfister (ppfister) >> ; Xie, Huawei ; dev at >> dpdk.org; >> vkaplans at redhat.com; mst at redhat.com >> Subject: Re: [dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support >> to the TX path >> >> >> >> On 10/28/

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-11-02 Thread Yuanhan Liu
On Tue, Nov 01, 2016 at 10:39:35AM +0100, Thomas Monjalon wrote: > 2016-11-01 16:15, Yuanhan Liu: > > On Fri, Oct 28, 2016 at 09:58:51AM +0200, Maxime Coquelin wrote: > > > Agree, what we need is to be able to disable Virtio PMD features > > > without having to rebuild the PMD. > > > > I want this

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-11-01 Thread Yuanhan Liu
On Fri, Oct 28, 2016 at 09:58:51AM +0200, Maxime Coquelin wrote: > >From my experience, and as Michael pointed out, the best mode for small > >packets is obviously > >ANY_LAYOUT so it uses a single descriptor per packet. > Of course, having a single descriptor is in theory the best way. > But, in

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-11-01 Thread Thomas Monjalon
2016-11-01 16:15, Yuanhan Liu: > On Fri, Oct 28, 2016 at 09:58:51AM +0200, Maxime Coquelin wrote: > > Agree, what we need is to be able to disable Virtio PMD features > > without having to rebuild the PMD. > > I want this feature (or more precisely, ability) long times ago. > For example, I'd wish

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-10-31 Thread Wang, Zhihong
> vkaplans at redhat.com; mst at redhat.com > Subject: Re: [dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support > to the TX path > > > > On 10/28/2016 02:49 AM, Wang, Zhihong wrote: > > > >> > -Original Message- > >> > From

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-10-28 Thread Maxime Coquelin
tober 27, 2016 5:55 PM >>> To: Wang, Zhihong ; Yuanhan Liu >>> ; stephen at networkplumber.org; Pierre >>> Pfister (ppfister) >>> Cc: Xie, Huawei ; dev at dpdk.org; >>> vkaplans at redhat.com; mst at redhat.com >>> Subject: Re: [dpdk-dev] [PATCH v

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-10-28 Thread Maxime Coquelin
t;> > stephen at networkplumber.org; Pierre Pfister (ppfister) >> > ; Xie, Huawei ; dev at >> > dpdk.org; >> > vkaplans at redhat.com; mst at redhat.com >> > Subject: Re: [dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support >> > to the TX path &g

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-10-28 Thread Pierre Pfister (ppfister)
rkplumber.org; Pierre >> Pfister (ppfister) >> Cc: Xie, Huawei ; dev at dpdk.org; >> vkaplans at redhat.com; mst at redhat.com >> Subject: Re: [dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support >> to the TX path >> >> >> >> On 1

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-10-28 Thread Xu, Qian Q
PM To: Yuanhan Liu Cc: mst at redhat.com; dev at dpdk.org; vkaplans at redhat.com Subject: Re: [dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path On 10/27/2016 12:33 PM, Yuanhan Liu wrote: > On Thu, Oct 27, 2016 at 11:10:34AM +0200, Maxime Coquelin wrote: >>

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-10-28 Thread Wang, Zhihong
dpdk.org; > vkaplans at redhat.com; mst at redhat.com > Subject: Re: [dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support > to the TX path > > On Thu, Oct 27, 2016 at 12:35:11PM +0200, Maxime Coquelin wrote: > > > > > > On 10/27/2016 12:33 PM, Yuanhan Liu wro

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-10-27 Thread Yuanhan Liu
gt; >>Maxime > >> > >>> > >>> > >>>Thanks > >>>Zhihong > >>> > >>>>-Original Message- > >>>>From: Maxime Coquelin [mailto:maxime.coquelin at redhat.com] > >>>>Sent: Monday, October 17,

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-10-27 Thread Yuanhan Liu
>Thanks > >Zhihong > > > >>-Original Message- > >>From: Maxime Coquelin [mailto:maxime.coquelin at redhat.com] > >>Sent: Monday, October 17, 2016 10:15 PM > >>To: Yuanhan Liu > >>Cc: Wang, Zhihong ; Xie, Huawei &g

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-10-27 Thread Maxime Coquelin
-Original Message- >>>> From: Maxime Coquelin [mailto:maxime.coquelin at redhat.com] >>>> Sent: Monday, October 17, 2016 10:15 PM >>>> To: Yuanhan Liu >>>> Cc: Wang, Zhihong ; Xie, Huawei >>>> ; dev at dpdk.org; vkaplans at redhat.com;

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-10-27 Thread Maxime Coquelin
I'll try -rc1/-rc2 on my platform, and let you know. >> >> Thanks, >> Maxime >> >>> >>> >>> Thanks >>> Zhihong >>> >>>> -Original Message- >>>> From: Maxime Coquelin [mailto:maxime.coque

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-10-27 Thread Maxime Coquelin
ime Coquelin [mailto:maxime.coquelin at redhat.com] >>> Sent: Monday, October 17, 2016 10:15 PM >>> To: Yuanhan Liu >>> Cc: Wang, Zhihong ; Xie, Huawei >>> ; dev at dpdk.org; vkaplans at redhat.com; >>> mst at redhat.com; stephen at networkplumber.org >

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-10-27 Thread Maxime Coquelin
uelin [mailto:maxime.coquelin at redhat.com] >> Sent: Monday, October 17, 2016 10:15 PM >> To: Yuanhan Liu >> Cc: Wang, Zhihong ; Xie, Huawei >> ; dev at dpdk.org; vkaplans at redhat.com; >> mst at redhat.com; stephen at networkplumber.org >> Subject: Re: [dpdk-

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-10-27 Thread Wang, Zhihong
; vkaplans at redhat.com; mst at redhat.com > Subject: Re: [dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support > to the TX path > > > > On 10/27/2016 11:10 AM, Maxime Coquelin wrote: > > Hi Zhihong, > > > > On 10/27/2016 11:00 AM, Wang, Zhihong wro

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-10-27 Thread Wang, Zhihong
om; > mst at redhat.com; stephen at networkplumber.org > Subject: Re: [dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support > to the TX path > > > > On 10/17/2016 03:21 PM, Yuanhan Liu wrote: > > On Mon, Oct 17, 2016 at 01:23:23PM +0200, Maxime Coquelin wrote: >

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-10-17 Thread Yuanhan Liu
On Mon, Oct 17, 2016 at 01:23:23PM +0200, Maxime Coquelin wrote: > >On my side, I just setup 2 Windows 2016 VMs, and confirm the issue. > >I'll continue the investigation early next week. > > The root cause is identified. > When INDIRECT_DESC feature is negotiated, Windows guest uses indirect > fo

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-10-17 Thread Maxime Coquelin
On 10/17/2016 03:21 PM, Yuanhan Liu wrote: > On Mon, Oct 17, 2016 at 01:23:23PM +0200, Maxime Coquelin wrote: >>> On my side, I just setup 2 Windows 2016 VMs, and confirm the issue. >>> I'll continue the investigation early next week. >> >> The root cause is identified. >> When INDIRECT_DESC feat

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-10-17 Thread Maxime Coquelin
6 4:43 PM >>> To: yuanhan.liu at linux.intel.com; Xie, Huawei ; >>> dev at dpdk.org >>> Cc: vkaplans at redhat.com; mst at redhat.com; >>> stephen at networkplumber.org; Maxime Coquelin >>> >>> Subject: [dpdk-dev] [PATCH v4] vhost: Add indirect d

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-10-14 Thread Maxime Coquelin
; dev at dpdk.org >> Cc: vkaplans at redhat.com; mst at redhat.com; >> stephen at networkplumber.org; Maxime Coquelin >> >> Subject: [dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to >> the TX path >> >> Indirect descriptors are usually suppor

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-10-14 Thread Wang, Zhihong
hat.com; > stephen at networkplumber.org > Subject: Re: [dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support > to the TX path > > > > > -Original Message- > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Maxime Coquelin > > Sent: T

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-10-14 Thread Wang, Zhihong
.com; > stephen at networkplumber.org; Maxime Coquelin > > Subject: [dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to > the TX path > > Indirect descriptors are usually supported by virtio-net devices, > allowing to dispatch a larger number of requests. > > When th

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-09-27 Thread Yuanhan Liu
On Tue, Sep 27, 2016 at 10:42:49AM +0200, Maxime Coquelin wrote: > Indirect descriptors are usually supported by virtio-net devices, > allowing to dispatch a larger number of requests. > > When the virtio device sends a packet using indirect descriptors, > only one slot is used in the ring, even f

[dpdk-dev] [PATCH v4] vhost: Add indirect descriptors support to the TX path

2016-09-27 Thread Maxime Coquelin
Indirect descriptors are usually supported by virtio-net devices, allowing to dispatch a larger number of requests. When the virtio device sends a packet using indirect descriptors, only one slot is used in the ring, even for large packets. The main effect is to improve the 0% packet loss benchma