Folding@home in Safe Mode?

Moderators: Site Moderators, FAHC Science Team

Stonecold
Posts: 332
Joined: Sun Dec 25, 2011 9:20 pm

Folding@home in Safe Mode?

Post by Stonecold »

Would Folding@home run any faster in Safe Mode on Windows? Because there are fewer processes running in Safe Mode, I'd think that that mean less CPU usage, or would being in Safe Mode somehow remove a process or service that enhances Folding@home? I was just thinking this because that I could put my computer in Safe Mode every night before I go to sleep, and if it's faster then it would give me more points - I mean... help find cures faster! :wink:
Jesse_V
Site Moderator
Posts: 2850
Joined: Mon Jul 18, 2011 4:44 am
Hardware configuration: OS: Windows 10, Kubuntu 19.04
CPU: i7-6700k
GPU: GTX 970, GTX 1080 TI
RAM: 24 GB DDR4
Location: Western Washington

Re: Folding@home in Safe Mode?

Post by Jesse_V »

That's an interesting idea. I've never tried that, nor do I remember reading such an experiment. I think that it would run slightly faster since there's less in the way. However, I don't know if it would be able to launch all the necessary drivers, libraries, executables, GUI code, etc, etc, etc. My guess is that that will be your biggest challenge. IF it does actually work, then I'd bet that it'd faster. Safe Mode does shut off a lot of things, but it will be interesting to see how it goes for you.
F@h is now the top computing platform on the planet and nothing unites people like a dedicated fight against a common enemy. This virus affects all of us. Lets end it together.
Stonecold
Posts: 332
Joined: Sun Dec 25, 2011 9:20 pm

Re: Folding@home in Safe Mode?

Post by Stonecold »

As far as I know, all the necessary drivers are loaded, at least for the command-line SMP client. I'm not sure about the GPU client though. I'd assume it would also be slightly more stable for advanced or beta WUs.
Leonardo
Posts: 260
Joined: Tue Dec 04, 2007 5:09 am
Hardware configuration: GPU slots on home-built, purpose-built PCs.
Location: Eagle River, Alaska

Re: Folding@home in Safe Mode?

Post by Leonardo »

I rolled my eyes when I first read the question, then I let it sink in. That's a great question, come to think of it. :) Why not give it a try? I'd love to try it myself, but my only Windows machine is also my multi-tasking, general purpose machine.
Image
Stonecold
Posts: 332
Joined: Sun Dec 25, 2011 9:20 pm

Re: Folding@home in Safe Mode?

Post by Stonecold »

I'll try it as soon as I can, but for now I have to send my computer to Geek Squad so they can fix it up (Windows is misbehaving, and nothing I do can talk sense into it). So unfortunately the only computer I'll have for the next weak is a Nintendo 3DS! Not the fastest when it comes to browsing the web...
PantherX
Site Moderator
Posts: 6986
Joined: Wed Dec 23, 2009 9:33 am
Hardware configuration: V7.6.21 -> Multi-purpose 24/7
Windows 10 64-bit
CPU:2/3/4/6 -> Intel i7-6700K
GPU:1 -> Nvidia GTX 1080 Ti
§
Retired:
2x Nvidia GTX 1070
Nvidia GTX 675M
Nvidia GTX 660 Ti
Nvidia GTX 650 SC
Nvidia GTX 260 896 MB SOC
Nvidia 9600GT 1 GB OC
Nvidia 9500M GS
Nvidia 8800GTS 320 MB

Intel Core i7-860
Intel Core i7-3840QM
Intel i3-3240
Intel Core 2 Duo E8200
Intel Core 2 Duo E6550
Intel Core 2 Duo T8300
Intel Pentium E5500
Intel Pentium E5400
Location: Land Of The Long White Cloud
Contact:

Re: Folding@home in Safe Mode?

Post by PantherX »

Stonecold wrote:...I'd assume it would also be slightly more stable for advanced or beta WUs.
IMO, it won't do much good. The reason is that all Beta WUs (if everything works out fine) will eventually be pushed out to full F@H. That means majority of systems would be running under normal conditions with other applications running and users using the system. Thus this "stable" environment isn't a true representative of a typical donors system. However, if you are in for maximizing the PPD/Science, then that's a different case altogether.
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time

Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
Stonecold
Posts: 332
Joined: Sun Dec 25, 2011 9:20 pm

Re: Folding@home in Safe Mode?

Post by Stonecold »

Good point... But if I were maximizing for PPD I wouldn't want beta units anyways, because they'd still be really unstable, even in safe mode. And as for science, aren't beta units not so much for finding cures themselves as much as testing to see if the units are ready to be sent to the public to test for cures? So for science I'd guess it would be better to use normal (or maybe advanced) WUs if they're being done in Safe Mode.
Nathan_P
Posts: 1165
Joined: Wed Apr 01, 2009 9:22 pm
Hardware configuration: Asus Z8NA D6C, 2 x5670@3.2 Ghz, , 12gb Ram, GTX 980ti, AX650 PSU, win 10 (daily use)

Asus Z87 WS, Xeon E3-1230L v3, 8gb ram, KFA GTX 1080, EVGA 750ti , AX760 PSU, Mint 18.2 OS

Not currently folding
Asus Z9PE- D8 WS, 2 E5-2665@2.3 Ghz, 16Gb 1.35v Ram, Ubuntu (Fold only)
Asus Z9PA, 2 Ivy 12 core, 16gb Ram, H folding appliance (fold only)
Location: Jersey, Channel islands

Re: Folding@home in Safe Mode?

Post by Nathan_P »

Interesting thought, just make sure to enable safe mode with networking - otherwise no net access
Image
PantherX
Site Moderator
Posts: 6986
Joined: Wed Dec 23, 2009 9:33 am
Hardware configuration: V7.6.21 -> Multi-purpose 24/7
Windows 10 64-bit
CPU:2/3/4/6 -> Intel i7-6700K
GPU:1 -> Nvidia GTX 1080 Ti
§
Retired:
2x Nvidia GTX 1070
Nvidia GTX 675M
Nvidia GTX 660 Ti
Nvidia GTX 650 SC
Nvidia GTX 260 896 MB SOC
Nvidia 9600GT 1 GB OC
Nvidia 9500M GS
Nvidia 8800GTS 320 MB

Intel Core i7-860
Intel Core i7-3840QM
Intel i3-3240
Intel Core 2 Duo E8200
Intel Core 2 Duo E6550
Intel Core 2 Duo T8300
Intel Pentium E5500
Intel Pentium E5400
Location: Land Of The Long White Cloud
Contact:

Re: Folding@home in Safe Mode?

Post by PantherX »

Stonecold wrote:...if I were maximizing for PPD I wouldn't want beta units anyways, because they'd still be really unstable, even in safe mode...
If PPD was your aim, then you would have a lot more options to "choose" WUs (the correct description would be to increase your probability towards a particular WU assignment) as stated by ChasR.
Stonecold wrote:...as for science, aren't beta units not so much for finding cures themselves as much as testing to see if the units are ready to be sent to the public to test for cures?...
Let me put it in another way:
Scientists creates a new experiment (New Beta Project). If each section of the experiment (Beta WU) can be successfully done on the Beta Testers machine (WUs fold successfully), then the scientist will see that the new experiment is performing very well and will later release it to adv and eventually full. If the sections of the experiment fail (WU errors), then it would suggest that something might not be right in the initial experiment so they either try to fix it or it is scrapped.

Hence one can say that folding Beta WUs allows science to progress forward which is also correct.
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time

Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
orion
Posts: 135
Joined: Sun Dec 02, 2007 12:45 pm
Hardware configuration: 4p/4 MC ES @ 3.0GHz/32GB
4p/4x6128 @ 2.47GHz/32GB
2p/2 IL ES @ 2.7GHz/16GB
1p/8150/8GB
1p/1090T/4GB
Location: neither here nor there

Re: Folding@home in Safe Mode?

Post by orion »

I have a p6993 on w7 running now in safe mode, v6.34

The only data I have on this particular computer close to that is a p6995

TPF look to be similar but it needs to finish so I can get an average.
iustus quia...
orion
Posts: 135
Joined: Sun Dec 02, 2007 12:45 pm
Hardware configuration: 4p/4 MC ES @ 3.0GHz/32GB
4p/4x6128 @ 2.47GHz/32GB
2p/2 IL ES @ 2.7GHz/16GB
1p/8150/8GB
1p/1090T/4GB
Location: neither here nor there

Re: Folding@home in Safe Mode?

Post by orion »

Update:

The p6993 ran 3 seconds per frame faster than the p6995. I'll rerun the p6993 tomorrow in full w7 to see if the TPF actually changes.

Also, the latest installment of v7 will run in safe mode too.
iustus quia...
Stonecold
Posts: 332
Joined: Sun Dec 25, 2011 9:20 pm

Re: Folding@home in Safe Mode?

Post by Stonecold »

orion wrote:The only data I have on this particular computer close to that is a p6995
What you could do (if you don't mind loosing one WU), is run a project in normal mode and allow it to go up to about 99% and then quit the client and delete the data in the work directory. Then boot into Safe Mode and start Folding@home up again. Because you deleted the work data, the core should start from the beginning. That way you can test with not just a similar project, but with the EXACT same WU, which would yield much more accurate results (again, only if you are fine with resetting a WU).

One thing that might be a drawback of using Folding@home in Safe Mode overnight is that that's when system updates, scheduled anti-virus scans, disk defragmenting, recycle bin and temporary files emptying, etc. run because they'd otherwise interfere with your work during the day. So running in Safe Mode might speed up progress, but won't allow some regular, scheduled services, to run.

One thing I've found out is that the Viewer on the v7 beta client actually works (sort of) while in Safe Mode. By "works" I mean it is able to show the demo protein but now adds texture and colors to the individual atoms instead of being a single, untexturized black blob of atoms. Does that mean that the Viewer doesn't display correctly in normal mode because there is some service or driver that's actively interfering with it? Hopefully this piece of information might be able to help fix the problem.
bruce
Posts: 20824
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: Folding@home in Safe Mode?

Post by bruce »

If you delete all of the data in the work directory, the WU will be gone and it may or may not be reassigned. You have to be selective.

Simpler method: A few minutes after a new WU has started processing (and before it reaches the first checkpoint) create a copy of the WORK folder. Later, you can restore that copy, and except for the issue of -forceasm that would apply to a FahCore-78 WU, you should be able to restart the same WU in the same slot as long as the first copy doesn't get to 100%.

There's no reason to proceed to 99%. Run the first 30% twice and let the second copy finish.
orion
Posts: 135
Joined: Sun Dec 02, 2007 12:45 pm
Hardware configuration: 4p/4 MC ES @ 3.0GHz/32GB
4p/4x6128 @ 2.47GHz/32GB
2p/2 IL ES @ 2.7GHz/16GB
1p/8150/8GB
1p/1090T/4GB
Location: neither here nor there

Re: Folding@home in Safe Mode?

Post by orion »

I was planning on doing something like that. I copied my F@H folder @ 25% on the p6993 and will boot into normal windows tomorrow and replace the present folder with the copied one and get it to start from 0%. It would be the best side by side comparison I can think of...same RCG that way.

In safe mode windows only loads basic video driver at low resolution so that is probably why you're seeing more texture with the viewer.
iustus quia...
Stonecold
Posts: 332
Joined: Sun Dec 25, 2011 9:20 pm

Re: Folding@home in Safe Mode?

Post by Stonecold »

orion wrote:In safe mode windows only loads basic video driver at low resolution so that is probably why you're seeing more texture with the viewer.
I saw no texture in normal mode.
Locked