Re: [PATCH] vhost: Add polling mode

2016-09-04 Thread Razya Ladelsky
gt; Nider/Haifa/IBM@IBMIL, abel.gor...@gmail.com, linux- > ker...@vger.kernel.org, net...@vger.kernel.org, > virtualizat...@lists.linux-foundation.org > Date: 10/08/2014 10:45 PM > Subject: Re: [PATCH] vhost: Add polling mode > > On Sun, Aug 10, 2014 at 11:30:35AM +0300, Razya Ladels

RE: [PATCH] vhost: Add polling mode

2014-08-24 Thread Razya Ladelsky
ot;k...@vger.kernel.org" , "linux- > ker...@vger.kernel.org" , > "net...@vger.kernel.org" , > "virtualizat...@lists.linux-foundation.org" > , Yossi Kuperman1/Haifa/IBM@IBMIL > Date: 21/08/2014 05:31 PM > Subject: RE: [PATCH] vhost: Add pol

Re: [PATCH] vhost: Add polling mode

2014-08-22 Thread Zhang Haoyu
>>> > >>> > Results: >>> > >>> > Netperf, 1 vm: >>> > The polling patch improved throughput by ~33% (1516 MB/sec -> 2046 >>> > MB/sec). >>> > Number of exits/sec decreased 6x. >>> > The same improvement was shown when I tested with 3 vms running netperf >>> > (4086 MB/sec -> 5545 MB/sec). >>> >

Re: [PATCH] vhost: Add polling mode

2014-08-22 Thread Zhang Haoyu
>> > >> > Results: >> > >> > Netperf, 1 vm: >> > The polling patch improved throughput by ~33% (1516 MB/sec -> 2046 MB/sec). >> > Number of exits/sec decreased 6x. >> > The same improvement was shown when I tested with 3 vms running netperf >> > (4086 MB/sec -> 5545 MB/sec). >> > >> > filebench,

RE: [PATCH] vhost: Add polling mode

2014-08-21 Thread David Laight
From: Razya Ladelsky > "Michael S. Tsirkin" wrote on 20/08/2014 01:57:10 PM: > > > > Results: > > > > > > Netperf, 1 vm: > > > The polling patch improved throughput by ~33% (1516 MB/sec -> 2046 > > > MB/sec). > > > Number of exits/sec decreased 6x. > > > The same improvement was shown when I tes

Re: [PATCH] vhost: Add polling mode

2014-08-21 Thread Razya Ladelsky
"Michael S. Tsirkin" wrote on 20/08/2014 01:57:10 PM: > > Results: > > > > Netperf, 1 vm: > > The polling patch improved throughput by ~33% (1516 MB/sec -> 2046 MB/sec). > > Number of exits/sec decreased 6x. > > The same improvement was shown when I tested with 3 vms running netperf > > (4086

Re: [PATCH] vhost: Add polling mode

2014-08-21 Thread Razya Ladelsky
Christian Borntraeger wrote on 20/08/2014 11:41:32 AM: > > > > Results: > > > > Netperf, 1 vm: > > The polling patch improved throughput by ~33% (1516 MB/sec -> 2046 MB/sec). > > Number of exits/sec decreased 6x. > > The same improvement was shown when I tested with 3 vms running netperf >

Re: [PATCH] vhost: Add polling mode

2014-08-20 Thread Michael S. Tsirkin
On Tue, Aug 19, 2014 at 11:36:31AM +0300, Razya Ladelsky wrote: > > That was just one example. There many other possibilities. Either > > actually make the systems load all host CPUs equally, or divide > > throughput by host CPU. > > > > The polling patch adds this capability to vhost, reducing

Re: [PATCH] vhost: Add polling mode

2014-08-20 Thread Michael S. Tsirkin
On Sun, Aug 10, 2014 at 11:30:35AM +0300, Razya Ladelsky wrote: > From: Razya Ladelsky > Date: Thu, 31 Jul 2014 09:47:20 +0300 > Subject: [PATCH] vhost: Add polling mode > > When vhost is waiting for buffers from the guest driver (e.g., more packets to > send in vhost-net

Re: [PATCH] vhost: Add polling mode

2014-08-20 Thread Michael S. Tsirkin
On Wed, Aug 20, 2014 at 10:41:32AM +0200, Christian Borntraeger wrote: > On 10/08/14 10:30, Razya Ladelsky wrote: > > From: Razya Ladelsky > > Date: Thu, 31 Jul 2014 09:47:20 +0300 > > Subject: [PATCH] vhost: Add polling mode > > > > When vhost is waiting for b

Re: [PATCH] vhost: Add polling mode

2014-08-20 Thread Christian Borntraeger
On 10/08/14 10:30, Razya Ladelsky wrote: > From: Razya Ladelsky > Date: Thu, 31 Jul 2014 09:47:20 +0300 > Subject: [PATCH] vhost: Add polling mode > > When vhost is waiting for buffers from the guest driver (e.g., more packets to > send in vhost-net's transmit queue), it

Re: [PATCH] vhost: Add polling mode

2014-08-19 Thread Razya Ladelsky
> That was just one example. There many other possibilities. Either > actually make the systems load all host CPUs equally, or divide > throughput by host CPU. > The polling patch adds this capability to vhost, reducing costly exit overhead when the vm is loaded. In order to load the vm I ran

Re: [PATCH] vhost: Add polling mode

2014-08-17 Thread Michael S. Tsirkin
On Sun, Aug 17, 2014 at 03:35:39PM +0300, Razya Ladelsky wrote: > > > > > > Hi Michael, > > > > > > Sorry for the delay, had some problems with my mailbox, and I realized > > > > just now that > > > my reply wasn't sent. > > > The vm indeed ALWAYS utilized 100% cpu, whether polling was enabled

Re: [PATCH] vhost: Add polling mode

2014-08-17 Thread Razya Ladelsky
> > > > Hi Michael, > > > > Sorry for the delay, had some problems with my mailbox, and I realized > > just now that > > my reply wasn't sent. > > The vm indeed ALWAYS utilized 100% cpu, whether polling was enabled or > > not. > > The vhost thread utilized less than 100% (of the other cpu) w

Re: [PATCH] vhost: Add polling mode

2014-08-13 Thread Michael S. Tsirkin
gt; Glikson/Haifa/IBM@IBMIL, Eran Raichstein/Haifa/IBM@IBMIL, Yossi > > Kuperman1/Haifa/IBM@IBMIL, Joel Nider/Haifa/IBM@IBMIL, > > abel.gor...@gmail.com, linux-kernel@vger.kernel.org, > > net...@vger.kernel.org, virtualizat...@lists.linux-foundation.org > > Date: 12/08/2014

Re: [PATCH] vhost: Add polling mode

2014-08-12 Thread Razya Ladelsky
M@IBMIL, Joel Nider/Haifa/IBM@IBMIL, > abel.gor...@gmail.com, linux-kernel@vger.kernel.org, > net...@vger.kernel.org, virtualizat...@lists.linux-foundation.org > Date: 12/08/2014 12:18 PM > Subject: Re: [PATCH] vhost: Add polling mode > > On Mon, Aug 11, 2014 at 12:46:21PM -07

Re: [PATCH] vhost: Add polling mode

2014-08-12 Thread Michael S. Tsirkin
On Mon, Aug 11, 2014 at 12:46:21PM -0700, David Miller wrote: > From: "Michael S. Tsirkin" > Date: Sun, 10 Aug 2014 21:45:59 +0200 > > > On Sun, Aug 10, 2014 at 11:30:35AM +0300, Razya Ladelsky wrote: > ... > > And, did your tests actually produce 100% load on both host CPUs? > ... > > Michael

Re: [PATCH] vhost: Add polling mode

2014-08-11 Thread David Miller
From: "Michael S. Tsirkin" Date: Sun, 10 Aug 2014 21:45:59 +0200 > On Sun, Aug 10, 2014 at 11:30:35AM +0300, Razya Ladelsky wrote: ... > And, did your tests actually produce 100% load on both host CPUs? ... Michael, please do not quote an entire patch just to ask a one line question. I truly,

Re: [PATCH] vhost: Add polling mode

2014-08-10 Thread Michael S. Tsirkin
On Sun, Aug 10, 2014 at 11:30:35AM +0300, Razya Ladelsky wrote: > From: Razya Ladelsky > Date: Thu, 31 Jul 2014 09:47:20 +0300 > Subject: [PATCH] vhost: Add polling mode > > When vhost is waiting for buffers from the guest driver (e.g., more packets to > send in vhost-net

[PATCH] vhost: Add polling mode

2014-08-10 Thread Razya Ladelsky
From: Razya Ladelsky Date: Thu, 31 Jul 2014 09:47:20 +0300 Subject: [PATCH] vhost: Add polling mode When vhost is waiting for buffers from the guest driver (e.g., more packets to send in vhost-net's transmit queue), it normally goes to sleep and waits for the guest to "kick"