home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / sgi / 16715 < prev    next >
Encoding:
Internet Message Format  |  1992-11-20  |  3.8 KB

  1. Path: sparky!uunet!dove!cam!sims
  2. From: sims@cam.nist.gov (Jim_Sims_x2710)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Re: Interactive vs Background users
  5. Message-ID: <9909@fs2.cam.nist.gov>
  6. Date: 21 Nov 92 01:47:19 GMT
  7. Organization: National Institute of Standards & Technology, Gaithersburg, MD
  8. Lines: 87
  9.  
  10. Some time ago I was looking for a way to lower the priority of jobs 
  11. that are CPU hogs in order to give interactive control to people
  12. at the console. I posted to comp.sys.sgi and found out about a company 
  13. called Parallelograms who had created a program on Alliant systems to 
  14. do this automatically. They had done an SGI port and invited me to 
  15. beta-test it and give them my input. I did, and when I asked for
  16. a way to put the person who is logged in at the "console" in a
  17. special class by themselves and rig things up so that every
  18. other job gets pushed into the background, they added that
  19. capability. We eventually bought their product (Nanny) and have
  20. been satisfied with it enough to want to give them a plug.
  21.  
  22. What follows is from Parallograms and is sort of an executive
  23. summary of the key functions and technical features of the
  24. currently available Nanny:
  25.  
  26.  
  27. Nanny is a very general CPU time balancer.  Nanny runs as a daemon to
  28. continuously and automatically watch the CPU behavior of jobs and then
  29. set their priorities according to whether they appear to be background
  30. number-crunchers or interactive applications.  The priorities are
  31. entirely configurable by the system manager.  Here are some of the
  32. things that are transparently accomplished using Nanny:
  33.  
  34.     - implement any balance of CPU time distribution between users,
  35.       groups, or departments
  36.  
  37.     - give overriding priority to console users when they are present
  38.       and thus improve interactive response
  39.  
  40.     - monitor the current CPU load or create historical summaries of
  41.       CPU by user, group, or departments
  42.  
  43. Platforms:
  44.  
  45.     Nanny runs on a variety of popular workstations and parallel
  46. processors.  Additional ports are in progress.  The following are 
  47. available:
  48.  
  49.     - Silicon Graphics workstations and multi-processors
  50.     - Hewlett-Packard 9000 700 series
  51.     - Sun SPARC systems
  52.     - Alliant systems
  53.     - Cray (FPS model 500) systems
  54.  
  55. Configuration and technical features:
  56.  
  57.     To implement many configuration and query functions, Nanny uses
  58. an embedded command parser called Tcl (Tool Command Language by John
  59. Ousterhout; see comp.lang.tcl newsgroup for information).  Tcl makes
  60. the data Nanny collects available to other programs.  In particular one
  61. can write scripts that take specific system actions based on data collected
  62. by Nanny.  Tk (an X11 toolkit for Tcl) and the "wish" shell also
  63. provide X11-based graphical display of data available.
  64.  
  65.     For Perl (by Larry Wall; see comp.lang.perl) enthusiasts the
  66. socket() function allows Perl writers access to the data collected by
  67. Nanny.  Scripts may then take system actions based on the results.  For
  68. example, either of these tools (wish or perl) could be used to build a
  69. script that monitors memory intensive jobs and pauses them if they are
  70. running at inopportune times.  A simple example of such a script is
  71. provided.
  72.  
  73.     Nanny's network capabilities make collecting and acting on
  74. network-wide detailed load information as simple as writing a single 
  75. script for a master host.
  76.  
  77. Contact information and pricing:
  78.  
  79.     For additional information, write to:
  80.  
  81.         Parallelograms
  82.         P. O. Box AA
  83.         Pasadena, CA  91102
  84.  
  85.     You may also call or FAX 818 577 5515.
  86.  
  87.     Also, questions can be asked of terry@wag.caltech.edu
  88.  
  89.     Pricing is in the PC software range.  Call for more information.
  90.  
  91. -----------------------------------------------------------------------
  92. NAME:   James S. Sims                    TELE: (301) 975-2710
  93. USMAIL: National Institute of Standards and Technology
  94. (formerly National Bureau of Standards)  ARPA,BITNET: sims@enh.nist.gov
  95.         Bldg. 225 Room B-146               
  96.     Gaithersburg, MD  20899
  97.