[Libvir] PATCH: Improve performance on Xen

Daniel P. Berrange berrange at redhat.com
Fri Aug 10 18:26:58 UTC 2007


On Fri, Aug 10, 2007 at 10:57:50AM +0100, Richard W.M. Jones wrote:
> Daniel P. Berrange wrote:
> >The Xen implementations of
> >
> >   virDomainLookupByID
> >   virDomainLookupByUUID
> >   virDomainLookupByName
> >   virDomainGetOSType
> >
> >all have sub-optimal performance since they speak to XenD. The lookupXXX
> >functions all basically require 3 pieces of info in the end (name,id,uuid).
> >They each get given one piece & have to lookup the other piece.
> >
> >A pretty good speedup really considering how frequently these calls are
> >made if you're monitoring domains frequently.
> 
> +1
> 
> Rich.

Ok, just commited this now.

Regards,
Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 




More information about the libvir-list mailing list