Opened 10 years ago
Closed 3 weeks ago
#11685 closed bug (not reproducible)
CPU load spikes affecting performance introduced in hrev46690
Reported by: | jstressman | Owned by: | pdziepak |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Drivers/Power | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description (last modified by )
Up to and including hrev46689 my system would idle at almost flatline. Between 0 and 2% or so on any core. But starting with Pawel's changes in hrev46690 my CPUs will randomly spike to almost full load every few seconds, for anywhere from a fraction of a second to a couple seconds, during which time the system basically partially freezes. You can usually move the mouse, but the menus are frozen, displays like the ActivityMonitor freeze and then jump ahead when it unfreezes (which you'll see as the jagged sawtooth pattern on the screenshot).
I'd noticed this a few days ago when I finally updated my system from hrev46677, which was the last normal nightly release that worked for me. While trying to track down another boot problem that was introduced between that and the next nightly, I noticed that this issue was introduced in the same revision.
Attachments (3)
Change History (12)
by , 10 years ago
Attachment: | screenshot4crop.png added |
---|
comment:1 by , 10 years ago
Component: | - General → System/Kernel |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:2 by , 10 years ago
comment:3 by , 10 years ago
Description: | modified (diff) |
---|
comment:4 by , 10 years ago
I blacklisted the cpuidle module in add-ons/kernel/power/cpuidle and this problem (along with my boot problem in #11020) disappeared.
While the cpu usage is higher than it was before hrev46690, it's perfectly usable and barely noticeable compared to this bug's behavior.
Attaching a screenshot from hrev48579 while running with cpuidle blacklisted to compare with the hrev48579 above without it blacklisted.
comment:5 by , 7 years ago
Not sure if related, but I've been experiencing something similar running Haiku in VMware. Every once in a while (5 mins to half an hour) CPU usage would spike to 100% and stay around there for several seconds and then go back to ~0%. This might be related to VMware itself tho, as pausing Haiku and then resuming usually fixes the problem. I have experienced this with hrev52001 and hrev52000, gcc2 hybrids.
comment:6 by , 5 years ago
Component: | System/Kernel → Drivers/Power |
---|
comment:7 by , 3 weeks ago
Is this still a problem, after the intervening scheduler, power, and kernel synchronization primitives fixes over the years since?
comment:8 by , 3 weeks ago
I don't have a way to check as I finally retired that computer a year or two ago. Probably safe to retire this one and if someone actually runs into the problem we can reopen it or open a new one.
comment:9 by , 3 weeks ago
Resolution: | → not reproducible |
---|---|
Status: | assigned → closed |
performance from hrev46690 and on to the current nightlies, with hrev48579 being the most recent I've tested.