Article View: news.software.nntp
Article #90622Re: INN performance curve - why so much time dealing with the history file?
From: Jesse Rehmer
Date: Wed, 26 Jul 2023 13:02
Date: Wed, 26 Jul 2023 13:02
37 lines
3153 bytes
3153 bytes
On Jul 25, 2023 at 10:41:16 PM CDT, "Russ Allbery" <eagle@eyrie.org> wrote: > Jesse Rehmer <jesse.rehmer@blueworldhosting.com> writes: > >> I'll restore from snapshot and manually create the history file, if I'm >> reading the manpage correctly, the value used for the '-s' flag is the >> number of articles expected (each line being an article)? > > Yes, that's correct. The actual history index size will then be larger > than that to try to make it so that the number of entries is about 2/3rds > the size of the index. > > (If I remember correctly, the dbz algorithm uses linear probing for hash > collisions, so you really want a sparse hash. If the linear probe goes > for too long, it goes to a separate overflow table, and once that happens, > the performance really tanks *and* the history file size bloats. It's > just a bad time all around, sort of like a system going to swap. I'm > betting your history file went to multiple overflow tables because it > started massively undersized.) > >> I'd probably want something like this assuming that's correct? > >> makedbz -i -o -s 200000000 > > Looks good to me, assuming that's the number of articles you're dealing > with. 9 hours and ~69 million articles in and it looks to be keeping a steady pace. Looking at "ME time" lines, the perl filter is taking the most time now, which I'd expect (on to remove misplaced binaries brought in from pullnews). innd[11136]: ME time 600000 hishave 2543(1522320) hiswrite 130947(1522320) hissync 6637(2) idle 126732(1830166) artclean 2611(1522320) artwrite 19037(1522211) artcncl 69(547) hisgrep/artcncl 20(547) overv 42242(1522211) perl 229908(1522320) python 95(1522320) nntpread 3881(1830166) artparse 11883(3089741) artlog 4580(1523299) datamove 491(1886519)
Technical Details
Message-ID:
<u9r5gp$eei$1@nnrp.usenet.blueworldhosting.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<u9q0c8$28ja$1@nnrp.usenet.blueworldhosting.com> <87y1j3xsl4.fsf@hope.eyrie.org> <u9q49m$k3t$1@nnrp.usenet.blueworldhosting.com> <87tttrxrtv.fsf@hope.eyrie.org>Show Full Headers
Complete Article Headers
Message-ID: <u9r5gp$eei$1@nnrp.usenet.blueworldhosting.com> Subject: Re: INN performance curve - why so much time dealing with the history file? Date: Wed, 26 Jul 2023 13:02:17 +0000 From: Jesse Rehmer <jesse.rehmer@blueworldhosting.com> References: <u9q0c8$28ja$1@nnrp.usenet.blueworldhosting.com> <87y1j3xsl4.fsf@hope.eyrie.org> <u9q49m$k3t$1@nnrp.usenet.blueworldhosting.com> <87tttrxrtv.fsf@hope.eyrie.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.nntp Organization: BlueWorld Hosting Usenet (https://usenet.blueworldhosting.com) Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=fixed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 26 Jul 2023 13:02:17 -0000 (UTC) Injection-Info: nnrp.usenet.blueworldhosting.com; posting-account="k8cWG9+Y/93vxQYza75s9JQFoL8rgVF3P1Yluveoqs0"; logging-data="14802"; mail-complaints-to="usenet@blueworldhosting.com" User-Agent: Usenapp for MacOS Cancel-Lock: sha1:6xyvaMBi0PaogPzrc/hpun5WeBY= sha256:OUzmDHHKVAdDFLoo8176iT5xTdLCwYz71/LmAtDQ+Kk= sha1:uUXAvkNpzfZeVeC5HXarbsJsLUE= sha256:HBNtk856LglU7MHI5EYLltmkHXj8cGjca5FQL4NQ02s= X-Usenapp: v1.27.1/d - Full License