![]() |
False OnBattery detection
After upgrading to mprime 25.7, I am having a problem under Linux (best verified on Kubuntu 8.10 i386).
The communication with the server works and all the assignments transferred, but the worker thread will not stay running. It stops with a message about being on battery power. Nothing else happens no matter what I do. The OS is responding properly to on/off battery events. The workaround I have is to set the RunOnBattery=1 in local.txt, Any ideas? I haven't found any reference to this in my archive searches. Thanks, Traveller |
This was one of the issues that George had wanted tested for v25.7. No one every gave him an answer.
|
[quote=Uncwilly;147896]This was one of the issues that George had wanted tested for v25.7. No one every gave him an answer.[/quote]
Yes, I [URL="http://www.mersenneforum.org/showpost.php?p=145176&postcount=60"]did[/URL] |
[QUOTE=S00113;147934]Yes, I [URL="http://www.mersenneforum.org/showpost.php?p=145176&postcount=60"]did[/URL][/QUOTE]
Only I am having the opposite issue. I have to force mprime to RunOnBattery to get it to stay running [B]when plugged in[/B]. However, I agree with the dynamic throttling based on temperature. |
[quote=Traveller;147957]I agree with the dynamic throttling based on temperature.[/quote]
seconded! though I want it in prime95 |
Can you Linux users tell me what /proc/acpi/battery/BAT0/state contains?
My research says this is where Linux stores the battery state. |
Info from Kubuntu 8.10 on Dell Inspiron E1405
[QUOTE=Prime95;150137]Can you Linux users tell me what /proc/acpi/battery/BAT0/state contains?
My research says this is where Linux stores the battery state.[/QUOTE] Fully charged on AC: present: yes capacity state: ok charging state: charged present rate: 1 mA remaining capacity: 7800 mAh present voltage: 12513 mV On Battery: present: yes capacity state: ok charging state: discharging present rate: 371 mA remaining capacity: 6667 mAh present voltage: 12388 mV Back on AC, charging: present: yes capacity state: ok charging state: charging present rate: 1849 mA remaining capacity: 6149 mAh present voltage: 12731 mV I have also seen the present rate display 'unknown', but that shouldn't affect the needs of the mprime program. I hope that helps, Traveller |
Thanks. That is what I was expecting. Re-re-examining the code has uncovered my bug. Will be fixed in 25.8.
|
I'm running v25.7 build 3 under Windows MP and have also noticed a false onBattery situation. I have two workers running on my dual-core T7300, and after removing power cable only one worker went into Battery Pause. The other kept running. After recabling the power, both workers toggled so that the other worker was then in an incorrect Battery Pause. Repeated toggling of the power state repeatedly toggled both workers until I exited and restarted Prime95. Just thought you should know...
--Scott |
Better
I just tested mprime version 25.8.2 on my Kubuntu 8.10 i386 laptop.
I can now run mprime without the RunOnBattery=1 that was needed before. However, it is still not detecting the battery status when I pull the plug and continues to run. The change in sense from Not Running to Running reduces the severity of this issue for me. Let me know if you need any additional information. Thanks, Traveller |
Similar problem....
Running 25.7 on a Windows XP laptop, the typical 2-processor kind of thing everyone is buying now.
When the power cable is unplugged, both clients correctly always stop. When the power cable is plugged back in, sometimes but not always, only one client will resume and the other will continue to think it is on battery pause forever. Unplugging and replugging the power cable again always restarts both of them. Mostly I notice it if I accidentally snag the cord and plug it back in. I have one client running trial factoring and the other running LL tests. It is either always or almost-always the LL test client that fails to restart. Speculation: if the cord is unplugged and replugged within the space of a couple seconds, the LL test client is busy shutting down and writing results at the time the AC power comes back on. Easy fix by having it re-check the power state after it finishes shutting down, or by holding the restart-the-client message in a queue if the client is busy when the message is sent, maybe? |
I'll look at the WinXP battery problem when I return from vacation in March
|
For the sake of having more data when you get back...
I've got a single core laptop with v25.7 and XP running P-1 factoring, and it'll pause when I go to battery but it won't restart after I plug back in unless I tell the client to 'stop' and then 'continue'. |
[QUOTE=SIegmund;161032]Speculation: if the cord is unplugged and replugged within the space of a couple seconds, the LL test client is busy shutting down and writing results at the time the AC power comes back on. Easy fix by having it re-check the power state after it finishes shutting down[/QUOTE]
Excellent analysis. Bug will be fixed in 25.9 build 4. |
All times are UTC. The time now is 09:11. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.