[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1287507810.11904.23.camel@HP1>
Date: Tue, 19 Oct 2010 10:03:30 -0700
From: "Michael Chan" <mchan@...adcom.com>
To: "David Miller" <davem@...emloft.net>
cc: "andy@...yhouse.net" <andy@...yhouse.net>,
"jfeeney@...hat.com" <jfeeney@...hat.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next] bnx2: Increase max rx ring size from 1K to
2K
On Tue, 2010-10-19 at 01:14 -0700, David Miller wrote:
> From: "Michael Chan" <mchan@...adcom.com>
> Date: Mon, 18 Oct 2010 17:30:54 -0700
>
> > A number of customers are reporting packet loss under certain workloads
> > (e.g. heavy bursts of small packets) with flow control disabled. A larger
> > rx ring helps to prevent these losses.
> >
> > No change in default rx ring size and memory consumption.
> >
> > Signed-off-by: Andy Gospodarek <andy@...yhouse.net>
> > Acked-by: John Feeney <jfeeney@...hat.com>
> > Signed-off-by: Michael Chan <mchan@...adcom.com>
>
> I don't see how it's any better to queue things more deeply in
> hardware, compared to simply using hardware flow control since that's
> what it's for and makes the queuing happen in the networking stack of
> the sender, in software, which in the end performs better and gives
> better feedback to the source of the data.
There are situations where flow control is not desirable. For example,
if there are many multicast receivers in the network, you may not want a
few slow receivers to slow down the entire network with flow control.
>
> These huge RX queue sizes are absolutely rediculious, and I've
> complained about this before.
Yes you have and I was initially hesitant to post this patch. But the
customer sees that many other 1G drivers in the tree can have bigger
ring sizes and as a result, they have fewer packet drops using these
other devices. In fact, 2K is still much smaller than many other 1G
drivers in the tree. Please also note that this does not add any extra
memory to the default configuration. Thanks.
>
> And instead of seeing less of this, I keep seeing more of this stuff.
> Please exert some pushback on these folks who are doing such insane
> things.
>
> Thanks.
>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists