[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] [PATCH] Add DOM0_GETDOMAININFOLIST op for bulkretrieval of domain info


  • To: "Josh Triplett" <josht@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
  • Date: Sat, 25 Jun 2005 02:41:07 +0100
  • Delivery-date: Sat, 25 Jun 2005 01:40:09 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcV5EZn4YKkRYyvgTLGFw9JhdXHGFwAFGO7Q
  • Thread-topic: [Xen-devel] [PATCH] Add DOM0_GETDOMAININFOLIST op for bulkretrieval of domain info

> The attached patch adds a new dom0_op, 
> DOM0_GETDOMAININFOLIST.  This operation allows retrieval of 
> the domain info structures for all domains in one hypercall.
> 
> Using a small test program, on a system with 97 domains with 
> non-contiguous domain IDs, I found that with this hypercall I 
> could retrieve the full array of info structures 12840 times 
> per second, an improvement from 2380 times per second with 
> the DOM0_GETDOMAININFO op.

Can't you just reuse the existing xc_getdomain_info function and change
the hypercall depending on the number of domains being requested?

Ian

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.