[Bug 223517] New: Powersave: CPU scheme "dynamic" reduces CPU speed if only nice -19 processes run
https://bugzilla.novell.com/show_bug.cgi?id=223517 Summary: Powersave: CPU scheme "dynamic" reduces CPU speed if only nice -19 processes run Product: openSUSE 10.2 Version: RC 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: burnus@gmx.de QAContact: qa@suse.de This is with a Factory computer (update two days ago). If I choose in kpowersave in the "Set CPU Frequency mode" dialog "dynamic", the CPU frequency is reduced if I have only nice 19 jobs running: top - 23:30:15 up 2 days, 15:07, 6 users, load average: 2.14, 2.35, 2.23 PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ P COMMAND 12366 tob 39 19 1395m 1.3g 1560 R 98 63.7 515:56.96 1 exciting.gfortr 12452 tob 39 19 1395m 1.3g 1560 R 95 63.7 512:43.03 0 exciting.gfortr Expected: If any job (independent of the nice level) needs the full CPU, grant it. Reasoning: Here, we have workstations which are also used for computations. We are required by our sys admin to run computation jobs with "nice -19" so that interactive work has a higher priority. But sometimes, the computers don't have anything to do and then throttling the frequency down makes sense -- and therefore I don't want to use the scheme "Full Power", but would like to use "dynamic". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223517 hmacht@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|trenn@novell.com |dkukawka@novell.com ------- Comment #2 from hmacht@novell.com 2006-11-24 06:51 MST ------- The applet, in this case kpowersave has to set the niced processes should be considered during cpuload calculation. I don't think kpowersave is doing this currently. In the meanwhile, you can set this with the following command line, but have in mind that this setting does not persist over reboots: dbus-send --system --print-reply --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.CPUFreq.SetCPUFreqConsiderNice boolean:true Call you call this and try again? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223517 hmacht@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |burnus@gmx.de -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223517 burnus@gmx.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|burnus@gmx.de | ------- Comment #9 from burnus@gmx.de 2006-12-01 00:45 MST ------- Ok, tried with nice -n 19 ./a.out # stayed with 1 GHz dbus-send --system --print-reply --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.CPUFreq.SetCPUFreqConsiderNice boolean:true method return sender=:1.3 -> dest=:1.29 nice -n 19 ./a.out # stayed with 1 GHz -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223517 hmacht@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |burnus@gmx.de ------- Comment #10 from hmacht@novell.com 2006-12-01 04:34 MST ------- After executing this command, please check what's the output of 'cat /sys/devices/system/cpu/cpu0/cpufreq/ondemand/ignore_nice_load'. Can you also please try the above dbus-send command with a 'false' at the end? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223517 burnus@gmx.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|burnus@gmx.de | ------- Comment #11 from burnus@gmx.de 2006-12-01 14:19 MST ------- Using: dbus-send --system --print-reply --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.CPUFreq.SetCPUFreqConsiderNice boolean:false cat /sys/devices/system/cpu/cpu0/cpufreq/ondemand/ignore_nice_load 0 gives the desired result: nice -n19 programms also have 2.4 GHz. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223517 dkukawka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #12 from dkukawka@novell.com 2006-12-04 07:39 MST ------- Fixed in SVN for next release and YOU update ... follow #225212 for you update. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223517 hmacht@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | ------- Comment #13 from hmacht@novell.com 2006-12-06 05:32 MST ------- There's still a logical error in the hal-addon-cpufreq then. I'm reopening this bug and will assign it to me for a possible update for HAL. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223517 hmacht@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|dkukawka@novell.com |hmacht@novell.com Status|REOPENED |ASSIGNED ------- Comment #14 from hmacht@novell.com 2006-12-06 05:32 MST ------- Reassigning... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223517 ------- Comment #15 from hmacht@novell.com 2007-01-12 04:50 MST ------- Created an attachment (id=112636) --> (https://bugzilla.novell.com/attachment.cgi?id=112636&action=view) Patch for online update -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223517 hmacht@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|hmacht@novell.com |dkukawka@novell.com Status|ASSIGNED |NEW ------- Comment #16 from hmacht@novell.com 2007-01-12 04:50 MST ------- Patch attached, so reassigning for a possible online update. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223517 dkukawka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #17 from dkukawka@novell.com 2007-01-17 08:37 MST ------- submitted package for 10.2 you update -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223517 ------- Comment #18 from ast@novell.com 2007-01-19 03:12 MST ------- released -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223517 behlert@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com