From:	CRDGW2::CRDGW2::MRGATE::"SMTP::VM1.NODAK.EDU::ANU-NEWS" 11-FEB-1992 00:38:54.09
To:	ARISIA::EVERHART
CC:	
Subj:	Re: Host-client NNTP optimization?

From:	ANU-NEWS@VM1.NoDak.EDU@SMTP@CRDGW2
To:	EVERHART@ARISIA@MRGATE

Received:  by crdgw1.ge.com (5.57/GE 1.123)
	 id AA17240; Tue, 11 Feb 92 00:00:03 EST
Message-Id:  <9202110500.AA17240@crdgw1.ge.com>
Received: from NDSUVM1.BITNET by VM1.NoDak.EDU (IBM VM SMTP V2R2)
   with BSMTP id 8494; Mon, 10 Feb 92 22:56:26 CST
Received: from NDSUVM1.BITNET by NDSUVM1.BITNET (Mailer R2.07) with BSMTP id
 9633; Mon, 10 Feb 92 22:56:26 CST
Date:         Sun, 9 Feb 1992 15:39:40 GMT
Reply-To: Earle Ake <ake@DAYTON.SAIC.COM>
Sender: ANU-NEWS Discussion <ANU-NEWS@VM1.NoDak.EDU>
From: Earle Ake <ake@DAYTON.SAIC.COM>
Subject:      Re: Host-client NNTP optimization?
To: Multiple recipients of list ANU-NEWS <ANU-NEWS@VM1.NoDak.EDU>

In article <1992Feb8.105423.1@ptavv.llnl.gov>, oberman@ptavv.llnl.gov writes:
> I've been looking at the performance of ANU as a client and have noticed
> something interesting. When a newsgroup is opened, the following commands are
> sent to the server:
> STAT
> GROUP <name>
> STAT
> XHDR Subject <list>


> This looks a bit excessive (although I realize why it happens) when the
> following would do the trick:
> GROUP <name>
> XHDR Subject <list>
> XHDR Lines <list>
> XHDR Date <list>
> XHDR From <list>
> ARTICLE <number>
>
> Is there any reason that this could not be done (for the most part). It looks
> to me that enough context is available to optimize most of the GROUP commands
> out and I don't understand why all the STATS in any case.
>
> Or am I missing something?

        Comment out the toggle_link statement in the routine open_rem_chan
in the file nntp_xmit.c.  This is fixed in 6.1 Alpha2.


  lower_case(node);
  if (*net_open_chan) {
    if ((proto_num != net_proto) || (strcmp(node,net_open_chan))) {
      close_net();
      net_read_status = 0;
      *net_open_chan = 0;
      }
/*
    else toggle_link();
*/
    }



-Earle
_____________________________________________________________________________
             ____ ____    ___
Earle Ake   /___ /___/ / /     Science Applications International Corporation
           ____//   / / /__                 Dayton, Ohio
-----------------------------------------------------------------------------
Internet: ake@dayton.saic.com        uucp: dayvb!ake         SPAN: 28284::ake
