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

  1. Newsgroups: comp.dcom.modems
  2. Path: sparky!uunet!sun-barr!ames!sgi!rhyolite!vjs
  3. From: vjs@rhyolite.wpd.sgi.com (Vernon Schryver)
  4. Subject: Re: What's a good 14400 modem?? (Intel?)
  5. Message-ID: <pavp9v8@rhyolite.wpd.sgi.com>
  6. Organization: Silicon Graphics, Inc.  Mountain View, CA
  7. References: <1992Aug24.143532.8721@lowton.rn.com> <PZR7PB2w165w@infopls.chi.il.us> <1992Sep2.014327.13420@terminator.cc.umich.edu>
  8. Date: Wed, 2 Sep 1992 03:41:06 GMT
  9. Lines: 68
  10.  
  11. In article <1992Sep2.014327.13420@terminator.cc.umich.edu>, honey@citi.umich.edu (Peter Honeyman) writes:
  12. > ...
  13. > i think the common bsd slip actually uses a two byte frame in this
  14. > case -- from slstart() in if_sl.c:
  15. >         /*
  16. >          * The extra FRAME_END will start up a new packet, and thus
  17. >          * will flush any accumulated garbage.  We do this whenever
  18. >          * the line may have been idle for some time.
  19. >          */
  20. >         if (tp->t_outq.c_cc == 0) {
  21. >                 ++sc->sc_bytessent;
  22. >                 (void) putc(FRAME_END, &tp->t_outq);
  23. >         }
  24. > so my earlier caluclation was off by one.
  25.  
  26.  
  27. No, as the comment says, the extra delimiter should only be emitted
  28. when the line was previously more or less idle.
  29. Consecutive SLIP frames should have 1-byte each of SLIP "header".
  30.  
  31. This is what a netsnoop on `ping -s 10` on a SLIP line terminating
  32. about 16 inches from my right knee says:
  33.  
  34. 0002:   len   38   time 21:28:35.799
  35.     ip:     v 4       hl 5      tos 0     len 38    id 19099  off 0
  36.             ttl 255   p icmp    sum 0x65d0
  37.             src rhyolite.wpd.sgi.com      dst dataserv.denver.sgi.com  
  38.     icmp:   type ECHO           code 0    cksum 0x1c66        id 16127
  39.             seq 11   
  40.     00028:                                      2a a4 34 e3              *.4.
  41.     00032:  00 0c 34 f3 08 09                                ..4...
  42.  
  43. 0003:   len   38   time 21:28:35.929
  44.     ip:     v 4       hl 5      tos 0     len 38    id 24932  off 0
  45.             ttl 255   p icmp    sum 0x4f07
  46.             src dataserv.denver.sgi.com   dst rhyolite.wpd.sgi.com     
  47.     icmp:   type ECHOREPLY      code 0    cksum 0x2466        id 16127
  48.             seq 11   
  49.     00028:                                      2a a4 34 e3              *.4.
  50.     00032:  00 0c 34 f3 08 09                                ..4...
  51.  
  52. The total packet length is 36 bytes excluding SLIP header.
  53. However you want to divide it, that's
  54.   (28 bytes of IP stuff) + (1 byte for SLIP) + (ping command line value)
  55.  
  56.  
  57. > |> So you're right that my calculations are a little off.  I don't think
  58. > |> it's worth worrying about.  My inferences of when the modems stop being
  59. > |> able to keep up are not accurate to more than 10%, the modems
  60. > |> themselves vary by more than 10% from moment to moment, and I don't
  61. > |> care about any modem where my error of 37 bytes is 10% or more of the
  62. > |> modem's through-put.
  63. > if you say so.  but i like experimental results to be reproducible by
  64. > others, and hold precision to be a virtue.
  65.  
  66.  
  67. Reproducibility is the main reason I report so called "throughput" as I
  68. do.  The numbers are straight from the ping command line.  They do not
  69. require any problematical adjustments.  As I noted recently, I even
  70. ignore the fact that the real throughput value is in some sense twice
  71. the command line value because data is flowing at that rate in both
  72. directions.
  73.  
  74.  
  75. Vernon Schryver,  vjs@sgi.com
  76.