What would a simple click config look like to test utilizing all my
available CPU cores with simulated data?

I tried the following, but I'm not seeing more than 1 core utilized:

InfiniteSource(\<0800>) -> rate1 :: Counter() -> Discard;
InfiniteSource(\<0800>) -> rate2 :: Counter() -> Discard;
InfiniteSource(\<0800>) -> rate3 :: Counter() -> Discard;
InfiniteSource(\<0800>) -> rate4 :: Counter() -> Discard;
InfiniteSource(\<0800>) -> rate5 :: Counter() -> Discard;
InfiniteSource(\<0800>) -> rate6 :: Counter() -> Discard;


I read that a single scheduled element only ever executes on one thread.  I
figured making 6 InfiniteSource elements would cause 6 cores to be utilized.

I configured click with --enable-multithread=8  and installed with -t 6.
What am I missing?

-Tom
_______________________________________________
click mailing list
[email protected]
https://amsterdam.lcs.mit.edu/mailman/listinfo/click

Reply via email to