Article View: news.software.nntp
Article #38981Re: NNTP - building the ultimate server
From: Kai Henningsen
Date: Thu, 05 Aug 1999 00:00
Date: Thu, 05 Aug 1999 00:00
54 lines
3385 bytes
3385 bytes
rra@stanford.edu (Russ Allbery) wrote on 04.08.99 in <ylk8rbicj7.fsf@windlord.stanford.edu>: > Kai Henningsen <kaih=7MCwXhxHw-B@khms.westfalen.de> writes: > > rra@stanford.edu (Russ Allbery) wrote: > > >> Cyclone uses threads. Solaris does threading better than any other > >> operating system in existence right now (well, one can argue about NT, > >> which uses a different threading model that some people like better > >> than POSIX, but I don't have enough experience with it to really argue > >> that). > > > From what I've heard - which includes people having worked on Solaris > > internals, such as Larry McVoy - I gather that Solaris threading isn't > > all that great, compared to Linux threading. Well, it's probably more > > polished, but for example I gather Linux switches threads quite a lot > > faster. > > Maybe if you're running the 2.3 experimental kernels, but in the latest > stable kernels the OS still holds a global lock for some operations. The > reason why Solaris's threading support is so nice is because the *kernel* > is fully multithreaded. That's not a property of threading. (For example, it applies equally to threads and separate processes.) Besides, I think it is misleading to call the kernel property (commonly known as "fine-grained locking") you talk about "fully multithreaded". Again, those are two separate things; a multi-threaded kernel would be one using separate threads in kernel mode (which Linux has indeed been doing for some time now). > Linux threading still doesn't scale beyond four processors (I've been > following it on linux-kernel for a while). Solaris threading scales well > to many more processes than that. You probably think of Linux SMP here. That may well be; machines with more than four processors are kind of hard to find - not many out there, and those that are aren't exactly cheap. Then again, there is no hard limit of four processors anywhere that I ever heard of. Depending on what you do, it certainly gets less effective, but I doubt it's all that much when you go to five processors. In general, I think it doesn't help switching technology labels around, and calling general systems performance "threading" is certainly a case of exactly that. Kai -- http://www.westfalen.de/private/khms/ "... by God I *KNOW* what this network is for, and you can't have it." - Russ Allbery (rra@stanford.edu)
Technical Details
Message-ID:
<7MHvYk91w-B@khms.westfalen.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<37a5671a.1475189546@news.ftech.net> <brad-0208991326230001@brad.techos.skynet.be> <yl672wcwjk.fsf@windlord.stanford.edu> <7MCwXhxHw-B@khms.westfalen.de> <ylk8rbicj7.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <7MHvYk91w-B@khms.westfalen.de> Subject: Re: NNTP - building the ultimate server Date: Thu, 05 Aug 1999 00:00:00 +0000 From: kaih=7MHvYk91w-B@khms.westfalen.de (Kai Henningsen) References: <37a5671a.1475189546@news.ftech.net> <brad-0208991326230001@brad.techos.skynet.be> <yl672wcwjk.fsf@windlord.stanford.edu> <7MCwXhxHw-B@khms.westfalen.de> <ylk8rbicj7.fsf@windlord.stanford.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 509235955 X-Fix-Your-Modem: +++ATS2=255&WO1 Comment: Unsolicited commercial mail will incur an US$100 handling fee per received mail. Organization: Organisation? Me?! Are you kidding? X-No-Junk-Mail: I do not want to get *any* junk mail. Newsgroups: news.software.nntp