home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / aix / 12484 < prev    next >
Encoding:
Internet Message Format  |  1992-12-11  |  2.3 KB

  1. Path: sparky!uunet!vtserf!black-ice.cc.vt.edu!valdis
  2. From: valdis@black-ice.cc.vt.edu (Valdis Kletnieks)
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: AIX 3.2.3 on RS/6000-560 - strange scheduler behavior
  5. Message-ID: <10382@vtserf.cc.vt.edu>
  6. Date: 11 Dec 92 19:39:45 GMT
  7. References: <10325@vtserf.cc.vt.edu> <1gaavoINNjv0@life.ai.mit.edu>
  8. Sender: usenet@vtserf.cc.vt.edu
  9. Organization: Virginia Tech, Blacksburg, VA
  10. Lines: 44
  11.  
  12. In article <1gaavoINNjv0@life.ai.mit.edu> mycroft@hal.gnu.ai.mit.edu (Charles Hannum) writes:
  13. >In article <10325@vtserf.cc.vt.edu> valdis@black-ice.cc.vt.edu (Valdis
  14. >Kletnieks) writes:
  15. >>      F S UID   PID  PPID   C PRI NI ADDR  SZ  RSS   WCHAN    TTY  TIME CMD
  16. >> 201011 R   0 14097 13392  10  65 20 29474 30776 30772          pts/0  7:15 ./mem1 
  17. >> #define SWTED           0x00000010      /* stopped while traced            */
  18. >
  19. >If you *look in the man page for `ps'*, you'll find:
  20.  
  21. Charles:  
  22.  
  23. Time to file a DOC APAR against something. I'm not sure what yet.
  24.  
  25. My copy of the man pages identifies it as
  26.  
  27.   10    Waiting for a page default, or forking
  28.  
  29. Really confidence inspiring. Never heard it called a 'default' before...
  30.  
  31. Meanwhile, on page A-62 of the 'Performance Monitoring and Tuning
  32. Guide' (SC23-2365-01) it gives *different* meanings for the 'flags'
  33. field, which just happen to correspond to the comments in
  34. /usr/include/sys/proc.h - note that the 'man ps' flags are only
  35. identifed up to x'100', and I've got a *few* more bits in the output.
  36. So in *any* case, *one* of the manualss is wrong (either 'Perf Mon' in
  37. that it isn't just a printf("%x",proc->p_flag); or 'man ps' is
  38. overlooking a lot of bits...
  39.  
  40. It's interesting that the manuals agree (more or less) on the meanings 
  41. of the x'01', x'02', x'20', x'40' flags, but disagree on the meanings
  42. of x'04', x'08', x'10', and x'100', and 'man ps' has no higher flags
  43. identified...
  44.  
  45. In any case, it doesn't explain why of 20 identical processes,
  46. the first 12 are page faulting and making progress, and the other
  47. 8 are *not* page faulted, listed as 'R'unning by 'ps', but not
  48. making any progress at all.
  49.  
  50. It also doesn't explain why when the load average gets to around
  51. 20, interactive response falls through the floor.  I suspect the
  52. problem is that the scheduler is using a "oldest job first" scheme
  53. rather than "shortest job first" or "round robin"...
  54.  
  55. /Valdis
  56.