Thread View: news.software.nntp
6 messages
6 total messages
Started by brad
Fri, 03 Dec 1999 00:00
Upgrade from INN 2.1 to 2.2.1 with tagged-hash
Author: brad
Date: Fri, 03 Dec 1999 00:00
Date: Fri, 03 Dec 1999 00:00
27 lines
1537 bytes
1537 bytes
Folks, Well, the makehistory process *finally* completed. The .pag file is *much* smaller (~76MB) than the previous .hash (~200MB) and .index (~300MB) files, and the expire process I just fired off is taking around 62MB total RAM with an RSS of 56MB, as opposed to something a lot closer to 300MB. It's still making use of virtual memory, but I think this is going to run a *LOT* faster (because it won't be paging and swapping itself to death anywhere *near* as badly), and be a lot more friendly with a co-resident copy of INN running on the same machine. Thanks everyone! BTW, yes, I had already turned off extendeddbz -- this is an even further improvement on that! -- Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/> Are you a USENET news server administrator outside of North America or Western Europe? Would you like a newsfeed from a site in the Freenix Top 65? If so, please contact me via private e-mail for details.
Re: Upgrade from INN 2.1 to 2.2.1 with tagged-hash
Author: Craig Dewick
Date: Sun, 05 Dec 1999 00:00
Date: Sun, 05 Dec 1999 00:00
43 lines
2835 bytes
2835 bytes
In <19991202195624.102$nl@newsreader.com> brad@shub-internet.org writes:
>Well, the makehistory process *finally* completed. The .pag file is *much*
>smaller (~76MB) than the previous .hash (~200MB) and .index (~300MB) files,
>and the expire process I just fired off is taking around 62MB total RAM
>with an RSS of 56MB, as opposed to something a lot closer to 300MB.
I recently upgraded my news server from Inn-2.1 to Inn-2.2.1, and I was
*surprised* to find that even though I selected the tagged-hash history
format, it didn't use it! Instead, 'makehistory' insisted in using the old
dbm-style format with .pag files, etc. and there was no .hash file created
at all.
Another interesting thing is that I wanted it to build shared libraries, but
it refused to do this and now all the Inn-2.2.1 binaries are statically
linked instead of being dynamically linked like they should be (and how all
the 2.1 binaries were).
Here is what I fed to the configure script:
sh ./configure --prefix=/news --enable-shared=yes --enable-static=no --with-perl --with-sendmail=/usr/lib/sendmail --enable-tagged-hash
As you can see, I deliberately told configure to set up the Makefiles to
create shared libraries and not make static ones, and I also told it to
enable the use of the tagged-hash history format, not dbm-style.
Both of these features did not eventuaate, and although Inn still runs fine
using the dbm-style history database, and static libraries, all the binaries
are very much larger and the extra time it takes to load the large binary
files off disk before executing them is quite noticable when the system is
already under a significant load...
Regards,
Craig.
--
Craig Dewick. Send email to "cdewick@lios.apana.org.au"
Point a web browser at 'http://lios.apana.org.au/~cdewick/sun_shack.html' to
access my archive of Sun information and links to other places. For info
about Sun Ripened Kernels, go to "http://www.sunrk.com.au"
Re: Upgrade from INN 2.1 to 2.2.1 with tagged-hash
Author: Andrew Gierth
Date: Sun, 05 Dec 1999 00:00
Date: Sun, 05 Dec 1999 00:00
22 lines
1730 bytes
1730 bytes
[misspelled groups snipped]
>>>>> "Craig" == Craig Dewick <cdewick@lios.apana.org.au> writes:
Craig> I recently upgraded my news server from Inn-2.1 to Inn-2.2.1,
Craig> and I was *surprised* to find that even though I selected the
Craig> tagged-hash history format, it didn't use it! Instead,
Craig> 'makehistory' insisted in using the old dbm-style format with
Craig> .pag files, etc. and there was no .hash file created at all.
Um, that _is_ the tagged-hash format. The .hash file is part of the
new-style dbz which is used if you _don't_ specify tagged-hash.
("tagged hash" refers to what's going on inside the .pag file, where
some number of bits are stolen from the offset value to contain a
few bits of hash value; this allows some proportion of probes into
the text file to be skipped.)
--
Andrew.
Re: Upgrade from INN 2.1 to 2.2.1 with tagged-hash
Author: SmarttNet Technical Support
Date: Mon, 06 Dec 1999 00:00
Date: Mon, 06 Dec 1999 00:00
4 lines
846 bytes
846 bytes
I was wondering, is there a real benefit to use tagged hash on the traditional spool?
Re: Upgrade from INN 2.1 to 2.2.1 with tagged-hash
Author: Brad Knowles
Date: Mon, 06 Dec 1999 00:00
Date: Mon, 06 Dec 1999 00:00
20 lines
1711 bytes
1711 bytes
In article <384bf1cf.4555375@news.smartt.com>, tech@smartt.com
(SmarttNet Technical Support) wrote:
> I was wondering, is there a real benefit to use tagged hash on the
> traditional spool?
For me, yes. From what I've read, it's a bit slower, but the binary
history.pag file is around 200MB in size, versus ~200 MB for the
history.hash file and ~300MB for the history.index file. Expire no
longer takes up ~300MB, and the machine overall just seems to work a lot
better with having much a smaller binary history database.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 65? If so, please contact me via private e-mail for details.
Re: Upgrade from INN 2.1 to 2.2.1 with tagged-hash
Author: bill davidsen
Date: Mon, 06 Dec 1999 00:00
Date: Mon, 06 Dec 1999 00:00
21 lines
1787 bytes
1787 bytes
In article <82cu85$fe2$1@lios.apana.org.au>, Craig Dewick <cdewick@lios.apana.org.au> wrote: | Both of these features did not eventuaate, and although Inn still runs fine | using the dbm-style history database, and static libraries, all the binaries | are very much larger and the extra time it takes to load the large binary | files off disk before executing them is quite noticable when the system is | already under a significant load... There are no large binary files loaded off disk for news... innd is loaded once when you start news, nnrpd should share all the code portion between all executables. Unless you're doing something unusual, of course. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads