multiple netisrs in FreeBSD-8.0

zuborg nginx-forum на nginx.us
Пт Апр 2 18:15:36 MSD 2010


Не забываем убрать options DEVICE_POLLING из ядра, иначе не будет работать:

netisr.c:

#ifdef DEVICE_POLLING
        /*
         * The device polling code is not yet aware of how to deal with
         * multiple netisr threads, so for the time being compiling in device
         * polling disables parallel netisr workers.
         */
        if (netisr_maxthreads != 1 || netisr_bindthreads != 0) {
                printf("netisr2: forcing maxthreads to 1 and bindthreads to "
                    "0 for device polling\n");
                netisr_maxthreads = 1;
                netisr_bindthreads = 0;
        }
#endif


Posted at Nginx Forum: http://forum.nginx.org/read.php?21,70554,70562#msg-70562




Подробная информация о списке рассылки nginx-ru