peb1611
2011-Apr-25 07:02 UTC
[Xen-devel] Is there any onging work about SMT aware scheduling in Credit2?
Hi, george :) Is there any ongoing work about SMT(hyperthreading) aware shceduling in the credit2? such as, "sched_smt_power_savings" support in the previous credit 1 scheduler. There are some TODO comments in the credit2 source, however, I don''t know if whether there is a related branch or ongoing work. Thanks -- Eunbyung Park _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
George Dunlap
2011-Apr-26 09:44 UTC
[Xen-devel] Re: Is there any onging work about SMT aware scheduling in Credit2?
peb, Because credit2 is not the default scheduler, there''s no need for a separate branch -- the code in xen-unstable.hg is the most recent version there is. At the moment credit2 is not HT-aware; it treats each thread as if it were its own core. (Which is to say, if it has two vcpus to run, it may put them on different threads on the same core instead of spreading them across cores). Unfortunately I''ve been pulled away from credit2 development for a few months to work on some XenServer product stuff. Hopefully I should be able to get back to credit2 in a month or so. But if you''re interested in contributing, I''d be happy for some help. :-) -George On Mon, 2011-04-25 at 08:02 +0100, peb1611 wrote:> Hi, george :) > > Is there any ongoing work about SMT(hyperthreading) aware shceduling in > the credit2? > > such as, "sched_smt_power_savings" support in the previous credit 1 > scheduler. > > There are some TODO comments in the credit2 source, however, I don''t > know if whether there is a related branch or ongoing work. > > Thanks >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
peb1611
2011-Apr-26 12:08 UTC
[Xen-devel] Re: Is there any onging work about SMT aware scheduling in Credit2?
Thanks for your response.> At the moment credit2 is not HT-aware; it treats each thread as if it > were its own core. (Which is to say, if it has two vcpus to run, it may > put them on different threads on the same core instead of spreading them > across cores).I already have noticed it and I was wondering HT-aware credit2 is being worked or not by you or someone interested it.> Hopefully I should be able to get back to credit2 in a month or so.I hope so :)> But if you''re interested in contributing, I''d be happy for some help. :-)I am very interested in the credit2 stuff, however, I also don''t have much more time to spend. Anyway, whenever I have time for, I will try to make patches to be needed. -- Eunbyung Park _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel