home *** CD-ROM | disk | FTP | other *** search
/ Current Shareware 1994 January / SHAR194.ISO / networks / lanpulse.zip / LANPULSE.TXT < prev    next >
Text File  |  1993-05-30  |  40KB  |  939 lines

  1. First Edition May 1992
  2.  
  3.  
  4.  
  5. This is an ASCII text version of the LANPulse manual. This text file contains
  6. the basic information needed to operate and understand LANPulse.  The manual
  7. supplied with a registered copy of LANPulse is bound, contains additional
  8. information, graphics, a table of contents and glossary.
  9.  
  10.  
  11.  
  12. The following document contains examples of data and reports used in LAN
  13. performance evaluation.  To illustrate them as completely as possible, the
  14. examples may contain names of individuals and companies.  All names are
  15. fictitious, and any similarity to the names and addresses used by an actual
  16. person or corporation is purely coincidental.
  17.  
  18. Requests for copies of this product and for technical information about the
  19. system should be made to:
  20.  
  21.         Wildon Research
  22.         PO Box 288
  23.         Raleigh, North Carolina 27602
  24.  
  25.         CompuServe ID: 71031,1765
  26.  
  27. Any comments should also be sent to that address.  Wildon may use or distribute
  28. any of the information you supply in any way it believes appropriate without
  29. incurring any obligations whatever.
  30.  
  31. (c)Copyright Wildon Research 1992
  32. All rights reserved.
  33.  
  34.  
  35.  
  36.  
  37. Overview
  38.  
  39.  
  40. Capabilities
  41.  
  42. LANPulse was developed to provide LAN administrators with a tool to quantify
  43. system performance.  You can effectively use LANPulse to perform the following
  44. tasks:
  45.  
  46.        Performance Monitoring
  47.  
  48.         LANPulse provides you with the true bottom line to LAN
  49.         performance with a graphical representation of
  50.         throughput, as the user sees it.  LANPulse measures
  51.          true response time from any network node.  LANPulse is
  52.         sensitive enough to detect the effect of a user login as
  53.         well as demonstrate the performance impact of moving
  54.         large CAD drawings over the LAN.
  55.  
  56.        Configuration Testing
  57.  
  58.         LANPulse can be used to compare the effects of equipment
  59.         and software changes on a LAN.  By comparing a before
  60.         and after graph it is easy to accurately determine
  61.         impact to performance.
  62.  
  63.        Stress Analysis
  64.  
  65.         LANPulse, in conjunction with LANLoad, can add a load to
  66.         your LAN so that its effect can be watched.  With this
  67.         you can simulate the effect of high traffic on any part
  68.         of the LAN.
  69.  
  70.        Modeling
  71.  
  72.         LANPulse can be used in a predictive fashion to
  73.         determine the effect of adding network traffic which
  74.         does not yet exist.
  75.  
  76. LAN Requirements
  77.  
  78. LANPulse is not specific to any Network Operating System or topology.  Any NOS
  79. which uses DOS based workstations can use LANPulse.  This includes Novell
  80. Netware, Banyan VINES, and LANTastic among others.
  81.  
  82. Hardware Requirements
  83.  
  84. IBM compatible computer (386/20 or faster recommended) with at least one 1.5 Mb
  85. disk drive space available; one floppy disk (for installation of software); and
  86. 640 Kb RAM.  LANPulse does not make use of extended or expanded memory.  VGA
  87. (mono/color) monitor.
  88.  
  89. Note: LANPulse must be able to respond quickly.  Therefore do not run LANPulse
  90. from a workstation with a clock speed slow enough to become its own performance
  91. bottleneck.  LANPulse will function but will not provide an accurate upper
  92. bound on performance information.  A 386/20 machine is generally always fast
  93. enough. LANLoad, not having the same speed requirements as LANPulse, may be run
  94. from any workstation.
  95.  
  96.  
  97.  
  98. Software Requirements
  99.  
  100. LANPulse runs under 2.1 and later releases of DOS.
  101.  
  102. Operation with Microsoft Windows
  103.  
  104. LANPulse is not incompatible with Microsoft Windows but the use of Windows is
  105. generally undesirable.  Windows does not allow LANPulse to respond quickly
  106. enough to accurately report LAN performance.  The exception to this is when
  107. LANLoad is being used to create a load on the LAN and LANPulse is providing the
  108. performance measurement.  In this case LANLoad can operate under Windows.  The
  109. copy of LANPulse measuring the effect of the load should run from DOS.
  110.  
  111. Inventory of LANPulse Files
  112.  
  113. LPPROG.EXE                 The LANPulse program
  114. LANPULSE.BAT               Used to start LANPulse.
  115. LPLOAD.EXE                 The LANLoad program   (Not included with Demo)
  116. LPSETUP.EXE                LANPulse setup/configuration program
  117. SETDGE.EXE                 Initializes the LANPulse graphics
  118. LPPROC.BAT                 Batch file executed via Threshold Notification
  119. LPINSTAL.EXE               Installation program (Not included with Demo)
  120.  
  121.                         Configuring and Running LANPulse
  122.  
  123. Configuring LANPulse
  124.  
  125. The LANPulse configuration program, LPSETUP, allows you to set which printer
  126. and port to use and in what format to send graphical data to the printer.
  127. LPSETUP is run automatically following LANPulse installation.  To rerun LPSETUP
  128. at any subsequent time enter: LPSETUP ─┘
  129.  
  130.  
  131. The Printer Menu
  132.  
  133. From this menu you may select the type printer to use for LANPulse graphs.
  134.  - HP LaserJet
  135.    Provides support for the Hewlett Packard family of laser printer.
  136.  
  137.  - Postscript
  138.    Will print to any Postscript capable printer.
  139.  
  140.  - Epson Graphics
  141.    Provides support for dot matrix printer graphics.  Any printer which
  142.    emulates the Epson command set will be supported here.
  143.  
  144.  - PCX Image
  145.    Converts the graphic to a PCX file.  You will be prompted for a file
  146.    name to print to.  The resulting PCX file can then be imported into
  147.    a number of spreadsheet and wordprocessing programs.
  148.  
  149. The Port Menu
  150.  
  151. This menu determines the computer port or disk file that the graphic output
  152. will be written to.
  153.  
  154.   - LPT1, LPT2
  155.     Allows selection between either your first or second parallel port.
  156.     Note: LPT1 is equivalent to PRN.
  157.  
  158.   - COM1, COM2
  159.     Allows selection between the first or second serial port.
  160.  
  161.   - DISK
  162.     Prompts for a filename which will be the destination for LANPulse
  163.     output.  The results of this can be printed at a later time.
  164.  
  165. Starting LANPulse
  166.  
  167. Start LANPulse with the command:  LANPULSE ─┘
  168.  
  169. Command Reference
  170.  
  171. LANPulse Commands
  172.  
  173. The first step in using LANPulse effectively for performance monitoring is to
  174. establish an appropriate baseline for your LAN.  LANPulse does not diagnose LAN
  175. performance.  It measures performance and provides you with a view of changes
  176. to performance over a selected time span.  It is important to understand that a
  177. single performance graph tells little.  It is essential that you know what is
  178. normal for your LAN.  Simply put, you must know what is normal for your LAN
  179. before you can determine what is not.
  180.  
  181. This section explains the function of each menu command.  An understanding of
  182. these is necessary prior to using LANPulse for collection of useful data.
  183.  
  184. The Menu System
  185.  
  186. LANPulse menu choices are selected by using the cursor control key to highlight
  187. an option and then pressing the Enter key to select it.  The right arrow key
  188. will open a secondary menu while the left arrow key will close it.
  189.  
  190.  
  191. The File Menu
  192.  
  193. The File menu offers various choices for retrieving existing data files,
  194. creating new files, and exporting to other applications.
  195.  
  196. -  Retrieve
  197.    Prompts for entry of the name of a previously created data file.    Once
  198.    the data is loaded you may Display it on the screen or Export it to
  199.    another application.  If data from a previous test has not yet been saved
  200.    you will be reminded to save that before you Retrieve new data.
  201.  
  202.    Pressing F5 provides a directory listing as shown below.  Ctrl-S provides
  203.    you with several different sorting options.
  204.  
  205.  
  206. -  Save As
  207.    Prompts for entry of a filename to be used and saves the data.  This
  208.    feature is used to either provide an initial name or to rename a data
  209.    file.  The F5 key will provide a directory listing.  When a filename is
  210.    selected it will appear in the lower left hand corner of the LANPulse
  211.    screen.
  212.  
  213. -  Comment
  214.    Prompts for entry of several lines of comments in order to provide notes
  215.    for your future convenience.  LANPulse setup parameters are included in
  216.    Exported data files making that part self documenting. However, you will
  217.    want to make notes on special conditions present during the test.
  218.  
  219. -  Export
  220.    Creates a copy of LANPulse data in a comma-delimited ASCII format which
  221.    can be read by Lotus 1-2-3TM, Borland QuattroTM, or Microsoft ExcelTM.  This
  222.    format is very convenient if you intend to manipulate the data in some
  223.    other way.  The filename extension will be .PRN.
  224.  
  225.  
  226. The Setup Menu
  227.  
  228. The Setup menu contains settings which determine how LANPulse operates.  You
  229. can determine which nodes will load the LAN, how much load to apply, how often
  230. to apply load, when to start, and for how long the test will run.
  231.  
  232. -  Transfer From
  233.    You are prompted to enter a directory name to indicate the point at which
  234.    LAN loading will originate.  Enter a directory name on a local hard disk
  235.    to create a load from a particular LAN node.  A directory on a server disk
  236.    will create a load leaving the server.  Read and write access to this
  237.    directory is required.
  238.  
  239. -  Transfer To
  240.    You are prompted to enter a directory name to indicate the point at which
  241.    LAN loading will terminate.  You can enter a directory name on a local
  242.    hard disk to create a load moving to a local node.  By using a server
  243.    directory you create a load ending at the server.  You will need write
  244.    access to any directory selected here.
  245.  
  246.  
  247. -  Transfer Size
  248.    A secondary menu will open giving you the ability to select the size of
  249.    the load.  Loads ranging from 1Kb to 2Mb are available.  Transfer sizes
  250.    256Kb and larger, if used in the Continuous mode, will cause a perceptible
  251.    performance decline on most LANs and are normally used for stress testing
  252.    only.  Transfer sizes 128Kb and less are more often used for performance
  253.    monitoring.
  254.  
  255.    Selecting -Other- will allow you to enter any desired transfer size.  You
  256.    would select this option when you had a specific file size you wanted
  257.    information on.  For example you may want to determine the effect of a
  258.    workstation to mainframe upload which always references a file of known
  259.    size.  You could simulate the effect by selecting the precise transfer
  260.    size here.  More information on selecting transfer size is available in
  261.    the sections on Stress Analysis and Performance Monitoring.
  262.  
  263. -  Samples  (Limited to 100 in the Demo version)
  264.    You are prompted to enter the number of load transfer to occur.  One point
  265.    on the performance graph will be plotted per transfer.
  266.  
  267. -  Frequency
  268.    A secondary menu opens to allow selection of how frequently the LAN
  269.    loading is applied.  Choices are Continuous, every 5-30 seconds, and every
  270.    1-15 minutes.  Continuous transfer provides the most accurate performance
  271.    graph but it also will have the greatest impact on LAN traffic.  It is
  272.    therefore used only for viewing the immediate effects of a LAN event.  A 5-
  273.    30 second delay is used when a test will run for longer durations (several
  274.    hours).
  275.  
  276.    The 1-15 minute transfer delay is most often used if a copy of LANPulse
  277.    will be dedicated to constant monitoring of LAN performance.  In this
  278.    fashion LANPulse can gather performance information 24 hours a day without
  279.    noticeable LAN impact.
  280.  
  281.    When a frequency other than Continuous is selected you will be asked to
  282.    select between Variable and Non-Variable.  A variable delay will cause
  283.    LANPulse to randomly add up to ±2 seconds to the interval specified.  You
  284.    may wish to use a Variable delay to eliminate the possibility of missing
  285.    a LAN based event which is occurring at regular intervals.  In most cases
  286.    Non-Variable, which initiates a LAN test at the selected frequency
  287.    interval, will be fine.
  288.  
  289.  
  290. -  Read/Write
  291.    A major cause of LAN performance problems relates to reading and writing
  292.    files on server disks.  LANPulse can simulate reading from or writing to
  293.    a file located anywhere on the network from anywhere on the network
  294.    (subject to LAN security configuration).  A secondary menu opens which
  295.    allows you to select Read/Write or Read Only operations.  Read/Write and
  296.    Read Only requires you to have write access to the Transfer From and
  297.    Transfer To directories.
  298.  
  299. -  Direction
  300.    After selecting the Transfer From/Transfer To setting you may want to have
  301.    the entire test proceed on this direction or have it alternate one for the
  302.    other.  You may select that option here.  Uni-Directional adheres to
  303.    Transfer From/Transfer To settings while Bi-Directional will alternate
  304.    between them on each test.
  305.  
  306. -  Multi-File
  307.    The Multi-File option allows testing of the effects of disk caches (and
  308.    their sizes) on LAN performance.  For example;  if you have a 2Mb disk
  309.    cache and you are using a 256K transfer size you may want to select
  310.    Multiple File Names with eight target files.  This will cause eight 256K
  311.    loads to be transmitted thus guaranteeing that the cache will be
  312.    completely filled.  The ability to fill a disk cache has great potential
  313.    for testing of different cache settings under different loads.  Select
  314.    Single File Name or set Number of Target Files to 0 to turn off the Multi-
  315.    File option.
  316.  
  317. -  Schedule
  318.    Allows you to specify a time and day to start an unattended LAN test.  You
  319.    will find the feature to be invaluable when testing must happen during
  320.    your lunch hour or after work.  You are prompted to enter a start and end
  321.    time and date.  Use 24 hour time (14:30 = 2:30pm) and be certain that your
  322.    computer clock is properly set.
  323.  
  324. -  Threshold
  325.    You are prompted to enter a minimum effective transfer rate and duration
  326.    which will trigger the execution of a customizable batch file.
  327.    Note: This feature requires that TEXT mode be enabled during a test
  328.    run since running a batch file in the background is incompatible
  329.    with graphics mode screen display.
  330.  
  331.    For example, you may have decided that when LAN throughput is reduced to
  332.    50Kb/sec it will cause user complaints.  You will then want to set the
  333.    minimum effective transfer rate to 50 and then select a duration.  The
  334.    duration is the number of samples that the effective transfer rate has
  335.    averaged below the effective transfer rate threshold (in this example,
  336.    50Kb/sec.)  When this situation occurs LANPulse executes the batch file
  337.    LP_PROC.BAT for you.
  338.  
  339.    You can be as creative or a complex as you desire when deciding what to
  340.    place in LP_PROC.BAT.  Perhaps you would have it execute a program which
  341.    logs the event or perhaps you would send a message to the LAN
  342.    administrator via your network software.  The event is ignored if
  343.    LP_PROC.BAT does not exist.
  344.  
  345.    LANPulse sends three variables to LP_PROC.BAT which you can use however
  346.    you wish.  They are effective transfer rate, current sample number, and
  347.    warning number.  Warning number is a count of messages sent so far.  A
  348.    sample use of these three figures would be as follows.
  349.  
  350.      LP_PROC.BAT
  351.       @echo off
  352.       netsend "Network Manager" Effective transfer rate of %1 Kb/sec
  353.       netsend "Network Manager" This is sample number %2
  354.       netsend "Network Manager" This is warning number %3
  355.  
  356.    Note:      Replace netsend with the appropriate network message command.
  357.  
  358. The Run Menu
  359.  
  360.  
  361. -  Text
  362.    Provides a real time textual view of a LANPulse test.  Use this if your
  363.    monitor is not capable of providing VGA resolution.
  364.    The text display shows the current direction of the load transfer by the
  365.    orientation of the >>> or <<< characters.  The Start and Finish time of
  366.    the current transfer, the Time of the transfer in seconds, the ETR
  367.    (effective transfer rate), and the sequential Number of the current
  368.    transfer.  This window will continuously update for the duration of the
  369.    test.
  370.  
  371. -  Graph
  372.    Provides a real time graphical view of a LANPulse test.  The PgUp and PgDn
  373.    keys can be used to rescale the graph on the Y-axis as desired.  Up to 230
  374.    points can be displayed on a screen.  The graph will scroll right to left
  375.    for each subsequent data point.  From this view small changes in LAN
  376.    performance can be monitored.  You can see immediately how your user's
  377.    applications are affecting LAN performance and can anticipate changes you
  378.    may need to make.
  379.  
  380. The Display Menu
  381.  
  382.  
  383. -  Text
  384.    Display, in textual form, the currently loaded LANPulse performance data.
  385.    This option is disabled if no LANPulse data has been loaded.
  386.  
  387. -  Graph
  388.    Display, in graphical form.  The PgUp and PgDn keys can be used to rescale
  389.    the graph on the Y-axis as desired.  The  and  keys move the graph left
  390.    and right along the X-axis.  Up to 230 points can be displayed at one
  391.    time.
  392.  
  393.    Alt-S toggles the superimposed mean and standard deviation lines on or
  394.    off.
  395.  
  396.    Alt-C will replace the text at the bottom of the graph with any comments
  397.    you entered from the File | Comment screen.  This allows your comments to
  398.    appear on the printed graph.
  399.  
  400.    Alt-P will print the graph currently appearing on the screen to the
  401.    printer and port you set in the LPSETUP program.
  402.  
  403.  
  404.  
  405.  
  406. The Exit Menu
  407.  
  408.   Exit from LANPulse and return to DOS.
  409.  
  410.                              Creating a Baseline Graph
  411.  
  412. It is essential you gain a feeling for what is considered normal performance
  413. for your LAN.  You cannot look at a single graph of LAN performance and tell if
  414. it is good or bad without prior information to compare it to.  With experience
  415. you will be able to look at a graph and tell if your LAN is running as always,
  416. or being adversely affected by some new application.
  417.  
  418. You should gather your baseline information during a time of day when your LAN
  419. is normally loaded and everything is configured as you wish it to be.
  420.  
  421. Suggested settings for baseline gathering:
  422.  
  423.       Transfer From:        A server directory
  424.       Transfer To:          Another server directory
  425.       Transfer Size:        Approximate the average size of files
  426.                 transferred via your LAN
  427.       Samples:              250 (about 10-15 minutes on most LANs)
  428.       Frequency:            Continuous
  429.       Vary Frequency:          Non-Variable
  430.       Read/Write:           Read/Write
  431.       Direction:            Unidirectional
  432.       Multi-File:           Off
  433.       Schedule:             Off
  434.       Threshold:            Off
  435.  
  436. When the test completes you will have a "before" picture of performance which
  437. you can use for comparisons later.  Either Display the graph and use Alt-P to
  438. print or select Export from the File menu, provide LANPulse a filename, and a
  439. comma-delimited text file will be created.  Then any spreadsheet product can
  440. Import this data and allow you to present it in any form you desire.  Hint:
  441. Always use the same Y axis range on Exported graphs so that differences due to
  442. scaling will be eliminated.
  443.  
  444. Remember that 4Mbit token ring looks different from 16Mbit and 10Mbit Ethernet
  445. is different from either of those.  UNIX based systems have performance
  446. characteristics which make them look different from DOS based systems.  Keep
  447. this in mind and before long you can look at a LANPulse graph and tell the LAN
  448. topology, Network Operating System in use, and sometimes even the version of
  449. the software being tested.  LANPulse is that accurate.
  450.                      Exporting LANPulse Data
  451.  
  452. LANPulse has the ability to print graphs of its own (see Printing LANPulse
  453. Graphs) but it also provides a data Export facility.  Selecting Export from the
  454. File Menu prompts you for the name of a file to export to.  LANPulse provides a
  455. filename extension of PRN.  The exported data is in comma-delimited ASCII
  456. format.
  457. A sample file, SAMPLE.PRN, with 250 records appears below.
  458.  
  459. "Source = C:\"
  460. "Target = C:\WILDON\"
  461. "File size = 131072"
  462. "Run Date = January 12, 1992"
  463. "Samples = 250"
  464. "Frequency = Continuous"
  465. "Unique Target Names = 0"
  466. " "
  467. "Test of BitBasher model Z network interface card. "
  468. "                                                  "
  469. "                                                  "
  470. "                                                  "
  471. " "
  472. "      Source to Target"
  473. " "
  474. "Start","Finish","Secs","KBS","Record"
  475. "21:41:01","21:41:01",   0.72, 177.78,1
  476. "21:41:02","21:41:02",   0.55, 232.73,2
  477. "21:41:03","21:41:03",   0.55, 232.73,3
  478. "21:41:03","21:41:04",   0.61, 209.84,4
  479. "21:41:04","21:41:05",   0.61, 209.84,5
  480. "21:41:05","21:41:06",   0.55, 232.73,6
  481. "21:41:06","21:41:06",   0.55, 232.73,7
  482. "21:41:07","21:41:07",   0.55, 232.73,8
  483. "21:41:07","21:41:08",   0.54, 237.04,9
  484. "21:41:08","21:41:09",   0.55, 232.73,10
  485. "21:41:09","21:41:09",   0.66, 193.94,11
  486. "21:41:10","21:41:10",   0.66, 193.94,12
  487.            .
  488.            .
  489.            .
  490. "21:44:42","21:44:43",   0.55, 232.73,245
  491. "21:44:43","21:44:44",   0.55, 232.73,246
  492. "21:44:44","21:44:45",   0.55, 232.73,247
  493. "21:44:45","21:44:46",   0.55, 232.73,248
  494. "21:44:46","21:44:47",   0.55, 232.73,249
  495. "21:44:47","21:44:48",   0.61, 209.84,250
  496.  
  497.  
  498. The header information contained here includes:
  499.  
  500.           Source:             The Transfer From point.
  501.           Target:             The Transfer To point.
  502.        File Size:             The Transfer Size.
  503.         Run Date:             The date of the test.
  504.          Samples:             The number of samples completed.
  505.        Frequency:             The delay interval between each test
  506.                   iteration.
  507.        Unique Target Names:   Number of targets created if Cache Fill was
  508.                   active.
  509.        Comment:               Any comments you entered for the test.
  510.  
  511. Included in the comma-delimited data is:
  512.  
  513.         Start:          Time of the start of a load test.
  514.        Finish:          Time of the finish of a load test.
  515.          Secs:          Seconds required to complete a test.
  516.           ETR:          Effective Transfer Rate.  The LANPulse rating of
  517.                 performance in Effective Kb/sec.  This figure
  518.                 is the Y axis on a performance graph.
  519.        Record:          Sequential number of a load test.  This figure
  520.                 is the X axis on a performance graph.
  521.  
  522. Once this file is created it can be Imported by a number of different
  523. spreadsheet products.
  524.                             Printing a LANPulse Graph
  525.  
  526.  
  527. The first step towards printing a LANPulse graph is to use LPSETUP to decide on
  528. a printer type.  The choices include HP LaserJet, Epson, PCX format, and
  529. Postscript.  See Configuring and Running LANPulse earlier in this document for
  530. information on using LPSETUP.
  531.  
  532. Use Display | Graph to place LANPulse data on the screen ready for printing.
  533.  
  534. PgUp and PgDn keys can be used to rescale the graph on the Y-axis as desired.
  535.  
  536. Left cursor and right cursor keys move the graph left and right along the
  537. X-axis.  Up to 230 points can be displayed at one time.
  538.  
  539. Alt-S toggles the superimposed mean and standard deviation lines on or off.
  540.  
  541. Alt-C will replace the text at the bottom of the graph with any comments you
  542. entered from the File | Comment screen.  This allows you comments to appear on
  543. the printed graph.
  544.  
  545. Alt-P will print the graph currently appearing on the screen to the printer and
  546. port you set in the LPSETUP program.  The screen background will temporarily
  547. change to a black background to indicate that the graph is being sent to the
  548. printer.
  549.  
  550. Using LANLoad
  551.  
  552. When testing the performance aspects of a LAN it is often desirable to see how
  553. it will perform under stress.  LANLoad will generate LAN traffic from the node
  554. it is running at while you monitor the LAN performance using LANPulse from
  555. another location.  As opposed to LANPulse which may not be copied, you may make
  556. as many copies of LANLoad as you need.
  557.  
  558. The options in LANLoad are mostly a subset of LANPulse.  The main difference
  559. being that LANLoad has no reporting capability nor can it save data.  It simply
  560. as a remote loading mechanism for LANPulse.
  561.  
  562.  
  563. <LANLoad is not included in the Demo version, its documentation has been
  564. deleted from this file>
  565.                      Performance Monitoring with LANPulse
  566.  
  567.     Note: Each of the case studies which follow provide a set of suggested
  568.     LANPulse settings for you to use.  These are just to get you started.  You
  569.     may find a variation of these settings easier for you to use or interpret.
  570.     As with all complex issues you should tailor the settings to the situation
  571.     at hand.
  572.  
  573. Have you ever wondered what effect a user's database application has on the
  574. LAN?...What happened to performance when you changed versions of your operating
  575. system?...A user tells you the LAN is slow today.  What does this mean?  Can
  576. you really compare today with yesterday on a quantitative basis?...What is
  577. normal for your LAN?
  578.  
  579. In the following pages let's take a look at some of these questions in the form
  580. of case  studies.
  581. Problem:          A user wants to add a database application to the LAN.  You
  582.           are concerned that it may have a performance impact.  What is
  583.           the actual effect on workstation response time when the
  584.           database application is running?
  585.  
  586. Procedure:        If you do not have a baseline graph you should review the
  587.           section on Creating a Baseline Graph.  Make sure the database
  588.           application to be tested is not running during the baseline
  589.           test.
  590.  
  591.           If you do have a baseline graph you are ready to proceed.
  592.           Start LANPulse, trying the settings below to get you started,
  593.           with the database application in operation.  Note: Some
  594.           persons like to start LANPulse before the application, allow
  595.           LANPulse to run for a minute or two and then start the
  596.           application to be tested.  Allow LANPulse to run for the
  597.           number of intervals you wish and then save the results.
  598.           Export the data and print the graph.
  599.  
  600.           On the graph you will be able to see exactly when the
  601.           database application started and ended.  Notice the amount by
  602.           which the graph was shifted downward.  The percentage of
  603.           downward shift shows the level of decreased performance.
  604.  
  605. Suggested Settings:
  606.  
  607.           Transfer From:          A server directory
  608.             Transfer To:          Another server directory
  609.           Transfer Size:          Approximate the average size of a
  610.                       file transferred through your LAN.
  611.             Samples:          250
  612.               Frequency:          Continuous
  613.          Vary Frequency:          Non-Variable
  614.              Read/Write:          Read/Write
  615.               Direction:          Unidirectional
  616.              Multi-File:          Off
  617.                Schedule:          Off
  618.               Threshold:          Off
  619. Problem:          A user has reported that the LAN seems slow today and you
  620.           want to know what is wrong.
  621.  
  622. Procedure:        Start LANPulse at the normal baseline gathering settings.
  623.           Allow LANPulse to run for the number of intervals you wish
  624.           and then save the results.  Export the data and print the
  625.           graph.
  626.  
  627.           Compare this graph to your normal baseline graph.  Note the
  628.           differences.  On some occasions when a user notices slow
  629.           performance it is due to a transient load which passes
  630.           quickly.  If you see that the top line of your current graph
  631.           is consistently lower than the top line of the baseline graph
  632.           then you have a problem.  This may be due to such things as a
  633.           failing network interface card, or a tape backup being
  634.           carried out on your portion of the LAN.
  635.  
  636.           To track down the problem you can set the Transfer To option
  637.           to other servers or LAN disks and determine on which the
  638.           performance is degraded.
  639.  
  640.  
  641. Suggested Settings:
  642.  
  643.           Transfer From:          A server directory
  644.             Transfer To:          Another server directory
  645.           Transfer Size:          Approximate the average size of a
  646.                       file transferred through your LAN.
  647.             Samples:          250
  648.               Frequency:          Continuous
  649.          Vary Frequency:          Non-Variable
  650.              Read/Write:          Read/Write
  651.               Direction:          Unidirectional
  652.              Multi-File:          Off
  653.                Schedule:          Off
  654.               Threshold:          Off
  655.  
  656. Configuration Testing
  657.  
  658. Have you ever wondered which token ring or Ethernet network interface card has
  659. the faster throughput on your network nodes?...Have you ever wanted to see what
  660. effect is gained by making you disk cache larger or smaller?...Can you decide
  661. which of two disk drives is actually faster in LAN use?...Do you ever have to
  662. compare servers side by side?  Which brand has the overall better effect on
  663. your LAN bottom line -- performance?
  664.  
  665. The following pages outline ways in which you can approach these problems with
  666. LANPulse.
  667. Problem:          Your management has asked you to decide between the faster of
  668.           several network interface cards.
  669.                       - OR -
  670.           You must decide which of several computer systems provides
  671.           overall better throughput for your LAN.
  672.  
  673. Procedure:        This type testing is best done on an isolated LAN so that
  674.           outside interference is eliminated.  The perfect situation
  675.           would be a single workstation attached to a LAN server.  If
  676.           you do not have the luxury of a separate test LAN just be
  677.           sure to do your testing on a relatively quiet LAN so that
  678.           user traffic does not affect your results.  If you can't get
  679.           a good time during the day for your test you will want to use
  680.           the Schedule function to run tests overnight or over the
  681.           weekend.
  682.  
  683.           Add the network interface card or server to be tested to the
  684.           LAN.  Run LANPulse with the suggested settings and graph the
  685.           results.  Change the interface card or try a different server
  686.           configuration and rerun the test.  Look at the graphs to
  687.           decide which card or configuration provided the greatest
  688.           benefit.
  689.  
  690.  
  691. Suggested Settings:
  692.  
  693.           Transfer From:          Any workstation directory
  694.             Transfer To:          Any server directory
  695.           Transfer Size:          Approximate the average size of a
  696.                       file transferred through your LAN.
  697.             Samples:          250
  698.               Frequency:          Continuous
  699.          Vary Frequency:          Non-Variable
  700.              Read/Write:          Read/Write
  701.               Direction:          Bidirectional
  702.              Multi-File:          Off
  703.                Schedule:          Off
  704.               Threshold:          Off
  705.  
  706. Problem:          Many network operating systems allow you to adjust the size
  707.           of a server disk cache.  Setting the size of a cache to best
  708.           fit your usage pattern is an art.  It is always a tradeoff
  709.           between benefitting large files, small files, sequential
  710.           access databases, or random access databases.  LANPulse can
  711.           help you find an average point that suits your needs.
  712.  
  713. Procedure:        This test makes use of the Multi-File feature of LANPulse to
  714.           saturate any disk cache thereby allowing you to see the
  715.           effect of changing its size.
  716.  
  717.           Before starting, you need to make a decision concerning the
  718.           average file size that your LAN transfers.  Does your LAN
  719.           mainly handle database traffic?  If so, you should use a
  720.           smaller (1-8Kb) load size.  Do you normally use the LAN to
  721.           load applications from server to workstation?  If so, use a
  722.           midrange (16-256Kb) load size.  Do you mainly transfer large
  723.           CAD drawings from node to node?  If so, use one of the larger
  724.           (256Kb-2Mb) load sizes.
  725.  
  726.           Select the Multi-File option.  Select Multiple File Names
  727.           from the next menu.  Enter a number for the Number of Target
  728.           Files which would fill the cache at the current cache size.
  729.           Example: If your disk cache is 1Mb and your Transfer Size is
  730.           256Kb, in order to fill the cache you need to set the Number
  731.           of Target Files to 4.
  732.  
  733.           Set your disk cache to a number of different sizes and repeat
  734.           the LANPulse test at each size.  The classic effect
  735.           is slow performance with a cache that is too small with
  736.           performance increasing when the best size is reached and then
  737.           decreasing with larger cache sizes.
  738.  
  739.  
  740. Suggested Settings:
  741.  
  742.           Transfer From:          Any server directory
  743.             Transfer To:          Any other server directory
  744.           Transfer Size:          Approximate the average size of a
  745.                       file transferred through
  746.                       your LAN.
  747.             Samples:          250
  748.               Frequency:          Continuous
  749.          Vary Frequency:          Non-Variable
  750.              Read/Write:          Read/Write
  751.               Direction:          Bidirectional
  752.              Multi-File:          On.
  753.                Schedule:          Off
  754.               Threshold:          Off
  755.  
  756.                             Stress Analysis/Modeling
  757.  
  758. At what point will manufacturer A's network interface card become saturated?
  759. How robust is your LAN and how much loading can it take before the users will
  760. be affected?
  761.  
  762. The following scenarios make use of both LANPulse and LANLoad to assist you.
  763.  
  764.  
  765. Problem:          You are curious as to how much traffic your new network
  766.           interface card can stand before it becomes a bottleneck.
  767.  
  768. Procedure:        This type testing must be done on an isolated LAN because the
  769.           point of the test is to saturate the network with traffic.
  770.           Obviously you don't do that on your production LAN in the
  771.           middle of a work day.  The network interface cards to be
  772.           tested could be either in the server or the workstation.
  773.  
  774.           Note:  In this situation you can use LANLoad to provide
  775.           multiples sources of LAN traffic simultaneously.
  776.  
  777.           Run LANPulse with the suggested settings and graph the
  778.           results.  The graphs will show a steep drop in performance
  779.           when the critical load is reached.
  780.  
  781. Suggested Settings:
  782.  
  783.           Transfer From:          Any workstation directory
  784.             Transfer To:          Any server directory
  785.           Transfer Size:          2Mb
  786.             Samples:          50
  787.               Frequency:          Continuous
  788.          Vary Frequency:          Non-Variable
  789.              Read/Write:          Read/Write
  790.               Direction:          Bidirectional
  791.              Multi-File:          Off
  792.                Schedule:          Off
  793.               Threshold:          Off
  794.  
  795. Suggested Settings for LANLoad:
  796.  
  797.             Transfer From:          Any workstation directory
  798.               Transfer To:          Any server directory (multiple
  799.                         copies of LANLoad can all use
  800.                         the same server directory without
  801.                         interfering with its operation)
  802.             Transfer Size:          2Mb
  803.               Samples:          50
  804.             Frequency:          Continuous
  805.            Vary Frequency:          Non-Variable
  806.                Read/Write:          Read/Write
  807.             Direction:          Bidirectional
  808.                Multi-File:          Off
  809.              Schedule:          Off
  810.             Threshold:          Off
  811.                          Advanced Applications
  812.  
  813. You would like to know how well a system will perform under heavy load.  Will
  814. it degrade gracefully or not?  Would you like to determine performance of
  815. modems?  Have you ever been able to compare separate communication routes or
  816. bridges from the basis of throughput?  You want LANPulse to monitor your LAN
  817. continuously and let you know when things go wrong.
  818.  
  819. The following applications make use of both LANPulse and LANLoad to provide you
  820. the answers you need to make an informed decision.
  821.  
  822.  
  823. Problem:          You are curious as to how much traffic your network can
  824.           handle before performance will degrade.
  825.  
  826. Procedure:        This type testing requires the use of LANPulse and LANLoad.
  827.           LANPulse is to be used as a monitor while copies of LANLoad
  828.           provide the load generating feature.
  829.  
  830.           The copy of LANPulse acting as a monitor could be started
  831.           with the parameters below.  It will run continuously for the
  832.           duration of this test.  LANLoad should be allowed to run for
  833.           a period of time at each of the Transfer Size settings.
  834.  
  835.           By looking at the LANPulse graphical display you will be able
  836.           to see the changing effect due to the changing load.  All
  837.           loads will be visible as troughs on the graph.  You should
  838.           watch for the point when the top line of the graph falls and
  839.           fails to regain its previous level.  This is the point at
  840.           which LAN capacity is reached.
  841.  
  842. Suggested Settings:
  843.  
  844.             Transfer From:          Any server directory
  845.               Transfer To:          Any other server directory
  846.             Transfer Size:          256Kb
  847.               Samples:          1000
  848.             Frequency:          Continuous
  849.            Vary Frequency:          Non-Variable
  850.                Read/Write:          Read/Write
  851.             Direction:          Bidirectional
  852.                Multi-File:          Off
  853.              Schedule:          Off
  854.             Threshold:          Off
  855.  
  856. Problem:          You would like to test the throughput of several modems or
  857.           LAN bridges.
  858.                     - OR -
  859.           You need to test different communication routes between two
  860.           points.  This test will show you which route has the better
  861.           throughput which will in turn minimize your connect time and
  862.           the resulting phone and/or PDN charges.
  863.  
  864. Procedure:        Modems, even if rated at the same baud rate, do not have the
  865.           same effective throughput.  Some use data compression to
  866.           increase performance and some suffer from being overly
  867.           sensitive to the quality of the data transmission thereby
  868.           decreasing performance.  LANPulse can be easily used to
  869.           graphically show the sum of many factors affecting the
  870.           performance of a modem.
  871.  
  872.           In this situation you will need read/write access to the
  873.           server at the remote location and well as at the local end.
  874.           Suggested LANPulse settings are given below.  Run LANPulse
  875.           using each modem or communication route and graph the
  876.           results. A simple comparison of the results will be all you
  877.           need to get a handle on what throughput really is.
  878.  
  879. Suggested Settings:
  880.  
  881.             Transfer From:          local server directory
  882.               Transfer To:          remote server directory
  883.             Transfer Size:          16Kb
  884.               Samples:          150
  885.             Frequency:          Continuous
  886.            Vary Frequency:          Non-Variable
  887.                Read/Write:          Read/Write
  888.             Direction:          Bidirectional
  889.                Multi-File:          Off
  890.              Schedule:          Off
  891.             Threshold:          Off
  892. Problem:          You would like LANPulse to monitor your LAN continuously and
  893.           notify you of performance problems.
  894.  
  895. Procedure:        This can be handled by selecting the use of the LANPulse
  896.           Threshold feature.
  897.  
  898.           For example, you may have decided that when LAN throughput is
  899.           reduced to 50Kb/sec it will cause user complaints.  You will
  900.           then want to set the minimum effective transfer rate to 50
  901.           and then select a duration.  The duration is the number of
  902.           samples that the effective transfer rate has averaged below
  903.           the effective transfer rate threshold (in this example,
  904.           50Kb/sec.)
  905.           When this situation occurs LANPulse executes the batch file
  906.           LP_PROC.BAT for you.  If LP_PROC.BAT does not exist or cannot
  907.           be found then no action will occur.
  908.  
  909.           LANPulse sends three variables to LP_PROC.BAT which you can
  910.           use however you wish.  They are effective transfer rate,
  911.           current sample number, and warning number.  Warning number is
  912.           a count of messages sent so far.  A sample use of these three
  913.           figures would be as follows.
  914.  
  915.           LP_PROC.BAT
  916.           @echo off
  917.           netsend "Network Manager" Effective transfer rate of %1
  918.           netsend "Network Manager" This is iteration number %2
  919.           netsend "Network Manager" This is warning number %3
  920.  
  921.           Note:      Replace netsend with the network message
  922.                  command appropriate for your network
  923.                  software.
  924.  
  925. Suggested Settings:
  926.  
  927.             Transfer From:          Any server directory
  928.               Transfer To:          Any other server directory
  929.             Transfer Size:          64Kb
  930.               Samples:          0
  931.             Frequency:          5 minutes
  932.            Vary Frequency:          Non-Variable
  933.                Read/Write:          Read/Write
  934.             Direction:          Bidirectional
  935.                Multi-File:          Off
  936.              Schedule:          On (set for time span to monitor)
  937.             Threshold:          On (set ETR and duration)
  938.  
  939.