Computer falls asleep when BOINC is chuggin

ku4eto
ku4eto
Joined: 29 Oct 16
Posts: 25
Credit: 152116
RAC: 0
Topic 202988

As the title says.

I am leaving the computer on with 2-3 CPU WU (FGRPSSE) tasks running. The power options are set to sleep in 30 minutes of inactivity, yet after 30 minutes, the PC goes to sleep right away. I do not wish to turn off the sleep, is there anyway to fix this?

Logforme
Logforme
Joined: 13 Aug 10
Posts: 332
Credit: 1714373961
RAC: 0

Windows seem to determine

Windows seem to determine when it is "idle" based on keyboard/mouse activity rather than CPU activity.

I don't allow sleep at all on my machines but a quick google search found this page with tools to prevent sleep. Don't know if any of them works.

ku4eto
ku4eto
Joined: 29 Oct 16
Posts: 25
Credit: 152116
RAC: 0

Bleh, and BOINC doesn't seem

Bleh, and BOINC doesn't seem to have any kind of Power Management configuration.

 

Christian Beer
Christian Beer
Joined: 9 Feb 05
Posts: 595
Credit: 196848916
RAC: 272929

How do you want BOINC to

How do you want BOINC to react? It also uses mouse and keyboard activity to detect if the computer is idle. What's your desired behavior if you don't want to turn off sleep mode? What kind of power management configuration do you expect that BOINC has that your OS does not have?

ku4eto
ku4eto
Joined: 29 Oct 16
Posts: 25
Credit: 152116
RAC: 0

Well, i would expect if there

Well, i would expect if there is X CPU % usage going for few hours, BOINC should tell Windows not to sleep until the WU (tasks) are finished. Kinda like when updating Windows, defragging or something else, where it doesn't fall asleep. I have tried setting the priority to Above Normal and the Sleep time to 4 hours, gonna see what has happened when i come back from work.

Christian Beer
Christian Beer
Joined: 9 Feb 05
Posts: 595
Credit: 196848916
RAC: 272929

ku4eto wrote:Well, i would

ku4eto wrote:
Well, i would expect if there is X CPU % usage going for few hours, BOINC should tell Windows not to sleep until the WU (tasks) are finished. Kinda like when updating Windows, defragging or something else, where it doesn't fall asleep. I have tried setting the priority to Above Normal and the Sleep time to 4 hours, gonna see what has happened when i come back from work.

That is not implemented in the BOINC Client. BOINC has no direct notion of "finish these tasks but don't start new ones". But since most projects do regular checkpoints it's not a problem that your computer goes to sleep, it will resume where it left of before. The BOINC Client afaik can't tell the OS that it shouldn't go to sleep. And there is also no need to do this. If you want your computer to fall asleep after X minutes of user inactivity BOINC has to adhere to this. If some Windows tools don't adhere to this it's a decision made by Microsoft. The BOINC developers made the decision to follow what the user configures.

BOINC is now a community driven project, maybe if you can get some support from other users regarding the "finish these tasks but don't start new ones" feature and open an issue on github.com/BOINC/boinc someone will implement it.

mmonnin
mmonnin
Joined: 29 May 16
Posts: 292
Credit: 3444726540
RAC: 243553

Can you turn off sleep all

Can you turn off sleep all together and just have the monitor turn off?

I think Windows says when a PC goes to sleep or not. Either by mouse/keyboard activity or maybe it can be set if CPUs are more than % active somehow.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.