Skip to content

Commit 89a5d66

Browse files
MeghanaMalladiTIsadik-smd
authored andcommitted
fix(linux): Update ICSSM FAQ on how to address low performance
In case of AM335x and AM437, the TCP performance numbers tend to be low, where the bottle neck is the CPU frequency and the throughput attained in the expected one. Explain the same in the FAQ of ICSSM doc and also provide the command which can be used if the user wants to attain max possible throughput. Signed-off-by: Meghana Malladi <m-malladi@ti.com>
1 parent acfa2f5 commit 89a5d66

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

source/linux/Foundational_Components/PRU-ICSS/Linux_Drivers/PRU-ICSS_Ethernet.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,23 @@ Turning flooding on/off on switch ports
687687
.. rubric:: Frequently Asked Questions
688688
:name: frequently-asked-questions
689689

690+
.. ifconfig:: CONFIG_part_variant in ('AM335X','AM437X')
691+
692+
.. rubric:: Low TCP performance throughput on PRU-ICSS Ethernet ports, how to improve?
693+
:name: low-tcp-performance-throughput-how-to-improve
694+
695+
The CPUFreq governer should be set to performance for use-cases requiring high throughput.
696+
Hence to attain maximum throughput, force the CPU to run at its maximum frequency and
697+
prevent any frequency scaling using the following command:
698+
699+
.. code-block:: console
700+
701+
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
702+
703+
This forces the CPU to run at its maximum frequency and should improve the TCP throughput.
704+
On AM335x, TCP throughput with 1500 byte (default) packet size, before and after running the
705+
command are 26Mbps and 76Mbps respectively.
706+
690707
.. rubric:: Are the HSR or PRP protocols supported?
691708
:name: are-the-hsr-or-prp-protocols-supported
692709

0 commit comments

Comments
 (0)