Re: how can I compile click for more than 4 CPUs?
Eddie Kohler <[email protected]>
| Newsgroups | gmane.network.routing.click |
|---|---|
| Message-ID | <CAF0C5SKm-ObHgdXx+s8cGL-=oTAHg_RuvE8Bck3B60hTCZ6_gQ@mail.gmail.com> |
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 <[email protected]> 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 <[email protected]>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 >> <[email protected]>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 >> > [email protected] >> > https://amsterdam.lcs.mit.edu/mailman/listinfo/click >> > >> > >> _______________________________________________ >> click mailing list >> [email protected] >> https://amsterdam.lcs.mit.edu/mailman/listinfo/click >> > _______________________________________________ > click mailing list > [email protected] > https://amsterdam.lcs.mit.edu/mailman/listinfo/click > _______________________________________________ click mailing list [email protected] https://amsterdam.lcs.mit.edu/mailman/listinfo/click