Call for LIST COUNTS testing

Julien ÉLIE julien at trigofacile.com
Wed Dec 2 20:17:24 UTC 2009


> Could people test LIST COUNTS with inn-CURRENT-20091201.tar.gz (or superior)?
> Especially when the news server carries several thousands groups
> and with different overview methods (tradindexed, buffindexed, ovdb).
> We need to be sure that it is not significantly slower than LIST ACTIVE.

Just tested on the news server of The Doctor (whom I thank):

% ls -l act counts
-rw-r--r-- 1 julien user 2206944 Dec  2 13:01 active
-rw-r--r-- 1 julien user 1568808 Dec  2 13:02 counts

% wc -l active counts
  46720 act
  46720 counts

46720 newsgroups with ovdb.

I used:

% getlist -R -h localhost active > active
% getlist -R -h localhost counts > counts

About 1.5 seconds for the first command, 6 seconds for the second.

It seems to be reasonable, especially when we consider that 1.6 MB in 6 seconds
means that we have a 2 Mbit/s transfer (for one client only).

In space (bandwidth), we have a gain of about 30% here.



Incidentally, I wonder whether we could rewrite the contents of the active
file when answering to LIST ACTIVE.  It is easy to strip leading zeroes.
The only drawback is that the command will be a bit slower to answer (we have
to rewrite every line).
Would it be a good idea to do that?

-- 
Julien ÉLIE

« Le sel de l'existence est essentiellement dans le poivre qu'on y met. » 




More information about the inn-workers mailing list