home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 22535 < prev    next >
Encoding:
Internet Message Format  |  1993-01-03  |  1.8 KB

  1. Path: sparky!uunet!mcsun!sunic!corax.udac.uu.se!corax.udac.uu.se!ewerlid
  2. From: ewerlid@ida.docs.uu.se (Ove Ewerlid)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: Linux Scheduling (Was Re: Die Die Die) (long)
  5. Date: 2 Jan 93 20:55:46
  6. Organization: University of Uppsala, Sweden
  7. Lines: 28
  8. Distribution: world
  9. Message-ID: <EWERLID.93Jan2205546@ida.docs.uu.se>
  10. References: <BzM129.Lp@brunel.ac.uk> <1992Dec21.155544.20713@mcs.gvsu.edu>
  11. NNTP-Posting-Host: ida.csd.uu.se
  12. In-reply-to: wissner@perlis.mcs.gvsu.edu's message of Mon, 21 Dec 1992 15:55:44 GMT
  13.  
  14.  
  15. [ This message seems to be dated 21 Dec 1992 but it appeared here today ?!?! ]
  16.  
  17. wissner@perlis.mcs.gvsu.edu (Jim Wissner) writes:
  18. > environment) - things can get pretty nasty.  What I have implemented
  19. > is a multi-level feedback queue, which currently using only two queues:
  20.  
  21. Isn't the real problem to determine the type of the incomming process. 
  22. E.g. should it go in the interactive (high pri) or batch (low pri) queue.
  23.  
  24. Can't the batch compile problem be solved using 'nice make'?
  25. (Or 'nice -14 make' for a really low priority.)
  26. (Note that all processes forked by make inherits the priority given to make.)
  27.  
  28. This problem is, IMHO, distinct from the problem of preventing the system
  29. from looking up when it is given large (and pathological) workloads.
  30. 'nice' exists so the user can hint the system about a low priority job
  31. when this is known.
  32.  
  33. An incoming job that is 'niced' will have a lower priority than init
  34. or any typical interactive process.
  35. Thus, when the scheduler scans all process to find the process with the highest
  36. priority it will not immediately select incoming 'niced' processes. 
  37. (It doesn't matter that init lives in process slot 1 and processes are scanned
  38.  from the highest numbered slot.)
  39.  
  40. Just some idle thoughts resulting in the conclusion that
  41. 'nice' is a nice command in a multitasking environment.
  42.