🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #13867

Re: Single-process NNRPd for hundreds of users

#13867
From: bill davidsen
Date: Wed, 08 Jan 1997 00:00
25 lines
1820 bytes
In article <32D11C10.6209@bpfh.net>, Simon Burr  <simes@bpfh.net> wrote:

| With respect to the monolithic nnrpd, I think that it would be a good
| idea. If threads are used, it would also be a good win for multi-processor
| machines. Caching would also improve things; XOVER data and Message-ID to
| spool location mappings are two things which spring to mind.

Careful! Threads may be at user level and all share a single
dispatch. Threads at kernel, called "lightweight processes" by both
some early ACM articles and the series in _SunExpert_ last fall,
will use multiple processors.

Somewhere I have a demo program using PO)SIX threads which I linked
with two libraries, and which demonstrates this on a dual PPro-200
Linux box. The LWP version uses all the cycles and run (no surprise)
in half the time.
--
  bill davidsen <davidsen@tmr.com>
Some people hack for fun, some because they want things their way,
some don't because they can't, and some because they can't be
bothered. Some can make anything work, some can but would rather
not, and some could misconfigure a bowling ball.

Technical Details
Message-ID: <5b0js1$1r1q@usenet1y.prodigy.net>
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: <5agrsi$i48@netaxs.com> <5ahqph$ndf@fugue.clari.net> <5aknf0$k9i@unix1.cc.ysu.edu> <32D11C10.6209@bpfh.net>

Show Full Headers
Complete Article Headers
Message-ID: <5b0js1$1r1q@usenet1y.prodigy.net>
Subject: Re: Single-process NNRPd for hundreds of users
Date: Wed, 08 Jan 1997 00:00:00 +0000
From: davidsen@tmr.com (bill davidsen)
References: <5agrsi$i48@netaxs.com> <5ahqph$ndf@fugue.clari.net> <5aknf0$k9i@unix1.cc.ysu.edu> <32D11C10.6209@bpfh.net>
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: 208621891
Distribution: inet
Organization: TMR Associates, Schenectady NY
Newsgroups: news.software.nntp
Originator: davidsen@darkstar.prodigy.com