[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v1 1/4] xen: add real time scheduler rt
Hi Jan, 2014-08-27 2:26 GMT-04:00 Jan Beulich <JBeulich@xxxxxxxx>:
Let's me explain in another short and clearer way. Because each vcpu's parameters can affect the scheduling sequence and thus affect the real-time performance of a domain, users may want to know what is the parameters of each vcpu of each domain so that they can have an intuition of how the vcpus will be scheduled. (Do you agree? :-))
Users may also need to set each VCPU's parameter of a domain to achieve their desired real-time performance for this domain. After they set a vcpu's parameter of a domain, they need to have a way to check the new parameters of this vcpu of this domain. right?
Because of the above two scenarios, users need to know each vcpu's parameters of a domain. So we need the handler to pass each vcpu's parameters from kernel to userspace to show to users.
One thing to note is that: this handler is only used to get each vcpu's parameters of a domain. We don't need this handler to set a vcpu's parameter.
Sure! My bad.
We had a long discussion of the design of this functionality of getting each vcpu's parameters. It's here: http://www.gossamer-threads.com/lists/xen/devel/339146
Another thread that discusses the interface for improved SEDF also discusses the idea of getting/setting each vcpu's parameters for a real-time scheduler. This rt scheduler is supposed to replace the existing SEDF scheduler.
Here is the link to this thread: http://www.gossamer-threads.com/lists/xen/devel/339056
Quote from Dario : "I don't think the renaming+SEDF deprecation should happen until proper SMP support is implemented, and probably also not until support for per-VCPU scheduling parameters (quite important for an advanced real-time scheduling solution) is there." 1. it has really really really poor SMP support 2. it does not allow to specify scheduling parameters on a per-VCPU basis, but only on a domain basis. This is fine for general purpose schedulers, but can be quite important in real-time workloads " Please let me know if you have further questions. Maybe Dario could also give more insight on this, later. :-)
I see the issue. Is 31536000000000 a good upper bound for period and budget?
Actually, I'm not sure. This totally depends on users' requirement. 4294967296us = 1.19hour. I'm not sure 1.19hour should be long enough for real-time applications? If it's enough, I can definitely change the type from uint64 to uint32. Do you have any suggestion of how we can get a proper upper bound for period and budget?
Thank you very much!
Best, Meng ----------- Meng Xu PhD Student in Computer and Information Science University of Pennsylvania _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |