DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] lib/power: power pmd errata with RTM and gcc-9
@ 2022-03-09 13:22 David Hunt
  2022-03-16 19:44 ` Thomas Monjalon
  0 siblings, 1 reply; 3+ messages in thread
From: David Hunt @ 2022-03-09 13:22 UTC (permalink / raw)
  To: dev; +Cc: david.hunt

An errata exists where users may see reduced power savings when using
PMD Power Management. This issue occurs when compiling DPDK applications
with gcc-9 on platforms with TSX enabled. In rte_power_monitor_multi(),
the function may return without successfully starting the RTM
transaction (the _xbegin() fails).

Signed-off-by: David Hunt <david.hunt@intel.com>
---
 doc/guides/rel_notes/release_22_03.rst | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/doc/guides/rel_notes/release_22_03.rst b/doc/guides/rel_notes/release_22_03.rst
index 60e5b4f9aa..34d6f34dba 100644
--- a/doc/guides/rel_notes/release_22_03.rst
+++ b/doc/guides/rel_notes/release_22_03.rst
@@ -313,6 +313,17 @@ Known Issues
    Also, make sure to start the actual text at the margin.
    =======================================================
 
+* **Possible reduced power saving with PMD Power Management.**
+
+  Users may see reduced power savings when using PMD Power Management.
+  This issue occurs when compiling DPDK applications with gcc-9 on
+  platforms with TSX enabled. In rte_power_monitor_multi(), the
+  function may return without successfully starting the RTM
+  transaction (the _xbegin() fails).
+
+  There are three workarounds for this issue. Either build DPDK with gcc-11
+  or newer, build with shared libraries, or build DPDK with fewer drivers.
+
 
 Tested Platforms
 ----------------
-- 
2.17.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-03-22 16:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-09 13:22 [PATCH] lib/power: power pmd errata with RTM and gcc-9 David Hunt
2022-03-16 19:44 ` Thomas Monjalon
2022-03-22 16:11   ` David Hunt

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).