From ae142c06053de1db429e673dab78f1ae4a19c0fe Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 17 Feb 2015 13:14:50 -0600 Subject: [PATCH] NSH: The default priority of the network initialization thread should be lower. It is CPU intensive and can interfere with other operations --- nshlib/Kconfig | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nshlib/Kconfig b/nshlib/Kconfig index f1427687c..429953fcc 100644 --- a/nshlib/Kconfig +++ b/nshlib/Kconfig @@ -873,7 +873,11 @@ config NSH_NETINIT_THREAD_STACKSIZE config NSH_NETINIT_THREAD_PRIORITY int "Network initialization thread priority" - default 100 + default 80 + ---help--- + This should be set to a priority lower than most tasks. The network + PHY polling is CPU intensive and can interfere with the usability of + of threads competing for CPU bandwidth. endif # NSH_NETINIT_THREAD