From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shirley Ma Subject: Re: [PERF RESULTS] virtio and vhost-net performance enhancements Date: Thu, 26 May 2011 08:42:22 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5190291678454274555==" Cc: habanero@linux.vnet.ibm.com, lguest@lists.ozlabs.org, kvm@vger.kernel.org, Carsten Otte , linux-s390@vger.kernel.org, "Michael S. Tsirkin" , Heiko Carstens , linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, Steve Dobbelstein , Christian Borntraeger , Tom Lendacky , netdev@vger.kernel.org, Martin Schwidefsky , linux390@de.ibm.com To: Krishna Kumar2 Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org List-Id: netdev.vger.kernel.org --===============5190291678454274555== Content-type: multipart/related; Boundary="0__=08BBF20FDFC5BD1C8f9e8a93df938690918c08BBF20FDFC5BD1C" --0__=08BBF20FDFC5BD1C8f9e8a93df938690918c08BBF20FDFC5BD1C Content-type: multipart/alternative; Boundary="1__=08BBF20FDFC5BD1C8f9e8a93df938690918c08BBF20FDFC5BD1C" --1__=08BBF20FDFC5BD1C8f9e8a93df938690918c08BBF20FDFC5BD1C Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: quoted-printable Hello KK, Could you please try TCP_RRs as well? Thanks Shirley = Krishna Kumar2 = = To "Michael S. Tsirkin" = 05/26/2011 08:32 = AM = cc Christian Borntraeger = , Carste= n Otte , = habanero@linux.vnet.ibm.com, Hei= ko Carstens = , = kvm@vger.kernel.org, = lguest@lists.ozlabs.org, = linux-kernel@vger.kernel.org, = linux-s390@vger.kernel.org, = linux390@de.ibm.com, = netdev@vger.kernel.org, Rusty = Russell ,= Martin Schwidefsky = , Steve = Dobbelstein/Austin/IBM@IBMUS, To= m Lendacky , virtualization@lists.linux-found= ati on.org, Shirley = Ma/Beaverton/IBM@IBMUS = Subj= ect [PERF RESULTS] virtio and vhost-= net performance enhancements = = = = = = = "Michael S. Tsirkin" wrote on 05/20/2011 04:40:07 AM: > OK, here is the large patchset that implements the virtio spec update= > that I sent earlier (the spec itself needs a minor update, will send > that out too next week, but I think we are on the same page here > already). It supercedes the PUBLISH_USED_IDX patches I sent > out earlier. I was able to get this tested by applying the v2 patches to git-next tree (somehow MST's git tree hung on my guest which never got resolved). Testing was from Guest -> Remote node, using an ixgbe 10g card. The test results are *excellent* (table: #netperf sesssions, BW% improvement, SD% improvement, CPU% improvement): ___________________________________ 512 byte I/O # BW% SD% CPU% ____________________________________ 1 151.6 -65.1 -10.7 2 180.6 -66.6 -6.4 4 15.5 -35.8 -26.1 8 1.8 -28.4 -26.7 16 3.1 -29.0 -26.5 32 1.1 -27.4 -27.5 64 3.8 -30.9 -26.7 96 5.4 -21.7 -24.2 128 5.7 -24.4 -25.5 ____________________________________ BW: 16.6% SD: -24.6% CPU: -25.5% ____________________________________ 1K I/O # BW% SD% CPU% ____________________________________ 1 233.9 -76.5 -18.0 2 112.2 -64.0 -23.2 4 9.2 -31.6 -26.1 8 -1.7 -26.8 -30.3 16 3.5 -31.5 -30.6 32 4.8 -25.2 -30.5 64 5.7 -31.0 -28.9 96 5.3 -32.2 -31.7 128 4.6 -38.2 -33.6 ____________________________________ BW: 16.4% SD: -35.% CPU: -31.5% ____________________________________ 16K I/O # BW% SD% CPU% ____________________________________ 1 18.8 -27.2 -18.3 2 14.8 -36.7 -27.7 4 12.7 -45.2 -38.1 8 4.4 -56.4 -54.4 16 4.8 -38.3 -36.1 32 0 78.0 79.2 64 3.8 -38.1 -37.5 96 7.3 -35.2 -31.1 128 3.4 -31.1 -32.1 ____________________________________ BW: 7.6% SD: -30.1% CPU: -23.7% I plan to run some more tests tomorrow. Please let me know if any other scenario will help. Thanks, - KK = --1__=08BBF20FDFC5BD1C8f9e8a93df938690918c08BBF20FDFC5BD1C Content-type: text/html; charset=US-ASCII Content-Disposition: inline Content-transfer-encoding: quoted-printable

Hello KK,

Could you please try TCP_RRs as well?

Thanks
Shirley

3D"InactiveKris= hna Kumar2 ---05/26/2011 08:30:08 AM---"Michael S. Tsirkin" &= lt;mst@redhat.com> wrote on 05/20/2011 04:40:07 AM:

=
          Krishna Kumar2 <krkumar2@in.ibm.com>

          05/26/2011 08:32 AM

=
3D=
To
3D""
"Michael S. Tsirkin" <mst@redhat.com><= /font>
3D=
cc
3D""
Christian Borntraeger <borntraeger@de.ibm.com>, = Carsten Otte <cotte@de.ibm.com>, habanero@linux.vnet.ibm.com, Hei= ko Carstens <heiko.carstens@de.ibm.com>, kvm@vger.kernel.org, lgu= est@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-s390@vger.ker= nel.org, linux390@de.ibm.com, netdev@vger.kernel.org, Rusty Russell <= ;rusty@rustcorp.com.au>, Martin Schwidefsky <schwidefsky@de.ibm.c= om>, Steve Dobbelstein/Austin/IBM@IBMUS, Tom Lendacky <tahm@linux= .vnet.ibm.com>, virtualization@lists.linux-foundation.org, Shirley M= a/Beaverton/IBM@IBMUS
3D=
Subject
3D""
[PERF RESULTS] virtio and vhost-net performance enhanc= ements
3D=3D""

"Michael S. Tsirkin" <mst@redhat.com> wrote on 05/2= 0/2011 04:40:07 AM:

> OK, here is the large patchset that implements the virtio spec upd= ate
> that I sent earlier (the spec itself needs a minor update, will se= nd
> that out too next week, but I think we are on the same page here > already). It supercedes the PUBLISH_USED_IDX patches I sent
> out earlier.

I was able to get this tested by applying the v2 patches
to git-next tree (somehow MST's git tree hung on my guest
which never got resolved). Testing was from Guest -> Remote
node, using an ixgbe 10g card. The test results are
*excellent* (table: #netperf sesssions, BW% improvement,
SD% improvement, CPU% improvement):

___________________________________
          512 byte I/O
#     BW%     SD%      CPU%
____________________________________
1     151.6   -65.1    -10.7
2     180.6   -66.6    -6.4
4     15.5    -35.8    -26.1
8     1.8     -28.4    -26.7
16    3.1     -29.0    -26.5
32    1.1     -27.4    -27.5
64    3.8     -30.9    -26.7
96    5.4     -21.7    -24.2
128   5.7     -24.4    -25.5
____________________________________
BW: 16.6%   SD: -24.6%    CPU: -25.5%


____________________________________
           1K I/O
#     BW%     SD%      CPU%
____________________________________
1     233.9   -76.5    -18.0
2     112.2   -64.0    -23.2
4     9.2     -31.6    -26.1
8    -1.7     -26.8    -30.3
16    3.5     -31.5    -30.6
32    4.8     -25.2    -30.5
64    5.7     -31.0    -28.9
96    5.3     -32.2    -31.7
128   4.6     -38.2    -33.6
____________________________________
BW: 16.4%   SD: -35.%    CPU: -31.5%


____________________________________
            16K I/O
#     BW%     SD%      CPU%
____________________________________
1     18.8    -27.2    -18.3
2     14.8    -36.7    -27.7
4     12.7    -45.2    -38.1
8     4.4     -56.4    -54.4
16    4.8     -38.3    -36.1
32    0        78.0     79.2 64    3.8     -38.1    -37.5
96    7.3     -35.2    -31.1
128   3.4     -31.1    -32.1
____________________________________
BW: 7.6%   SD: -30.1%   CPU: -23.7%


I plan to run some more tests tomorrow. Please let
me know if any other scenario will help.

Thanks,

- KK


= --1__=08BBF20FDFC5BD1C8f9e8a93df938690918c08BBF20FDFC5BD1C-- --0__=08BBF20FDFC5BD1C8f9e8a93df938690918c08BBF20FDFC5BD1C Content-type: image/gif; name="graycol.gif" Content-Disposition: inline; filename="graycol.gif" Content-ID: <1__=08BBF20FDFC5BD1C8f9e8a93df938@us.ibm.com> Content-transfer-encoding: base64 R0lGODlhEAAQAKECAMzMzAAAAP///wAAACH5BAEAAAIALAAAAAAQABAAAAIXlI+py+0PopwxUbpu ZRfKZ2zgSJbmSRYAIf4fT3B0aW1pemVkIGJ5IFVsZWFkIFNtYXJ0U2F2ZXIhAAA7 --0__=08BBF20FDFC5BD1C8f9e8a93df938690918c08BBF20FDFC5BD1C Content-type: image/gif; name="pic17152.gif" Content-Disposition: inline; filename="pic17152.gif" Content-ID: <2__=08BBF20FDFC5BD1C8f9e8a93df938@us.ibm.com> Content-transfer-encoding: base64 R0lGODlhWABD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lyU3O3QxhgohNKXJCWv8JQr/PDdaqd6w 2rj1inLiGeiCJoDspAoQlYE6QWLSECehcWIYxIQES6zhbn1iImTHEQyqJ4eIxJJoUBc+3CbBuwZE V5cJPPkIjFDdeEabQbd6WgICTxiiz0f5dBKquXF6k4senwEhYGnKEFJeGrxUZy8dB8gmAXI/sPvH ESfCwVt5hTgYiqQqtdRNHQIU1PJ33ZqmzgE90OwLaoJcnMop1WiMmgkPHQRIrwgFuNV90A3doNKT mrKIN07AnGcI9BQjhCBN4RfA1qIZnMqorJCogKfGQnxSCDilTVIA0yl5ciTovgLuBDKFUDE9aQcw 9SA+rjSNf9/M1gxrj6VwDTS0IUSElMzBfsj0NFXR2kwsV1A5IF1grLgLL/r1R40BZEnuBWgmQEyb jqRwSAt6bqMCOFkvKFN2GPPkUzIm/SCF8z8pVzpbjVnMsy0vOr1hw3SaSRUhpY09v0z0J1FnwzPl fmh+xl4WtR0zGu24I4KbMQm3lnVu2oNWxI9W/lcyzA+mCKF4DBikxb/+UWtOGRiFP8qEwAayIgIA Ow== --0__=08BBF20FDFC5BD1C8f9e8a93df938690918c08BBF20FDFC5BD1C Content-type: image/gif; name="ecblank.gif" Content-Disposition: inline; filename="ecblank.gif" Content-ID: <3__=08BBF20FDFC5BD1C8f9e8a93df938@us.ibm.com> Content-transfer-encoding: base64 R0lGODlhEAABAIAAAAAAAP///yH5BAEAAAEALAAAAAAQAAEAAAIEjI8ZBQA7 --0__=08BBF20FDFC5BD1C8f9e8a93df938690918c08BBF20FDFC5BD1C-- --===============5190291678454274555== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/virtualization --===============5190291678454274555==--