On 01/04/2019 08:41, Jan Beulich wrote: >>>> On 29.03.19 at 16:08, <jgr...@suse.com> wrote: >> Via boot parameter sched_granularity=core (or sched_granularity=socket) >> it is possible to change the scheduling granularity from thread (the >> default) to either whole cores or even sockets. > > One further general question came to mind: How about also having > "sched-granularity=thread" (or "...=none") to retain current > behavior, at least to have an easy way to compare effects if > wanted? But perhaps also to allow to deal with potential resources > wasting configurations like having mostly VMs with e.g. an odd > number of vCPU-s.
Fine with me. > The other question of course is whether the terms thread, core, > and socket are generic enough to be used in architecture > independent code. Even on x86 it already leaves out / unclear > where / how e.g. AMD's compute units would be classified. I > don't have any good suggestion for abstraction, so possibly > the terms used may want to become arch-specific. I followed the already known terms from the credit2_runqueue parameter. I think they should match. Which would call for "sched-granularity=cpu" instead of "thread". Juergen _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel