home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / dcom / modems / 12953 < prev    next >
Encoding:
Text File  |  1992-09-04  |  3.5 KB  |  80 lines

  1. Newsgroups: comp.dcom.modems
  2. Path: sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!zaphod.mps.ohio-state.edu!mstar!mstar!bob
  3. From: bob@MorningStar.Com (Bob Sutterfield)
  4. Subject: Re: Latency Question
  5. In-Reply-To: dmuntz@quip.eecs.umich.edu's message of Thu, 3 Sep 1992 00: 32:50 GMT
  6. Message-ID: <BOB.92Sep4104913@volitans.MorningStar.Com>
  7. Sender: news@MorningStar.Com
  8. Nntp-Posting-Host: volitans.morningstar.com
  9. Organization: Morning Star Technologies
  10. References: <1992Sep2.034404.18553@wdl.loral.com> <1992Sep02.131155.9988@technix.mn.org>
  11.     <1992Sep3.003250.14571@zip.eecs.umich.edu>
  12. Date: Fri, 4 Sep 1992 14:49:23 GMT
  13. Lines: 65
  14.  
  15. In article <1992Sep3.003250.14571@zip.eecs.umich.edu> dmuntz@quip.eecs.umich.edu (Daniel A Muntz) writes:
  16.    Latency hasn't changed at all between my WB's after upgrading to
  17.    5.01.  Ping settles to ~200ms (56 data bytes).
  18.  
  19. That packet is so big (~88 octets, counting ICMP headers) that it's a
  20. better measure of in-modem data compression (V.42bis) than of
  21. modem-induced latency, or of the responsiveness that the user feels
  22. when typing in a telnet session that crosses the link.
  23.  
  24. To test modem-induced latency, you want the smallest packet possible.
  25. To measure what a user feels when typing, you want to send a
  26. single-character telnet packet, and time how long it takes for the
  27. echo to return from the telnetd on the other end.  Happily, these two
  28. goals coincide if the SLIP or PPP implements RFC-1144 "VJ" TCP header
  29. compression.  A typical single-character telnet packet will cause five
  30. octets to cross the wire if you're running CSLIP, or eight if you're
  31. running PPP with TCP header compression.  To conduct such
  32. measurements, we use ftp.morningstar.com:pub/tools/telnetping.c.Z.
  33.  
  34. For illustration, here's a long distance call with VJ-capable PPP
  35. between SPARCstations over WorldBlazers (the calling end has 5.01, the
  36. answering end is at 5.00) running V.32bis/V.42/V.42bis:
  37.  
  38.     10:31am> ping -s pike 56 100        (exchanges ~88 octets per packet)
  39.     PING pike.morningstar.com: 56 data bytes
  40.     16 bytes from pike.morningstar.com (137.175.2.38): icmp_seq=0. time=448. ms
  41.     ...    
  42.     ----pike.morningstar.com PING Statistics----
  43.     100 packets transmitted, 100 packets received, 0% packet loss
  44.     round-trip (ms)  min/avg/max = 253/562/5043
  45.     10:32am>
  46.  
  47. Sending a smaller chunk of data within the ICMP packet improves the
  48. numbers, but it still leaves a lot of ICMP header overhead:
  49.  
  50.     10:32am> ping -s pike 8 100        (only ~40 octets per packet)
  51.     PING pike.morningstar.com: 8 data bytes
  52.     16 bytes from pike.morningstar.com (137.175.2.38): icmp_seq=0. time=261. ms
  53.     ...
  54.     ----pike.morningstar.com PING Statistics----
  55.     100 packets transmitted, 100 packets received, 0% packet loss
  56.     round-trip (ms)  min/avg/max = 221/680/5903
  57.     10:33am>
  58.  
  59. Here are the numbers reported by several invocations of telnetping,
  60. which uses TCP and therefore is susceptible to the efforts of VJ
  61. header compression in reducing the overhead of the packets it
  62. exchanges:
  63.  
  64.     10:35am> telnetping pike        (only ~8 octets per packet)
  65.     Opening 137.175.2.38, port 23...
  66.     ...
  67.     min/average/max = 0.181/0.195/0.369
  68.     min/average/max = 0.152/0.245/1.533
  69.     min/average/max = 0.161/0.187/0.378
  70.     min/average/max = 0.161/0.191/0.368
  71.  
  72. These interactive latencies are far better than what you see with ICMP
  73. pings, and they better represent the type of latency that matters:
  74. what a user feels.  It's encouraging that they're generally below the
  75. magical 200ms perceptibility threshhold.
  76.  
  77. I'd like to know what number telnetping would report over CSLIP or
  78. VJ-capable PPP between USR modems, but I don't have any here.  Would
  79. anyone care to try?
  80.