[net.news.b] readnews -n newsgroup -x

stuart@genrad.UUCP (Stuart Hollander) (06/24/83)

news 2.10,
I do a 
% readnews -n net.unix-wizards -x
and it waits a long, long time before I get a response.
The timing shows about 57seconds system time and about 3 seconds user
time.  On our system now, the filenames for the unix-wizards news articles
are up into the 3000's.  On groups where the number is very low,
like 200, the above commands takes very little time.  

Does anyone have a fix for this problem?
  --Stuart Hollander (genrad!stuart)

chris@umcp-cs.UUCP (06/26/83)

I can suggest a fix.  I haven't actually looked but from the symptoms
you describe I'll bet readnews is looping on an access system call, or
an open (just about the same thing).  I suggest that the 'active' file
contain not only the next item number, but the first, also.  Expire
could keep this up to date.  So your active file might look like:

	...
net.unix-wizards 03400 03117
net.trivia 00106 00099
	...

Readnews and such could start from the second number, instead of 0 or 1.

					- Chris
-- 
UUCP:	{seismo,allegra,brl-bmd}!umcp-cs!chris
CSNet:	chris@umcp-cs
ARPA:	chris.umcp-cs@UDel-Relay

cfv@packet.UUCP (07/02/83)

Somebody recently posted a set of routines that speed up readnews finding
the first article. Hopefully someone at your site archived them and can
get them installed. If not, I can look around and see if I still have them,
they do a GOOD job of speeding things up.
-- 
>From the dungeons of the Warlock:
					      Chuck Von Rospach
					      ucbvax!amd70!packet!cfv
					      (chuqui@mit-mc)  <- obsolete!