Date: Sat, 13 Nov 2010 19:35:12 +0100 From: Ivan Voras <ivoras@freebsd.org> To: =?UTF-8?B?0JrQvtC90YzQutC+0LIg0JXQstCz0LXQvdC40Lk=?= <kes-kes@yandex.ru> Cc: freebsd-questions@freebsd.org Subject: Re: Re[2]: How to obtain what swi1:net is doing? Message-ID: <AANLkTimpDJ-=hFHp0jniWOZHk9ayxff8TzNcOVgit58t@mail.gmail.com> In-Reply-To: <5510442048.20101113034233@yandex.ru> References: <4910622844.20101111212049@yandex.ru> <ibhufr$1gk$1@dough.gmane.org> <5510442048.20101113034233@yandex.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
2010/11/13 =D0=9A=D0=BE=D0=BD=D1=8C=D0=BA=D0=BE=D0=B2 =D0=95=D0=B2=D0=B3=D0= =B5=D0=BD=D0=B8=D0=B9 <kes-kes@yandex.ru>: > IV> net.isr.direct_force=3D0 > IV> net.isr.maxthreads=3D2 > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads > =C2=A0cpu0 (BSP): APIC ID: =C2=A00 > =C2=A0cpu1 (AP): APIC ID: =C2=A01 > =C2=A0cpu2 (AP): APIC ID: =C2=A04 > =C2=A0cpu3 (AP): APIC ID: =C2=A05 > ioapic0: Changing APIC ID to 6 > ioapic0 <Version 2.0> irqs 0-23 on motherboard > netisr_init: forcing maxthreads to 1 and bindthreads to 0 for device poll= ing > > # cat /boot/loader.conf > net.isr.maxthreads=3D2 > > maxthreads does not affected I don't understand: how is it not affected? On a system with maxthreads=3D2, here is how it shows: betelgeuse:/home/ivoras# ps axuHc | grep isr root 12 3.0 0.0 0 432 ?? WL 12:21PM 0:09.21 intr/swi1: netisr 7 root 12 0.0 0.0 0 432 ?? WL 12:21PM 0:00.00 intr/swi1: netisr 0 I.e. there are two threads here, bound to CPU cores 0 and 7. > #uname -r > 9.0-CURRENT Yes, multithreaded netisr was introduced in FreeBSD 8, it wasn't there in 7= .
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimpDJ-=hFHp0jniWOZHk9ayxff8TzNcOVgit58t>