Re: WORKING_SET.COM gives all COM states when run at high priority

From: AEF (spamsink2001_at_yahoo.com)
Date: 06/30/05


Date: 29 Jun 2005 19:35:40 -0700


Jeff Chimene wrote:
> AEF wrote:
> > Hello,
> >
> > WORKING_SET.COM, which is in SYS$EXAMPLES, lists all processes and
> > various working set statistics for each. I recently found out that when
> > you run it at high priority, most or all of the states show up as COM.
> > The state is determined by the function
> >
> > f$getjpi("","STATE")
> >
> > The higher the priority, the higher the percentage of states which are
> > reported as COM.
> >
> > Why should the result of this function be dependent on the priority at
> > which it is run?
>
> Because your process running working_set.com is using all the CPU? All
> other processes are forced to non-CUR states, e.g. COM
>
> For extra credit, code up a real-time CPU-burner that also
> allocates/frees a few mebibytes of VM. Fire off a few of those and watch
> with working_set.com
>
> Cheers,
> jec

Thanks for your rapid response! But some of my processes are idle
terminal sessions. Why are they waiting for the CPU?



Relevant Pages

  • Re: WORKING_SET.COM gives all COM states when run at high priority
    ... >AEF wrote: ... >> But many processes don't want the CPU, yet if their priority is less ... VAXman- A Bored Certified VMS Kernel Mode Hacker VAXmanTMESISCOM "Well my son, life is like a beanstalk, isn't it?" ...
    (comp.os.vms)
  • Re: WORKING_SET.COM gives all COM states when run at high priority
    ... AEF wrote: ... > WORKING_SET.COM, which is in SYS$EXAMPLES, lists all processes and ... > various working set statistics for each. ... > you run it at high priority, most or all of the states show up as COM. ...
    (comp.os.vms)
  • [ckpatch][3/29] 2.6.17-smpnice-staircase-16
    ... Implement the "staircase" hybrid foreground-background single priority ... array cpu scheduler policy. ... extern struct user_struct root_user; ... goto out_running; ...
    (Linux-Kernel)
  • [RFC][PATCH] O(1) Entitlement Based Scheduler
    ... This patch is a modification of the Oscheduler that introduces ... _entitlement_ to CPU resources that is determined by the number of _shares_ ... This patch provides both soft and hard CPU usage rate caps per ... one getting the most can be given a better priority, ...
    (Linux-Kernel)
  • [ANNOUNCE] RSDL completely fair starvation free interactive cpu scheduler
    ... Staircase DeadLine" cpu scheduler. ... A novel design which incorporates a foreground-background descending priority ... the cpu that it is queued onto also keeps a record of that quota. ... run at this runqueue's current priority rotation. ...
    (Linux-Kernel)