home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / vms / 12960 < prev    next >
Encoding:
Internet Message Format  |  1992-07-30  |  3.8 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!ucbvax!U.WASHINGTON.EDU!DEREK
  2. From: DEREK@U.WASHINGTON.EDU
  3. Newsgroups: comp.os.vms
  4. Subject: Re: Boot-time quotas
  5. Message-ID: <1A8F03F5FD9F40633B@MAX.U.WASHINGTON.EDU>
  6. Date: 30 Jul 92 16:14:00 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Distribution: world
  9. Organization: The Internet
  10. Lines: 72
  11.  
  12. Bob Marshall of the Lockheed Missiles & Space Co. wrote:
  13.  
  14. >Where does the system initialization process get its quota values from? I
  15. >had always assumed that it was from the UAF record for username SYSTEM,
  16. >but it appears that they actually come from the settings of the PQL
  17. >SYSGEN parameters. My evidence is that I run an image from SYSTARTUP_V5.COM
  18. >which requires a page file quota of about 26,000, and I was getting an
  19. >"Exceeded quota" error from the image activator. Since username SYSTEM
  20. >has a page file quota of 150,000 I was a little bit surprised. But I
  21. >noticed that PQL_DPGFLQUOTA was set at 24,000, so I assume that was
  22. >the explanation. I've increased this parameter to 30,000, but I haven't
  23. >had a chance to reboot and test it yet. Also, once the system comes up
  24. >I can log into SYSTEM interactively and run the image with no problems.
  25. >Can someone confirm/refute my suspicion?
  26.  
  27. I can!  I can!    Now it can be told....
  28.         (HEY!  who said that?!  get that bum out of here!  NOW!)  :)
  29.  
  30. Wow!  I thought that no one else cared about this stuff!  :)
  31.  
  32. This particular issue has been brought to the attention of certain of the
  33. VMS development team, by the way.  (No names, though.  They know who they
  34. are.)  :)
  35.  
  36. I ran into a similar problem when I tried to increase the number of
  37. subprocesses that the startup procedure can create.  Here's what I found
  38. out.
  39.  
  40. The initial quotas are hard coded into VMS.  As I recall, they are in
  41. SYS.EXE, but the exact location is not too important.  The point is that
  42. they are not retrieved from SYSGEN parameters, nor from the UAF.
  43.  
  44. When VMS is booting, it starts to create the VMS environment.  (You know,
  45. process context, S0 space, the PCB vector, etc...)  One of the first processes
  46. to get created is the STARTUP process.  As I said, the initial quotas are
  47. taken from hard coded values.  Before process creation completes, however,
  48. these quotas are compared against some of the PQL SYSGEN parameter values.
  49. If the PQL quota is larger than the hard-coded default, then the PQL value
  50. is taken.
  51.  
  52. NOTE:  I intentionally did not state WHICH PQL parameter is checked.
  53.        You would THINK that the PQL_Mxxxxx parameters would be checked, but
  54.        this isn't always the case.  I don't know the exact versions, but in
  55.        earlier VMS V5.x versions, the check was made against the PQL_Dxxxxx
  56.        parameters.  Sometime between V5.3 and V5.4-1 (I believe) the code
  57.        was changed to look at the PQL_Mxxxxx parameters.  As I recall,
  58.        however, not all of the parameters are checked.
  59.  
  60. What I did:
  61.  
  62. I set BOTH PQL_DPRCLM and PQL_MPRCLM to 40 in my CURRENT SYSGEN parameters.
  63. The boot process then RESETS these to our desired values.  The reason I was
  64. after this was so I could make all of our disks mount "simultaneously".
  65. (We do MOUNT/REBUILD normally.  I know, it's supposed to be fine without
  66. it, and we ran that way for about 4 years.  However, we had too much trouble
  67. with apparent disk corruptions this way.)  This meant that the old, serial
  68. disk mounting procedure could take as long as 3 hours to mount all of the
  69. disks.  Now, it takes at most 15 minutes to mount and rebuild all of the
  70. disks.  Now we don't have problems with so many students having messed up
  71. disk quotas.  Now we don't have problems with multiply allocated disk
  72. blocks.
  73.  
  74. -Derek S. Haining
  75.  University Computing Services
  76.  University of Washington
  77.  Seattle, Washington  98195 
  78.  (206) 543-5579
  79.  
  80.  DEREK@MAX.BITNET
  81.  DEREK@MAX.U.WASHINGTON.EDU
  82.  
  83.