Re: [Qemu-devel] Re: KVM call agenda for Apr 27

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

 



Am 27.04.2010 15:21, schrieb Anthony Liguori:
> On 04/27/2010 08:18 AM, Kevin Wolf wrote:
>>
>> The watermark is not some complex computed value, but actually the
>> statistic itself. We can get rid of handling a threshold in qemu by just
>> signalling "something has changed with this stat".
>>
>> I'm really not arguing that qemu should do anything complex or even
>> define policy. It's just about avoiding polling all the time when
>> nothing has changed and polling too late when things are changing quickly.
>>
>>    
>>> Polling is really the right solution.  It gives the management tool
>>> ultimate flexibility in tweaking the heuristics as they see fit.
>>>      
>> Isn't providing this flexibility completely orthogonal to polling vs.
>> event-based?
>>    
> 
> Except then we need to offer a generic statistics mechanism which seems 
> like it's going to add a fair bit of complexity.  So far, the only 
> argument for it seems to be a misplaced notion that "polling is evil".

I'm not sure if "adding events is evil" is a much better position. :-)

The natural thing is really events here, because we want to get informed
every time something changes. Polling is a workaround for cases where
you can't get these events. So I think it's you who should explain why
polling is so much better than using events.

Note that IIUC the case is here different from the ballooning you
mentioned. The statistics for ballooning change all the time and you
don't want to get informed about changes but monitor the statistics all
the time, right? This is indeed a scenario where polling seems more
natural. But in contrast, the watermark usually doesn't change most of
the time and we want to know when changes happen.

Kevin
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux