🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Jaye Mathisen Thu, 17 Jul 1997 00:00
History file lookup question.
#19374
Author: Jaye Mathisen
Date: Thu, 17 Jul 1997 00:00
16 lines
1048 bytes

My inn-1.5.1 server under FreeBSD 2.2.2-stable, seems to run much better
under ACTIVE_STYLE READ, as opposed to MMAP.  W/o fail, if I mmap active,
eventually, I can reproduce a corrupted active file with lots of addgroup/
delgroup/reboot cycles.

However, with ACTIVE_STYLE READ, it runs great, does 18-20 aps, and
in general, works fine.

My question is thus:  Is there a performance increase in possibly MMAP'ing
the history file?  ie, DBZCFLAGS -MMAP, but don't MMAP active?

Is there any "history file" benchmarking utility I can run?

Re: History file lookup question.
#19344
Author: Joe Greco
Date: Wed, 16 Jul 1997 00:00
24 lines
1407 bytes
In news.software.nntp article <5qjsvg$jeq$1@news-1.meganews.com>, mrcpu@schizo.cdsnet.net (Jaye Mathisen) wrote:
:My question is thus:  Is there a performance increase in possibly MMAP'ing
:the history file?  ie, DBZCFLAGS -MMAP, but don't MMAP active?
:
:Is there any "history file" benchmarking utility I can run?

Ummmmmmmmm..   :-)

What about "makehistory" to test for write speeds?

What about "grephistory" to test for read speeds?  I would try something
along these lines:

% awk 'NF=3 {print $0}' < /var/news/etc/history | sort > /tmp/x
% /bin/time /usr/news/bin/grephistory -s < /tmp/x

( repeat as necessary with the same /tmp/x, and maybe even use a
  non-changing history file if you really want to be ultra-fair -
  both commands can be told to use an alternate file )

... JG

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