[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1394335754.20149.73.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Sat, 08 Mar 2014 19:29:14 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: Ming Chen <v.mingchen@...il.com>
Cc: netdev@...r.kernel.org, Erez Zadok <ezk@....cs.sunysb.edu>,
Dean Hildebrand <dhildeb@...ibm.com>,
Geoff Kuenning <geoff@...hmc.edu>
Subject: Re: [BUG?] ixgbe: only num_online_cpus() of the tx queues are
enabled
On Sat, 2014-03-08 at 19:30 -0500, Ming Chen wrote:
> Hi Eric,
>
> Thanks for the suggestion. I believe "tc qdisc replace dev eth0 root
> fq" can achieve fairness if we have only one queue. My understanding
> is that we cannot directly apply FQ to a multiqueue devices, isn't it?
> If we apply FQ separately to each tx queue, then what if we have one
> flow (fl-0) in tx-0, but two flows (fl-1 and fl-2) in tx-1? With FQ,
> the two flows in tx-1 should get the same bandwidth. But how about
> fl-0 and fl-1?
You do not need multiqueue to send traffic for few TCP flows, because
packets will reach 64KB size very fast.
If you want fairness, then multiqueue wont do it, unless you add some
kind of shaper.
TCP is handling one flow, not an arbitrary number of flows.
If you need fairness, then you need an AQM like FQ.
--
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