home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 36 Tips / 36-Tips.zip / OTWPER.FAX < prev    next >
Text File  |  1995-02-21  |  9KB  |  218 lines

  1. OSOTWPER - OS/2 WARP KERNAL/OTHER INFORMATION
  2. 01/18/95
  3.  
  4.  
  5. ===============================================================
  6.          OS/2 WARP KERNAL/OTHER INFORMATION
  7. ===============================================================
  8.  
  9. This document contains frequently asked questions about the
  10. Kernal in OS/2 Warp and a few questions about the Bonus Pack.
  11. -----------------------------------------------------------------
  12.  
  13.  
  14.  1.  Why is my SWAPPER.DAT file larger in WARP?
  15.  
  16.  Warp now swaps system DLLs (dynamic link libraries) to the
  17.  SWAPPER.DAT file when needed instead of just overwriting them in
  18.  memory.  This makes it much quicker to bring them back in.
  19.  There is a lot of overhead to load a shared DLL from the file
  20.  system versus saving the DLL and its associated system data in
  21.  the SWAPPER.DAT.
  22.  
  23.  ----------------------------------------------------------------
  24.  
  25.  2. Where is the best place to put the SWAPPER.DAT file?
  26.  
  27.  The best place for the swapper file is on a drive with a good
  28.  amount of freespace, little disk activity, low fragmentation
  29.  percentage, and in the root directory.  The SWAPPER.DAT file
  30.  stores information in 4KB "pages", so if using the FAT file
  31.  system, the normal 2KB cluster size is ignored and a 4KB cluster
  32.  size is used to prevent fragmentation of memory page frames.
  33.  The system searches for the largest contiguous free space on the
  34.  drive that is noted in the SWAPPATH statement in the CONFIG.SYS
  35.  and creates the SWAPPER.DAT to the initial size in that
  36.  unfragmented free space to enhance performance.
  37.  
  38.  ----------------------------------------------------------------
  39.  3.  How do I use the Dynamic Libpath?
  40.  
  41.  The LIBPATH statement in the CONFIG.SYS has not changed.  It is
  42.  not an environmental variable and any changes made to it do not
  43.  take effect until a shutdown and restart is completed.
  44.  However, there are now two new envirnmental variables that the
  45.  system uses when an application is looking for a DLL (dynamic
  46.  link library).  They are:
  47.  
  48.       SET BEGINLIBPATH=path
  49.            and
  50.       SET ENDLIBPATH=path
  51.  where, "path" is the location of the DLLs.
  52.  
  53.  They are searched in the following order:
  54.  
  55.  1st - BEGINLIBPATH (environmental variable)
  56.  2nd - LIBPATH (config.sys)
  57.  3rd - ENDLIBPATH (environmental variable)
  58.  
  59.  ----------------------------------------------------------------
  60.  
  61.  4.  How can I improve my boot performance?
  62.  
  63.  You can do a couple of things to make sure your boot time is
  64.  minimized:
  65.  
  66.  A. Make sure the Windows FASTLOAD option is turned off.  This
  67.     loads a DOS and Windows session in the background during
  68.     bootup. If you have less than 6MB of memory, it is
  69.     recommended this be turned off.  You can do so by going into
  70.     the OS/2 System folder, then System Setup, then WIN-OS/2
  71.     Setup.
  72.  
  73.  B. Do not Archive your desktop on every reboot.  You really
  74.     should only use archive whenever your desktop customization
  75.     is just how you want it.  The archive tab is located in the
  76.     desktop settings notebook.
  77.  
  78.  C. Use multiple CONFIG.SYS files to only load certain device
  79.     drivers, depending on what you plan to do during a
  80.     particular boot session.  For example, the Internet Access
  81.     Kit has several device drivers, which in low memory systems
  82.     can use a lot of the free memory available, causing some
  83.     swapping to occur.  By having one CONFIG.SYS with the device
  84.     drivers remarked out and one CONFIG.SYS with the device
  85.     drivers present,  during bootup you can choose whether to
  86.     load support for the Internet Access Kit or not.
  87.  
  88.  See page 216 of the Warp User's Guide to find out how to create
  89.  multiple CONFIG.SYS files and activate them in the ALT+F1
  90.  recovery menu.
  91.  
  92.  D.  Add SET RESTARTOBJECTS=STARTUPFOLDERSONLY to the CONFIG.SYS
  93.      file.  This causes the Workplace Shell to only restart the
  94.      objects you have in the STARTUP Folder or the STARTUP.CMD
  95.      file.
  96.  
  97.  ----------------------------------------------------------------
  98.  
  99.  5. Why does Warp run better on 4MB systems?
  100.  
  101.  Some of the optimizations that contribute Warp running faster
  102.  are:
  103.  
  104.  A. There is a new LINK parameter, /EXEPACK, that was used on
  105.     many system files when Warp was compiled.  It compresses
  106.     resource and message files by 20-30%.  These files load 2-3%
  107.     faster on average.
  108.  
  109.  B. Some page frames are "zero compressed" (similar to PKZIP)
  110.     and put in areas of memory already allocated but has extra
  111.     space.  This allows a page frame to be swapped from RAM to
  112.     RAM (which operates in nanoseconds) versus swapping from RAM
  113.     to the hard disk (which operates in milliseconds).  Up to 250
  114.     of these pages can be moved to different areas of RAM instead
  115.     of the SWAPPER.DAT.
  116.  
  117.  C. Many system DLLs (dynamic link libraries) are now being
  118.     swapped out to the hard disk.  This makes it much quicker to
  119.     bring them back in.  There is a lot of overhead to load a
  120.     shared DLL from the file system versus saving the DLL and its
  121.     associated system data in the SWAPPER.DAT.
  122.  
  123.  D. The SWAPPER.DAT, when initialized, is put in the largest
  124.     contiguous space of the FAT file system.  Before the system
  125.     was not concerned with swapper framentation.
  126.  
  127.  E. The internal file system in the SWAPPER.DAT file has a 4KB
  128.     cluster size instead of a 2KB cluster size now.  This change
  129.     makes it more efficient to swap out a 4KB page from to a 4KB
  130.     swapper cluster size and vice versa.
  131.  
  132.  F. Some system DLLs have been merged together so less overhead
  133.     is required to load them into memory and notify all
  134.     tasks of their locations. For example, PMMERGE.DLL contains
  135.     three old system DLLs: PMGRE.DLL, PMSHAPI.DLL and
  136.     PMWIN.DLL.  Although these DLLs are still in WARP, their
  137.     function is simply to forward their calls to PMMERGE.DLL.
  138.     Some other DLLs that are merged are DOSCALL1.DLL and
  139.     MMPM.DLL.
  140.  
  141.  G.  A method of addressing called BASING puts some system DLLs
  142.      at an absolute address to reduce the overhead of finding
  143.      them in memory.
  144.  
  145.  
  146.  
  147.  
  148.  OTHER QUESTIONS
  149. ================================================================
  150.  
  151.  1. How do you create columns in the IBM Works Word Processor?
  152.  
  153.  To define columns in the BonusPak Word Processor, select the
  154.  columns icon on the far right below the Help pulldown.  From
  155.  there you can determine the number of Columns and Rows and other
  156.  options.  A Help Button in the bottom right corner of the page
  157.  can further help you in setting up the columns.
  158.  
  159.  ----------------------------------------------------------------
  160.  
  161.  2. Installing IBM Works and I get an EPFIE609 error. How do I
  162.     get around this problem?
  163.  
  164.  The EPFIE609 error message appears when install utility of IBM
  165.  Works was unable to successfully unpack INSTALL.IN_ file.
  166.  
  167.  If installing from diskettes:
  168.  
  169.    1. Exit the IBM Works Installation.
  170.    2. Make a temperory directory (ex. MD C:\WORKTEMP).
  171.    3. Insert IBM Works Diskette 1 into drive A: and type:
  172.  
  173.          UNPACK A:\INSTALL.IN_ C:\WORKTEMP
  174.    4. Change Directory to WORKTEMP (ex. CD C:\WORKTEMP).
  175.    5. Look for a file called xxxIDLDS.EXE (Where xxx are any 3
  176.       characters).
  177.    6. Execute the file as follow.
  178.          xxxIDLDS /4=A:\
  179.    7. Complete the installation.
  180.    8. Delete the files in C:\WORKTEMP and remove the C:\WORKTEMP
  181.       directory.
  182.  
  183.   If installing from CD-ROM:
  184.  
  185.     1. Exit the IBM Works Installation.
  186.     2. Make a temporary directory (ex. MD C:\WORKTEMP).
  187.     3. Insert the BonusPak CD into CD-ROM drive and type:
  188.  
  189.          UNPACK X:\US\IBMWORKS\INSTALL.IN_ C:\WORKTEMP
  190.          (Where X is the cdrom drive).
  191.     4. Change Directory to WORKTEMP (ex. cd C:\WORKTEMP).
  192.     5. Look for a file called xxxIDLDS.exe (Where xxx are any 3
  193.        characters).
  194.     6. Execute the file as follow.
  195.          xxxIDLDS /4=X\US\IBMWORKS
  196.     7. Complete the installation.
  197.     8. Delete the files in C:\WORKTEMP and remove the C:\WORKTEMP
  198.         directory.
  199.  
  200.  ----------------------------------------------------------------
  201.  
  202.  
  203.  3. When I select the Event Monitor in PIM (Personal Information
  204.     Manager) nothing happens.  What's wrong?
  205.  
  206.  If the icon has diagonal lines through it but nothing comes to
  207.  the foreground, then it is working as designed.  The Event
  208.  Monitor has no user interface, it is a timer that is used by the
  209.  PIM applettes.  All alarms, etc., are set in the PIM applettes,
  210.  not in the event monitor.
  211.  
  212. ----------------------------------------------------------------
  213. IBM disclaims all warranties, whether express or implied,
  214. including without limitation, warranties of fitness and
  215. merchantability with respect to the information in this document.
  216. By furnishing this document, IBM grants no licenses to any
  217. related patents or copyrights.
  218.