home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1994 February / psl_9403.zip / psl_9403 / DOS / UT_SYSTM / TAME310.ZIP / TAME.DOC < prev    next >
Text File  |  1993-10-10  |  47KB  |  1,044 lines

  1.                                  TAME release 3.1  
  2.  
  3.                               Shareware Documentation
  4.  
  5.                        Copyright 1988-1993 by David G. Thomas
  6. -------------------------------------------------------------------------------
  7.                                     Overview
  8. -------------------------------------------------------------------------------
  9.  
  10. Introduction
  11.  
  12.    Tame is designed to help you get maximum performance from your multitasking
  13.    environment by speeding up the processing of your applications.
  14.  
  15.    TAME works with many MS-DOS based multitasking environments.  In fact,
  16.    there are special hooks in TAME for use with most of the popular
  17.    multitaskers including Windows, OS/2, Windows NT, DESQview, Double Dos,
  18.    Omniview, VM/386 and PC/MOS.
  19.  
  20.  
  21. Installation
  22.  
  23.    The exact procedure to install Tame varies slightly depending on the
  24.    multi-tasker that is being used.  See below for detailed instructions for
  25.    installing Tame in your environment. 
  26.    
  27.    A generic installation that applies to all multi-taskers is as follows.
  28.  
  29.    Copy the distribution files onto the hard drive.  You may find it
  30.    convenient to place the Tame directory in the path or to copy the Tame
  31.    files into a directory that is in the path.  Another option is to copy just
  32.    TAME.EXE into a pathed directory, and set the TAME environment variable to
  33.    point to the directory where the rest of the Tame files are.
  34.  
  35.    Tame should be loaded into each DOS task.  To do this, type the following 
  36.    command line.
  37.  
  38.       TAME /I
  39.  
  40.    Other options may be used to optimize performance if necessary.  I suggest
  41.    you try the following.
  42.  
  43.       TAME /I 9
  44.  
  45.    If this makes the program run noticeably more slowly, try:
  46.  
  47.       TAME /I 5
  48.  
  49.    If this makes the program run noticeably more slowly, try:
  50.  
  51.       TAME /I 1
  52.  
  53.    A complete list of Tame options appears at the end of this document.
  54.  
  55.  
  56. Why do you need TAME?
  57.  
  58.    Using a multitasking environment increases your productivity because you
  59.    can run more than one application at a time.  While you are running a word
  60.    processor in the "foreground", you can calculate a spreadsheet or print a
  61.    report in the "background".  Although you appear to be getting several
  62.    things done at the same time, multitasking can actually slow down your
  63.    system.  This will continue to get worse as you run more applications at
  64.    the same time.
  65.  
  66.    Most DOS applications are designed to run in a single-tasking environment.
  67.    The application acts as if it is the only program running on the computer.
  68.    It spends most of its time waiting for an instruction, and very little
  69.    time carrying out the instruction.
  70.  
  71.    While the application is waiting, it queries the various devices
  72.    (keyboard, mouse, etc.) to see if you have sent an instruction.  Then it
  73.    checks again and again in a continuous cycle.  This constant checking is
  74.    known as "polling". In just a few seconds between key strokes, a program
  75.    may poll the keyboard hundreds or even thousands of times.
  76.  
  77.    All this polling uses a lot of the CPUs processing time.  In a
  78.    single-tasking DOS environment with only one program competing for CPU
  79.    time, polling doesn't affect performance.  There are no other applications
  80.    competing for CPU time.
  81.  
  82.    But when you are multitasking, this constant polling wastes a lot of CPU
  83.    time.  The background program is continually polling while you are trying
  84.    to work in the foreground.  This unnecessary loss of CPU time from your
  85.    foreground program makes it perform much slower.  That's where TAME can
  86.    improve your performance.
  87.  
  88.  
  89. How does TAME work?
  90.  
  91.    TAME re-allocates how the CPU spends its time.  It applies more CPU time
  92.    to active tasks (like printing or spell-checking) and less time to idle
  93.    tasks that are merely polling.  In essence, TAME speeds up your "active"
  94.    work by slowing down your "inactive" work.
  95.  
  96.    TAME monitors what a program is doing.  TAME notices when a program is
  97.    idle and its only activity is polling the keyboard.  After enough polls,
  98.    TAME can see that the program is wasting time and tells the multitasker to
  99.    move on to the next task.  When the multitasker returns to the idle task,
  100.    TAME will be less patient than before and force a task switch as soon as
  101.    the program starts polling again.
  102.  
  103.    When the program does something active -- such as processing keyboard
  104.    input, performing disk I/O or changing the video screen -- TAME redirects
  105.    the CPU's attention to it.  TAME detects the activity and boosts the
  106.    program's priority for about a tenth of a second.  The priority boost
  107.    prevents TAME from causing a task switch during that period of time.
  108.  
  109.    You may configure TAME to go so far as to instruct the multitasker not to
  110.    waste any more time on a background task until it is brought into the
  111.    foreground. Other TAME options may be used to help it correctly identify
  112.    and deal with programs that are wasting your CPU time by polling input
  113.    devices.
  114.  
  115. -------------------------------------------------------------------------------
  116.                               License and Registration
  117. -------------------------------------------------------------------------------
  118.  
  119. You are given a 30 day trial period to evaluate the effectiveness of Tame.  If
  120. you decide to keep it, fill in the registration form (REGISTER.FRM), and send
  121. it with $20 to the following address.
  122.  
  123.    David G. Thomas
  124.    4290 Bells Ferry Road
  125.    Suite 106 Room 576
  126.    Kennesaw, GA 30144-1300
  127.  
  128. If you would like to use a credit card, you may call the following numbers:
  129.  
  130.      (404) 516-0381 FAX
  131.      (404) 516-0759 Voice
  132.  
  133. After receiving the registration fee, I will send you a diskette with
  134. a version of the program that has no delay screens or timeout
  135. period.  It also includes the full printed documentation which is
  136. much more extensive than that provided in this file.
  137.  
  138. NOTE: Checks must be made out to David G. Thomas, and payable in US
  139.       funds.
  140.  
  141. -------------------------------------------------------------------------------
  142.                               Installation
  143. -------------------------------------------------------------------------------
  144.  
  145. Installing TAME
  146.  
  147.    Tame is installed onto the hard drive by uncompressing the Tame archive
  148.    file (TAME310.ZIP).
  149.  
  150.    Once TAME is installed, there are several ways to run it.  With both
  151.    DESQview and Windows 3.x, you may automatically add TAME to each program's
  152.    window description, or you may manually edit each description to run TAME.
  153.    With other multitaskers, you may load TAME at the DOS command line or from
  154.    within a batch file.
  155.  
  156.    The quick start section is a starting point that quickly produces
  157.    excellent results.  You'll effortlessly achieve almost all of TAME's
  158.    potential benefits. When you feel comfortable with TAME, try the advanced
  159.    features to achieve optimal performance of your system.
  160.  
  161.  
  162. Quick Start
  163.  
  164.    Follow the quick start instruction to run TAME with the multitasker you
  165.    are using.  If you use DESQview or Windows 3.x, you should then review the
  166.    advanced setup options that follow the quick start.  When your setup is
  167.    complete, refer to the section on how to test TAME with your applications.
  168.  
  169.  
  170. DESQview Quick Start
  171.  
  172.    To automatically add TAME to DESQview, change to the C:\DV directory.  Now
  173.    run the TAMEDVP update program to add TAME to the selected DVP window
  174.    description.  For example, the following command lines add TAME to the
  175.    default Big DOS (BD) window.
  176.  
  177.       CD \DV
  178.       TAMEDVP BD
  179.  
  180.    TAME will be in effect the next time the window is opened.  Any existing
  181.    BD windows will need to be closed and re-opened for TAME to affect them.
  182.    Continue to run the TAMEDVP program for each DVP window description that
  183.    needs TAME. Note that TAME will automatically add 10K to the memory size
  184.    and modify the program options for the window you specify.  See the
  185.    DESQview Advanced Setup for an explanation of the options that are
  186.    automatically modified