From: Patrick Mahan <mahan@mahan.org>
To: dev@dpdk.org
Subject: [dpdk-dev] TX write threshold vs Report Status threshold
Date: Wed, 10 Jul 2013 13:18:32 -0700 [thread overview]
Message-ID: <324D7C36-DE37-44EB-A3D8-DB3D2DA2E8AB@mahan.org> (raw)
I'm not sure this is a bug or feature.
First, I've been away for a few weeks being on vacation and other stuff. My client liked my findings on DPDK well enough that I have been loaned a dual-cpu system (2 Xeon E5-2690 @ 2.9 GHz) and two 82599 cards. This is so I can eliminate the PCIe bus contention and to test the Numa capabilities.
So I am now seeing (almost) line rate (~14.32 Mpps) between the two cards. But it is not quite line rate (14.88 Mpps), so I have started playing around with the TX/RX threshold parameters.
Reading the datasheet for the 82599, section 7.2.3.5.1 seems to indicate that the write threshold (TXDCTL[n].WTHRESH) should (could?) set this value to obtain more efficient use of the PCIe bus and memory.
However, testpmd fails because the TX rs threshold (set to 0 by testpmd) is defaulting to 32 inside the ixgbe pmd code, which then fails because I have set the TX write threshold to 16.
And I cannot force the TX rs threshold < 0 via the command line.
Personally I think this is a bug, but maybe it's a feature :-) but is there a reason to force use of the rs threshold over the write threshold?
Thanks,
Patrick
reply other threads:[~2013-07-10 20:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=324D7C36-DE37-44EB-A3D8-DB3D2DA2E8AB@mahan.org \
--to=mahan@mahan.org \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).