home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 April / Chip_1997-04_cd.bin / ovladace / novell / 411pt1 / 411pt1.exe / UTILIZAT.TXT < prev   
Text File  |  1997-01-29  |  12KB  |  196 lines

  1.  
  2.                         HIGH UTILIZATION
  3.  
  4. Network performance is a key concern for any network administrator.  Those concerned with
  5. performance are always looking for ways to measure and monitor their network and are
  6. constantly looking for ways to improve performance.  Novell has always been very concerned
  7. about NetWare's performance.  This document will discuss high utilization issues that have been
  8. reported since the shipment of NetWare 4.x and how to get the problem resolved. 
  9.  
  10. The current release of the NetWare 4.x product is 4.11. NetWare  4.0, 4.01 and 4.02 are all
  11. outdated products; therefore,  this document will focus on 4.11 issues.  NetWare 4.11 was a free
  12. upgrade to those who registered 4.0x and resolved  many 4.0x utilization problems. All
  13. development and enhancements are being done to the 4.11 release.
  14.  
  15. Administrators who do not understand the "Processor Utilization" statistic in the
  16. MONITOR.NLM, believe that the higher the percentage, the worse NetWare's performance will
  17. be. This is entirely false. Some processes make efficient use of the processor and as a result may
  18. cause 100% utilization.  This type of utilization is entirely appropriate.  Most of the time when
  19. utilization moves up to 100% it is totally normal, it means the process is using the processor
  20. efficiently.  It may stay at 100% for a couple of minutes.    It is NOT normal when the utilization
  21. is at 100% for a couple of minutes and connections are dropped or server performance is severely
  22. impaired.  This is what will be referenced as high utilization problems in this document.
  23.  
  24. A note about MONITOR utilization.  The Monitor utilization is not an entirely accurate number. 
  25. Some server processes call a NetWare function called CyieldWithDelay or CyieldUntilIdle.  If
  26. there is a thread spinning on one of these functions, the server will appear to have high utilization. 
  27. Utilization will then be  inaccurate.  Don't panic when utilization goes to 100 percent for a few
  28. seconds and bounces down. This is normal for all 4.11 servers.
  29.  
  30. If you are experiencing a high utilization problem and your server hangs or drops connections, use
  31. the following checklist to resolve the problem:
  32.  
  33.  
  34. REQUIRED PATCHES AND FIXES FOR UTILIZATION
  35.      Operating System - Apply the patches from 410PTx.EXE. 
  36.      These patches fix problems that resulted in high utilization.  These patches also fix a
  37.      variety of additional problems.  Loading all of the patches will reduce your chances of
  38.      having future problems.  Verify that SET UPGRADE LOW PRIORITY THREADS is set
  39.      to OFF.  If it is ON it will contribute to any utilization problems the server may be having.
  40.  
  41.      Directory Services - Update DS to version 4.89a or later.  Novell Support has seen issues
  42.      with DS causing high utilization and 4.89a has solved all these issues.  Efficient tree design
  43.      is essential to avoid utilization problems.   The size and number of partition replicas can
  44.      cause utilization problems if not managed properly.  DS needs to keep synchronization
  45.      among all servers in the replica ring.   The more replicas there are of any partition, the
  46.      more traffic will be on the wire. Novell recommends having at least three replicas of each
  47.      partition in the tree.  This provides fault tolerance and allows for DS recovery if a
  48.      database were to become corrupt.
  49.      
  50.      Compression - It is essential to have the OS patches loaded when using compression. 
  51.      Compression takes CPU cycles to compress and decompress files.  The default set
  52.      parameters for compression take this into consideration.  Compression is designed to take
  53.      place after midnight when most servers have little or no traffic.  Also, the DAYS
  54.      UNTOUCHED BEFORE COMPRESSION set parameter is designed to make sure
  55.      frequently used files are not compressed.  Any adjustments to the default compression
  56.      SET parameters may severely impact the server's performance.  
  57.  
  58.      Users with disk restrictions may try to flag their home directory to IC  (immediate
  59.      compress) to save disk space.  Flagging directories to IC will affect server performance. 
  60.      Normally, compression is a low priority thread, which means it only compresses files when
  61.      the server is idle.  When the IC flag is set, compression is bumped up to a regular priority
  62.      and will not wait for idle time.    
  63.  
  64.      Setting DELETED FILES COMPRESSION OPTION = 2 will cause the immediate
  65.      compression of files that have been deleted.  This will cause high utilization because the
  66.      processor is immediately compressing files upon their deletion.  
  67.  
  68.      Compression needs to be monitored carefully to avoid utilization problems.  For 
  69.      additional information refer to TID1005736, "Compression and High Utilization."
  70.  
  71.      Suballocation -   Suballocation is another disk space saving technique new to NetWare
  72.      4.x.  It is very important to load the patches when suballocation is enabled.  Suballocation
  73.      does not have any SET parameters to adjust.  Everything is done automatically.  It is very
  74.      important to   monitor the disk space to avoid suballocation problems.  Novell
  75.      Engineering recommends keeping 10-20 percent of the volume space free to avoid
  76.      suballocation problems.  
  77.  
  78.      It is also important to keep more than 1000 "free blocks" on each volume with
  79.      suballocation enabled. Suballocation uses these free blocks to free up additional disk
  80.      space.  SERVMAN.NLM can be used to monitor the volume statistics and check for "free
  81.      blocks".  If free blocks are low, run a PURGE /ALL from the root of the volume to free
  82.      the "freeable limbo blocks" and move them to the "free blocks" pool.  To avoid doing this
  83.      often, set the P (PURGE)  attribute on directories that create a large amount of temporary
  84.      files.  The P attribute does not flow down the file system.  This needs to be taken into
  85.      consideration when setting the P attribute.  Also, setting IMMEDIATE PURGE OF
  86.      DELETED FILES = ON at the server console will avoid the purgeable files taking all the
  87.      "free blocks". 
  88.  
  89.      Like compression, volumes with suballocation enabled need to be monitored carefully to
  90.      avoid utilization problems.   For additional information refer to TID1005436, "High
  91.      Utilization and Suballocation."
  92.  
  93.      Packet Burst - Novell support has seen high utilization problems caused by packet burst
  94.      from both NetWare and Microsoft requester clients.   Most of these problems have been
  95.      solved with an OS patch or a new requester.  Load the 410 OS patches and get the new
  96.      FIO.VLM which fixes the problem with the Novell requester.  The file is VLMFX3.EXE
  97.      in the NSD area of CompuServe or the Internet. 
  98.  
  99.      AppleTalk - There was also a problem with the ATXPR.NLM causing high utilization.
  100.      The file 41MAC1.EXE contains the new version of ATXPR.NLM.  The file
  101.      41MAC1.EXE is found in the NOVLIB  area LIB 6.
  102.  
  103.      Printing - Having a large amount of printers on a server can affect network performance. 
  104.      This number depends on the type of printing that is being done.  Printing CAD/CAM
  105.      designs take much more processor time than text documents.  Having more than 40
  106.      printers can degrade server performance.  It is recommended, if you are concerned about
  107.      utilization problems, that you set your print devices to do the processing instead of the
  108.      server.  This will slow down printer output but will relieve the utilization on the file server.
  109.  
  110. NOVELL HAS FIXED EVERY REPORTED HIGH UTILIZATION PROBLEM RELATED
  111. TO THE OS OR DS.  If you have completed the previous checklist and are still having problems,
  112. look at the following troubleshooting checklist to try to determine what is causing the problem. 
  113. THESE ARE TROUBLESHOOTING TECHNIQUES ONLY.  THEY ARE NOT NOVELL'S
  114. FINAL SOLUTIONS.
  115.  
  116.  
  117. TROUBLESHOOTING UTILIZATION
  118.      Compression - Eliminate compression as a possible problem by setting ENABLE FILE
  119.      COMPRESSION=OFF.  This will cause files to be queued for compression but the files
  120.      will not be compressed.  However, accessing compressed files causes them to be
  121.      decompressed.  This will eliminate compression as the cause of high utilization.
  122.  
  123.      Packet Burst - Novell technical support has a module called PBRSTOFF.NLM that will
  124.      disable Packet Burst from the server.  The module needs to be loaded when the server
  125.      comes up.  Only connections that are established after the module is loaded will have
  126.      packet burst disabled.  This will isolate utilization problems related to packet burst.
  127.  
  128.  
  129.      Other NLM based products - When utilization problems occur, eliminate as many
  130.      variables as possible.  Remove any products until the server is in  "bare bones" form.  This
  131.      helps determine if it is an OS issue or a problem with a loaded module.  Novell is only able
  132.      to determine an OS problem when it is at it's "bare bones" form.
  133.  
  134.      Drivers - In troubleshooting Utilization problems it may be necessary to eliminate certain
  135.      LAN or Disk drivers as being a possible cause.  As part of  normal troubleshooting
  136.      procedures,  you may be asked by Novell Technical Support to replace your LAN card
  137.      with a different manufacturer's LAN card to eliminate the card and the driver as a possible
  138.      problem.
  139.  
  140. Novell Engineering is very interested and very dedicated to resolving issues with NetWare 4.1,
  141. especially high utilization problems.  At this point in the troubleshooting process it will be
  142. necessary to get a core dump from the server experiencing the high utilization. 
  143.  
  144.  For additional information on core dumps refer to Novell Application Notes, February 1995,
  145. "Resolving Critical Server Issues."
  146.  
  147. NOVELL RECOMMENDATIONS
  148. 1.   Load ALL the patches from 410PTx.EXE.
  149.      The OS patches fix known problems with suballocation and other NetWare functions. 
  150.      These patches have been tested and are recommended by Novell Engineering.
  151.  
  152. 2.   Verify that SET UPGRADE LOW PRIORITY THREADS is set to OFF.
  153.      Setting this parameter to ON allows low priority threads to get on the regular run queue. 
  154.      This may contribute to utilization problems.
  155.  
  156. 3.   Keep 10%-20% of the volume space free.
  157.      Disk space management is essential to avoid problems with compression and 
  158.      suballocation.  Make sure there is always 10%-20% available disk space on all volumes. 
  159.      This can be monitored my SERVMAN.NLM, NWADMIN.EXE or NDIR /VOL.  If the
  160.      file server is running low on disk space, either delete unneeded files or add additional disk
  161.      space to the volume.
  162.  
  163. 4.   Maintain a minimum of 1000 free blocks on each NetWare volume.
  164.      Suballocation uses free blocks to perform its function.  When free blocks are low
  165.      suballocation could go into "aggressive" mode, lock the volume and cause high utilization. 
  166.      Maintaining more than 1000 free blocks will avoid this problem in most cases.  If there are
  167.      not at least 1000 free blocks on the volume, run a PURGE /ALL from the root of the
  168.      volume.  This will free the "freeable limbo blocks" and move them back to "free blocks."
  169.  
  170.  
  171. 5.   Set PURGE flag on all directories that have a large amount of temporary files
  172. created.
  173.      Every temporary file that is created will be put on the "deleted file list."  These files are
  174.      kept on the disk until a PURGE is run.  In order to avoid disk space and free block
  175.      problems, set the PURGE flag on specific directories that create large numbers of
  176.      temporary files.  Also setting IMMEDIATE PURGE OF DELETED FILES=ON, after
  177.      running a PURGE /All, will avoid this problem. 
  178.  
  179.  
  180. High processor utilization alone should not be thought of as a bad thing.  When changing SET
  181. parameters, make sure you know what effect it will have on processor utilization.  High utilization
  182. problems may be very specific.  If you have completed the above checklists and are still having
  183. utilization problems, contact your Novell Reseller or Novell Technical Support.  Novell cannot fix
  184. problems they do not know about.
  185.  
  186.  
  187. Rich Jardine
  188. Product Support Engineer, NetWare OS Support
  189. Novell Inc.
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.