🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #19344

Re: History file lookup question.

#19344
From: 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

Technical Details
Message-ID: <5qk7vl$qmu$1@earth.execpc.com>
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: <5qjsvg$jeq$1@news-1.meganews.com>

Show Full Headers
Complete Article Headers
Message-ID: <5qk7vl$qmu$1@earth.execpc.com>
Subject: Re: History file lookup question.
Date: Wed, 16 Jul 1997 00:00:00 +0000
From: jgreco@ns.sol.net (Joe Greco)
References: <5qjsvg$jeq$1@news-1.meganews.com>
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: 257379957
Sender: jgreco@earth.execpc.com
Organization: sol.net Network Services - Milwaukee, WI
Newsgroups: news.software.nntp