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

Re: [Xen-devel] [PATCH v8 5/5] tools, docs: add total/local memory bandwith monitoring

On Wed, 2015-01-28 at 14:10 +0000, Ian Jackson wrote:
> Ian Campbell writes ("Re: [PATCH v8 5/5] tools, docs: add total/local memory 
> bandwith monitoring"):
> ...
> > Another alternative would be to expose the instantaneous values to the
> > libxl user and let it sleep as it wishes and calculate the bandwidth
> > itself.
> I think that would be better.
> Suppose the libxl caller wants to record the mean bandwidth over a
> longer period: they shouldn't have to keep calling this function and
> adding up the results (and if they did their algorithm would be racy).


From the code it seems like there is some h/w constraint on roll over of
the underlying counter, which might complicate this somewhat. At the
very least the libxl interface docs would need to be quite extensive.


Xen-devel mailing list



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