Re: Performance test result between per-vhost kthread disable and enable

2010-12-09 Thread Michael S. Tsirkin
On Tue, Nov 23, 2010 at 10:13:43AM +0800, lidong chen wrote: > I test the performance between per-vhost kthread disable and enable. > > Test method: > Send the same traffic load between per-vhost kthread disable and > enable, and compare the cpu rate of host os. > I run five vm on kvm, each of the

Re: Performance test result between per-vhost kthread disable and enable

2010-12-09 Thread Michael S. Tsirkin
On Thu, Dec 09, 2010 at 03:31:08PM +0200, Michael S. Tsirkin wrote: > On Tue, Nov 23, 2010 at 10:13:43AM +0800, lidong chen wrote: > > I test the performance between per-vhost kthread disable and enable. > > > > Test method: > > Send the same traffic load between per-vhost kthread disable and > >

RE: Performance test result between per-vhost kthread disable and enable

2010-11-22 Thread Huang, Zhiteng
Hi Lidong, What do you mean by 'send the same traffic load between...' ? See if my understanding is correct: You have two identical physical machines (CPU/Memory/NIC...), one(A) runs RHEL6 Beta2(2.6.32-60) and the other one (B) runs RHEL6 (2.6.32-71). Each machine booted 5 identical VMs and the

Re: Performance test result between per-vhost kthread disable and enable

2010-11-22 Thread lidong chen
I used a special tool, this tool can send and receive packets parallelly. I set the tool to use the same traffic load. then i use the tool to test different version of kvm. 2010/11/23 Huang, Zhiteng : > Hi Lidong, > > What do you mean by 'send the same traffic load between...' ? > > See if my un

RE: Performance test result between per-vhost kthread disable and enable

2010-11-22 Thread Huang, Zhiteng
...@kernel.org; s...@us.ibm.com; m...@redhat.com; Avi Kivity; kvm@vger.kernel.org Subject: Re: Performance test result between per-vhost kthread disable and enable I used a special tool, this tool can send and receive packets parallelly. I set the tool to use the same traffic load. then i use the tool to test

Re: Performance test result between per-vhost kthread disable and enable

2010-11-22 Thread lidong chen
ssage- > From: lidong chen [mailto:chen.lidong.ker...@gmail.com] > Sent: Tuesday, November 23, 2010 2:53 PM > To: Huang, Zhiteng > Cc: t...@kernel.org; s...@us.ibm.com; m...@redhat.com; Avi Kivity; > kvm@vger.kernel.org > Subject: Re: Performance test result between per-

Re: Performance test result between per-vhost kthread disable and enable

2010-11-23 Thread Michael S. Tsirkin
On Tue, Nov 23, 2010 at 10:13:43AM +0800, lidong chen wrote: > I test the performance between per-vhost kthread disable and enable. > > Test method: > Send the same traffic load between per-vhost kthread disable and > enable, and compare the cpu rate of host os. > I run five vm on kvm, each of the

Re: Performance test result between per-vhost kthread disable and enable

2010-11-23 Thread lidong chen
At this point, I'd suggest testing vhost-net on the upstream kernel, not on rhel kernels. The change that introduced per-device threads is: c23f3445e68e1db0e74099f264bc5ff5d55ebdeb i will try this tomorrow. Is CONFIG_SCHED_DEBUG set? yes. CONFIG_SCHED_DEBUG=y. 2010/11/23 Michael S. Tsirkin : > On

Re: Performance test result between per-vhost kthread disable and enable

2010-11-23 Thread Michael S. Tsirkin
On Tue, Nov 23, 2010 at 09:23:41PM +0800, lidong chen wrote: > At this point, I'd suggest testing vhost-net on the upstream kernel, > not on rhel kernels. The change that introduced per-device threads is: > c23f3445e68e1db0e74099f264bc5ff5d55ebdeb > i will try this tomorrow. > > Is CONFIG_SCHED_DE

Re: Performance test result between per-vhost kthread disable and enable

2010-11-23 Thread Sridhar Samudrala
On 11/23/2010 5:41 AM, Michael S. Tsirkin wrote: On Tue, Nov 23, 2010 at 09:23:41PM +0800, lidong chen wrote: At this point, I'd suggest testing vhost-net on the upstream kernel, not on rhel kernels. The change that introduced per-device threads is: c23f3445e68e1db0e74099f264bc5ff5d55ebdeb i wil

Re: Performance test result between per-vhost kthread disable and enable

2010-11-24 Thread Michael S. Tsirkin
On Wed, Nov 24, 2010 at 02:49:26PM +0800, lidong chen wrote: > apply the patch, and disable CONFIG_SCHED_DEBUG, the result is worse, > the cpu rate of host os is 143%. Interesting. What does perf top show? -- MST -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a

Re: Performance test result between per-vhost kthread disable and enable

2010-11-24 Thread lidong chen
sorry,because of work plan, i can not give the perf top result now. i will give the comparative result next week. 2010/11/24 Michael S. Tsirkin : > On Wed, Nov 24, 2010 at 02:49:26PM +0800, lidong chen wrote: >> apply the patch, and disable CONFIG_SCHED_DEBUG, the result is worse, >> the cpu rate