Re: CFS Scheduler and real-time tasks

From: Ingo Molnar
Date: Thu May 17 2007 - 15:24:02 EST



* Török Edvin <edwintorok@xxxxxxxxx> wrote:

> Is there something I am doing wrong, or is the precision decrease
> expected, when running real-time tasks too?

yeah: real-time tasks are ueber-tasks that just get all CPU time
immediately. I guess we could make SCHED_RR be covered by CFS accounting
eventually.

> Very precise indeed, the default scheduler produces lots of different
> timings there.

note: you ran it on a dual-core system and the SMP load-balancer needs
time to gain precision in the non-RT test - so i'd suggest to test it
much longer than 10 seconds: 300 seconds at least.

Ingo
-
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/