Article View: news.software.nntp
Article #34946Re: NNTP revision - it's about time?
From: Fluffy
Date: Sat, 23 Jan 1999 00:00
Date: Sat, 23 Jan 1999 00:00
25 lines
2280 bytes
2280 bytes
Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote: > >>>>> "bill" == bill davidsen <davidsen@tmr.com> writes: > bill> The overhead of a fork is basically copying the page tables and > bill> setting the copy on write bit as you go. While the overhead of > bill> passing a socket is low, I'm not sure in practice it matters. But rapid-fire NNTP sessions of the browser kind tend to do things like GROUP/ARTICLE nnn/QUIT. There goes most of the the copy-on-write advantage (assuming you're lucky enough to be on an OS that does that) because you've just modified the whole article array and buffer and have to request the pages anyway. Persistent daemons can malloc that space once and reuse it across sessions. > You seem to be misunderstanding vfork(), which is bugger-all use for > the nnrpd-daemon situation (it's only ever useful if you're going to > immediately follow the fork with an exec() call, because it suspends > the parent process until either that happens or the child dies.) This will confuse the heck out of linuxheads, where fork and vfork are the same call and so work interchangeably (it's got copy-on-write so it's cheap enough to do it that way). -- "Meow." --me
Technical Details
Message-ID:
<slrn7ai6ma.oi7.meowing@meowhost.meow.invalid>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:
<77nr30$15t$1@taliesin.netcom.net.uk> <77qfel$kb@meow.invalid> <782g8m$ardu$1@newssvr03-int.news.prodigy.com> <slrn7a9u1l.pgt.meowing@meowhost.meow.invalid> <78annp$8pac$1@newssvr03-int.news.prodigy.com> <87g1939f3h.fsf@erlenstar.demon.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <slrn7ai6ma.oi7.meowing@meowhost.meow.invalid> Subject: Re: NNTP revision - it's about time? Date: Sat, 23 Jan 1999 00:00:00 +0000 From: meowing@banet.net (Fluffy) References: <77nr30$15t$1@taliesin.netcom.net.uk> <77qfel$kb@meow.invalid> <782g8m$ardu$1@newssvr03-int.news.prodigy.com> <slrn7a9u1l.pgt.meowing@meowhost.meow.invalid> <78annp$8pac$1@newssvr03-int.news.prodigy.com> <87g1939f3h.fsf@erlenstar.demon.co.uk> 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: 435833917 Mail-Copies-To: never X-Notice: should be reported to postmaster@ibm.net X-Complaints-To: postmaster@ibm.net X-Trace: 23 Jan 1999 00:42:04 GMT, 32.100.244.132 Organization: If one may meow, all may meow. X-URL: http://members.tripod.com/~gerglery/ X-P-Meow: Meow Cancel-Lock: sha1:u22Ni4g6QeU+zZxvCdOms1WSWew= Newsgroups: news.software.nntp X-P-Tickle: Mixy