Re: [patch] CFS scheduler, -v18

From: Ingo Molnar
Date: Sat Jun 23 2007 - 13:26:16 EST



* Antonino Ingargiola <tritemio@xxxxxxxxx> wrote:

> 2007/6/23, Ingo Molnar <mingo@xxxxxxx>:
> >
> >i'm pleased to announce release -v18 of the CFS scheduler patchset.
>
> I'm running -v18 on 2.6.22-rc5, no problems so far. How can I change a
> task to SCHED_IDLE or SCHED_BATCH priority under CFS?

pick up schedtool, and these are the choices it gives:

-N for SCHED_NORMAL
-F -p PRIO for SCHED_FIFO only as root
-R -p PRIO for SCHED_RR only as root
-B for SCHED_BATCH
-I -p PRIO for SCHED_ISO
-D for SCHED_IDLEPRIO

then for example to start up something as SCHED_IDLE:

schedtool -D -e ./somecommand.sh

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/