Re: nice and hyperthreading on atom
From: Arjan van de Ven
Date: Sat Sep 06 2008 - 12:42:58 EST
On Sat, 06 Sep 2008 16:43:31 +0100
"Phil Endecott" <phil_wueww_endecott@xxxxxxxxxxxx> wrote:
> Dear Experts,
>
> I have an ASUS Eee with an Atom processor, which has hyperthreading
> enabled. If I have two processes, one nice and the other normal,
> they each get 50% of the CPU time. Of course this is what you'd
> expect if the scheduler didn't understand that the two virtual
> processors are not really independent. I'd like to fix it.
>
but you cannot imfluence the cpu's scheduling of the instructions.
As an OS one COULD decide to just not schedule the nice task at all,
but then, especially on atom where HT has a high efficiency, your cpu
is mostly idle ...
--
If you want to reach me at my work email, use arjan@xxxxxxxxxxxxxxx
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/