Re: [libvirt] Horrible performance of virDomainGetInfo()

2012-04-06 Thread Jiri Denemark
On Wed, Dec 07, 2011 at 18:20:16 +, Daniel P. Berrange wrote: On Wed, Dec 07, 2011 at 03:45:10PM +0100, Jiri Denemark wrote: On Wed, Dec 07, 2011 at 14:30:10 +, Daniel P. Berrange wrote: While investigating the RPC problems I've noticed that we have had a huge performance

[libvirt] Horrible performance of virDomainGetInfo()

2011-12-07 Thread Daniel P. Berrange
While investigating the RPC problems I've noticed that we have had a huge performance regression for virDomainGetInfo() due to the change which makes virDomainEndJob() save the XML status file every time it is called. Previous to this change, 2000 calls to virDomainGetInfo() took ~2.5 seconds

Re: [libvirt] Horrible performance of virDomainGetInfo()

2011-12-07 Thread Jiri Denemark
On Wed, Dec 07, 2011 at 14:30:10 +, Daniel P. Berrange wrote: While investigating the RPC problems I've noticed that we have had a huge performance regression for virDomainGetInfo() due to the change which makes virDomainEndJob() save the XML status file every time it is called.

Re: [libvirt] Horrible performance of virDomainGetInfo()

2011-12-07 Thread Daniel P. Berrange
On Wed, Dec 07, 2011 at 03:45:10PM +0100, Jiri Denemark wrote: On Wed, Dec 07, 2011 at 14:30:10 +, Daniel P. Berrange wrote: While investigating the RPC problems I've noticed that we have had a huge performance regression for virDomainGetInfo() due to the change which makes