🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #20923

Re: Diablo + linux = high load ?

#20923
From: Soren S. Jorvang
Date: Sun, 24 Aug 1997 00:00
28 lines
1928 bytes
dillon@best.net (Matt Dillon) writes:

>    The only real bottleneck with diablo is the dhistory file.  In the
>    case of FreeBSD, the diablo processes get stuck in ufslk2 a lot
>    (an internal kernel fs serialization lock on dhistory).  This occurs
>    when you have a huge number of diablo processes trying to do history
>    file lookups at the same time.   I've been considering splitting the
>    dhistory file into four separate files to avoid kernel lock contention, 
>    but I haven't done it yet... If I *do* do it, I will couple it with a 
>    change in the hashing algorithm which isn't working as well as I would
>    like collision-wise.

We have a Diablo-running FreeBSD box on which the diablo processes spent
most of their time in ufslk2. I "fixed" this by increasing the sysctl
vm.v_cache_min to a point just below the paging pain threshold. Our
256 MB system runs nicely with vm.v_cache_min=40000 . This allows
for a large part of our 250 MB dhistory file to be cached. While this
of course depends on memory size and the numbers of feeds, history
performance seemed to increase proportionally with disk cache size.
I recommend increasing vm.v_cache_min on FreeBSD boxes running Diablo.



-- 
Soren

Technical Details
Message-ID: <5tq2p0$1acc$1@news.inet.tele.dk>
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: <5tkj5j$2rg$1@news.calweb.com> <5torhm$fpf$1@news.nuernberg.ecrc.net> <5tpscf$qln$1@flea.best.net>

Show Full Headers
Complete Article Headers
Message-ID: <5tq2p0$1acc$1@news.inet.tele.dk>
Subject: Re: Diablo + linux = high load ?
Date: Sun, 24 Aug 1997 00:00:00 +0000
From: Soren S. Jorvang <soren@t.dk>
References: <5tkj5j$2rg$1@news.calweb.com> <5torhm$fpf$1@news.nuernberg.ecrc.net> <5tpscf$qln$1@flea.best.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
X-Deja-AN: 268373550
X-Complaints-To: abuse@news.inet.tele.dk
X-Trace: news.inet.tele.dk 872451680 43404 (None) 193.163.158.4
Newsgroups: news.software.nntp