Overview#
Heavy-weight processes" (
HWPs) have a significant amount of overhead when switching because all the tables have to be flushed from the processor for each task switch.
Linux implements threads as LWPs#
The only way to achieve shared information between HWPs is through pipes and "shared memory
Threads are "light weight processes" (LWPs).
The idea is a process has five fundamental parts:
- code ("text")
- data (VM)
- stack
- file I/O
- signal tables
In Linux threads are pseudo processes. #
So you see multiples
NDSD’s running on the same machine.
ps -aef |grep ndsd
This will show you the parent processes, thread manager and the threads started by
NDSD.
max-#
ndsconfig get | grep max-threads
There might be more information for this subject on one of the following: