Re: [RFC PATCH v9 00/16] Provide a zero-copy method on KVM virtio-net.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Shirley Ma
Date: Tuesday, August 10, 2010 - 11:01 pm

On Tue, 2010-08-10 at 18:43 -0700, Shirley Ma wrote:

Something is very interesting, when binding ixgbe interrupts to cpu1,
and running netperf/netserver on cpu0, the native host to host
performance is still around 8.0Gb/s, however, the macvtap zero copy
result is 9.0Gb/s.

root@localhost ~]# netperf -H 192.168.10.74 -c -C -l60 -T0,0 -- -m 64K
TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.10.74 (192.168..
10.74) port 0 AF_INET : cpu bind
Recv   Send    Send                          Utilization       Service Demand
Socket Socket  Message  Elapsed              Send     Recv     Send    Recv
Size   Size    Size     Time     Throughput  local    remote   local   remote
bytes  bytes   bytes    secs.    10^6bits/s  % S      % S      us/KB   us/KB

 87380  16384  65536    60.00      9013.59   53.01    8.21     0.963   0.597

Below is perf top output:

              578.00  6.5% copy_user_generic_string   
              381.00  4.3% vmx_vcpu_run                
              250.00  2.8% schedule                    
              207.00  2.3% vhost_get_vq_desc           
              204.00  2.3% _raw_spin_lock_irqsave      
              197.00  2.2% translate_desc              
              193.00  2.2% memcpy_fromiovec            
              162.00  1.8% gup_pte_range   

We can compare your results with mine to see any difference.

Thanks
Shirley

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC PATCH v9 11/16] Add header file for mp device., xiaohui.xin, (Fri Aug 6, 2:23 am)
Re: [RFC PATCH v9 00/16] Provide a zero-copy method on KVM ..., Shirley Ma, (Tue Aug 10, 11:01 pm)
Re: [RFC PATCH v9 00/16] Provide a zero-copy method on KVM ..., Michael S. Tsirkin, (Fri Sep 3, 3:14 am)
Re: [RFC PATCH v9 00/16] Provide a zero-copy method on KVM ..., Michael S. Tsirkin, (Fri Sep 3, 3:52 am)
Re: [RFC PATCH v9 12/16] Add mp(mediate passthru) device., Michael S. Tsirkin, (Mon Sep 6, 4:11 am)
RE: [RFC PATCH v9 12/16] Add mp(mediate passthru) device., Xin, Xiaohui, (Sat Sep 11, 12:41 am)
Re: [RFC PATCH v9 12/16] Add mp(mediate passthru) device., Michael S. Tsirkin, (Sun Sep 12, 6:37 am)
Re: [RFC PATCH v9 12/16] Add mp(mediate passthru) device., Michael S. Tsirkin, (Wed Sep 15, 4:28 am)
Re: [RFC PATCH v9 12/16] Add mp(mediate passthru) device., Michael S. Tsirkin, (Mon Sep 20, 4:36 am)
Re: [RFC PATCH v9 12/16] Add mp(mediate passthru) device., Michael S. Tsirkin, (Tue Sep 21, 6:14 am)
Re: [RFC PATCH v9 12/16] Add mp(mediate passthru) device., Michael S. Tsirkin, (Wed Sep 22, 4:55 am)
Re: [RFC PATCH v9 12/16] Add mp(mediate passthru) device., Michael S. Tsirkin, (Sun Sep 26, 4:50 am)