[Click] Thread Scheduling
Roman Chertov
rchertov at cs.ucsb.edu
Fri Mar 6 15:44:04 EST 2009
Latency Buster wrote:
> Suppose I would like to map my elements to CPU threads in the following manner:
>
> StaticThreadSched(pd0 0, td1 0, pd1 1, td0 1);
>
> Then I execute click-install -t 2 --cpu=2 <config.name>.
>
> But I always observe that one of the kclick process is always in 'S'
> state indicating that's its not doing anything. (state observed when
> click is moving packets).
> This is done with the understanding that --cpu = <index of the
> largest thread + 1>.
You want --cpu=0 as it sets on which CPU to preferentially run the
threads. So if you have two threads, then --cpu=0 would imply that you
want cpu0 and cpu1.
Roman
>
> Could someone tell me where I am going wrong? `pgrep kclick' shows two
> kclick processes with one of them in 'S' state as stated above.
>
> Thanks,
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>
More information about the click
mailing list