[Click] how can I compile click for more than 4 CPUs?

Eddie Kohler ekohler at gmail.com
Mon Nov 14 01:05:39 EST 2011


Beyers and Mike are correct. However, the old "--enable-multithread=N"
syntax wasn't very useful. I've checked in some changes that adapt
Click to the number of CPUs declared in the kernel. You should only
get a warning when trying to install a configuration with MORE threads
than CPUs.

Eddie


On Sun, Nov 13, 2011 at 1:45 PM, Beyers Cronje <bcronje at gmail.com> wrote:
> That is correct, configure with --enable-multithread[=N] and run kernel
> click with --threads=N
>
> Beyers
>
> On Sun, Nov 13, 2011 at 8:34 PM, Mike Miller <michael.g.miller at gmail.com>wrote:
>
>> Hi Hamid,
>>
>> I'm not a click expert, but grepping through the source code says that the
>> flag you need to set is:
>>
>> --enable-multithread[=N]  support kernel multithreading, N threads max
>>
>> so you probably want --enable-multithread=16.
>>
>> - Mike
>>
>> On Sun, Nov 13, 2011 at 6:37 AM, Hamid Farhadi
>> <qq119512 at iii.u-tokyo.ac.jp>wrote:
>>
>> >  I got this warning when loading multithreaded kernel module:
>> >
>> > warning: click compiled for 4 cpus, machine allows 16
>> >
>> > I can not find any switches in configuration script to do so.
>> > any idea pls?
>> >
>> > Hamid
>> >
>> > _______________________________________________
>> > click mailing list
>> > click at amsterdam.lcs.mit.edu
>> > https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>> >
>> >
>> _______________________________________________
>> click mailing list
>> click at amsterdam.lcs.mit.edu
>> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>



More information about the click mailing list