[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1394372662.20149.92.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Sun, 09 Mar 2014 06:44:22 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Ming Chen <v.mingchen@...il.com>
Cc: John Fastabend <john.r.fastabend@...el.com>,
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 Sun, 2014-03-09 at 01:43 -0500, Ming Chen wrote:
> I am trying to experiment using only one queue for all the TCP flows.
> But, how do we force that. I was thinking about XPS. But I just
> realized that /sys/class/net/p3p1/queues/tx-n/xps_cpus only set which
> CPUs can use them. How to let all CPUs choose one single tx queue? Or,
> should I use mqprio and assign all flows to one tc that contains only
> one tx queue?
If you want to use a single queue, just declare a single queue on your
NIC...
ethtool -L eth0 rx 1 tx 1
Multiqueue is not a requirement in your case. You can easily reach line
rate with a single queue on a 10Gbe NIC.
--
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