[libvirt] [PATCH 06/10] vcpubandwidth: introduce two new libvirt APIs

Gui Jianfeng guijianfeng at cn.fujitsu.com
Mon Jul 11 01:40:12 UTC 2011


On 2011-7-7 10:32, Taku Izumi wrote:
> 
>>>>>>> So why introduce VCPU level apis?
>>>>>>
>>>>>> Adam Litke said IBM's performance team nead to control cpu bandwidth for each
>>>>>> vcpu.
>>>>> Right, but we do not export that as a User API, that was my suggestion.
>>>>> We can internally control each vcpu's bandwidth, i.e. divide equally.
>>>>
>>>> Hmm, I heard that some server could run CPUs at different speed.
>>>> May be this patch can simulate this behavior. 
>>> That happens on my laptop as well, depending on the machine load CPU
>>> frequency is changed but it is done transparently.
>>
>> I means explicitly CPU speed configuring. ;)
>>
>>>
>>> I am not sure if we are trying to simulate that here.
>>
>> So why not leave the flexible interface here, and let users make
>> the decision?
> 
>  In my mind, the flexibility is not always a good thing.
>  It is nothing but troublesome for the person who doesn't like
>  detailed setting. I don't know how many people want this flexibility.
> 
>  I'm for Nikunj's desgin. Do you have any concerns?

My concern is whether we need to simulate CPUs running at different speed or not.
If All you guys think this isn't a problem. I'm also fine with Nikunj's idea.

Thanks,
Gui

> 
> 
> --
> Best regards, 
> Taku Izumi <izumi.taku at jp.fujitsu.com>
> 
> 
> 





More information about the libvir-list mailing list