software interrupts scheduling oddities

2012-07-05 Thread David Young
Maybe this has happened to you: you tune your NetBSD router for fastest packet-forwarding speed. Presented with a peak packet load, your router does really well for 30 seconds. Then it reboots because the user-tickle watchdog timer expires. OR, your router doesn't reboot but you cannot change

Re: software interrupts scheduling oddities

2012-07-05 Thread Mouse
Maybe this has happened to you: you tune your NetBSD router for fastest packet-forwarding speed. Presented with a peak packet load, [...] the user interface doesn't get any CPU cycles. [...] [I]f there is any software interrupt pending, then it will run before any user process gets a

Re: software interrupts scheduling oddities

2012-07-05 Thread Eduardo Horvath
On Thu, 5 Jul 2012, David Young wrote: I'm using the SCHED_M2 scheduler, btw, on a uniprocessor. SCHED_M2 is kind of an arbitrary choice. I haven't tried SCHED_4BSD, yet, but I will. I'd recommend you try the BSD scheduler. It may give you better results, even though it has a little more

Re: software interrupts scheduling oddities

2012-07-05 Thread David Young
On Thu, Jul 05, 2012 at 07:40:11PM -0400, Mouse wrote: Maybe this has happened to you: you tune your NetBSD router for fastest packet-forwarding speed. Presented with a peak packet load, [...] the user interface doesn't get any CPU cycles. [...] [I]f there is any software interrupt