🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #38606

Re: Submitting to Freenix

#38606
From: Chris Sedore
Date: Mon, 12 Jul 1999 00:00
37 lines
2318 bytes
Miquel van Smoorenburg wrote in message <7mdok5$el3$1@Q.cistron.nl>...
>In article <931605626-1026466000-1@dp-news.maxwell.syr.edu>,
>Chris Sedore <cmsedore@maxwell.syr.edu> wrote:
>>Well last I looked at Linux kernel threads (about 6-8 months ago), they
were
>>the ugly stepchildren.  I (ahem) keep waiting for Unix to catch up with NT
>>on this front.  I know that FreeBSD (and think that Linux) threads are
>>actually just processes that share vm and fds.  This is somewhat less
>>efficient that true threads.  I'll have to look again at Linux.
>
>Well, it seems that Linux kernel threads are lightweight enough to be
>more efficient than the NT threads or Solaris kernel/user threads,
>even though they really are actually just processes that share vm and fds.
>A context switch is frightingly efficient in Linux.


That's good to know.  There are other areas where things were painful--the
synchronization primatives were not so great (well, we are stuck with posix
threads) in terms of efficiency.  Beyond that, I'm not sure the process
model scales so well and this (I understood) was an area of weakness in
Linux.  News.maxwell.syr.edu, as an example, runs around 1000 threads in the
NNTPRelay process.  I'm not sure that having 1000 processes running,
particularly in cases where 100 or more may be awoken simultaneously, would
scale the same way as 10 or even 100.

>I don't know about FreeBSD, I think the lm_bench program is able to
>measure context switch timings, you could try that.


Thanks for the pointer.

-Chris



Technical Details
Message-ID: <931823006-809085656-1@dp-news.maxwell.syr.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
References: <7g24e7$ckh$1@info.cs.uofs.edu> <9303290311991906734-1@dp-news.maxwell.syr.edu> <7lu3k8$2m0a$1@newssvr03-int.news.prodigy.com> <931605626-1026466000-1@dp-news.maxwell.syr.edu> <7mdok5$el3$1@Q.cistron.nl>

Show Full Headers
Complete Article Headers
Message-ID: <931823006-809085656-1@dp-news.maxwell.syr.edu>
Subject: Re: Submitting to Freenix
Date: Mon, 12 Jul 1999 00:00:00 +0000
From: "Chris Sedore" <cmsedore@maxwell.syr.edu>
References: <7g24e7$ckh$1@info.cs.uofs.edu> <9303290311991906734-1@dp-news.maxwell.syr.edu> <7lu3k8$2m0a$1@newssvr03-int.news.prodigy.com> <931605626-1026466000-1@dp-news.maxwell.syr.edu> <7mdok5$el3$1@Q.cistron.nl>
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: 500304043
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Newsgroups: news.software.nntp