From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: AW: RFC: replace packets already in queue Date: Mon, 02 Jul 2012 09:31:50 +0200 Message-ID: <1341214310.5269.27.camel@edumazet-glaptop> References: <4FEC854E.8080603@hp.com> <1340960817.15719.6.camel@edumazet-glaptop> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Rick Jones , "netdev@vger.kernel.org" To: "Erdt, Ralph" Return-path: Received: from mail-ee0-f46.google.com ([74.125.83.46]:49194 "EHLO mail-ee0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752594Ab2GBHbx (ORCPT ); Mon, 2 Jul 2012 03:31:53 -0400 Received: by eeit10 with SMTP id t10so1937828eei.19 for ; Mon, 02 Jul 2012 00:31:52 -0700 (PDT) In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Mon, 2012-07-02 at 07:02 +0000, Erdt, Ralph wrote: > Even if the wireless queue is a problem (because of our setup, this is > not a problem), the network stack queue (*) is the biggest queue, and > a good point to optimize. Hmm, I am not convinced you have no queues on wireless. Please describe how you managed this. In fact this is the biggest problem with wireless : mac82011 framework aggressively pull packets from Linux packet qdisc in order to perform packet aggregation. Most packets don't stay in qdisc but are sitting in wireless driver, unless you really flood it. If it happens, you already are in trouble. So code your qdisc thing, but I am not sure you'll get much improvement. You would need to implement it in wireless code instead.