WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] Seeking performance numbers for flip vs. copy

To: "Suzanne McIntosh" <skranjac@xxxxxxxxxx>
Subject: RE: [Xen-devel] Seeking performance numbers for flip vs. copy
From: "Santos, Jose Renato G" <joserenato.santos@xxxxxx>
Date: Mon, 26 Mar 2007 22:25:27 -0000
Cc: Xen Development Mailing List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 26 Mar 2007 15:24:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <OFD31E47EA.DA8ECC1D-ON852572AA.006B398E-852572AA.006CB7CF@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <OFE7A3FFB9.4BB2A1C3-ON8525724D.0050B3BF-8525724D.0053F6D1@LocalDomain> <OFD31E47EA.DA8ECC1D-ON852572AA.006B398E-852572AA.006CB7CF@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acdv39vyeYegGRBGSE+VUmsEkOEoMwAFGPHw
Thread-topic: [Xen-devel] Seeking performance numbers for flip vs. copy
 

        From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Suzanne
McIntosh
        Sent: Monday, March 26, 2007 12:48 PM
        To: xen-devel@xxxxxxxxxxxxxxxxxxx
        Cc: Suzanne McIntosh
        Subject: [Xen-devel] Seeking performance numbers for flip vs.
copy
        
        

        Hi, 
        I am looking for performance numbers comparing the network
driver flip vs. copy feature 
        on a 32-bit machine. Could not locate this info in Xen archives.
Would appreciate any help. 
        
        Thanks, Sue 
        _______________________________________________________________
        Suzanne McIntosh 
        IBM T.J. Watson Research Center
        Secure Systems and Services 
        

Here is some old data that I have for comparing page flip with copy.
Note that this for Xen unstable  as of October 3, 2006.
I don't more recent data, but I believe the relative performance should
not have changed much, although the absolute numbers may be different
now.

I hope this helps

Renato

> Here are the results comparing copy and page flip.
> These results were using netperf TCP_STREAM test which use large size 
> packets.
> I run experiments for receiving and transmiting to from/to a external 
> client.
> The results show that copying use less cycles than page flip but dom0 
> has higher utilization (due to the copy).
> This caused dom0 cpu to saturate and reduced the throuhgput slightly
in
> my machine. I have a 4way Intel Xeon 2.8Ghz with 4GB of RAM (each
domain
> is using 512 MB of RAM).
> Copy is also better for the transmit experiment since the overhead for

> processing ACKs is reduced.
> 
> I will work on the transmit side optimizations starting tomorrow.
> 
> Regards
> 
> Renato
> 
> =======================================================
> receive:
> ------------------------------------------------------_
>      |        |                    | cycles/packet    |
>      |  Rate  |  CPU utilization   |  (thousands)     |
>      |  Mb/s  | dom0  dom1   tot   | dom0  dom1  tot  |
> -------------------------------------------------------
> flip | 941.34 | 84.2% 76.3% 160.4% | 30.1  27.2  57.3 |
> copy | 907.71 | 99.7% 45.2% 144.9% | 36.9  16.7  53.6 |
> -------------------------------------------------------
> 
> transmit:
> ------------------------------------
>      |        |                    |
>      |  Rate  |  CPU utilization   |
>      |  Mb/s  | dom0  dom1   tot   |
> ------------------------------------
> flip | 941.31 | 49.6% 43.9%  93.5% |
> copy | 941.30 | 45.2% 34.5%  79.7% |
> ------------------------------------

________________________________

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>