🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #23468

23-bit history patch?

#23468
From: David Carmean
Date: Fri, 21 Nov 1997 00:00
41 lines
1979 bytes
Not really, but I'm having a problem with INN-1.5.1 (as included with 
the latest CNFS snapshot):

I'm working with snap.971012 on Solaris 2.5.1.  I compiled DBZ (the 
bundled version) with -DMMAP, but somewhere in the night when history 
grew larger than 2^23 bytes, it appears, the hishave() times went 
all to hell, increasing by about ten times.  

The first hours running were fast as all get-out, with artwrite() times 
of 5-7 mSec, and hishave() times in the hundreds of microseconds.  But 
this morning, hishave() times are on the order of four seconds, and 
truss shows that all innd is doing is seeking in the history file.

mmap works under Solaris 2.5.1, doesn't it?  My buffers are mmapped 
block devices instead of UFS files, and that seems to work fine.

Where did I screw up?  Is this a forehead-slapper?  I couldn't come up 
with anything on dejanews.

Thanks.

-- 
David Carmean                                           <dlc@avtel.net>
Avtel Communications, Santa Barbara, CA			+1-805-730-7740
  Opinions herein are those of the author only, unless otherwise noted

		"Are you now, or have you ever been?"
						--George Lucas, THX-1138



-- 
David Carmean                                           <dlc@avtel.net>
Avtel Communications, Santa Barbara, CA			+1-805-730-7740
  Opinions herein are those of the author only, unless otherwise noted

		"Karma Police, arrest this man!"
						--Radiohead

Technical Details
Message-ID: <654m8u$g9t@ocean.silcom.com>
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

Show Full Headers
Complete Article Headers
Message-ID: <654m8u$g9t@ocean.silcom.com>
Subject: 23-bit history patch?
Date: Fri, 21 Nov 1997 00:00:00 +0000
From: David Carmean <dlc@silcom.com>
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: 291271818
Distribution: inet
Organization: Silicon Beach - Business Internet Services
Newsgroups: news.software.nntp