Re: How to optimize routing performance

jamal (hadi@cyberus.ca)
Thu, 15 Mar 2001 16:01:00 -0500 (EST)


On Thu, 15 Mar 2001, Robert Olsson wrote:

>
>
> Jonathan Morton writes:
>
> > Nice. Any chance of similar functionality finding its' way outside the
> > Tulip driver, eg. to 3c509 or via-rhine? I'd find those useful, since one
> > or two of my Macs appear to be capable of generating pseudo-DoS levels of
> > traffic under certain circumstances which totally lock a 486 (for the
> > duration) and heavily load a P166 - even though said Macs "only" have
> > 10baseT Ethernet.
>
> I'm not the one to tell. :-)
>
> First its kind of experimental. Jamal has talked about putting together
> a proposal for enhancing RX-process for inclusion in the 2.5 kernels.
> There is meeting soon for this.
>
>
> But why not experiment a bit?

I think one of the immediate things usable to drivers is to check the
netif_rx() return value and yield the CPU if the system is congested.
This is hardware independent. For the Tulip, since it knows how to do
mitigation, it infact reduces it's interupt rate. An even simpler thing is
to use HW_FLOW_CONTROL where you shutdown rx_interupt based on system
congestion (and get worken up later when things get better).

For 2.5 the plan is to work around any hardware dependencies.

cheers,
jamal

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/