User: Password:
|
|
Subscribe / Log in / New account

Kernel threads - so what?

Kernel threads - so what?

Posted Aug 28, 2009 20:19 UTC (Fri) by oak (guest, #2786)
In reply to: Kernel threads - so what? by quotemstr
Parent article: In brief

Threads obviously have an overhead (scheduling, task struct etc). The
less overhead you have, the better it scales.

Besides, it clutters your "ps" output. Having more kernel threads running
than the actual user-space processes for which they do stuff, sounds
wrong.


(Log in to post comments)

Kernel threads - so what?

Posted Aug 28, 2009 20:49 UTC (Fri) by dlang (subscriber, #313) [Link]

computers can easily track several thousand inactive threads with very little overhead, but the sysadmin trying to examine ps or top output to figure out what's happening has a much lower threshold

Kernel threads - so what?

Posted Sep 8, 2009 9:04 UTC (Tue) by jlokier (guest, #52227) [Link]

Obvious solution is to hide kernel threads in ps/pstree/top.

It would be nice if the kernel threads had lazy stacks too, to save a bit of memory.


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds