Re: Why M:N threading with scheduler activations?
Dan Kegel <[email protected]>
| Newsgroups | gmane.linux.ngpt.devel |
|---|---|
| Message-ID | <[email protected]> |
Riso Liao wrote: > I`ve read this: > http://marc.theaimsgroup.com/?l=linux-kernel&m=103284879216107&w=2 > It seems that 1:1 Threading is better than M:N threading with scheduler > activations. > I can`t find a NGPT Whitepaper. > Can someone tell me why NGPT is M:N threading with scheduler activations? I'm no NGPT expert, but: 1. NGPT doesn't use scheduler activations (yet) as far as I know. 2. NGPT is M:N threading because it seemed like a good idea at the time, so they started with Gnu Pth, which was an all-user-space threading library, and added kernel thread support to it (I think). There are a lot of people who still believe M:N threading is a good idea. It will be interesting to see whether NGPT or NPTL is better once the dust settles. See http://www.kegel.com/c10k.html#threaded for my collection of info on the question. - Dan