Hi

I just tried to enable network polling on my router box, a P2 400MHz with 3 different NICs (one internal, i think its the fxp one):

fxp0: <Intel 82558 Pro/100 Ethernet> port 0x7c60-0x7c7f mem 0xf3dff000-0xf3dfffff,0xf3f00000-0xf3ffffff irq 11 at device 3.0 on pci0
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: [GIANT-LOCKED]
rl0: <RealTek 8139 10/100BaseTX> port 0x7400-0x74ff mem 0xf3efef00-0xf3efefff irq 10 at device 16.0 on pci0
miibus1: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus1
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: [GIANT-LOCKED]
sis0: <NatSemi DP8381[56] 10/100BaseTX> port 0x7800-0x78ff mem 0xf3eff000-0xf3efffff irq 9 at device 20.0 on pci0
sis0: Silicon Revision: DP83815C

gw-1 ~$ uname -a
FreeBSD gw-1.stromnet.org 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #1: Fri Oct 13 16:59:41 CEST 2006 [EMAIL PROTECTED]:/usr/obj/ usr/src/sys/ROUTER.POLLING i386

Kernel is GENERIC + carp+pfsync+ipsec+polling..
Ok, so when I transfer data between sis0 to rl0 for example, i get very high intererrupt rate, ~40% or so.. Im using openvpn on the box (laptop on rl0), so the packets is maybee shopped up into smaller fragmenst, im not sure.. But anyways, I got the idea that I should try to enable polling on the interface instead. So I did,r ecompiled with polling and enabled polling on all thre if's (man polling says all three should be supported). Any difference? None! still at 40% interrupts when loading ~10MBit (cant seem to get much more since ovpn floors the CPU at that speed). So, shouldnt the interrupts go down somewhat now that i enabled polling? Or did I get this all wrong ;)

Thanks
Johan

_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to