Running the Linux version of FAH in Windows?

Moderators: Site Moderators, FAHC Science Team

ajm
Posts: 750
Joined: Sat Mar 21, 2020 5:22 am
Location: Lucerne, Switzerland

Running the Linux version of FAH in Windows?

Post by ajm »

I've read here a few times that FAH runs faster on Linux than on Windows. On the other hand, Windows 10 offers the possibility to run Linux in a windows, without reboot. Would it be a good idea to install WSL, then a Linux distro, and to run FAH in such a setup? Did someone already try?
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: Running the Linux version of FAH in Windows?

Post by PantherX »

The reason that current FahCores produce higher PPD in Linux is because there's less overhead in Linux (this may or may not change in the next version of FahCore). From my understanding, the implementation of WSL 2.0 uses a lightweight virtual machine via sub-features of Hyper-V. Thus, the question is how is will the following compare:
1) Native Windows
2) Native Linux
3) WSL 2.0

I am curious to see the results if anyone is keen to do it.
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
iceman1992
Posts: 523
Joined: Fri Mar 23, 2012 5:16 pm

Re: Running the Linux version of FAH in Windows?

Post by iceman1992 »

PantherX wrote:The reason that current FahCores produce higher PPD in Linux is because there's less overhead in Linux (this may or may not change in the next version of FahCore). From my understanding, the implementation of WSL 2.0 uses a lightweight virtual machine via sub-features of Hyper-V. Thus, the question is how is will the following compare:
1) Native Windows
2) Native Linux
3) WSL 2.0

I am curious to see the results if anyone is keen to do it.
Or 4) Linux VM under Windows host. If I remember correctly my own experiment using VirtualBox many years ago, Linux VM gave a 10% PPD increase than just native Windows. I'll probably try WSL when I have time
ajm
Posts: 750
Joined: Sat Mar 21, 2020 5:22 am
Location: Lucerne, Switzerland

Re: Running the Linux version of FAH in Windows?

Post by ajm »

That would entail:
1) Install Win 10 2004 (with WSL 2)
2) Install WSL 2 and a Linux distro there
3) Install the same distro on a partition
4) Run FAH on NW, NL, and WSL
5) Compare the results

What would be a good comparison, though?
Note down for each WU a) Base Credit b) Estimated Credit? Or a) Base Credit b) effective Credit?
Then search for the same Base Credit in NW, NL and WSL and see if there is a significant and constant difference with the corresponding Estimated/Effective Credits?
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: Running the Linux version of FAH in Windows?

Post by PantherX »

What I would do is to note down the PRCG and the TPF average for that WU in each of the environment. If you get WUs from the same Project, that's great and it would be even better if the system was dedicated to folding during this experiment.

EDIT: Differences in PPD can be calculated from the various TPF as long as we have the PRCG of the WU.
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
ajm
Posts: 750
Joined: Sat Mar 21, 2020 5:22 am
Location: Lucerne, Switzerland

Re: Running the Linux version of FAH in Windows?

Post by ajm »

Where do I find the TPF Average?
I prepared this: https://docs.google.com/spreadsheets/d/ ... edit#gid=0
Would that be ok?
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: Running the Linux version of FAH in Windows?

Post by PantherX »

I can't access the sheet without a Google account :( Could you maybe make it read-only for public and to modify require sign-in?

The Average TPF would be, assuming that you have done a fresh install in each instance, would be the TPF that is shown in FAHControl as it averages out.
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
ajm
Posts: 750
Joined: Sat Mar 21, 2020 5:22 am
Location: Lucerne, Switzerland

Re: Running the Linux version of FAH in Windows?

Post by ajm »

done. The sheet should be accessible now, sorry!

The idea would be to run FAH in Windows for a number of days, say 7, then in Linux Native, and in Linux via WSL.
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: Running the Linux version of FAH in Windows?

Post by PantherX »

That's amazing as you have a CPU, Nvidia GPU and AMD GPU... looking forward to the results! If you have a bit of time, and would like something else, see if you can do the fourth option mentioned by iceman1992 which is a Linux VM in VirtualBox on Windows :)
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
ajm
Posts: 750
Joined: Sat Mar 21, 2020 5:22 am
Location: Lucerne, Switzerland

Re: Running the Linux version of FAH in Windows?

Post by ajm »

OK! Yes, why not. I'll add VirtualBox, then. :)
iceman1992
Posts: 523
Joined: Fri Mar 23, 2012 5:16 pm

Re: Running the Linux version of FAH in Windows?

Post by iceman1992 »

Is there a difference between WSL1 and WSL2? I don't have Windows 10 2004 yet
ajm
Posts: 750
Joined: Sat Mar 21, 2020 5:22 am
Location: Lucerne, Switzerland

Re: Running the Linux version of FAH in Windows?

Post by ajm »

Yes, MS is promising it will be faster: https://www.youtube.com/watch?v=MrZolfGm8Zk
You can get 2004 as "MS Insider".

NOTE: I'll let the system run 24/7, but I'll note down only the WUs that I do see during the day. It should be enough for the comparison and I can thus spare me the search in the logs. Plus: I don't see the TPF in the logs.
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: Running the Linux version of FAH in Windows?

Post by PantherX »

ajm wrote:...I don't see the TPF in the logs.
The TPF can be calculated manually by looking at the log and calculating the time taken for 1% to complete. 1% is one frame.
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
Joe_H
Site Admin
Posts: 7940
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: Running the Linux version of FAH in Windows?

Post by Joe_H »

There is a Bonus Calculator that someone provided - http://www.linuxforge.net/bonuscalc2.php. I use an average over 10 frames as some projects and folding cores will vary from frame to frame. The author posted info about it in the forum section for 3rd Party Contributed Software a while ago, at least several years back.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
ajm
Posts: 750
Joined: Sat Mar 21, 2020 5:22 am
Location: Lucerne, Switzerland

Re: Running the Linux version of FAH in Windows?

Post by ajm »

Thank you Joe_H! But the TPF is a rather fleeting apparition. I have to be in front of the computer during the folding to see it, and it changes constantly. Whereas the points appear in the log and on https://apps.foldingathome.org/cpu
As the machine run 24/7, I would prefer using a value that I can more easily ascertain after the fact. Is the TPF that crucial for such a test?
Post Reply