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 - 6:23 pm

Hello Xiaohui,

On Fri, 2010-08-06 at 17:23 +0800, xiaohui.xin@intel.com wrote:

Have you had any performance data to share here? I tested my
experimental macvtap zero copy for TX only. The performance I have seen
as below without any tuning, (default setting):

Before: netperf 16K message size results with 60 secs run is 7.5Gb/s
over ixgbe 10GbE card. perf top shows:

2103.00 12.9% copy_user_generic_string
1541.00  9.4% handle_tx
1490.00  9.1% _raw_spin_unlock_irqrestore
1361.00  8.3% _raw_spin_lock_irqsave
1288.00  7.9% _raw_spin_lock
924.00  5.7% vhost_worker

After: netperf results with 60 secs run is 8.1Gb/s, perf output:

1093.00  9.9% _raw_spin_unlock_irqrestore
1048.00  9.5% handle_tx
934.00  8.5% _raw_spin_lock_irqsave
864.00  7.9% _raw_spin_lock
644.00  5.9% vhost_worker
387.00  3.5% use_mm 

I am still working on collecting more data (latency, cpu
utilization...). I will let you know once I get all data for macvtap TX
zero copy. Also I found some vhost performance regression on the new
kernel with tuning. I used to get 9.4Gb/s, now I couldn't get it.

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, 6:23 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)