NSH: The default priority of the network initialization thread should be lower. It is CPU intensive and can interfere with other operations

This commit is contained in:
Gregory Nutt 2015-02-17 13:14:50 -06:00
parent fe20f19afe
commit ae142c0605

View File

@ -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