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

Re: [Xen-devel] [PATCH v1 3/4] libxl: add rt scheduler

On gio, 2014-09-04 at 12:12 -0400, Meng Xu wrote:

> 2014-09-04 11:55 GMT-04:00 George Dunlap 
>         >> I see. I'm totally ok with the decision! :-)
>         >> So I will only use the existing libxl interface without
>         adding an
>         >> array to it, to set/get the vcpus' parameters of a domain.
>         Am I right?
>         >>
>         > Yep, no array. You just add a 'period' and a 'budget' fields
>         _inside_
>         > libxl_domain_sched_params, without putting them inside any
>         wrapping
>         > struct, union or array.
>         Except that you don't need to add a "period" field, since
>         there's
>         already one there (for the SEDF scheduler).
Right, I overlooked that, sorry. :-P

>         We could re-use the "slice" field instead of adding "budget",
>         but I
>         think probably for clarity adding "budget" is better (although
>         I'm
>         open to other opinions on that one).
> âI like the idea of adding "budget" because it's much clearer. â
I'm fine with adding a "budget" parameter too.


<<This happens because I choose it to happen!>> (Raistlin Majere)
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)

Attachment: signature.asc
Description: This is a digitally signed message part

Xen-devel mailing list



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