Re: Packet loss with traffic shaper and routing

2006-04-26 Thread Erich Dollansky
Hi, [EMAIL PROTECTED] wrote: At this moment, I'm getting more than 50% interrupts and 20% packets lost. you must have something very basic done the wrong way. I would suggest to upgrade that box to 6.1. You need then a systematic approach. Run the GENERIC kernel and see what happens there.

Re: Packet loss with traffic shaper and routing

2006-04-26 Thread tpeixoto
Hello. I did that and compiled the kernel. Then I restarted the system and enabled sysctl kern.polling.enable=1 It seems that it has no effect in the system. Maybe bge driver doesn't like polling? At this moment, I'm getting more than 50% interrupts and 20% packets lost. I also disabled HT in BI

Re: Packet loss with traffic shaper and routing

2006-04-26 Thread Mihai Tanasescu
Then try commenting these out: #ifdef SMP #ifndef COMPILING_LINT #error DEVICE_POLLING is not compatible with SMP #endif #endif It should compile with both SMP and POLLING. On Wed, 2006-04-26 at 13:09 -0300, [EMAIL PROTECTED] wrote: > Hi Lee, > > I got excited, but... surprise! > > ../../../

Re: Packet loss with traffic shaper and routing

2006-04-26 Thread tpeixoto
Hi Lee, I got excited, but... surprise! ../../../kern/kern_poll.c:46:2: #error DEVICE_POLLING is not compatible with SMP mkdep: compile failed *** Error code 1 :( Thanks anyway! > Hi, > > Try using device polling to reduce the number of interrupts. > > Add this to your kernel: > options

Re: Packet loss with traffic shaper and routing

2006-04-26 Thread Lee Johnston
Hi, Try using device polling to reduce the number of interrupts. Add this to your kernel: options DEVICE_POLLING options HZ=1000 And set sysctl kern.polling.enable=1 Hope this helps, Regards, Lee. [EMAIL PROTECTED] wrote: Hello all! We have a machine working as a router

Packet loss with traffic shaper and routing

2006-04-26 Thread tpeixoto
Hello all! We have a machine working as a router and bandwidth limiter for our network. It routes the traffic through two 'bge' interfaces utilizing only public IPs. No NAT is used. We only have IPFW rules for traffic shaping by MAC addresses. It works fine, but we have been experiencing high late

VLAN interfaces and routing

2006-04-26 Thread William
Hi guys, I'm running on FreeBSD 6.0-RELEASE with various network cards. I'm trying to get vlan interfaces working with my freebsd box, everything seems to work fine apart from routing into non-connected networks. My setup is done via rc.conf, I make serveral cloned interfaces and then apply IP a