Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#7 I cannot use rules for processes in niceness

closed
None
5
2006-05-01
2006-01-16
Anonymous
No

If I run a process in niceness rules for cpu usage
does not trig...

is there any way to fix it?

Thanks

Discussion

  • Mattia Dongili
    Mattia Dongili
    2006-01-16

    • assigned_to: nobody --> mattia-san
     
  • Mattia Dongili
    Mattia Dongili
    2006-01-16

    Logged In: YES
    user_id=584271

    Did you try changing the nice'd processes weight?
    Default is nice'd processes count as 1/3 that is
    cpu_interval=70-100,3
    you can change it to
    cpu_interval=70-100,1
    to have them count for their full cpu usage.
    See cpufreqd.conf(5) for a detailed explanation.

    If it still doesn't work would you please provide your
    configuration file (or even a simple use case if you can).

    Thanks

     
  • Logged In: NO

    I think this is a issue with the kernel governors. The
    performance govenor will not increase the cpu frequency if
    only niced processes are running as far as i can see.

     
  • Mattia Dongili
    Mattia Dongili
    2006-02-20

    Logged In: YES
    user_id=584271

    The performance governor is a _static_ governor, it simply
    uses the highest limit set.
    Maybe you mean the ondemand and/or conservative governors,
    they have a separate setting for ignore/unignore nice'd
    processes.

     
  • Heiko Noordhof
    Heiko Noordhof
    2006-02-24

    Logged In: YES
    user_id=32787

    | Maybe you mean the ondemand and/or conservative governors,
    | they have a separate setting for ignore/unignore nice'd
    | processes.

    Changes to governor parameters like 'ignore_nice' are lost
    when cpufreqd switches to another profile. I've made a
    plugin that allows setting these parameters in
    profile-sections of the cpufreqd.conf file.

    This way the parameters like ignore_nice' become pesistent.
    They can even be set differently in different profiles.

    The plugin is available from the pathes page. It works for
    me. Hope other people have a use for it.

     
  • Mattia Dongili
    Mattia Dongili
    2006-05-01

    • status: open --> closed