[Click] patches to prevent Click-1.5.0 crash under load
Eddie Kohler
kohler at cs.ucla.edu
Wed Jan 31 00:57:59 EST 2007
Hi Kevin,
Months later, I've applied this patch. Thanks very much for it! I hope that
e1000-7.x is working for you, if you haven't given up on us in the meantime.
Eddie
Kevin Lahey wrote:
> When starting up multithreaded Click-1.5.0 under network load on e1000s,
> I've been seeing some repeatable crashes. If the system is already
> getting packets at a high rate, it'll crash when it turns polling on.
> This appears to be due to a race condition with the NAPI receive ring
> cleanup routines.
>
> Turning off NAPI doesn't work, because then the system winds up in
> livelock and won't start Click; using netif_poll_disable to
> turn off NAPI in e1000_poll_on similarly seems to delay starting Click.
> I've attached a fairly weak attempt at a patch for this.
>
> There's also a few lines that ensure that e1000_poll_on compiles under
> Linux 2.4. I verified that it still compiles on 2.6. I also tried this
> out under Click from CVS; the patch seemed to work okay for e1000-5.x,
> although I seem to recall that I saw some crashes on Click uninstall
> with the analogous changes to e1000-6.x.
>
> Thanks,
>
> Kevin Lahey
> lahey at isi.edu
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
More information about the click
mailing list