πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #88707

Re: Timing of inn 2.7?

#88707
From: Kevin Bowling
Date: Fri, 02 Jul 2021 19:08
39 lines
2887 bytes
On 7/2/21 12:11 AM, Julien Γ‰LIE wrote:
> Hi Kevin,
> 
>> 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.
> 
> With ovsqlite+zlib compression, for a 1,12 GB resulting database with 
> 3,278,095 overview records, overview rebuild took 36 mn on my slow Intel 
> Atom CPU N2800 1.86GHz with 2GB RAM running Debian.

Thanks for the numbers, it's definitely intriguing enough I will go 
looking into why ZFS struggles with this workload, it might be a regression.

sqlite> select count(*) from artinfo;
52397838

> Strange that it took several days for you for a resulting 17 GB 
> database.Β  Lots of sleeps from ZFS then...
> 
> expireover runs in 5:20 mn.
>
To learn from your experience, are you running your server on flash? 
This is on a hybrid array of two mirrored HDD pairs with a SLOG (flash 
fsync fastpath) and L2ARC (flash read cache).  The disks never get 
saturated but it still takes 10ms or whatever to grab a block that isn't 
in cache, and ZFS causes the process to sleep during that grab (so 
getting CPU time from the scheduler can add another millisecond or more 
delay).  I did this because flash was expensive and fragile back when I 
assembled this version of my news server but I could probably move the 
entire spool to flash now.

Regards,
Kevin
Technical Details
Message-ID: <sbno7t$1v90$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> <sbm5d8$qpb$1@842ffb22-07e1-11e5-a459-00266cf00584.csiph.com> <sbme7d$f7f$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <sbno7t$1v90$1@842ffb22-07e1-11e5-a459-00266cf00584.csiph.com>
Subject: Re: Timing of inn 2.7?
Date: Fri, 2 Jul 2021 12:08:44 -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> <sbm5d8$qpb$1@842ffb22-07e1-11e5-a459-00266cf00584.csiph.com> <sbme7d$f7f$1@news.trigofacile.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
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: 8bit
Injection-Date: Fri, 2 Jul 2021 19:08:45 -0000 (UTC)
Injection-Info: 842ffb22-07e1-11e5-a459-00266cf00584.csiph.com; posting-host="208.72.53.143"; logging-data="64800"; 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: <sbme7d$f7f$1@news.trigofacile.com>
Content-Language: en-US
Lines: 38