🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #12787

Re: History DB Performance

#12787
From: Rusty Sanders
Date: Thu, 28 Nov 1996 00:00
46 lines
2583 bytes
In article <57j2n6$kpn@news.cic.net>,
	jared@nic.hq.cic.net (Jared Mauch) writes:
} In article <57fug6$j1d@newshub.atmnet.net>,
} 	rgs@vigra.com (Rusty Sanders) writes:
}> In article <57d8ev$f9e@news.cic.net>, jared@nic.hq.cic.net (Jared Mauch) writes:
}>> 
}>> I would be interested in seeing some compile options
}>> to keep the entire history file in memory on servers that are capable
}>> of doing that.  It would make sense that if you have the
}>> memory, why go out to disk.
}> 
}> Isn't that what INND_DBZINCORE=1 does? That along with ICD_SYNC_COUNT should
}> do exactly what you want, if I'm reading the code correctly.
}> 
} 	That just keeps the dbz index in core, not the actual history file.
} 
} 	If that was true, this process would be a lot larger:
} 
} 10468 news      33    0   52M   51M sleep  31.2H  0.08%  0.08% innd
} 
} chi-news:/history> ls -l
} total 80033
} -rw-rw-r--   1 news     74889392 Nov 27 20:06 history
} -rw-rw-r--   1 news           74 Nov 27 20:06 history.dir
} -rw-rw-r--   1 news      8162328 Nov 27 20:06 history.pag
} drwxr-xr-x   2 root         8192 Jan 12  1996 lost+found/

Ummm... I hate to be disagreeable, but I don't believe innd does anything with
the history file other than to concatenate new entries to the end of it. From
what I understand of it all (please! anyone with a real clue(tm) please chime
in) 100% of the history information is present in the history.pag file. The
INND_DBZINCORE flag says to keep the history.pag file in core, which means
that all history lookups can be done without disk accesses (other than swap).

You haven't given particulars as to your OS or feed situation (at least, I
don't remember seeing them if you have). But an innd size of 50+ megs with an
8 meg .pag file seems kind of large to me.

I'm running Solaris, my history file's about 200 megs, history.pag is 29 megs,
and my innd wants about 35 megs of memory.

---Rusty Sanders
rgs@vigra.com

Technical Details
Message-ID: <57jguk$bvm@newshub.atmnet.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: <56turt$5vb$1@newsfeed.dreamscape.com>

Show Full Headers
Complete Article Headers
Message-ID: <57jguk$bvm@newshub.atmnet.net>
Subject: Re: History DB Performance
Date: Thu, 28 Nov 1996 00:00:00 +0000
From: rgs@vigra.com (Rusty Sanders)
References: <56turt$5vb$1@newsfeed.dreamscape.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: 201193890
Organization: A News Reader at ATMNet
Content-type: text/plain; charset=us-ascii
Mime-version: 1.0
Newsgroups: news.software.nntp