Re: performance trouble

2012-03-28 Thread Peter Lieven
On 27.03.2012 19:06, Vadim Rozenfeld wrote: On Tuesday, March 27, 2012 06:16:11 PM Peter Lieven wrote: On 27.03.2012 18:12, Vadim Rozenfeld wrote: On Tuesday, March 27, 2012 05:58:01 PM Peter Lieven wrote: On 27.03.2012 17:44, Vadim Rozenfeld wrote: On Tuesday, March 27, 2012 04:06:13 PM Pete

Re: performance trouble

2012-03-27 Thread Vadim Rozenfeld
On Tuesday, March 27, 2012 06:16:11 PM Peter Lieven wrote: > On 27.03.2012 18:12, Vadim Rozenfeld wrote: > > On Tuesday, March 27, 2012 05:58:01 PM Peter Lieven wrote: > >> On 27.03.2012 17:44, Vadim Rozenfeld wrote: > >>> On Tuesday, March 27, 2012 04:06:13 PM Peter Lieven wrote: > On 27.03.2

Re: performance trouble

2012-03-27 Thread Peter Lieven
On 27.03.2012 18:12, Vadim Rozenfeld wrote: On Tuesday, March 27, 2012 05:58:01 PM Peter Lieven wrote: On 27.03.2012 17:44, Vadim Rozenfeld wrote: On Tuesday, March 27, 2012 04:06:13 PM Peter Lieven wrote: On 27.03.2012 14:29, Gleb Natapov wrote: On Tue, Mar 27, 2012 at 02:28:04PM +0200, Pete

Re: performance trouble

2012-03-27 Thread Vadim Rozenfeld
On Tuesday, March 27, 2012 05:58:01 PM Peter Lieven wrote: > On 27.03.2012 17:44, Vadim Rozenfeld wrote: > > On Tuesday, March 27, 2012 04:06:13 PM Peter Lieven wrote: > >> On 27.03.2012 14:29, Gleb Natapov wrote: > >>> On Tue, Mar 27, 2012 at 02:28:04PM +0200, Peter Lieven wrote: > On 27.03.2

Re: performance trouble

2012-03-27 Thread Peter Lieven
On 27.03.2012 17:44, Vadim Rozenfeld wrote: On Tuesday, March 27, 2012 04:06:13 PM Peter Lieven wrote: On 27.03.2012 14:29, Gleb Natapov wrote: On Tue, Mar 27, 2012 at 02:28:04PM +0200, Peter Lieven wrote: On 27.03.2012 14:26, Gleb Natapov wrote: On Tue, Mar 27, 2012 at 02:20:23PM +0200, Pete

Re: performance trouble

2012-03-27 Thread Vadim Rozenfeld
On Tuesday, March 27, 2012 05:39:10 PM Peter Lieven wrote: > On 27.03.2012 17:37, Vadim Rozenfeld wrote: > > On Tuesday, March 27, 2012 04:44:51 PM Peter Lieven wrote: > >> On 27.03.2012 13:43, Vadim Rozenfeld wrote: > >>> On Tuesday, March 27, 2012 12:49:58 PM Peter Lieven wrote: > On 27.03.2

Re: performance trouble

2012-03-27 Thread Vadim Rozenfeld
On Tuesday, March 27, 2012 04:06:13 PM Peter Lieven wrote: > On 27.03.2012 14:29, Gleb Natapov wrote: > > On Tue, Mar 27, 2012 at 02:28:04PM +0200, Peter Lieven wrote: > >> On 27.03.2012 14:26, Gleb Natapov wrote: > >>> On Tue, Mar 27, 2012 at 02:20:23PM +0200, Peter Lieven wrote: > On 27.03.2

Re: performance trouble

2012-03-27 Thread Peter Lieven
On 27.03.2012 17:37, Vadim Rozenfeld wrote: On Tuesday, March 27, 2012 04:44:51 PM Peter Lieven wrote: On 27.03.2012 13:43, Vadim Rozenfeld wrote: On Tuesday, March 27, 2012 12:49:58 PM Peter Lieven wrote: On 27.03.2012 12:40, Vadim Rozenfeld wrote: On Tuesday, March 27, 2012 11:26:29 AM Pete

Re: performance trouble

2012-03-27 Thread Vadim Rozenfeld
On Tuesday, March 27, 2012 04:44:51 PM Peter Lieven wrote: > On 27.03.2012 13:43, Vadim Rozenfeld wrote: > > On Tuesday, March 27, 2012 12:49:58 PM Peter Lieven wrote: > >> On 27.03.2012 12:40, Vadim Rozenfeld wrote: > >>> On Tuesday, March 27, 2012 11:26:29 AM Peter Lieven wrote: > On 27.03.2

Re: performance trouble

2012-03-27 Thread Peter Lieven
On 27.03.2012 13:43, Vadim Rozenfeld wrote: On Tuesday, March 27, 2012 12:49:58 PM Peter Lieven wrote: On 27.03.2012 12:40, Vadim Rozenfeld wrote: On Tuesday, March 27, 2012 11:26:29 AM Peter Lieven wrote: On 27.03.2012 11:23, Vadim Rozenfeld wrote: On Tuesday, March 27, 2012 10:56:05 AM Gleb

Re: performance trouble

2012-03-27 Thread Peter Lieven
On 27.03.2012 14:29, Gleb Natapov wrote: On Tue, Mar 27, 2012 at 02:28:04PM +0200, Peter Lieven wrote: On 27.03.2012 14:26, Gleb Natapov wrote: On Tue, Mar 27, 2012 at 02:20:23PM +0200, Peter Lieven wrote: On 27.03.2012 12:00, Gleb Natapov wrote: On Tue, Mar 27, 2012 at 11:26:29AM +0200, Pete

Re: performance trouble

2012-03-27 Thread Peter Lieven
On 27.03.2012 14:29, Gleb Natapov wrote: On Tue, Mar 27, 2012 at 02:28:04PM +0200, Peter Lieven wrote: On 27.03.2012 14:26, Gleb Natapov wrote: On Tue, Mar 27, 2012 at 02:20:23PM +0200, Peter Lieven wrote: On 27.03.2012 12:00, Gleb Natapov wrote: On Tue, Mar 27, 2012 at 11:26:29AM +0200, Pete

Re: performance trouble

2012-03-27 Thread Gleb Natapov
On Tue, Mar 27, 2012 at 02:28:04PM +0200, Peter Lieven wrote: > On 27.03.2012 14:26, Gleb Natapov wrote: > >On Tue, Mar 27, 2012 at 02:20:23PM +0200, Peter Lieven wrote: > >>On 27.03.2012 12:00, Gleb Natapov wrote: > >>>On Tue, Mar 27, 2012 at 11:26:29AM +0200, Peter Lieven wrote: > On 27.03.20

Re: performance trouble

2012-03-27 Thread Peter Lieven
On 27.03.2012 14:26, Gleb Natapov wrote: On Tue, Mar 27, 2012 at 02:20:23PM +0200, Peter Lieven wrote: On 27.03.2012 12:00, Gleb Natapov wrote: On Tue, Mar 27, 2012 at 11:26:29AM +0200, Peter Lieven wrote: On 27.03.2012 11:23, Vadim Rozenfeld wrote: On Tuesday, March 27, 2012 10:56:05 AM Gleb

Re: performance trouble

2012-03-27 Thread Gleb Natapov
On Tue, Mar 27, 2012 at 02:20:23PM +0200, Peter Lieven wrote: > On 27.03.2012 12:00, Gleb Natapov wrote: > >On Tue, Mar 27, 2012 at 11:26:29AM +0200, Peter Lieven wrote: > >>On 27.03.2012 11:23, Vadim Rozenfeld wrote: > >>>On Tuesday, March 27, 2012 10:56:05 AM Gleb Natapov wrote: > On Mon, Mar

Re: performance trouble

2012-03-27 Thread Peter Lieven
On 27.03.2012 12:00, Gleb Natapov wrote: On Tue, Mar 27, 2012 at 11:26:29AM +0200, Peter Lieven wrote: On 27.03.2012 11:23, Vadim Rozenfeld wrote: On Tuesday, March 27, 2012 10:56:05 AM Gleb Natapov wrote: On Mon, Mar 26, 2012 at 10:11:43PM +0200, Vadim Rozenfeld wrote: On Monday, March 26, 2

Re: performance trouble

2012-03-27 Thread Vadim Rozenfeld
On Tuesday, March 27, 2012 12:49:58 PM Peter Lieven wrote: > On 27.03.2012 12:40, Vadim Rozenfeld wrote: > > On Tuesday, March 27, 2012 11:26:29 AM Peter Lieven wrote: > >> On 27.03.2012 11:23, Vadim Rozenfeld wrote: > >>> On Tuesday, March 27, 2012 10:56:05 AM Gleb Natapov wrote: > On Mon, Ma

Re: performance trouble

2012-03-27 Thread Peter Lieven
On 27.03.2012 12:40, Vadim Rozenfeld wrote: On Tuesday, March 27, 2012 11:26:29 AM Peter Lieven wrote: On 27.03.2012 11:23, Vadim Rozenfeld wrote: On Tuesday, March 27, 2012 10:56:05 AM Gleb Natapov wrote: On Mon, Mar 26, 2012 at 10:11:43PM +0200, Vadim Rozenfeld wrote: On Monday, March 26, 2

Re: performance trouble

2012-03-27 Thread Vadim Rozenfeld
On Tuesday, March 27, 2012 11:26:29 AM Peter Lieven wrote: > On 27.03.2012 11:23, Vadim Rozenfeld wrote: > > On Tuesday, March 27, 2012 10:56:05 AM Gleb Natapov wrote: > >> On Mon, Mar 26, 2012 at 10:11:43PM +0200, Vadim Rozenfeld wrote: > >>> On Monday, March 26, 2012 08:54:50 PM Peter Lieven wrot

Re: performance trouble

2012-03-27 Thread Gleb Natapov
On Tue, Mar 27, 2012 at 11:26:29AM +0200, Peter Lieven wrote: > On 27.03.2012 11:23, Vadim Rozenfeld wrote: > >On Tuesday, March 27, 2012 10:56:05 AM Gleb Natapov wrote: > >>On Mon, Mar 26, 2012 at 10:11:43PM +0200, Vadim Rozenfeld wrote: > >>>On Monday, March 26, 2012 08:54:50 PM Peter Lieven wrot

Re: performance trouble

2012-03-27 Thread Gleb Natapov
On Tue, Mar 27, 2012 at 11:23:33AM +0200, Vadim Rozenfeld wrote: > On Tuesday, March 27, 2012 10:56:05 AM Gleb Natapov wrote: > > On Mon, Mar 26, 2012 at 10:11:43PM +0200, Vadim Rozenfeld wrote: > > > On Monday, March 26, 2012 08:54:50 PM Peter Lieven wrote: > > > > On 26.03.2012 20:36, Vadim Rozen

Re: performance trouble

2012-03-27 Thread Peter Lieven
On 27.03.2012 11:23, Vadim Rozenfeld wrote: On Tuesday, March 27, 2012 10:56:05 AM Gleb Natapov wrote: On Mon, Mar 26, 2012 at 10:11:43PM +0200, Vadim Rozenfeld wrote: On Monday, March 26, 2012 08:54:50 PM Peter Lieven wrote: On 26.03.2012 20:36, Vadim Rozenfeld wrote: On Monday, March 26, 20

Re: performance trouble

2012-03-27 Thread Vadim Rozenfeld
On Tuesday, March 27, 2012 10:56:05 AM Gleb Natapov wrote: > On Mon, Mar 26, 2012 at 10:11:43PM +0200, Vadim Rozenfeld wrote: > > On Monday, March 26, 2012 08:54:50 PM Peter Lieven wrote: > > > On 26.03.2012 20:36, Vadim Rozenfeld wrote: > > > > On Monday, March 26, 2012 07:52:49 PM Gleb Natapov wr

Re: performance trouble

2012-03-27 Thread Gleb Natapov
On Mon, Mar 26, 2012 at 10:11:43PM +0200, Vadim Rozenfeld wrote: > On Monday, March 26, 2012 08:54:50 PM Peter Lieven wrote: > > On 26.03.2012 20:36, Vadim Rozenfeld wrote: > > > On Monday, March 26, 2012 07:52:49 PM Gleb Natapov wrote: > > >> On Mon, Mar 26, 2012 at 07:46:03PM +0200, Vadim Rozenfe

Re: performance trouble

2012-03-26 Thread Vadim Rozenfeld
On Monday, March 26, 2012 08:54:50 PM Peter Lieven wrote: > On 26.03.2012 20:36, Vadim Rozenfeld wrote: > > On Monday, March 26, 2012 07:52:49 PM Gleb Natapov wrote: > >> On Mon, Mar 26, 2012 at 07:46:03PM +0200, Vadim Rozenfeld wrote: > >>> On Monday, March 26, 2012 07:00:32 PM Peter Lieven wrote:

Re: performance trouble

2012-03-26 Thread Vadim Rozenfeld
On Monday, March 26, 2012 07:00:32 PM Peter Lieven wrote: > On 22.03.2012 10:38, Vadim Rozenfeld wrote: > > On Thursday, March 22, 2012 10:52:42 AM Peter Lieven wrote: > >> On 22.03.2012 09:48, Vadim Rozenfeld wrote: > >>> On Thursday, March 22, 2012 09:53:45 AM Gleb Natapov wrote: > On Wed, M

Re: performance trouble

2012-03-26 Thread Peter Lieven
On 26.03.2012 20:36, Vadim Rozenfeld wrote: On Monday, March 26, 2012 07:52:49 PM Gleb Natapov wrote: On Mon, Mar 26, 2012 at 07:46:03PM +0200, Vadim Rozenfeld wrote: On Monday, March 26, 2012 07:00:32 PM Peter Lieven wrote: On 22.03.2012 10:38, Vadim Rozenfeld wrote: On Thursday, March 22, 2

Re: performance trouble

2012-03-26 Thread Vadim Rozenfeld
On Monday, March 26, 2012 07:52:49 PM Gleb Natapov wrote: > On Mon, Mar 26, 2012 at 07:46:03PM +0200, Vadim Rozenfeld wrote: > > On Monday, March 26, 2012 07:00:32 PM Peter Lieven wrote: > > > On 22.03.2012 10:38, Vadim Rozenfeld wrote: > > > > On Thursday, March 22, 2012 10:52:42 AM Peter Lieven w

Re: performance trouble

2012-03-26 Thread Gleb Natapov
On Mon, Mar 26, 2012 at 07:46:03PM +0200, Vadim Rozenfeld wrote: > On Monday, March 26, 2012 07:00:32 PM Peter Lieven wrote: > > On 22.03.2012 10:38, Vadim Rozenfeld wrote: > > > On Thursday, March 22, 2012 10:52:42 AM Peter Lieven wrote: > > >> On 22.03.2012 09:48, Vadim Rozenfeld wrote: > > >>> O

Re: performance trouble

2012-03-26 Thread Peter Lieven
On 22.03.2012 10:38, Vadim Rozenfeld wrote: On Thursday, March 22, 2012 10:52:42 AM Peter Lieven wrote: On 22.03.2012 09:48, Vadim Rozenfeld wrote: On Thursday, March 22, 2012 09:53:45 AM Gleb Natapov wrote: On Wed, Mar 21, 2012 at 06:31:02PM +0100, Peter Lieven wrote: On 21.03.2012 12:10, Da

Re: performance trouble

2012-03-22 Thread Vadim Rozenfeld
On Thursday, March 22, 2012 10:52:42 AM Peter Lieven wrote: > On 22.03.2012 09:48, Vadim Rozenfeld wrote: > > On Thursday, March 22, 2012 09:53:45 AM Gleb Natapov wrote: > >> On Wed, Mar 21, 2012 at 06:31:02PM +0100, Peter Lieven wrote: > >>> On 21.03.2012 12:10, David Cure wrote: > h

Re: performance trouble

2012-03-22 Thread Peter Lieven
On 22.03.2012 09:48, Vadim Rozenfeld wrote: On Thursday, March 22, 2012 09:53:45 AM Gleb Natapov wrote: On Wed, Mar 21, 2012 at 06:31:02PM +0100, Peter Lieven wrote: On 21.03.2012 12:10, David Cure wrote: hello, Le Tue, Mar 20, 2012 at 02:38:22PM +0200, Gleb Natapov ecrivait :

Re: performance trouble

2012-03-22 Thread Peter Lieven
On 22.03.2012 09:33, David Cure wrote: Le Thu, Mar 22, 2012 at 09:53:45AM +0200, Gleb Natapov ecrivait : All true. I asked to try -hypervisor only to verify where we loose performance. Since you get good result with it frequent access to PM timer is probably the reason. I do not recommend using

Re: performance trouble

2012-03-22 Thread Vadim Rozenfeld
On Thursday, March 22, 2012 09:53:45 AM Gleb Natapov wrote: > On Wed, Mar 21, 2012 at 06:31:02PM +0100, Peter Lieven wrote: > > On 21.03.2012 12:10, David Cure wrote: > > > hello, > > > > > >Le Tue, Mar 20, 2012 at 02:38:22PM +0200, Gleb Natapov ecrivait : > > >>Try to add to cpu > > >>d

Re: performance trouble

2012-03-22 Thread Peter Lieven
On 22.03.2012 09:31, David Cure wrote: Le Wed, Mar 21, 2012 at 06:31:02PM +0100, Peter Lieven ecrivait : please keep in mind, that setting -hypervisor, disabling hpet and only one vcpu makes windows use tsc as clocksource. you have to make sure, that your vm is not switching between physical soc

Re: performance trouble

2012-03-22 Thread David Cure
Le Wed, Mar 21, 2012 at 06:31:02PM +0100, Peter Lieven ecrivait : > > please keep in mind, that setting -hypervisor, disabling hpet and only > one vcpu > makes windows use tsc as clocksource. you have to make sure, that your vm > is not switching between physical sockets on your system and that y

Re: performance trouble

2012-03-22 Thread David Cure
hello, Le Thu, Mar 22, 2012 at 08:57:08AM +0100, Peter Lieven ecrivait : > > @avi, gleb: another option would be to revisit the old in-kernel > pm-timer implementation > and check if its feasible to use this as an alternative. it would also > help non hyper-v aware > systems (i

Re: performance trouble

2012-03-22 Thread David Cure
Le Thu, Mar 22, 2012 at 09:53:45AM +0200, Gleb Natapov ecrivait : > > All true. I asked to try -hypervisor only to verify where we loose > performance. Since you get good result with it frequent access to PM > timer is probably the reason. I do not recommend using -hypervisor for > production!

Re: performance trouble

2012-03-22 Thread Peter Lieven
On 22.03.2012 08:53, Gleb Natapov wrote: On Wed, Mar 21, 2012 at 06:31:02PM +0100, Peter Lieven wrote: On 21.03.2012 12:10, David Cure wrote: hello, Le Tue, Mar 20, 2012 at 02:38:22PM +0200, Gleb Natapov ecrivait : Try to add to cpu definition in XML and check command line.

Re: performance trouble

2012-03-22 Thread Gleb Natapov
On Wed, Mar 21, 2012 at 06:31:02PM +0100, Peter Lieven wrote: > On 21.03.2012 12:10, David Cure wrote: > > hello, > > > >Le Tue, Mar 20, 2012 at 02:38:22PM +0200, Gleb Natapov ecrivait : > >>Try to add to cpu > >>definition in XML and check command line. > > ok I try this but I can

Re: performance trouble

2012-03-21 Thread Peter Lieven
On 21.03.2012 12:10, David Cure wrote: hello, Le Tue, Mar 20, 2012 at 02:38:22PM +0200, Gleb Natapov ecrivait : Try to add to cpu definition in XML and check command line. ok I try this but I can't use to map the host cpu (my libvirt is 0.9.8) so I use : Opt

Re: performance trouble

2012-03-21 Thread David Cure
hello, Le Tue, Mar 20, 2012 at 02:38:22PM +0200, Gleb Natapov ecrivait : > > Try to add to cpu > definition in XML and check command line. ok I try this but I can't use to map the host cpu (my libvirt is 0.9.8) so I use : Opteron_G3 (the physica

Re: performance trouble

2012-03-20 Thread Gleb Natapov
On Tue, Mar 20, 2012 at 12:18:39PM +0100, David Cure wrote: > Le Tue, Mar 20, 2012 at 11:45:41AM +0200, Gleb Natapov ecrivait : > > > > This is without -no-hpet :) Also I hope you are not measuring time while > > ha yes, sorry for the mistake. > > > tracing since it supposed to be slow

Re: performance trouble

2012-03-20 Thread David Cure
Le Tue, Mar 20, 2012 at 11:45:41AM +0200, Gleb Natapov ecrivait : > > This is without -no-hpet :) Also I hope you are not measuring time while ha yes, sorry for the mistake. > tracing since it supposed to be slower. Can you please try to run with > -cpu host,-hypervisor and -no-hpet

Re: performance trouble

2012-03-20 Thread Gleb Natapov
On Tue, Mar 20, 2012 at 10:32:20AM +0100, David Cure wrote: > hello, > > Le Mon, Mar 19, 2012 at 12:51:34PM +0200, Gleb Natapov ecrivait : > > > > Can you run the same test on Linux guest and on Windows vm with 1 cpu? > > I see a lot of IPIs between vcpus. > > I run the same s

Re: performance trouble

2012-03-20 Thread David Cure
hello, Le Mon, Mar 19, 2012 at 12:51:34PM +0200, Gleb Natapov ecrivait : > > Can you run the same test on Linux guest and on Windows vm with 1 cpu? > I see a lot of IPIs between vcpus. I run the same slowly fonction (to remember the guest is Windows2008R2 64bits). The repo

Re: performance trouble

2012-03-19 Thread Gleb Natapov
On Fri, Mar 16, 2012 at 11:13:31AM +0100, David Cure wrote: > hello, > > sorry for the delay, > > Le Thu, Feb 23, 2012 at 10:38:07AM +0200, Gleb Natapov ecrivait : > > > > Ah, I guess the reason is that it records events only of IO thread. You > > need to trace all vcpu threa

Re: performance trouble

2012-03-16 Thread David Cure
hello, sorry for the delay, Le Thu, Feb 23, 2012 at 10:38:07AM +0200, Gleb Natapov ecrivait : > > Ah, I guess the reason is that it records events only of IO thread. You > need to trace all vcpu threads too. Not sure trace-cmd allows more then > one -P option though.

Re: performance trouble

2012-02-23 Thread Gleb Natapov
On Wed, Feb 22, 2012 at 05:33:56PM +0100, David Cure wrote: > Le Sun, Feb 19, 2012 at 11:13:15AM +0200, Gleb Natapov ecrivait : > > > > > http://www.roullier.net/report-no-hpet.txt.gz > > > > > How have you acquired this trace? It does not trace all kvm events only > > those that have "set_irq" i

Re: performance trouble

2012-02-22 Thread David Cure
To complete and because I see another thread on performance trouble with w2008R2 Le Wed, Feb 22, 2012 at 05:33:56PM +0100, David Cure ecrivait : > > > Nothing particularly strange here. ~1745 IRQs are injected into the > > guest each second. RTC clock is configured to 1kH and other devic

Re: performance trouble

2012-02-22 Thread David Cure
Le Sun, Feb 19, 2012 at 11:13:15AM +0200, Gleb Natapov ecrivait : > > > http://www.roullier.net/report-no-hpet.txt.gz > > > How have you acquired this trace? It does not trace all kvm events only > those that have "set_irq" in them. I run : trace-cmd record -b 2 -e kvm -P > Nothing

Re: performance trouble

2012-02-19 Thread Gleb Natapov
On Fri, Feb 17, 2012 at 03:01:07PM +0100, David Cure wrote: > Le Fri, Feb 17, 2012 at 12:07:14PM +0200, Gleb Natapov ecrivait : > > > > > > Can you do the trace again with -no-hpet on the command line? > > > > > > Is there a way to only trace events on specific VM ? > > > > > -P pid > >

Re: performance trouble

2012-02-17 Thread David Cure
Le Tue, Feb 14, 2012 at 08:48:56AM -0500, Vadim Rozenfeld ecrivait : > > +1 > Try Microsoft Windows Performance Toolkit from Windows SDK > http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=3138 > It's really good. I run xperf -on DiagEasy, and as I'm not an windows-er

Re: performance trouble

2012-02-17 Thread David Cure
Le Fri, Feb 17, 2012 at 12:07:14PM +0200, Gleb Natapov ecrivait : > > > > Can you do the trace again with -no-hpet on the command line? > > > > Is there a way to only trace events on specific VM ? > > > -P pid ok. I take a trace of the VM with 1 user : start trace just before to lau

Re: performance trouble

2012-02-17 Thread Gleb Natapov
On Fri, Feb 17, 2012 at 09:59:39AM +0100, David Cure wrote: > Le Thu, Feb 16, 2012 at 11:01:26AM +0200, Gleb Natapov ecrivait : > > > > Can you do the trace again with -no-hpet on the command line? > > Is there a way to only trace events on specific VM ? > -P pid --

Re: performance trouble

2012-02-17 Thread David Cure
Le Thu, Feb 16, 2012 at 11:01:26AM +0200, Gleb Natapov ecrivait : > > Can you do the trace again with -no-hpet on the command line? Is there a way to only trace events on specific VM ? David. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a messa

Re: performance trouble

2012-02-16 Thread David Cure
Le Tue, Feb 14, 2012 at 03:32:16PM +0200, Avi Kivity ecrivait : > > It's reading the HPET like crazy. There are also tons of interrupts. > Please use the windows performance tools to see which devices trigger > these interrupts. > > The HPET issue will be fixed by the hyper-V enlightenments, bu

Re: performance trouble

2012-02-16 Thread Gleb Natapov
On Thu, Feb 16, 2012 at 09:55:53AM +0100, David Cure wrote: > hello, > > Le Tue, Feb 14, 2012 at 03:40:30PM +0200, Gleb Natapov ecrivait : > > > > Try to add -no-hpet to qemu command line and see if it helps. > > I add this line in my xml definition for libvirt : > >

Re: performance trouble

2012-02-16 Thread David Cure
hello, Le Tue, Feb 14, 2012 at 03:40:30PM +0200, Gleb Natapov ecrivait : > > Try to add -no-hpet to qemu command line and see if it helps. I add this line in my xml definition for libvirt : in the clock block. And I see the -no-hpet in the command line : /usr/b

Re: performance trouble

2012-02-14 Thread Vadim Rozenfeld
- Original Message - From: "Avi Kivity" To: "David Cure" Cc: kvm@vger.kernel.org, "Vadim Rozenfeld" Sent: Tuesday, February 14, 2012 3:32:16 PM Subject: Re: performance trouble On 02/10/2012 12:09 PM, David Cure wrote: > hello, >

Re: performance trouble

2012-02-14 Thread Gleb Natapov
On Tue, Feb 14, 2012 at 03:32:16PM +0200, Avi Kivity wrote: > On 02/10/2012 12:09 PM, David Cure wrote: > > hello, > > > > Le Sun, Feb 05, 2012 at 11:38:34AM +0200, Avi Kivity ecrivait : > > > > > > Please post a trace as documented in > > > http://www.linux-kvm.org/page/Tracing. > >

Re: performance trouble

2012-02-14 Thread Avi Kivity
On 02/10/2012 12:09 PM, David Cure wrote: > hello, > > Le Sun, Feb 05, 2012 at 11:38:34AM +0200, Avi Kivity ecrivait : > > > > Please post a trace as documented in http://www.linux-kvm.org/page/Tracing. > > I made the trace : started just before the slow function launch > and s

Re: performance trouble

2012-02-10 Thread David Cure
hello, Le Sun, Feb 05, 2012 at 11:38:34AM +0200, Avi Kivity ecrivait : > > Please post a trace as documented in http://www.linux-kvm.org/page/Tracing. I made the trace : started just before the slow function launch and stoped just after. I start only one VM with 2 vcpus/1

Re: performance trouble

2012-02-05 Thread Avi Kivity
On 02/03/2012 10:59 AM, David Cure wrote: > Hello, > > Le Thu, Feb 02, 2012 at 11:41:48AM +0100, David Cure ecrivait : > > > > For kvm_stats, I mean it's better to have only one VM with one > > user for the test so I send this evening or tomorrow morning. > > I attach snaps

Re: performance trouble

2012-02-03 Thread David Cure
Hello, Le Thu, Feb 02, 2012 at 11:41:48AM +0100, David Cure ecrivait : > > For kvm_stats, I mean it's better to have only one VM with one > user for the test so I send this evening or tomorrow morning. I attach snapshot of the kvm_stat : the first one just before to

Re: performance trouble

2012-02-02 Thread David Cure
Hello, Le Tue, Jan 31, 2012 at 07:21:25PM +0200, Avi Kivity ecrivait : > > How many vcpus are there in total (over all guests)? For test we run only 2 VM (RDS/TSE) with 2vcpus for each > That's really strange. No network traffic/cpu/block I/O? > > What do 'vmstat 1' an

Re: performance trouble

2012-01-31 Thread Avi Kivity
What's up with the cc list? On 01/31/2012 07:15 PM, David Cure wrote: > Le Mon, Jan 30, 2012 at 07:21:20PM +0200, Avi Kivity ecrivait : > > > > Start with top and vmstat to see if the cpu or I/O are the bottleneck > > with top at the kvm layer, the VM take 50% of CPU (the physical > box ha

Re: performance trouble

2012-01-31 Thread David Cure
Le Mon, Jan 30, 2012 at 07:21:20PM +0200, Avi Kivity ecrivait : > > Start with top and vmstat to see if the cpu or I/O are the bottleneck with top at the kvm layer, the VM take 50% of CPU (the physical box have 16 real cores-not HT- : AMD Opteron 6134). one result of vmstat : pro

Re: performance trouble

2012-01-30 Thread Avi Kivity
On 01/30/2012 06:51 PM, David Cure wrote: > Le Mon, Jan 30, 2012 at 10:20:34AM -0600, Brian Jackson ecrivait : > > > > Without more info or some way to reproduce the problem, it would be > > pointless > > for one of the devs to spend much time on it. > > yes for sure. > > But I mean

Re: performance trouble

2012-01-30 Thread David Cure
Le Mon, Jan 30, 2012 at 10:20:34AM -0600, Brian Jackson ecrivait : > > Without more info or some way to reproduce the problem, it would be pointless > for one of the devs to spend much time on it. yes for sure. But I mean there is some way to trace at the KVM level what happens

Re: performance trouble

2012-01-30 Thread Brian Jackson
On Monday, January 30, 2012 09:36:55 AM David Cure wrote: > Le Mon, Jan 23, 2012 at 09:28:37AM +0100, David Cure ecrivait : > > I use several kvm box, and no problem at all except for 1 > > > > application that have bad response time. > > > > The VM runs Windows 2008R2 and the application

Re: performance trouble

2012-01-30 Thread David Cure
Le Mon, Jan 23, 2012 at 09:28:37AM +0100, David Cure ecrivait : > > I use several kvm box, and no problem at all except for 1 > application that have bad response time. > > The VM runs Windows 2008R2 and the application is an > client-server app develop with progress software and talk

Re: performance trouble

2012-01-23 Thread David Cure
Le Mon, Jan 23, 2012 at 09:28:37AM +0100, David Cure ecrivait : > > I attach the libvirt xml of my vm. I forget to attach ;) David. rds.xml Description: XML document signature.asc Description: Digital signature