lkml.org 
[lkml]   [2011]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Re: HT (Hyper Threading) aware process scheduling doesn't work as it should
> On Oct 31, 2011, Henrique de Moraes Holschuh wrote: 
>
> On Sun, 30 Oct 2011, Artem S. Tashkinov wrote:
> > I've found out that even on Linux 3.0.8 the process scheduler doesn't correctly distributes
> > the load amongst virtual CPUs. E.g. on a 4-core system (8 total virtual CPUs) the process
> > scheduler often run some instances of four different tasks on the same physical CPU.
>
> Please check how your sched_mc_power_savings and sched_smt_power_savings
> tunables. Here's the doc from lesswats.org:
>
> [cut]
>
> Please make sure both are set to 0. If they were not 0 at the time you
> ran your tests, please retest and report back.
>
> You also want to make sure you _do_ have the SMT scheduler compiled in
> whatever kernel you're using, just in case.
>
> It is certainly possible that there is a bug in the scheduler, but it is
> best to make sure it is not something else, first.
>
> You may also want to refer to: http://oss.intel.com/pdfs/mclinux.pdf and
> to the irqbalance and hwloc[1] utilities, since you're apparently
> interested in SMP/SMT/NUMA scheduler performance.

That's 0 & 0 for me.

And people running standard desktop Linux distributions (like Arch Linux and Ubuntu
11.10) report that this issue also applies to them and by default (in the mentioned
distros) both these variables are set to 0 (that is unchanged).

So, there's nothing to retest.

I have another major pet peeve concerning the Linux process scheduler but I
want to start a new thread on that topic.

Best wishes,

Artem




\
 
 \ /
  Last update: 2011-10-30 22:53    [W:0.141 / U:5.764 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site