🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Rob Monz Wed, 01 May 1996 00:00
Help! 2 high article ack on IHAVE
#7131
Author: Rob Monz
Date: Wed, 01 May 1996 00:00
40 lines
1607 bytes

Hi,

Our system has been diagnosed in the following way:


-- ------- ---

91 mins unaccounted for (sleeping after errs, writing logs...)

            *******  Breakdown by protocol **********
            Average time total : 1830.16 ms
 [uxxxx]        IHAVE ack avg :  178.99 ms want, 132.3 ms refuse
 [UUNET]    lookup article avg :  283.51 ms, 2488. ms missed
 [xfer]       send article avg : 1059.62 ms
[uxxxx]      article ack avg :  622.10 ms

Avg ping stats: 46.67 min  88.75 avg  641.93 max  0.21% loss (14
samples)
Effective cps on article transfers: 8036.19 cps (62.78 kbps)


The article ack on the IHAVE is too high.  It needs to be 100ms or
better, the article acks are too high this needs to be 250ms or better.
The refuses and missed articles compound the problem as well as the time
lost due to errors.

---- ----- --------

We were referenced to a couple of INN web pages in order to find the
solution.  Unfortunately, we couldn't.   I'm running out of ideas what
could be the cause of this.  Can someone help?  Thanks,


--rob



Re: Help! 2 high article ack on IHAVE
#7114
Author: Mike Bird
Date: Wed, 01 May 1996 00:00
51 lines
2071 bytes
Simple.  Drop UUNet and switch to another provider.  Right now MCI
seems to have the fastest backbone and provides streaming NNTP feeds.

rob@miracle.net (Rob Monz) wrote:


>Hi,

>Our system has been diagnosed in the following way:


>-- ------- ---

>91 mins unaccounted for (sleeping after errs, writing logs...)

>            *******  Breakdown by protocol **********
>            Average time total : 1830.16 ms
> [uxxxx]        IHAVE ack avg :  178.99 ms want, 132.3 ms refuse
> [UUNET]    lookup article avg :  283.51 ms, 2488. ms missed
> [xfer]       send article avg : 1059.62 ms
>[uxxxx]      article ack avg :  622.10 ms

>Avg ping stats: 46.67 min  88.75 avg  641.93 max  0.21% loss (14
>samples)
>Effective cps on article transfers: 8036.19 cps (62.78 kbps)


>The article ack on the IHAVE is too high.  It needs to be 100ms or
>better, the article acks are too high this needs to be 250ms or better.
>The refuses and missed articles compound the problem as well as the time
>lost due to errors.

>---- ----- --------

>We were referenced to a couple of INN web pages in order to find the
>solution.  Unfortunately, we couldn't.   I'm running out of ideas what
>could be the cause of this.  Can someone help?  Thanks,


>--rob



----------------------------------------------------------
 Mike Bird          Tel: 209-742-5000   FAX: 209-966-3177
 President          POP: 209-742-5333   NOC: 209-742-9979 
 Iron Mtn Systems      http://www.ims.mariposa.ca.us/


Re: Help! 2 high article ack on IHAVE
#7195
Author: Anne Bennett
Date: Thu, 02 May 1996 00:00
455 lines
17410 bytes
rob@miracle.net (Rob Monz) writes:
>>
>> Our system has been diagnosed in the following way:
>>
>>             *******  Breakdown by protocol **********
>>             Average time total : 1830.16 ms
>>  [uxxxx]        IHAVE ack avg :  178.99 ms want, 132.3 ms refuse
>>  [UUNET]    lookup article avg :  283.51 ms, 2488. ms missed
>>  [xfer]       send article avg : 1059.62 ms
>> [uxxxx]      article ack avg :  622.10 ms
>>
>> The article ack on the IHAVE is too high.  It needs to be 100ms or
>> better, the article acks are too high this needs to be 250ms or better.
>> The refuses and missed articles compound the problem as well as the time
>> lost due to errors.
>>
>> We were referenced to a couple of INN web pages in order to find the
>> solution.  Unfortunately, we couldn't.   I'm running out of ideas what
>> could be the cause of this.  Can someone help?  Thanks,

mgb@ims.mariposa.ca.us (Mike Bird) responds:
>
> Simple.  Drop UUNet and switch to another provider.  Right now MCI
> seems to have the fastest backbone and provides streaming NNTP feeds.

I had the same problem a month ago.  At the time, the culprit seemed to
be that the MCI network between me and UUNET was dropping packets;
indeed, I was able to ascertain this by running periodic "ping" samples
for a couple of days and analyzing the results.

I spent a bit of time working on my ping gathering and analysis
scripts, so I append them for your use if you'd like to run the same
tests.  Disclaimer: these scripts were a relatively quick hack for
local use, and are not particularly beautiful or general.  You may have
to adapt the ping command line for your O/S; my script expects the ping
syntax of Digital Unix.  You'll want to change the name of the
datafile.  You'll need "gawk" and a modern "tr".  I did comment the
scripts fairly generously, though, so I hope you'll have no trouble
taking what you need.

Appended: (1) A sample of my results, (2) ping-stats, and (3)
ping-analyze.

To use them, run a traceroute between your news server and your feeder,
then, for each site in the path, put in a crontab entry that calls
ping-stats on the site once an hour; your different calls to ping-stats
should of course be offset by at least a minute.  After a day or two,
call ping-analyze on the data file.  With luck, you should be able to
pinpoint where between you and your feeder the network goes bad.

BTW, I'm told that MCI upgraded the problematic equipment recently,
and am now running another set of samples.  


Anne.
--
Ms. Anne Bennett          anne@alcor.concordia.ca            (514) 848-7606
Computing Services,   Concordia University,   Montreal QC,   Canada H3G 1M8
(Administrator for Concordia University mail relay and news transfer) 
----------------------------------------------------------------------------

Analysis of ping stats, file PING.STATS (newsflash)
Hourly pings, 30 packets, 1-second interval, 1024 bytes.


___________________________________________________________
Sampling periods, and number of valid samples taken: 

960319.202001  to  960320.102000  ( 15)      alcor.concordia.ca
960320.112901  to  960322.112901  ( 49)      border4-hssi1-0.boston.mci.net
960320.113301  to  960322.113300  ( 49)      borderx2-fddi0-0.washington.mci.net
960320.131101  to  960322.111101  ( 47)      burnside-sw.cc.mcgill.ca
960320.131000  to  960322.111001  ( 47)      burnside.cc.mcgill.ca
960320.112700  to  960322.112700  ( 49)      canopus.cc.umanitoba.ca
960320.112601  to  960322.112600  ( 49)      cirouter.cc.umanitoba.ca
960320.113000  to  960322.113001  ( 49)      core-fddi-1.boston.mci.net
960320.113100  to  960322.113101  ( 49)      core-hssi-2.newyork.mci.net
960320.113201  to  960322.113200  ( 49)      core-hssi-2.washington.mci.net
960320.111501  to  960322.111500  ( 49)      exterior.onet.on.ca
960320.113601  to  960322.103601  ( 48)      hssi1/0.gw2.ffx1.alter.net
960320.112001  to  960322.112001  ( 49)      jarvis.cs.toronto.edu
960320.113401  to  960322.103400  ( 48)      mae-east-plusplus-two.washington.mci.net
960320.120901  to  960322.110901  ( 47)      mcgill3-gw.risq.net
960320.113800  to  960322.103800  ( 48)      news-in1.uu.net
960320.112301  to  960322.112301  ( 49)      news.nstn.ca
960319.195152  to  960320.101801  ( 17)      news.uu.net
960320.120700  to  960322.110700  ( 45)      newsflash.concordia.ca
960320.120601  to  960322.110601  ( 48)      oldalcor.concordia.ca
960320.112400  to  960322.112400  ( 49)      psp.mb.canet.ca
960320.112101  to  960322.112102  ( 49)      psp.ns.canet.ca
960320.112801  to  960322.112801  ( 49)      psp.ny.canet.ca
960320.111401  to  960322.111400  ( 49)      psp.on.canet.ca
960320.111300  to  960322.111301  ( 49)      psp.qc.canet.ca
960320.112500  to  960322.112500  ( 49)      regional1.mb.canet.ca
960320.112201  to  960322.112201  ( 49)      regional1.ns.canet.ca
960320.120801  to  960322.110801  ( 48)      risq205.concordia.ca
960320.111900  to  960322.111901  ( 49)      sand2.gw.utoronto.ca
960319.201901  to  960322.111201  ( 63)      sifon.cc.mcgill.ca
960320.105312  to  960322.111702  ( 50)      torn.onet.on.ca
960320.111600  to  960322.111600  ( 49)      toronto2.onet.on.ca
960320.111801  to  960322.111801  ( 49)      utorgw.gw.utoronto.ca
960320.113700  to  960322.103701  ( 48)      uunet1-gw.uu.net
960320.113501  to  960322.103501  ( 41)      vienna1.va.alter.net


___________________________________________________________
Cumulative ping statistics:

times (ms)    packets           site                
- -----------   ----------------  --------------------
min avg max    rx   tx    loss                      
  8   9  31    449  450  0.2 %  alcor.concordia.ca
 25  39 166   1457 1470  0.9 %  border4-hssi1-0.boston.mci.net
 35  60 203   1423 1470  3.2 %  borderx2-fddi0-0.washington.mci.net
 21  25  57   1401 1410  0.6 %  burnside-sw.cc.mcgill.ca
 17  22  53   1394 1410  1.1 %  burnside.cc.mcgill.ca
 54  71 143   1428 1470  2.9 %  canopus.cc.umanitoba.ca
 50  59 110   1427 1470  2.9 %  cirouter.cc.umanitoba.ca
 25  48 186   1466 1470  0.3 %  core-fddi-1.boston.mci.net
 30  66 229   1459 1470  0.7 %  core-hssi-2.newyork.mci.net
 35  65 212   1451 1470  1.3 %  core-hssi-2.washington.mci.net
 27  32  51   1461 1470  0.6 %  exterior.onet.on.ca
 38  62 210   1390 1440  3.5 %  hssi1/0.gw2.ffx1.alter.net
 36  44  88   1432 1470  2.6 %  jarvis.cs.toronto.edu
 37  64 247   1410 1440  2.1 %  mae-east-plusplus-two.washington.mci.net
 16  20  55   1404 1410  0.4 %  mcgill3-gw.risq.net
 40  48  83   1394 1440  3.2 %  news-in1.uu.net
 39  51 181   1412 1470  3.9 %  news.nstn.ca
 40  46  74    500  510  2.0 %  news.uu.net
  0   1  36   1350 1350  0.0 %  newsflash.concordia.ca
  8   9  28   1434 1440  0.4 %  oldalcor.concordia.ca
 47  72 568   1460 1470  0.7 %  psp.mb.canet.ca
 33  58 547   1463 1470  0.5 %  psp.ns.canet.ca
 21  39 157   1460 1470  0.7 %  psp.ny.canet.ca
 27  67 635   1465 1470  0.3 %  psp.on.canet.ca
 14  36 426   1461 1470  0.6 %  psp.qc.canet.ca
 49  55  82   1435 1470  2.4 %  regional1.mb.canet.ca
 36  48 158   1433 1470  2.5 %  regional1.ns.canet.ca
  3   3  16   1440 1440  0.0 %  risq205.concordia.ca
 33  40  81   1439 1470  2.1 %  sand2.gw.utoronto.ca
 17  23  88   1884 1890  0.3 %  sifon.cc.mcgill.ca
 30  35  62   1486 1500  0.9 %  torn.onet.on.ca
 29  35  62   1457 1470  0.9 %  toronto2.onet.on.ca
 28  34  62   1454 1470  1.1 %  utorgw.gw.utoronto.ca
 38  47 134   1404 1440  2.5 %  uunet1-gw.uu.net
 41  62 177   1176 1230  4.4 %  vienna1.va.alter.net


___________________________________________________________
Number of samples having lost many, one, or zero packets.

percent samples     number samples site
- ------------------  -------------- ---------------
  >1     1     0       >1   1   0  
  0.0   6.7  93.3       0   1  14  alcor.concordia.ca
  2.0  22.4  75.5       1  11  37  border4-hssi1-0.boston.mci.net
 24.5  28.6  46.9      12  14  23  borderx2-fddi0-0.washington.mci.net
  2.1  14.9  83.0       1   7  39  burnside-sw.cc.mcgill.ca
  6.4  12.8  80.9       3   6  38  burnside.cc.mcgill.ca
 16.3  24.5  59.2       8  12  29  canopus.cc.umanitoba.ca
 32.7   6.1  61.2      16   3  30  cirouter.cc.umanitoba.ca
  0.0   8.2  91.8       0   4  45  core-fddi-1.boston.mci.net
  2.0  14.3  83.7       1   7  41  core-hssi-2.newyork.mci.net
  6.1  24.5  69.4       3  12  34  core-hssi-2.washington.mci.net
  0.0  18.4  81.6       0   9  40  exterior.onet.on.ca
 31.3  18.8  50.0      15   9  24  hssi1/0.gw2.ffx1.alter.net
 18.4  34.7  46.9       9  17  23  jarvis.cs.toronto.edu
 14.6  27.1  58.3       7  13  28  mae-east-plusplus-two.washington.mci.net
  0.0  12.8  87.2       0   6  41  mcgill3-gw.risq.net
 29.2  20.8  50.0      14  10  24  news-in1.uu.net
 32.7  32.7  34.7      16  16  17  news.nstn.ca
 23.5   5.9  70.6       4   1  12  news.uu.net
  0.0   0.0 100.0       0   0  45  newsflash.concordia.ca
  0.0  12.5  87.5       0   6  42  oldalcor.concordia.ca
  4.1  10.2  85.7       2   5  42  psp.mb.canet.ca
  4.1   6.1  89.8       2   3  44  psp.ns.canet.ca
  4.1   6.1  89.8       2   3  44  psp.ny.canet.ca
  0.0  10.2  89.8       0   5  44  psp.on.canet.ca
  2.0  14.3  83.7       1   7  41  psp.qc.canet.ca
 18.4  26.5  55.1       9  13  27  regional1.mb.canet.ca
 16.3  42.9  40.8       8  21  20  regional1.ns.canet.ca
  0.0   0.0 100.0       0   0  48  risq205.concordia.ca
 10.2  40.8  49.0       5  20  24  sand2.gw.utoronto.ca
  0.0   9.5  90.5       0   6  57  sifon.cc.mcgill.ca
  4.0  16.0  80.0       2   8  40  torn.onet.on.ca
  4.1  18.4  77.6       2   9  38  toronto2.onet.on.ca
  6.1  18.4  75.5       3   9  37  utorgw.gw.utoronto.ca
 20.8  27.1  52.1      10  13  25  uunet1-gw.uu.net
 34.1  26.8  39.0      14  11  16  vienna1.va.alter.net


============================================================================
#!/bin/sh
#
#	@(#)ping-stats  1996/03/19  Anne Bennett
#
# Ping the host given by the argument, placing results in a file.


PATH=/local/paths:/usr/bin:/sbin:/usr/sbin:/usr/ucb
export PATH

statsfile="/home/staff/anne/PING.STATS"
pingcount=30
pingsize=1024

# Get parameters.
#

if [ $# -ne 1 ] ; then
     echo "usage: $0 sitename"
     exit 1 
fi

datestamp="`date +'%y%m%d.%H%M%S'`"

ping -q -c $pingcount -s $pingsize $1 \
  |  gawk -v site=$1 -v stamp=$datestamp  '
BEGIN{
   printf("%13s ", stamp);
}

/.*transmitted.*/ {
   transmitted=$1;
   received=$4;
   loss=$7;
   sub("%","",loss);  # Strip off percent sign
}
/.*round-trip.*/ {
   split($5, times, "/");
}

END{
   printf("%3d %3d %3d ms, %2d %%loss, %2d of %2d pkts, %s\n", \
           times[1], times[2], times[3], loss, received, transmitted, \
	   site );
}' >> $statsfile

============================================================================
#!/bin/sh
#
#	@(#)ping-analyze  1996/03/21  Anne Bennett
#
# Analyze the stats obtained with calls to "ping-stats".
# Expect filename as arg 1, output results to stdout.


PATH=/local/paths:/usr/bin:/sbin:/usr/sbin:/usr/ucb
export PATH

sites=/tmp/ping.sites.$$
cleandata=/tmp/ping.cleandata.$$
sitedata=/tmp/ping.sitedata.$$
stripdata=/tmp/ping.stripdata.$$

# Get parameters.
#

if [ $# -ne 1 ] ; then
     echo "usage: $0 datafile"
     exit 1 
fi
datafile=$1

if [ ! -r $datafile ] ; then
     echo "Can't read datafile $datafile"
     exit 1
fi

# --- Report header
echo ""
echo "Analysis of ping stats, file $datafile"
echo ""
echo ""


# --- Clean the data file: ignore entries for which ping failed,
#     since we want network performance while up, and sort by date.
#     Also, lowercase the site names.
grep -v "  *0  *0  *0" $datafile | tr A-Z a-z | sort -b > $cleandata


# --- Make list of sites
gawk '{print $12}' $cleandata | sort -b | uniq > $sites


# --- Cut out the data by site, one per file.
#
# Note that the filename must not contain certain characters
# which are perfectly legal (if ugly) for hostnames, such as "/".
#
for site in `cat $sites` ; do
   grep "pkts, $site" $cleandata > $sitedata.`echo $site | tr -cd '.[:alnum:]'`
done


# --- For each site, mention time and number of samples.
echo "___________________________________________________________"
echo "Sampling periods, and number of valid samples taken: "
echo ""
for site in `cat $sites` ; do
  # Fix the silly filename
  filename=$sitedata.`echo $site | tr -cd '.[:alnum:]'`
  # First field is the date
  echo -n `head -1 $filename | gawk '{print $1}'`
  echo -n "  to  "
  echo -n `tail -1 $filename | gawk '{print $1}'`
  # Number of lines is the number of samples
  echo -n "  (";
           wc -l < $filename | gawk '{printf("%3d", $1)}'
  echo -n ")  ";
  echo    "   " $site
done
echo ""
echo ""


# --- Strip data for faster processing.  Translate format:
# 960320.123500  40 105 239 ms,  6 %loss, 28 of 30 pkts, vienna1.va.alter.net
#                $2  $3  $4     $6        $8   $10
# to format:
#                40 105 239      6        28    30
#                $1  $2  $3     $4        $5    $6
#
for site in `cat $sites` ; do
   gawk '{print $2" "$3" "$4" "$6" "$8" "$10}' \
     $sitedata.`echo $site | tr -cd '.[:alnum:]'` \
     > $stripdata.`echo $site | tr -cd '.[:alnum:]'`
done


# --- Section: general ping stats
echo "___________________________________________________________"
echo "Cumulative ping statistics:"
echo ""

# --- Take averages for the round-trip times ($1  $2  $3);
#     Take sums for packets received and transmitted ($5 $6);
#     Calculate overall packet loss based on the above sums.
gawk '
	BEGIN	{
		  printf("%-11s   ", \
	                 "times (ms)");
		  printf("%-16s  ",     \
		         "packets");
		  printf ("%-20s\n", "site");
		  printf("%-11s   ", \
	                 "-----------");
		  printf("%-16s  ",     \
		         "----------------");
		  printf ("%-20s\n", "--------------------");
		  printf("%-3s %-3s %-3s   ", \
	                 "min", "avg", "max");
		  printf("%-4s %-4s  ",     \
		         " rx", " tx");
		  printf("%-6s ",       \
		         " loss" );
		  printf ("%20s\n", "");
		}
' /dev/null
for site in `cat $sites` ; do
   gawk -v site=$site '
	BEGIN   { mintime     = 0.0;
		  avgtime     = 0.0;
		  maxtime     = 0.0;
		  received    = 0.0;
		  transmitted = 0.0;
		}
		{ mintime     += $1 ;
		  avgtime     += $2 ;
		  maxtime     += $3 ;
		  received    += $5 ;
		  transmitted += $6 ;
		}
	END	{ printf("%3d %3d %3d   ", \
	                 mintime/NR,       \
	                 avgtime/NR,       \
	                 maxtime/NR);
		  printf("%4d %4d ",       \
		         received,         \
			 transmitted);
		  printf("%4.1f %  ",      \
		         100.0 - ( 100.0 * received / transmitted ) );
		  printf ("%s\n", site);
		}
   ' $stripdata.`echo $site | tr -cd '.[:alnum:]'`
done
echo ""
echo ""


# --- "Bad" samples (packets received and transmitted = $5 $6 )
echo "___________________________________________________________"
echo "Number of samples having lost many, one, or zero packets."
echo ""
gawk '
	BEGIN	{
		  printf("%-18s  ", \
	                 "percent samples");
		  printf("%-14s ", \
	                 "number samples");
		  printf("%s\n", "site");
		  printf("%-18s  ", \
	                 "------------------");
		  printf("%-14s ", \
	                 "--------------");
		  printf("%s\n", "---------------");
		  printf("%5s %5s %5s   ", \
	                 " >1 ", " 1 ", " 0 ");
		  printf("  %3s %3s %3s  ", \
	                 ">1", "1", "0");
		  printf("%s\n", "");
		}
' /dev/null
for site in `cat $sites` ; do
   gawk -v site=$site '
	BEGIN   { zerolost = 0.0;
		  onelost  = 0.0;
		  manylost = 0.0;
		}
		{ lost = $6 - $5;
		  if      ( lost == 1 )
		     onelost  += 1
		  else if ( lost >  1 )
		     manylost += 1
		  else
		     zerolost += 1;
		}
	END	{ zeropct = 100.0 * zerolost / NR;
		  onepct  = 100.0 * onelost  / NR;
		  manypct = 100.0 * manylost / NR;

		  printf("%5.1f %5.1f %5.1f   ", \
	                 manypct, onepct, zeropct);
		  printf("  %3d %3d %3d  ", \
	                 manylost, onelost, zerolost);
		  printf("%s\n", site);
		}
   ' $stripdata.`echo $site | tr -cd '.[:alnum:]'`
done
echo ""
echo ""


# --- Clean up

rm -f $sites 
rm -f $cleandata
rm -f $sitedata.*
rm -f $stripdata.*
============================================================================


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