How to put PCs to sleep

Moderators: Site Moderators, FAHC Science Team

Post Reply
prescott
Posts: 3
Joined: Sun Jun 14, 2009 5:59 pm

How to put PCs to sleep

Post by prescott »

Hi everyone, a new folder on board..

I've decided to set all pcs in my house to fold when they are on. Just set mine and I need help. I have AMD 6000 X2 and 3850 AGP. Using GPU and CPU (normal) clients, each using 1 core. Is that good or is anything better?

So the main question is, as our PCs are set to go to sleep after 30mins if not used, im wondering how to set them now to go to sleep after same amount of minutes when using folding clients? PCs are still like 6-12hours a day on so it is something.
Thanks in advance,
prescott :)
7im
Posts: 10179
Joined: Thu Nov 29, 2007 4:30 pm
Hardware configuration: Intel i7-4770K @ 4.5 GHz, 16 GB DDR3-2133 Corsair Vengence (black/red), EVGA GTX 760 @ 1200 MHz, on an Asus Maximus VI Hero MB (black/red), in a blacked out Antec P280 Tower, with a Xigmatek Night Hawk (black) HSF, Seasonic 760w Platinum (black case, sleeves, wires), 4 SilenX 120mm Case fans with silicon fan gaskets and silicon mounts (all black), a 512GB Samsung SSD (black), and a 2TB Black Western Digital HD (silver/black).
Location: Arizona
Contact:

Re: How to put PCs to sleep

Post by 7im »

The system will not sleep while fah is running. If you want the PC to turn off at a certain time each night, set it in the BIOS, or use a scheduled task with the shutdown.exe programe.
How to provide enough information to get helpful support
Tell me and I forget. Teach me and I remember. Involve me and I learn.
Zagen30
Posts: 823
Joined: Tue Mar 25, 2008 12:45 am
Hardware configuration: Core i7 3770K @3.5 GHz (not folding), 8 GB DDR3 @2133 MHz, 2xGTX 780 @1215 MHz, Windows 7 Pro 64-bit running 7.3.6 w/ 1xSMP, 2xGPU

4P E5-4650 @3.1 GHz, 64 GB DDR3 @1333MHz, Ubuntu Desktop 13.10 64-bit

Re: How to put PCs to sleep

Post by Zagen30 »

I would suggest running a second CPU client since you have a dual-core processor. I won't recommend the SMP client since a dual-core that's only running 6-12 hours probably won't make the deadlines.
Image
toTOW
Site Moderator
Posts: 6394
Joined: Sun Dec 02, 2007 10:38 am
Location: Bordeaux, France
Contact:

Re: How to put PCs to sleep

Post by toTOW »

It might also be a good idea to set the environment variables so that the GPU doesn't use a full CPU core.
Image

Folding@Home beta tester since 2002. Folding Forum moderator since July 2008.
prescott
Posts: 3
Joined: Sun Jun 14, 2009 5:59 pm

Re: How to put PCs to sleep

Post by prescott »

7im wrote:The system will not sleep while fah is running. If you want the PC to turn off at a certain time each night, set it in the BIOS, or use a scheduled task with the shutdown.exe programe.
ya that's what I mean. it wont go to sleep if it's running. but i'm wondering if its somehow possible to ignore FAH? like windows goes to sleep if only internet explorer is opened and when it comes back it reruns IEs sessions.
toTOW
Site Moderator
Posts: 6394
Joined: Sun Dec 02, 2007 10:38 am
Location: Bordeaux, France
Contact:

Re: How to put PCs to sleep

Post by toTOW »

Putting a machine to sleep mode is a bit contradictory with how FAH is supposed to work ... how FAH could work if the machine is sleeping/shut down ?
Image

Folding@Home beta tester since 2002. Folding Forum moderator since July 2008.
7im
Posts: 10179
Joined: Thu Nov 29, 2007 4:30 pm
Hardware configuration: Intel i7-4770K @ 4.5 GHz, 16 GB DDR3-2133 Corsair Vengence (black/red), EVGA GTX 760 @ 1200 MHz, on an Asus Maximus VI Hero MB (black/red), in a blacked out Antec P280 Tower, with a Xigmatek Night Hawk (black) HSF, Seasonic 760w Platinum (black case, sleeves, wires), 4 SilenX 120mm Case fans with silicon fan gaskets and silicon mounts (all black), a 512GB Samsung SSD (black), and a 2TB Black Western Digital HD (silver/black).
Location: Arizona
Contact:

Re: How to put PCs to sleep

Post by 7im »

No, it is not possible it ignore fah. Fah uses 100% of the CPU, so it's not possible to sleep.

Again, either shut the system down with a scheduled task, or just let fah run.

If you only run a CPU client, you can run it as a service, and stop and start that service with a scheduled task. Then when the fah task is stopped, the PC will sleep. However, the GPU won't run as a service, so that kills that idea.
How to provide enough information to get helpful support
Tell me and I forget. Teach me and I remember. Involve me and I learn.
prescott
Posts: 3
Joined: Sun Jun 14, 2009 5:59 pm

Re: How to put PCs to sleep

Post by prescott »

toTOW wrote:Putting a machine to sleep mode is a bit contradictory with how FAH is supposed to work ... how FAH could work if the machine is sleeping/shut down ?
well it would work like 12 hours a day when im browsing on the net, chatting, downloading, doing anything.. :p and normally PC would go to sleep after 30mins im off the pc.
7im
Posts: 10179
Joined: Thu Nov 29, 2007 4:30 pm
Hardware configuration: Intel i7-4770K @ 4.5 GHz, 16 GB DDR3-2133 Corsair Vengence (black/red), EVGA GTX 760 @ 1200 MHz, on an Asus Maximus VI Hero MB (black/red), in a blacked out Antec P280 Tower, with a Xigmatek Night Hawk (black) HSF, Seasonic 760w Platinum (black case, sleeves, wires), 4 SilenX 120mm Case fans with silicon fan gaskets and silicon mounts (all black), a 512GB Samsung SSD (black), and a 2TB Black Western Digital HD (silver/black).
Location: Arizona
Contact:

Re: How to put PCs to sleep

Post by 7im »

That should be your clue. As you said, the PC goes to sleep 30 minutes after all the programs you were using are shut down, no longer using CPU cycles. Well, fah never stops running, so the PC never sleeps.

Hope that answers your question.
How to provide enough information to get helpful support
Tell me and I forget. Teach me and I remember. Involve me and I learn.
tmillic
Posts: 39
Joined: Wed Sep 17, 2008 4:36 pm
Hardware configuration: AMD3200+ w/ NVIDIA GT220.
Tyan S2912 with 1 Opteron 2347HE.
Via C3.
Location: Fayetteville, Arkansas

Re: How to put PCs to sleep

Post by tmillic »

I found out unfortunately that Windows 7 can go to sleep with FAH, CPU and GPU running. It's annoying to wake up in the morning and find that if folded for only 30 minutes after you last used it.
7im
Posts: 10179
Joined: Thu Nov 29, 2007 4:30 pm
Hardware configuration: Intel i7-4770K @ 4.5 GHz, 16 GB DDR3-2133 Corsair Vengence (black/red), EVGA GTX 760 @ 1200 MHz, on an Asus Maximus VI Hero MB (black/red), in a blacked out Antec P280 Tower, with a Xigmatek Night Hawk (black) HSF, Seasonic 760w Platinum (black case, sleeves, wires), 4 SilenX 120mm Case fans with silicon fan gaskets and silicon mounts (all black), a 512GB Samsung SSD (black), and a 2TB Black Western Digital HD (silver/black).
Location: Arizona
Contact:

Re: How to put PCs to sleep

Post by 7im »

Please let us know how you fix this, and we'll add it to an FAQ somewhere.
How to provide enough information to get helpful support
Tell me and I forget. Teach me and I remember. Involve me and I learn.
DanGe
Posts: 118
Joined: Sat Nov 08, 2008 2:46 am
Hardware configuration: 2018 Mac Mini / MacOS Catalina
MSI Radeon RX Vega 56 (eGPU via Sonnet Breakaway Box 550)
3.2 GHz 6-Core Intel Core i7
Location: California, United States

Re: How to put PCs to sleep

Post by DanGe »

@tmillic: You can stop that by changing your power plan to High Performance.
bruce
Posts: 20824
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: How to put PCs to sleep

Post by bruce »

DanGe wrote:@tmillic: You can stop that by changing your power plan to High Performance.
. . . or explicit by setting the monitor to sleep but setting the CPU to never sleep.
Post Reply