🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Kenichi Okada Tue, 16 Jan 2001 05:17
NNTPBENCH
#49867
Author: Kenichi Okada
Date: Tue, 16 Jan 2001 05:17
101 lines
5350 bytes
I wrote a benchmark tool, nntpbench, for NNTP server.

To obtain this software, ftp directly from
	ftp://ftp.opaopa.org/pub/nntpbench/
	ftp://ftp.opaopa.org/pub/nntpbench/nntpbench-0.4.tar.gz

Test articles flow through the next path.
cf. nntpbench --test

 nntpbench -> | innd   -> innfeed   | -> nntpbenchd
              | diablo -> dnewslink |    port 8119        
              |     cyclone         |
              |    nntprelay        |

and the next time will be measured.

(1) a time from a generation of MessageID
	until a receipt of response 238 from your server.
(2) a time from a generation of MessageID
	until a receipt of response 239 from your server.
(3) a time from a generation of MessageID
	until a receipt of CHECK from your server.
(4) a time from a generation of MessageID
	until a receipt of TAKETHIS from your server.

See timetable.ps in this package.

* Examples:

The example of server configuration is nntpbench-0.4/samples/{inn, diablo}.

% nntpbenchd --bind localhost --port 8119
new connection.
CHECK          7.921 ms <nntpbench.979612594.240361@opaopa.org>
TAKETHIS      10.818 ms <nntpbench.979612594.240361@opaopa.org>
...
CHECK          7.030 ms <nntpbench.979612595.470361@opaopa.org>
TAKETHIS       9.692 ms <nntpbench.979612595.470361@opaopa.org>
CHECK          7.799 ms <nntpbench.979612595.680355@opaopa.org>
TAKETHIS      11.170 ms <nntpbench.979612595.680355@opaopa.org>
########################################################
(3)Check    average      9.019 ms
(4)Takethis average     12.438 ms
########################################################

% nntpbench --domain opaopa.org --size 10000 --interval 200 \
   --host localhost --port 119
238           2.356 ms <nntpbench.979612743.960275@opaopa.org>
239          10.416 ms <nntpbench.979612743.960275@opaopa.org>
238           1.748 ms <nntpbench.979612744.170266@opaopa.org>
239          12.894 ms <nntpbench.979612744.170266@opaopa.org>
238           1.588 ms <nntpbench.979612744.370453@opaopa.org>
239          11.080 ms <nntpbench.979612744.370453@opaopa.org>
238           0.829 ms <nntpbench.979612744.580268@opaopa.org>
239          13.768 ms <nntpbench.979612744.580268@opaopa.org>
^C
nntpbench shutdown.
close connection.
########################################################
(1)238      average      1.630 ms
(2)239      average     12.040 ms
########################################################


There are results of my servers.

Celeron 333MHz 640MB, BSD/OS 4.0
INN-CURRENT+CNFS
 (1)238      average      1.220 ms
 (2)239      average     11.080 ms
 (3)Check    average      8.614 ms
 (4)Takethis average     13.448 ms

Sun SS10 180MHz 256MB, Solaris 2.5.1
INN-2.3.1+CNFS+buffindexed
 (1)238      average      1.361 ms
 (2)239      average     15.564 ms
 (3)Check    average     17.564 ms
 (4)Takethis average     22.011 ms

Sun Ultra30 300MHz 512MB, Solaris 2.5.1
INN-2.2.3+tradspool+tradindexed
 (1)238      average     24.573 ms
 (2)239      average     88.841 ms
 (3)Check    average     49.824 ms
 (4)Takethis average     52.231 ms

Pentium 120MHz 32MB, Linux 2.2.18
DIABLO-2.0(feeder only)
 (1)238      average     23.752 ms
 (2)239      average     64.955 ms
 (3)Check    average    441.459 ms
 (4)Takethis average    476.286 ms

DIABLO may be poor?
I want to know about the others (Cyclone, NNTPRelay, DIABLO,..).

-- 
Kenichi Okada
mailto:okada@opaopa.org
Re: NNTPBENCH
#49868
Author: Kenichi Okada
Date: Tue, 16 Jan 2001 05:25
29 lines
3010 bytes
In the message <sgy9wc6ppr@opaopa.org>
Kenichi Okada <okada@opaopa.org> wrote:

> I wrote a benchmark tool, nntpbench, for NNTP server.

> To obtain this software, ftp directly from
> 	ftp://ftp.opaopa.org/pub/nntpbench/
> 	ftp://ftp.opaopa.org/pub/nntpbench/nntpbench-0.4.tar.gz

> % nntpbenchd --bind localhost --port 8119
> new connection.
> CHECK          7.921 ms <nntpbench.979612594.240361@opaopa.org>
> TAKETHIS      10.818 ms <nntpbench.979612594.240361@opaopa.org>
> ...
> CHECK          7.030 ms <nntpbench.979612595.470361@opaopa.org>
> TAKETHIS       9.692 ms <nntpbench.979612595.470361@opaopa.org>
> CHECK          7.799 ms <nntpbench.979612595.680355@opaopa.org>
> TAKETHIS      11.170 ms <nntpbench.979612595.680355@opaopa.org>
> ########################################################
> (3)Check    average      9.019 ms
> (4)Takethis average     12.438 ms
> ########################################################

To obtain the summary of result, do kill -ALRM <nntpbenchd pid>.

-- 
Kenichi Okada
mailto:okada@opaopa.org
Re: NNTPBENCH
#49896
Author: Kenichi Okada
Date: Tue, 16 Jan 2001 19:06
15 lines
2200 bytes
Hi,

I wrote a related web page.

http://nntpbench.opaopa.org

It contains some results of nntpbench. If you did not mind to put
your result on the page, plese send me it.

regards,

-- 
Kenichi Okada
mailto:okada@opaopa.org
Re: NNTPBENCH
#49983
Author: Kenichi Okada
Date: Fri, 19 Jan 2001 02:52
28 lines
3024 bytes
Hi,

I measured the performances of INN, DIABLO and Cyclone on the same machine.
These servers were feeded, temporary, from a full-feed server, so they
will accept 900k article per day (15GB/day).

              |   (1)    |   (2)    |   (3)    |   (4)   
Cyclone 1.4.3 | 0.369 ms | 1.615 ms | 2.373 ms | 3.224 ms
INN-CURRENT   | 0.378 ms | 3.077 ms | 2.739 ms | 3.809 ms
DIABLO 2.4    | 0.415 ms | 2.016 ms |56.796 ms |77.089 ms

(1) a time lag from sending a command `CHECK' 
      until a response `238' from the target server.
(2) a time lag from sending a command `CHECK'
      until a response `239' from the target server.
(3) a time lag from sending a command `CHECK'
      until a command `CHECK' from the target server.
(4) a time lag from sending a command `CHECK'
      until a command `TAKETHIS' from the target server.

The time (4) is the total time to feed.

And see http://nntpbench.opaopa.org

-- 
Kenichi Okada
mailto:okada@opaopa.org
Re: NNTPBENCH
#49984
Author: Christopher M. Sedore
Date: Fri, 19 Jan 2001 03:33
46 lines
2630 bytes
I'd recommend that you consider running the test over the network if you'd
like to compare with other platforms.  I'd also suggest that you turn on
TCP_NODELAY on your sockets.

One other suggestion: You might want to include a more precise description
of the nature of testing--is it run on the same machine, if not, a brief
description of the network connectivity.  Also, a  statement that makes it
clear what parameters are used for the experiment. (I see that you have a
recommended condition, but it isn't clear if all the stats on the page were
generated that way).

-Chris

"Kenichi Okada" <okada@opaopa.org> wrote in message
news:sgy9w8qmmq@opaopa.org...
> Hi,
>
> I measured the performances of INN, DIABLO and Cyclone on the same
machine.
> These servers were feeded, temporary, from a full-feed server, so they
> will accept 900k article per day (15GB/day).
>
>               |   (1)    |   (2)    |   (3)    |   (4)
> Cyclone 1.4.3 | 0.369 ms | 1.615 ms | 2.373 ms | 3.224 ms
> INN-CURRENT   | 0.378 ms | 3.077 ms | 2.739 ms | 3.809 ms
> DIABLO 2.4    | 0.415 ms | 2.016 ms |56.796 ms |77.089 ms
>
> (1) a time lag from sending a command `CHECK'
>       until a response `238' from the target server.
> (2) a time lag from sending a command `CHECK'
>       until a response `239' from the target server.
> (3) a time lag from sending a command `CHECK'
>       until a command `CHECK' from the target server.
> (4) a time lag from sending a command `CHECK'
>       until a command `TAKETHIS' from the target server.
>
> The time (4) is the total time to feed.
>
> And see http://nntpbench.opaopa.org
>
> --
> Kenichi Okada
> mailto:okada@opaopa.org


Re: NNTPBENCH
#49996
Author: Kenichi Okada
Date: Fri, 19 Jan 2001 16:58
41 lines
3862 bytes
In the message <979874740217955234-1@dp-news.maxwell.syr.edu>
"Christopher M. Sedore" <cmsedore@maxwell.syr.edu> wrote:

> I'd recommend that you consider running the test over the network if you'd
> like to compare with other platforms.  I'd also suggest that you turn on
> TCP_NODELAY on your sockets.

I had some trouble, but TCP_NODELAY solved it. Thank you.

Now nntpbench can compile on windows with Cygwin.
Incidentally, several versions of Cygwin have a trouble of gettimeofday()
or inaccurate one, so we cannot get any valid results. :(
I'm not much of windows.

ftp://ftp.opaopa.org/pub/nntpbench/nntpbench-0.10.tar.gz

> One other suggestion: You might want to include a more precise description
> of the nature of testing--is it run on the same machine, if not, a brief
> description of the network connectivity.  Also, a  statement that makes it
> clear what parameters are used for the experiment. (I see that you have a
> recommended condition, but it isn't clear if all the stats on the page were
> generated that way).

I think what you say is right. I recommended the measure on localhost
to avoid the difference of the network.
If we measured on the same machine, we can do on the equal condition.
A performance of nntpbench, however, will be measured on the various
conditions, so it's difficult to make the condition equal.
We must, however, measure the performance of nntprelay from 
the another UNIX platform. If I recommended a condition to
measure over the network, I shouldn't know what condition is good.
What condition do you think?
I think we can only mention the each network condition at the table
component on my web page.

Best regards,

-- 
Kenichi Okada
mailto:okada@opaopa.org
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