Bug 1959649
| Summary: | network role: Support ethtool -G|--set-ring options | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Wen Liang <wenliang> | ||||
| Component: | rhel-system-roles | Assignee: | Rich Megginson <rmeggins> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Zhiqian Guan <zhguan> | ||||
| Severity: | unspecified | Docs Contact: | Laura Onduskova <londusko> | ||||
| Priority: | unspecified | ||||||
| Version: | 8.5 | CC: | djez, elpereir, nhosoi, spetrosi, till, vferschm, zhguan | ||||
| Target Milestone: | beta | Keywords: | Triaged | ||||
| Target Release: | 8.5 | Flags: | pm-rhel:
mirror+
|
||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | role:network | ||||||
| Fixed In Version: | rhel-system-roles-1.2.0-1.el8 | Doc Type: | Enhancement | ||||
| Doc Text: |
.`ethtool` now supports reducing the packet loss rate and latency
Tx or Rx buffers are memory spaces allocated by a network adapter to handle traffic bursts. Properly managing the size of these buffers is critical to reduce the packet loss rate and achieve acceptable network latency.
The `ethtool` utility now reduces the packet loss rate or latency by configuring the `ring` option of the specified network device.
The list of supported `ring` parameters is:
* `rx` - Changes the number of ring entries for the Rx ring.
* `rx-jumbo` - Changes the number of ring entries for the Rx Jumbo ring.
* `rx-mini` - Changes the number of ring entries for the Rx Mini ring.
* `tx` - Changes the number of ring entries for the Tx ring.
|
Story Points: | --- | ||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2021-11-09 17:45:29 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | 1957876 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Wen Liang
2021-05-12 02:36:48 UTC
The automated test playbooks are: tests/tests_ethtool_ring_nm.yml tests/tests_ethtool_ring_initscripts.yml @wenliang would you please fill in the Doc Text field? (In reply to Rich Megginson from comment #3) > @wenliang would you please fill in the Doc Text field? Rich, I do not have the permission to fill it, I discussed with @elpereir about the proper `Doc Text` for this new feature, she will fill it when she had time. (In reply to Wen Liang from comment #4) > (In reply to Rich Megginson from comment #3) > > @wenliang would you please fill in the Doc Text field? > > Rich, I do not have the permission to fill it, I discussed with > @elpereir about the proper `Doc Text` for this new feature, she > will fill it when she had time. Can you just add it as a comment then, and I or someone else will fill in the Doc Text field? I would like to track it in the bz. Feature:
Support configuring ethtool `ring` options and setting the `rx`/`tx` `ring` parameters of the specified network device. The list of supported `ring` parameters is:
- `rx` - Changes the number of ring entries for the Rx ring.
- `rx-jumbo` - Changes the number of ring entries for the Rx Jumbo ring.
- `rx-mini` - Changes the number of ring entries for the Rx Mini ring.
- `tx` - Changes the number of ring entries for the Tx ring.
Reason:
Tx/Rx buffers are memory spaces allocated by a network adapter to handle traffic bursts. Buffering takes place when the traffic exceeds physical capacity of network adapter.
Properly managing the size of these buffers is critical to reduce the packet loss rate and achieve good network latency.
Result:
Reduce the packet loss rate or latency through tuning `ring` parameters.
:: [ 06:59:16 ] :: [ PASS ] :: Test network/tests_ethtool_ring_nm.yml (roles/rhel-system-roles.network/tests/tests_ethtool_ring_nm.yml) with ANSIBLE-2 against RHEL_8_3_0_GA (Expected 0, got 0) :: [ 07:03:23 ] :: [ PASS ] :: Test network/tests_ethtool_ring_initscripts.yml (roles/rhel-system-roles.network/tests/tests_ethtool_ring_initscripts.yml) with ANSIBLE-2 against RHEL_8_3_0_GA (Expected 0, got 0) [root@netqe2 Upstream-testsuite]# rpm -q rhel-system-roles rhel-system-roles-1.2.0-1.el8.noarch [root@netqe2 Upstream-testsuite]# uname -r 4.18.0-308.el8.x86_64 [root@netqe2 Upstream-testsuite]# Pre verified with the test playbook running on 8.3 against ansible2.9 Created attachment 1789791 [details]
full-log-of-test
this is a full log of test
[ PASS ] :: Test network/tests_ethtool_ring_nm.yml (roles/rhel-system-roles.network/tests/tests_ethtool_ring_nm.yml) with ANSIBLE-2.8 against RHEL_6_10_GA (Expected 0, got 0) [ PASS ] :: Test network/tests_ethtool_ring_initscripts.yml (roles/rhel-system-roles.network/tests/tests_ethtool_ring_initscripts.yml) with ANSIBLE-2.8 against RHEL_6_10_GA (Expected 0, got 0) [ PASS ] :: Test network/tests_ethtool_ring_nm.yml (roles/rhel-system-roles.network/tests/tests_ethtool_ring_nm.yml) with ANSIBLE-2.9 against RHEL_6_10_GA (Expected 0, got 0) [ PASS ] :: Test network/tests_ethtool_ring_initscripts.yml (roles/rhel-system-roles.network/tests/tests_ethtool_ring_initscripts.yml) with ANSIBLE-2.9 against RHEL_6_10_GA (Expected 0, got 0) [ PASS ] :: Test network/tests_ethtool_ring_nm.yml (roles/rhel-system-roles.network/tests/tests_ethtool_ring_nm.yml) with ANSIBLE-2.8 against RHEL_7_9_GA (Expected 0, got 0) [ PASS ] :: Test network/tests_ethtool_ring_initscripts.yml (roles/rhel-system-roles.network/tests/tests_ethtool_ring_initscripts.yml) with ANSIBLE-2.8 against RHEL_7_9_GA (Expected 0, got 0) [ PASS ] :: Test network/tests_ethtool_ring_nm.yml (roles/rhel-system-roles.network/tests/tests_ethtool_ring_nm.yml) with ANSIBLE-2.9 against RHEL_7_9_GA (Expected 0, got 0) [ PASS ] :: Test network/tests_ethtool_ring_initscripts.yml (roles/rhel-system-roles.network/tests/tests_ethtool_ring_initscripts.yml) with ANSIBLE-2.9 against RHEL_7_9_GA (Expected 0, got 0) [ PASS ] :: Test network/tests_ethtool_ring_nm.yml (roles/rhel-system-roles.network/tests/tests_ethtool_ring_nm.yml) with ANSIBLE-2.8 against RHEL_8_3_0_GA (Expected 0, got 0) [ PASS ] :: Test network/tests_ethtool_ring_initscripts.yml (roles/rhel-system-roles.network/tests/tests_ethtool_ring_initscripts.yml) with ANSIBLE-2.8 against RHEL_8_3_0_GA (Expected 0, got 0) [ PASS ] :: Test network/tests_ethtool_ring_nm.yml (roles/rhel-system-roles.network/tests/tests_ethtool_ring_nm.yml) with ANSIBLE-2.9 against RHEL_8_3_0_GA (Expected 0, got 0) [ PASS ] :: Test network/tests_ethtool_ring_initscripts.yml (roles/rhel-system-roles.network/tests/tests_ethtool_ring_initscripts.yml) with ANSIBLE-2.9 against RHEL_8_3_0_GA (Expected 0, got 0) [ PASS ] :: Test network/tests_ethtool_ring_nm.yml (roles/rhel-system-roles.network/tests/tests_ethtool_ring_nm.yml) with ANSIBLE-2.8 against RHEL_8_4_0_BETA (Expected 0, got 0) [ PASS ] :: Test network/tests_ethtool_ring_initscripts.yml (roles/rhel-system-roles.network/tests/tests_ethtool_ring_initscripts.yml) with ANSIBLE-2.8 against RHEL_8_4_0_BETA (Expected 0, got 0) [ PASS ] :: Test network/tests_ethtool_ring_nm.yml (roles/rhel-system-roles.network/tests/tests_ethtool_ring_nm.yml) with ANSIBLE-2.9 against RHEL_8_4_0_BETA (Expected 0, got 0) [ PASS ] :: Test network/tests_ethtool_ring_initscripts.yml (roles/rhel-system-roles.network/tests/tests_ethtool_ring_initscripts.yml) with ANSIBLE-2.9 against RHEL_8_4_0_BETA (Expected 0, got 0) [ PASS ] :: Test network/tests_ethtool_ring_nm.yml (roles/rhel-system-roles.network/tests/tests_ethtool_ring_nm.yml) with ANSIBLE-2.8 against RHEL_8_5_0_TESTING (Expected 0, got 0) [ PASS ] :: Test network/tests_ethtool_ring_initscripts.yml (roles/rhel-system-roles.network/tests/tests_ethtool_ring_initscripts.yml) with ANSIBLE-2.8 against RHEL_8_5_0_TESTING (Expected 0, got 0) [ PASS ] :: Test network/tests_ethtool_ring_nm.yml (roles/rhel-system-roles.network/tests/tests_ethtool_ring_nm.yml) with ANSIBLE-2.9 against RHEL_8_5_0_TESTING (Expected 0, got 0) [ PASS ] :: Test network/tests_ethtool_ring_initscripts.yml (roles/rhel-system-roles.network/tests/tests_ethtool_ring_initscripts.yml) with ANSIBLE-2.9 against RHEL_8_5_0_TESTING (Expected 0, got 0) [root@netqe3 Upstream-testsuite]# uname -r 4.18.0-310.el8.x86_64 [root@netqe3 Upstream-testsuite]# [root@netqe3 Upstream-testsuite]# rpm -q rhel-system-roles rhel-system-roles-1.2.0-1.el8.noarch [root@netqe3 Upstream-testsuite]# Full log has beed uploaded to the attachments Based on the Comment15, set this to VERIFIED. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (rhel-system-roles bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:4159 |