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
Signature · 1 line
Eunbyung Park
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
Quoted 13 lines · 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
Thanks for your response.
Quoted 4 lines
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.
Quoted 1 line
Hopefully I should be able to get back to credit2 in a month or so.
I hope so :)
Quoted 1 line
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.
Signature · 1 line
Eunbyung Park