Article View: news.software.nntp
Article #23841Re: Diablo 1.14 oddity
From: Brett Hawn
Date: Mon, 01 Dec 1997 00:00
Date: Mon, 01 Dec 1997 00:00
34 lines
1977 bytes
1977 bytes
I think the major problem with using threads in this case is that Diablo is designed on and around FreeBSD. While FreeBSD does support some threading (rfork() for instance) it lacks a fundemental support for light weight processes. All in all.. the FreeBSD model sucks for threading applications *sigh* On Mon, 01 Dec 97 13:50:20 GMT, Ragnar Lonn - Spam me and you die <prl@algonet.se> wrote: >In article <65tm17$dkm$1@flea.best.net>, dillon@best.net (Matt Dillon) wrote: >> >> The SHM stuff definitely needs to be turned on. If this is BSDI, >> you MUST have the latest kernel patches installed (_BSDI_VERSION must be >> greater or equal to 199701). If you don't, Diablo will default to >> most SHM and r+w mmap() stuff turned off because BSDI releases prior >> to that can crash the machine hard due to bugs in mmap(). >> > >Just a small question - have you thought about making Diablo thread-based >rather than using separate processes for all connections like now? > >Then you wouldn't have to use shared memory routines at least. The total >memory usage would likely be smaller also. Are there any major drawbacks with >a thread-based server model? > >Regards, > > /Ragnar, Algonet/TNI --
Technical Details
Message-ID:
<slrn685nht.h2d.blh@staff2.texas.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-mailReferences:
<347B5E96.ABD@digex.net> <65hd6p$k6a$1@madrid.visi.net> <65hl47$ogm$1@out2.nntp.min.net> <EK9yMJ.9yG@spcuna.spc.edu> <65tm17$dkm$1@flea.best.net> <65uilc$dhn$2@cubacola.tninet.se>Show Full Headers
Complete Article Headers
Message-ID: <slrn685nht.h2d.blh@staff2.texas.net> Subject: Re: Diablo 1.14 oddity Date: Mon, 01 Dec 1997 00:00:00 +0000 From: blh@texas.net (Brett Hawn) References: <347B5E96.ABD@digex.net> <65hd6p$k6a$1@madrid.visi.net> <65hl47$ogm$1@out2.nntp.min.net> <EK9yMJ.9yG@spcuna.spc.edu> <65tm17$dkm$1@flea.best.net> <65uilc$dhn$2@cubacola.tninet.se> 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: 294225167 NNTP-Posting-Date: Mon, 01 Dec 1997 09:55:51 CST Reply-To: blh@nospam.texas.net Newsgroups: news.software.nntp