🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #88706

Re: Timing of inn 2.7?

#88706
From: Kevin Bowling
Date: Fri, 02 Jul 2021 04:41
43 lines
2646 bytes
On 6/11/21 3:21 PM, Bo Lindbergh wrote:
> In article <s9j341$2rvp$1@842ffb22-07e1-11e5-a459-00266cf00584.csiph.com>,
>   Kevin Bowling <kevin.bowling@kev009.com> wrote:
>> I'd like to put the new sqlite overview into service.
> 
> Ah, egoboo!  :-P
> 
> 
> /Bo Lindbergh
> 

Just a followup, it took several days to rebuild the overview DB (I 
think some of this is ZFS' "fault", it throws things to a condition 
variable (which enters a sleep queue) when data is not immediately 
available. makehistory could help that with a bit more file read 
parallelism in the future.

It went from about 6GB (ZFS lz4 compression) tradoverview to 17GB with 
ZFS compression disabled and application level zlib.  nnrpd performance 
is great.  expireover is still taking ages, but it no longer seems to 
eventually block innd so that's a big improvement.  I think expireover 
is another negative interaction with ZFS.

Based on 
https://openzfs.github.io/openzfs-docs/Performance%20and%20Tuning/Workload%20Tuning.html#sqlite 
...

Some sqlite ZFS tuning:
* Set 'recordsize' to '64k'
* Set 'compression' to 'none'

In ovsqlite.conf:
* Set 'compress' to 'true'
* Set 'pagesize' to '65536'

I cranked the transaction time and row limit way up as well as the 
cachesize, but the ovsqlite process didn't really seem like a bottleneck 
in makehistory since it forks the writes and continues on.  I'm just 
running with the default small cachesize now (so the ZFS ARC can be the 
primary freespace block cache) and it works great.

Regards,
Kevin
Technical Details
Message-ID: <sbm5d8$qpb$1@842ffb22-07e1-11e5-a459-00266cf00584.csiph.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-mail
References: <s9j341$2rvp$1@842ffb22-07e1-11e5-a459-00266cf00584.csiph.com> <sa0lsg$nph$1@dont-email.me>

Show Full Headers
Complete Article Headers
Message-ID: <sbm5d8$qpb$1@842ffb22-07e1-11e5-a459-00266cf00584.csiph.com>
Subject: Re: Timing of inn 2.7?
Date: Thu, 1 Jul 2021 21:41:12 -0700
From: Kevin Bowling <kevin.bowling@kev009.com>
References: <s9j341$2rvp$1@842ffb22-07e1-11e5-a459-00266cf00584.csiph.com> <sa0lsg$nph$1@dont-email.me>
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: csiph.com Internet News Service
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 2 Jul 2021 04:41:13 -0000 (UTC)
Injection-Info: 842ffb22-07e1-11e5-a459-00266cf00584.csiph.com; posting-host="172.83.100.196"; logging-data="27435"; mail-complaints-to="admin@kev009.com"
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0
In-Reply-To: <sa0lsg$nph$1@dont-email.me>
Content-Language: en-US
Lines: 42