Re: Setting priority for exe built in DFf6.6

From: Antti K (sikanautaa_at_spam.fi)
Date: 05/28/04

  • Next message: Gerry Thomas: "Intel Software for Tortran"
    Date: Fri, 28 May 2004 09:06:37 +0300
    
    

    Stig Kildegård Andersen wrote:
    >>Anyway I got help by using sleepqq(). Just setting the priority in
    >>the starting of application does not seem to be enough (start/low ...).
    >>Somehow calculation needs to have frequently call sleepqq(0):s or
    >>call sleepqq(1):s to check is there other processes needing part
    >>it's cpu-use. I noticed when using these sleepqq:s total cpu-need
    >>was reduced from 29 s to 4 seconds; strange. Total time needed for
    >>the calculation was changed from 30 s to 35 s.
    >
    >
    >
    > It is odd, I think, that lowering the priority of the process is not enough.
    > In my experience using the code I posted above is sufficient. I use it when
    > I run run parallel programs on a network of non-dedicated machines and I
    > have not yet received a single complaint about my programs not yielding the
    > CPU to other programs. Windows appears very efficient at excutig higher
    > priority threads before lower prioriy ones. Does your application use
    > multiple threads so that some might remain at high priority or do you use
    > library routines that can sit on the CPU while waiting for a response from
    > the network, or similar?
    >
    > Kind Regards,
    > Stig Kildegård
    >
    >
    The application does not use multiple threads nor it uses any library
    routines 'sitting on the CPU'. Task manager shows that the process
    has 'low'-priority. Hard to say why Windows gives too much of the CPU
    for it.

    Best regards

    Antti


  • Next message: Gerry Thomas: "Intel Software for Tortran"

    Relevant Pages

    • [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)
    • Re: [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. ... task uses up its quota it is decremented one priority level. ...
      (Linux-Kernel)
    • [PATCH] [RSDL-mm 6/6] sched: document rsdl cpu scheduler
      ... Add comprehensive documentation of the RSDL cpu scheduler design. ... +A novel design which incorporates a foreground-background descending priority ... +the cpu that it is queued onto also keeps a record of that quota. ...
      (Linux-Kernel)