Article View: news.software.nntp
Article #15583Re: patch for nnrpd 1.5.1 to mmap .overview files
From: Chris Bellomy
Date: Thu, 06 Mar 1997 00:00
Date: Thu, 06 Mar 1997 00:00
25 lines
1634 bytes
1634 bytes
Jan-Pieter Cornet (johnpc@xs4all.nl) wrote: : Below is a patch to mmap() .overview files, and binary search them. : This greatly speeds up the XOVER command (and other commands that : use the .overview database), especially when you have really large : groups. I tried this on a high-traffic leaf node server running Solaris 2.5.1 (and therefore with a good mmap()). I setup the patched nnrpd to be called by inetd on port 120, and did some informal testing myself. The unpatched version (on 119) consistently out-performed the patched one (on 120), sometimes dramatically. Is there something I'm missing here? FWIW, my system is a Sun Ultra E-4000 w/4 CPU's, one gig of RAM, and an average of about 450 readers (at peak, >700; at off-hours, <300). Active, history and overview each reside on separate disks, and (of course) overview is not in the article spool. -- Chris Bellomy Flashnet Communications Senior System Administrator Fort Worth, Texas cbellomy@flash.net (817)332-8878
Technical Details
Message-ID:
<5fnhmt$88h@excalibur.flash.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:
<5fmjjf$qcg$1@news1.xs4all.nl> <5fn38s$3q0$1@news1.xs4all.nl>Show Full Headers
Complete Article Headers
Message-ID: <5fnhmt$88h@excalibur.flash.net> Subject: Re: patch for nnrpd 1.5.1 to mmap .overview files Date: Thu, 06 Mar 1997 00:00:00 +0000 From: cbellomy@flash.net (Chris Bellomy) References: <5fmjjf$qcg$1@news1.xs4all.nl> <5fn38s$3q0$1@news1.xs4all.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: 223719544 Organization: Flashnet Communications, http://www.flash.net Newsgroups: news.software.nntp