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)
- 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 ndsdThis will show you the parent processes, thread manager and the threads started by NDSD.
ndsconfig get | grep max-threads