* [dpdk-dev] igb: correctly setting default value TX_WTHRESH (due to performance warning during PMD init)
@ 2016-01-20 6:43 Matthew Hall
0 siblings, 0 replies; only message in thread
From: Matthew Hall @ 2016-01-20 6:43 UTC (permalink / raw)
To: dev
I get this error when running DPDK with the IGB driver in pktgen-dpdk
and other code:
PMD: WARNING: eth_igb_tx_queue_setup(): To improve 1G driver
performance, consider setting the TX WTHRESH value to 4, 8, or 16.
Internally, the code is checking "if (tx_conf->tx_thresh.wthresh == 0)".
But, I am confused now because a while ago I thought we made a bunch of
DPDK usability changes to get rid of this headache. I remember reading /
learning that if you set zero for most rx_conf and tx_conf parameters,
the PMD is supposed to auto-select sane default values.
Given that, why are you forced to set TX_WTHRESH by hand for igb?
What sane default value one should pick for this setting?
Could we do something better to auto-select this like we did for most
rx_conf / tx_conf settings previously? Or did I miss something about the
usability changes or do something wrong?
Sincerely,
Matthew Hall.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-01-20 6:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-20 6:43 [dpdk-dev] igb: correctly setting default value TX_WTHRESH (due to performance warning during PMD init) Matthew Hall
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).