From: David Blacka <davidb@internic.net>
Cc: kees_de_bruin@tasking.nl,
Kai Grossjohann <grossjohann@charly.informatik.uni-dortmund.de>,
ding@ifi.uio.no
Subject: Re: Status of the nndb backend
Date: 15 Aug 1996 13:13:18 -0400 [thread overview]
Message-ID: <koivaktvtd.fsf@shaker.internic.net> (raw)
In-Reply-To: joe.hildebrand@twcable.com's message of Thu, 15 Aug 96 10:45:38 MST
>>>>> "joe" == joe hildebrand <joe.hildebrand@twcable.com> writes:
I wish I had time to work on (or even use) nndb. I'm currently so
swamped right now, I question whether I have time to sleep.
Kai> I wish I had time to do any work on it. Back when I had time, I
Kai> tried to run nndb which dumped core while indexing messages. As
Kai> I know next to nothing about Perl I was unable to find the
Kai> error.
joe> I don't think we were ever able to reproduce this. Perhaps it
joe> was a low memory or disk space condition? I was able to index
joe> several thousand articles without a problem, but I had a
joe> Sparc20, with about 8G of disk and ~128M of main memory.
No. In fact, I've only rarely seen Perl core dump. I was running
nndb on a HP something or other which wasn't especially endowed with
memory, but it certainly wasn't a low disk/low memory situation.
Perhaps perl 5.002 or berkeley db isn't so stable on your platform?
Kai> I have tried to use nndb-0.14 and to issue the UPDATE command,
Kai> which updated a few groups then barfed. This is with the
Kai> Berkeley DB backend on Perl 5.002. Has anybody got this
Kai> working? Maybe I just ought to try gdbm?
joe> I think we decided that the Berkeley DBs were too big, and
joe> changed the default to gdbm. But I don't remember. Do you,
joe> Dave? We did a bunch of performance tests (for a work-related
joe> project) on the relative sizes and speeds of gdbm vs. berkeley.
joe> I remember the verdict being that the gdbm databases were
joe> smaller, and faster as long as you weren't accessing them via
joe> NFS. Over NFS, gdbm was *dog* slow. Like 8-10 times as slow.
joe> So if you use gdbm, put your databases on a local disk.
No, looking in the code, nndb-0.14 still has the default set as
berkeley db. If you can store your database on a local disk, gdbm is
superior. It is also a lot better for low memory situations.
However, if you are running over NFS (or any other situation where you
don't get OS disk caching improvements), the berkeley db hash is far
faster.
It should be fairly easy to switch. I am reaching here, since I
haven't been using nndb for months now, but I think all you have to do
is change the configuration option and then re-index (which I think is
what happens with the UPDATE command).
joe> Despite all of that, I would suggest mostly using the defaults,
joe> if you can, since that is the most tested case.
--
David Blacka Network Solutions, Inc.
Software Engineer Rwhois Development Team
davidb@internic.net Voice: (703) 742-4897
next prev parent reply other threads:[~1996-08-15 17:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-08-15 17:45 joe.hildebrand
1996-08-15 17:13 ` David Blacka [this message]
-- strict thread matches above, loose matches on Subject: below --
1996-08-14 6:59 Kees de Bruin
1996-08-15 9:25 ` Kai Grossjohann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=koivaktvtd.fsf@shaker.internic.net \
--to=davidb@internic.net \
--cc=ding@ifi.uio.no \
--cc=grossjohann@charly.informatik.uni-dortmund.de \
--cc=kees_de_bruin@tasking.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).