[Bug 777361] Re: load monitor does not scale threshold correctly
This bug was fixed in the package powernap - 2.6-0ubuntu2.1 --- powernap (2.6-0ubuntu2.1) natty-proposed; urgency=low * SRU: - powernap/monitors/LoadMonitor.py: scale monitors threshold. Taken kirkland's patch commited upstream. (LP: #777361) -- Andres Rodriguez andres...@ubuntu.com Wed, 04 May 2011 15:31:00 -0400 ** Changed in: powernap (Ubuntu Natty) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/777361 Title: load monitor does not scale threshold correctly -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 777361] Re: load monitor does not scale threshold correctly
The package has been tested and everything works as expected. Marking this as verification-done ** Tags added: verification-done ** Tags removed: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/777361 Title: load monitor does not scale threshold correctly -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 777361] Re: load monitor does not scale threshold correctly
** Branch linked: lp:ubuntu/natty-proposed/powernap -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/777361 Title: load monitor does not scale threshold correctly -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 777361] Re: load monitor does not scale threshold correctly
** Branch linked: lp:powernap -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/777361 Title: load monitor does not scale threshold correctly -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 777361] Re: load monitor does not scale threshold correctly
Committed revision 233, which should be SRU'd to 11.04. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/777361 Title: load monitor does not scale threshold correctly -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 777361] Re: load monitor does not scale threshold correctly
** Patch added: powernap-natty.debdiff https://bugs.launchpad.net/ubuntu/+source/powernap/+bug/777361/+attachment/2112949/+files/powernap-natty.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/777361 Title: load monitor does not scale threshold correctly -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 777361] Re: load monitor does not scale threshold correctly
** Changed in: powernap (Ubuntu Natty) Milestone: None = natty-updates ** Changed in: powernap (Ubuntu Natty) Status: Triaged = In Progress ** Description changed: Binary package hint: powernap Setting the LoadMonitor threshold to n should scale according to the number of cpu's on the system. PowerNap, of course, reduces the number of online CPUs when powernaping. The load monitor needs to take this into account. Additionally, the current methods of obtaining the number of CPUs and the current load average should both be replaced with native, more efficient native python alternatives. + + == + SRU Justification + + IMPACT + HOW ADDRESSED + MINIMAL PATCH + HOW TO TEST + REGRESSION POTENTIAL -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/777361 Title: load monitor does not scale threshold correctly -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 777361] Re: load monitor does not scale threshold correctly
** Description changed: Binary package hint: powernap Setting the LoadMonitor threshold to n should scale according to the number of cpu's on the system. PowerNap, of course, reduces the number of online CPUs when powernaping. The load monitor needs to take this into account. Additionally, the current methods of obtaining the number of CPUs and the current load average should both be replaced with native, more efficient native python alternatives. - == + === SRU Justification - IMPACT - HOW ADDRESSED - MINIMAL PATCH - HOW TO TEST - REGRESSION POTENTIAL + IMPACT: + + This bug affects PowerNap's Load Monitor threshold when is set to + automatically determine the load. Let's consider an scenario where the + number of cores of the system is 4. When PowerNap enters PowerSave mode, + then it will be running with only 1 out of 4 cores. However, when the + load is higher than 1 and lesser than 4, then PowerNap should take + recover action, but it doesn't. Instead PowerNap will only take recover + action when the load is higher than the initial number of cores, which + is incorrect. This causes the machine to run with lesser codes when + there's higher load and should. + + REPRODUCE: + + 1. Install powernap. + 2. Let PowerNap enter into powersave. + 3. Try to raise the load of the machine to more than 1, and less than the amount of cores in machine. + 4. The machine will not take recover action. + + HOW FIXED: + + The fix is simple, instead of obtaining the number of cores when the + Monitor is instanced, it will obtain the number of course each time the + check for activity is done. + + PATCH: + + Attached. Uploaded to natty-proposed for review. + + REGRESSION POTENTIAL: + + Minimal. This has been tested thoroughly. + + === -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/777361 Title: load monitor does not scale threshold correctly -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 777361] Re: load monitor does not scale threshold correctly
This bug was fixed in the package powernap - 2.7-0ubuntu1 --- powernap (2.7-0ubuntu1) oneiric; urgency=low [ Jim Heck ] * DiskMonitor: Tracks disks activity by monitoring its state. If standby/sleeping they are assumed to be inactive. (LP: #738764). [ Mathieu BĂ©rard ] * actions/kms_powermode: Add action method to enable power management for radeon kms driver. Should be removed when applied upstream or pm-utils. [ Andres Rodriguez ] * sbin/powernapd: Take recover action when entered to powersave with powernap-now (LP: #768598) [ Dustin Kirkland ] * powernap/monitors/LoadMonitor.py: scale monitors correctly, LP: #777361 -- Andres Rodriguez andres...@ubuntu.com Thu, 21 Apr 2011 17:05:37 -0400 ** Changed in: powernap (Ubuntu Oneiric) Status: In Progress = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/777361 Title: load monitor does not scale threshold correctly -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 777361] Re: load monitor does not scale threshold correctly
** Changed in: powernap (Ubuntu Natty) Status: In Progress = New ** Changed in: powernap (Ubuntu Natty) Assignee: Andres Rodriguez (andreserl) = (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/777361 Title: load monitor does not scale threshold correctly -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 777361] Re: load monitor does not scale threshold correctly
** Branch linked: lp:ubuntu/powernap -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/777361 Title: load monitor does not scale threshold correctly -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 777361] Re: load monitor does not scale threshold correctly
** Changed in: powernap (Ubuntu Natty) Status: New = Fix Committed ** Changed in: powernap (Ubuntu Natty) Assignee: (unassigned) = Andres Rodriguez (andreserl) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/777361 Title: load monitor does not scale threshold correctly -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 777361] Re: load monitor does not scale threshold correctly
Accepted powernap into natty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/777361 Title: load monitor does not scale threshold correctly -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs