[Click] How to test adaptive mode with 2 CPUs?
Alessandro Coli
alessandro.coli at studio.unibo.it
Thu Jun 17 16:42:48 EDT 2004
Hi, i am the student who is making his thesis with Giorgio Calarco.
We are using click 1.3 for reasons of compatibility with our previous
experiments, so as we can compare the results of current tests with the old
ones'.
Our router is a 2 processor PC.
Giorgio Calarco told me that, differently from what we used to think, if we
only compile the click with "--enable-multithread=2" and "--enable-adaptive"
options and then run a test in adaptive mode, the test uses only 1 CPU. This
is not what we wanted to do, we want a test in adaptive using both the CPUs.
1) Does this happen even if we launch click with "click-install --threads 2"
option? I noticed that if i launch click with --threads 2 option, the system
monitor signals 100% occupation, while it signals just 50% if i launch
with "click-install --threads 1" or just "click-install". So I thought this
was the proof that both the CPUs were being used.... was I wrong?
Giorgio Calarco told me that I need to use another element
called "SortedThreadSched" if i want to run a test in adaptive mode using both
the 2 CPUs. I cannot find any instruction on it, neither on the documentation
on click site, nor in the paper
http://www.pdos.lcs.mit.edu/papers/click:usenix01/usenix01.pdf (but I know it
has not been written by Kohler).
But I found in the directories of click1.3 an element called "SortedSched". I
did not find any documentation on it too.
2) Is it the same element ( SortedSched = SortedThreadSched) ?
3) Since there is no documentation: how do I have to use it to run the
adaptive test with both the CPUs?
This is a question for Kohler or for anyone who knows...
Many thanks,ciao :)
Alex
More information about the click
mailing list