Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Poor DECnet performance
@ 1993-08-16 15:38 Dave Stafford x4437
  1993-08-16 19:03 ` Dave Mitton
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Dave Stafford x4437 @ 1993-08-16 15:38 UTC (permalink / raw)


Thanks to those who replied, my email has gone a bit strange in the meantime
so apologies for not replying directly to you.

I still have a question re. DECnet performance. Because packet delivery is not
certain, DECnet must have retransmission timers built in. Why then does it
seem to take upto 8 seconds for a sequence to be retransmitted? 

Can anything in NCP be changed to reduce the time taken to recover from lost
packets?

Dave




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Poor DECnet performance
  1993-08-16 15:38 Poor DECnet performance Dave Stafford x4437
@ 1993-08-16 19:03 ` Dave Mitton
  1993-08-16 20:19 ` Aaron Leonard
  1993-08-17 16:42 ` oberman
  2 siblings, 0 replies; 7+ messages in thread
From: Dave Mitton @ 1993-08-16 19:03 UTC (permalink / raw)



In article <CBuzFs.3rI@wm.estec.esa.nl>, dave@bccsun1. (Dave Stafford x4437) writes:
<Newsgroups: comp.sys.dec
<From: dave@bccsun1. (Dave Stafford x4437)
<Subject: Poor DECnet performance
<Reply-To: dave@bccsun1.
<Date: Mon, 16 Aug 1993 15:38:16 GMT
<
<Thanks to those who replied, my email has gone a bit strange in the meantime
<so apologies for not replying directly to you.
<
<I still have a question re. DECnet performance. Because packet delivery is not
<certain, DECnet must have retransmission timers built in. Why then does it
<seem to take upto 8 seconds for a sequence to be retransmitted? 
<
<Can anything in NCP be changed to reduce the time taken to recover from lost
<packets?
<
<Dave

	I'll hop on this one, it's one of my favorite pet peeves with
DECnet-VAX:  Yes, out-of-the-box the default retransmission timers are much 
too long.  I recommend:

1) Reduce EXEC DELAY FACTOR from 80 to 32.
	This is the primary control.  It is a multiplier (in sixteenths) 
	of the current dynamic measured round-trip-delay until timing out
	an NSP segment.

	This will make it timeout & retransmit much faster.

2) Since we'll time out faster, lets be willing to do it longer (to preserve
the typical time until link timeout.)  so 
	Raise EXEC RETRANSMIT FACTOR from 8 to 18


	Dave Mitton
	PATHWORKS Engineering
	Digital Equipment Corp.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Poor DECnet performance
  1993-08-16 15:38 Poor DECnet performance Dave Stafford x4437
  1993-08-16 19:03 ` Dave Mitton
@ 1993-08-16 20:19 ` Aaron Leonard
  1993-08-17 16:42 ` oberman
  2 siblings, 0 replies; 7+ messages in thread
From: Aaron Leonard @ 1993-08-16 20:19 UTC (permalink / raw)


In article <CBuzFs.3rI@wm.estec.esa.nl>, dave@bccsun1. (Dave Stafford x4437) writes:

| I still have a question re. DECnet performance. Because packet delivery is not
| certain, DECnet must have retransmission timers built in. Why then does it
| seem to take upto 8 seconds for a sequence to be retransmitted? 
| 
| Can anything in NCP be changed to reduce the time taken to recover from lost
| packets?

There's a pretty good discussion of the subject in the _MultiNet System
Administrators' Guide_ by TGV.  It explains that NSP (DECnet IV's transport
layer) sets the retransmission timer to be the product of MAX (estimated
round trip time, 1 sec) and the NCP DELAY FACTOR.  

DELAY FACTOR, which is given in one-sixteenths, is by default 80, so the
default minimum retransmission time is 5 seconds.  TGV suggests that 
DELAY FACTORs in the range of 24 to 48 (i.e. 1.5xRTT to 3xRTT) 
are more reasonable than the default.  This would give you a minimum
retransmission interval of 1.5 to 3 seconds.

By the way, you might also look at the RETRANSMIT FACTOR, which is how many 
times NSP will attempt a retransmit before deciding that the link is dead.  With a
DELAY FACTOR value of 48 , this means that NSP won't give up for at least three
minutes.

Aaron

Aaron Leonard (AL104), <Leonard@Arizona.EDU>
University of Arizona Network Operations, Tucson AZ 85721



^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: Poor DECnet performance
  1993-08-16 15:38 Poor DECnet performance Dave Stafford x4437
  1993-08-16 19:03 ` Dave Mitton
  1993-08-16 20:19 ` Aaron Leonard
@ 1993-08-17 16:42 ` oberman
  1993-08-18  9:30   ` Colin Webster
  2 siblings, 1 reply; 7+ messages in thread
From: oberman @ 1993-08-17 16:42 UTC (permalink / raw)


In Article <CBuzFs.3rI@wm.estec.esa.nl>
dave@bccsun1. (Dave Stafford x4437) writes:
>Thanks to those who replied, my email has gone a bit strange in the meantime
>so apologies for not replying directly to you.
>
>I still have a question re. DECnet performance. Because packet delivery is not
>certain, DECnet must have retransmission timers built in. Why then does it
>seem to take upto 8 seconds for a sequence to be retransmitted? 

DECnet has a window adjustment algorithm to control congestion built into it.
It's not terribly different from the Nagel algorithm on the IP side, but unlike
Nagel in TCP, it can't be turned off. (For a demonstration, try running X11
over a circuit with Nagel turned on.)

This is compounded by the age of Phase IV and its Phase II and III antecedents.
It was designed in the days of slow, wide area links, to the parameters don't
readily lend themselves to LAN (or even fast WAN) environments.

>Can anything in NCP be changed to reduce the time taken to recover from lost
>packets?

Sure. But not enough to fix it because this all is controlled by exec
parameters which effect ALL circuits.

In order of significance:

1. Reduce the DELAY FACTOR. Either 16 or 32 are a big improvement.
2. Reduce PIPELINE QUOTA on fast nodes.
3. Increase the DELAY WEIGHT to 50 or 100.
4. Increase the RETRANSMIT FACTOR to allow for more retransmits.

The latter really only reduces the likelyhood of losing a circuit do to a
transient drop in the line and is probably not too significant. The first will
greatly enhance interactivity, but will reduce throughput on things like file
transfers.

Pipeline quota can be used as a throttle to cut the number of back-to-back
packets sent by a fast system. If you are seeing a large number of system
buffer unavailables in the line counters, this MAY help.

DELAY WEIGHT is a poorly documented cousin of DELAY FACTOR. I won't swear to exactly
how effective it is since I have been unable to figure out exactly how it
works.

R. Kevin Oberman			Lawrence Livermore National Laboratory
Internet: koberman@llnl.gov		(510) 422-6955

Disclaimer: Being a know-it-all isn't easy. It's especially tough when you
don't know that much. But I'll keep trying. (Both)


^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: Poor DECnet performance
  1993-08-17 16:42 ` oberman
@ 1993-08-18  9:30   ` Colin Webster
  1993-08-18 15:59     ` Alain Martineau
  1993-08-19 17:48     ` oberman
  0 siblings, 2 replies; 7+ messages in thread
From: Colin Webster @ 1993-08-18  9:30 UTC (permalink / raw)



In article <24r1oc$fho@lll-winken.llnl.gov>, oberman@ptavv.llnl.gov writes:
|>Path: uvo.dec.com!helles.rto.dec.com!ryn.mro4.dec.com!nntpd.lkg.dec.com!nntpd2.cxo.dec.com!pa.dec.com!decwrl!concert!news-feed-1.peachnet.edu!darwin.sura.net!seismo!lll-winken.llnl.gov!usenet
|>From: oberman@ptavv.llnl.gov
|>Newsgroups: comp.sys.dec
|>Subject: RE: Poor DECnet performance
|>Date: Tue, 17 Aug 93 17:42:06 GMT-1:00
|>Organization: Lawrence Livermore National Laboratory
|>Lines: 49
|>Message-ID: <24r1oc$fho@lll-winken.llnl.gov>
|>References: ,<CBuzFs.3rI@wm.estec.esa.nl>
|>NNTP-Posting-Host: ptavv.llnl.gov
|>
|>In Article <CBuzFs.3rI@wm.estec.esa.nl>
|>dave@bccsun1. (Dave Stafford x4437) writes:
|>>Thanks to those who replied, my email has gone a bit strange in the meantime
|>>so apologies for not replying directly to you.

.. stuff deleted......
|>
|>>Can anything in NCP be changed to reduce the time taken to recover from lost
|>>packets?
|>
|>Sure. But not enough to fix it because this all is controlled by exec
|>parameters which effect ALL circuits.
|>
|>In order of significance:
|>
|>1. Reduce the DELAY FACTOR. Either 16 or 32 are a big improvement.

I think 16 would prove too low in most cases and would result in excessive
retransmissions, delay factor is expressed in units of 1/16th so 16
really means 1. For this reason, it should not be set to anything lower
than 32.

|>2. Reduce PIPELINE QUOTA on fast nodes.

Agreed. The transmit window is the pipeline quota/exec buffer size
so for a default exec buffer size of 576 and pipeline of 10000 would give
a tx window of 17 packets. 

|>3. Increase the DELAY WEIGHT to 50 or 100.

this won't have much impact on LAN - LAN connections, but making the value
too large will have an adverse effect on WAN links.

|>4. Increase the RETRANSMIT FACTOR to allow for more retransmits.

But don't make it too big!

|>
|>The latter really only reduces the likelyhood of losing a circuit do to a
|>transient drop in the line and is probably not too significant. The first will
|>greatly enhance interactivity, but will reduce throughput on things like file
|>transfers.
|>
|>Pipeline quota can be used as a throttle to cut the number of back-to-back
|>packets sent by a fast system. If you are seeing a large number of system
|>buffer unavailables in the line counters, this MAY help.
|>
|>DELAY WEIGHT is a poorly documented cousin of DELAY FACTOR. I won't swear to exactly
|>how effective it is since I have been unable to figure out exactly how it
|>works.
|> 

From the NSP specs:-
			NODEdelay= NSPweight * NODEdelay +deltaT
			----------------------------------------
			        NODEweight + 1

	where NSPweight=the weighting factor
	      NODEdelay=estimated round trip delay
	      deltaT   =the sample round trip delay

	NSPweight controls how quickly the estimated round trip delay
	can change, and won't have much impact for local lan traffic,
	the delay should always be low!


The reasons behind packet loss should be determined and fixed otherwise
tweaking parameters may end up masking a problem rather than fixing
the root cause.
Lookin at Dave's original posting, I would still suspect his problem
is related to the target node or something in between being over-run.
The line counters on the target system, and also the interface counters
on the cisco should confirm this.

A bit of experimentation with pipeline quota on the sending node 
may be in order!


	Colin Webster

** My employer has nothing to do with my opinions  etc.. ** 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Poor DECnet performance
  1993-08-18  9:30   ` Colin Webster
@ 1993-08-18 15:59     ` Alain Martineau
  1993-08-19 17:48     ` oberman
  1 sibling, 0 replies; 7+ messages in thread
From: Alain Martineau @ 1993-08-18 15:59 UTC (permalink / raw)


I have a related problem some of you guys may have ideas on. A DECnet/SNA
gateway has sessions opened 24 hours a day. There is a CISCO DECnet router
in the way. When it fails and reboot, all the connections are lost, and the
users have to reconnect. Is there a parameter that would allow the router
to reboot ( 1 min. ) and not lose the sessions ?
	Also, there may be alternate routes available, would it be possible to
change the route and not lose the session ?

Alain Martineau
Hydro Quebec
amartineau@nccr.ccr.hydro.qc.ca


^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: Poor DECnet performance
  1993-08-18  9:30   ` Colin Webster
  1993-08-18 15:59     ` Alain Martineau
@ 1993-08-19 17:48     ` oberman
  1 sibling, 0 replies; 7+ messages in thread
From: oberman @ 1993-08-19 17:48 UTC (permalink / raw)


In Article <1993Aug18.093054.201@decuk.uvo.dec.com>
websterc@decuk.uvo.dec.com (Colin Webster) writes:

>|>1. Reduce the DELAY FACTOR. Either 16 or 32 are a big improvement.
>
>I think 16 would prove too low in most cases and would result in excessive
>retransmissions, delay factor is expressed in units of 1/16th so 16
>really means 1. For this reason, it should not be set to anything lower
>than 32.

This is debatable, but on a LAN, 1 second is a LONG time. If a WAN is involved,
2 seconds may be too short depending on line speed. This is a trade-off. But to
an interactive application like X11, unneeded retransmits will result in fewer
unhappy users than noticable delays. I will agree that your milage may vary!


>|>3. Increase the DELAY WEIGHT to 50 or 100.
>
>this won't have much impact on LAN - LAN connections, but making the value
>too large will have an adverse effect on WAN links.

Once again, the LAN/WAN problem. I'd love to get a good understanding of this
one.

>From the NSP specs:-

Thanks! I've been trying to get this information for some time! I'vve even
talked to fairly high level people in the US who did not know the answer.

While dropped packets should not simply be covered up, the values in the
default setup are totally inappropriate for a LAN-only system. And that covers
almost all systems these days. Whiel Dave should look for just where packets
are being dropped, there is no reason users should have to suffer for 10-15
seconds every time one does drop. (And there will always be dropped packets.)

On the other had, the numbers I gave were to optimize short packet interactive
response. For things like file transfers, you will be better off with something
closer to the defaults (except for pipline quota).

R. Kevin Oberman			Lawrence Livermore National Laboratory
Internet: koberman@llnl.gov		(510) 422-6955

Disclaimer: Being a know-it-all isn't easy. It's especially tough when you
don't know that much. But I'll keep trying. (Both)


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1993-08-19 17:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-08-16 15:38 Poor DECnet performance Dave Stafford x4437
1993-08-16 19:03 ` Dave Mitton
1993-08-16 20:19 ` Aaron Leonard
1993-08-17 16:42 ` oberman
1993-08-18  9:30   ` Colin Webster
1993-08-18 15:59     ` Alain Martineau
1993-08-19 17:48     ` oberman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox