Skip to content

Commit 74a5b2a

Browse files
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 <[email protected]>
1 parent c0ad8d8 commit 74a5b2a

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+
From the kernel version 5.4 the CPU frequency being used is 300MHz, which might cause
696+
low TCP performance. In case one wants to attain maximum throughput they can force the
697+
CPU to run at its maximum frequency and prevent any frequency scaling using
698+
the following command:
699+
700+
.. code-block:: console
701+
702+
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
703+
704+
This forces the CPU to run at its maximum frequency and should improve the TCP throughput.
705+
On AM335x, TCP throughput before and after running the 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)