home *** CD-ROM | disk | FTP | other *** search
/ WADS of WADS / WadsOfWads.1994.zip / UNSORTED / IHHD.ZIP / dialer.doc < prev    next >
Text File  |  1994-02-20  |  5KB  |  117 lines

  1. GETTING STARTED
  2.  
  3. You must have access to a host which is connected to the Internet.
  4. While this is not entirely true (you could connect to someone else on
  5. the same machine), it doesn't make much sense to use it if you're not.
  6.  
  7. You will also need a compiled version of the dialer code to do the
  8. testing.  If you don't have it, you can get it from the archive.  The
  9. dialer code may be retrieved from /pub/IHHD on cactus.org using
  10. anonymous ftp.
  11.  
  12. It must be compiled for the machine you plan to run it on.  Typically,
  13. running make is enough.
  14.  
  15.  
  16. FINDING SOMEONE TO CONNECT WITH
  17.  
  18. Use the ihhd mailing list to make contact with someone who can help you
  19. test what you are interested in.  Be sure to relate all pertinent info
  20. such as the software you want to test, versions, modems speeds, etc.
  21. It is not necessary to having modems that match speeds, but it will
  22. affect your results.
  23.  
  24. MAKING A CONNECTION
  25.  
  26. Coordinate the time and place where you and your partner will be
  27. testing from.  Remember to include timezones since the Internet is a
  28. big place.  Also, be sure to let each other know the specific hostname
  29. of the host you will be running from and which dialer you will be
  30. using.  Initial coordination can be done using email.  Last minute
  31. coordination can be done using talk, email, and even the dialer.
  32.  
  33. When the time comes to test, use your favorite terminal emulator
  34. software to dial in and login to your test host.
  35.  
  36. When you are ready to test, run the dialer command specifying your
  37. partner's hostname.  For example, if your partner is connecting from
  38. the host cactus.org, you will type:
  39.  
  40.     % dialer cactus.org
  41.  
  42. This will send your data to the dialer on cactus.org.  Your partner
  43. will type:
  44.  
  45.     % dialer <yourhostname>
  46.  
  47. You will be able to talk to each other by typing.  You won't be able to
  48. see what you type.  You should type both a CR and an LF to terminate
  49. your lines.
  50.  
  51. Once you have entered your dialer command, you should try typing
  52. something like:
  53.  
  54. hello<CR><LF>
  55.  
  56. at regular intervals until you get a reply from your partner.  This is
  57. necessary because the dialer uses an unconnected data transfer
  58. protocol.  You never really know if another party is there receiving
  59. your data unless they acknowledge what you are typing.  Later software
  60. releases will fix this.
  61.  
  62. Use the dialer to discuss the steps in getting your tests underway.
  63. When you are ready to start, exit your terminal emulator without
  64. dropping the phone connection.  Start the software package you wish to
  65. test and configure it for a direct serial connection using the same
  66. port and baud rate that you were using for your terminal emulator.
  67.  
  68. You're now ready to test.  When you are through, you can exit the
  69. dialer by typing ^C^C^C (3 CNTRL-C characters).
  70.  
  71. To use the tcpdialer, one partner will use the command:
  72.  
  73.     % tcpdialer -answer
  74.  
  75. and the other partner will use the command:
  76.  
  77.     % tcpdialer -call <remotehost>
  78.  
  79. where <remotehost> is the host your partner is on.
  80.  
  81. There are also some shell scripts (call, tcpanswer, and tcpcall) which
  82. are interface scripts the dialer and tcpdialer.  In addition to running
  83. the appropriate dialer, they also turn off/on system messages using the
  84. msg and biff commands.  Using the interface scripts is the preferred
  85. methods.
  86.  
  87. HOW TO TEST
  88.  
  89. Here are some data points you may want to gather in your testing:
  90.  
  91. What is the configuration of the two machines being used (type, OS,
  92. etc.)?
  93.  
  94. Use ping to determine turn around times for packets.  Use 100 64 byte
  95. packets and record the min/avg/max times.
  96.  
  97. You may collect packet statistics from the dialer by invoking it with
  98. the -s option.  When you exit the dialer, it will report character and
  99. packet counts and rates for data that was sent by you.  To get the
  100. other sides data, your partner will need to do the same.  For the best
  101. results, you should restart the dialer before each test and stop it
  102. immediately after the test.  Data collection doesn't start until the
  103. first data is sent through the dialer.
  104.  
  105. If possible, you may want to compare local host to PC operation or PC
  106. to PC operation before or after your compare PC to dialer operation.
  107. This will give you a good base from which to compare performance.
  108.  
  109. If you and your partner are using different speed modem connections,
  110. then you may want to vary the test and compare the differences when one
  111. person is the "caller" and the other is the "answerer" and if matching
  112. modem connection speeds is any different than different modem speed
  113. connections.
  114.  
  115. Lastly, write down your information and report it to the ihhd mailing
  116. list so we can tally results and try to improve the software.
  117.