Overclock.net › Forums › Overclockers Care › Overclock.net Folding@Home Team › Folding@Home Guides and Tutorials › [Windows 7] 2500k & X6 Bigadv Folding w/ Native Linux Client
New Posts  All Forums:Forum Nav:

[Windows 7] 2500k & X6 Bigadv Folding w/ Native Linux Client  

post #1 of 348
Thread Starter 
Ok guys, since the new A5 cores have been released you can now fold bigadv on linux in a VM natively without the use of WINE. Since moving to the native core a5 bigadv my PPD is now 40k+, where as with wine it was 25-30k.

Also, as long as you can follow directions and know how to copy and paste this guide should be pretty easy to follow.

Also make sure you have a solid overclock on your chip. My 2500k is currently running @ 4.8 Ghz due to summer temps and is yielding 42k PPD on a 2684 WU, which is no small feat.

So heres a little guide on how to get up and running, all commands listed below are to be used in the terminal, or the console if you are running with no GUI.

1. Install VMware Player 3.0 LINK

2. Install your favorite x64 linux distro. Now I have installed Fedora x64 without a GUI so that way there are no extra resources being used to draw a UI. Also make sure you assign the VM 4 cores (or 6 if using an x6) and at least 2 GB of ram. Also make sure you setup the NIC to be bridged and not Nat (so your machine will have a real IP from your dhcp server)

This is an excerpt from CHUNKYBOWSER's thread for you X6'rs

Quote:
UNcheck "Power on after creation" and then finish setup of the VM. Now go to Start>All Programs>Accessories>Notepad. Go to File>Open and navigate to C:UsersyouruserDocumentsVirtual Machines"Name of your virtual machine" and open the "VMWare Virtual Machine Configuration" file that's there, it should have the name of the VM you created.(make sure, while browsing, you change from .txt files only to "All files" to see it) Add 6 next to "maxvcpus". Also add a line with "numvcpus=6". Save the file and go back to VMware.

3. Now that you have your distro installed create a new folder @ the root.

Quote:
mkdir /fah
4. Now that you created a new directory you will want to navigate there in the command line.

Quote:
cd /fah
5. Now you are going to want to download the latest linux smp client from stanford.

If curl is not installed on your distro by default you can also try wget.

6. For ease of use I normally rename the executable to something a little easier to remember.

Quote:
mv FAH6.34-Linux64-SMP.exe fah6
7. Now you should have one file in your directory of /fah and it is named fah6. we now need to make sure the file has the permission to execute, this is accomplished with a simple chmod command.

Quote:
chmod +x fah6
8. Now your almost ready to start folding, but first we need to trick linux into thinking you are running w/ 8 cores.

Quote:
cat /proc/stat | awk 'BEGIN { TARGET_NCPUS=8 } ; { if ($1 == "intr") { for (i=NR-2;i<TARGET_NCPUS;i++) print "cpu" i S } ; S="" ; for (i=2;i<=NF;i++) S=S " " $i ; print }' > /tmp/stat.save
Quote:
mount --bind /tmp/stat.save /proc/stat
Alternatively you can create your own bash script to run these commands as well.

9. Now your ready to start folding. First thing we want to do is edit the config so we get all of our hard earned points. Personally I run fah with a nohup call, this means if I close the terminal or my ssh session dies, fah will still be running in the background.

To Edit the config do this.

Quote:
./fah6 -configonly
Cool, now your folding under your own name and team 37726. Now you need to actually start folding so do this...

Quote:
nohup ./fah6 -smp 4 -bigadv &
Or if you are running an x6

Quote:
nohup ./fah6 -smp 6 -bigadv &
Now Im guessing your going to want to monitor your progress, well there are a few ways you can do this.

1) You can just watch the raw log file. This will just basically show progress in plain text.

Quote:
tail -f FAHlog.txt
2) Zodac has made a great guide on using hfm.net in linux here

3) My preferred method is to just install a web server on your vm and make the root of the site the /fah directory, then you can install HFM.net on your windows machine and access your linux stats by IP address. I do this because I fold on multiple machines so I guess it was just the most logical choice for me. My personal web server of choice is httpd, but you may prefer something else which is just fine. Here is a great link on installing httpd and changing the dir of your default site to the folder of your choice, which in this case is going to be /fah.

httpd Install Guide

http://www.cyberciti.biz/faq/linux-i...-apache-httpd/

httpd Config Guide

http://www.techotopia.com/index.php/...sed_Web_Server



Thanks for taking the time to read this if you guys have any questions or comments feel free to discuss below
Gene-Z Dedi
(7 items)
 
Captain America
(6 items)
 
 
CPUMotherboardRAMHard Drive
i7 2600k @ 5.2 Ghz Asus Maximus IV Gene-Z Gskill 2133 4GB Caviar Black 
CoolingOSPower
Corsair H100 Arch x64 OCZ 650 Watt 
CPUCPUMotherboardGraphics
Intel Xeon E5-2650 Intel Xeon E5-2650 ASUS Z9PE-D8 WS XFX 6870 
RAMOS
32 GB Samsung Arch Nix 
  hide details  
Gene-Z Dedi
(7 items)
 
Captain America
(6 items)
 
 
CPUMotherboardRAMHard Drive
i7 2600k @ 5.2 Ghz Asus Maximus IV Gene-Z Gskill 2133 4GB Caviar Black 
CoolingOSPower
Corsair H100 Arch x64 OCZ 650 Watt 
CPUCPUMotherboardGraphics
Intel Xeon E5-2650 Intel Xeon E5-2650 ASUS Z9PE-D8 WS XFX 6870 
RAMOS
32 GB Samsung Arch Nix 
  hide details  
post #2 of 348
Thank you

ps. เจิม
Edited by test3366 - 3/21/11 at 4:54am
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core 2 Duo E4400 Asus P5LP-LE EVGA 9600GT LowpowerEdition 512MB*2 
Hard DriveOptical DriveOSMonitor
Hitachi 320GB 720rpm SATA LG DVD 22x Windows 7 64bit HP w1907 
KeyboardPowerCaseMouse
Logitech Hipro 250W HP Logitech 
  hide details  
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core 2 Duo E4400 Asus P5LP-LE EVGA 9600GT LowpowerEdition 512MB*2 
Hard DriveOptical DriveOSMonitor
Hitachi 320GB 720rpm SATA LG DVD 22x Windows 7 64bit HP w1907 
KeyboardPowerCaseMouse
Logitech Hipro 250W HP Logitech 
  hide details  
post #3 of 348
Subscribed for tonight, many thanks.
     
CPUMotherboardGraphicsRAM
2500K (L041C124) | 5.3GHz 1.47v Asus P8P67 Asus GTX480 | 880/1760/2000 8GB CorsairXMS3 1600MHz 
Hard DriveHard DriveCoolingCooling
80GB Intel x25-M 1TB Spinning (wheeee) RS 360, AP15s,  EK Full Cover GPU Block 
CoolingOSMonitorKeyboard
XSPC CPU Block Windows 7 64 Bit U2713 + U2311 Filco Majestouch blank tenkeyless 
PowerCaseMouse
Corsair TX750 Corsair 700D Logitech G500 
CPUMotherboardRAMHard Drive
Intel i3 530 Asus P7P55-m 4GB DDR3 Seagate 7200RPM 2TB 
Hard DriveHard DriveHard DriveHard Drive
Samsung SP 1TB 5400RPM Seagate 7200RPM 2TB Seagate 7200RPM 2TB Seagate 7200RPM 2TB 
OSPowerCase
unRAID Corsair CX430 xcase RM400 4U 
  hide details  
     
CPUMotherboardGraphicsRAM
2500K (L041C124) | 5.3GHz 1.47v Asus P8P67 Asus GTX480 | 880/1760/2000 8GB CorsairXMS3 1600MHz 
Hard DriveHard DriveCoolingCooling
80GB Intel x25-M 1TB Spinning (wheeee) RS 360, AP15s,  EK Full Cover GPU Block 
CoolingOSMonitorKeyboard
XSPC CPU Block Windows 7 64 Bit U2713 + U2311 Filco Majestouch blank tenkeyless 
PowerCaseMouse
Corsair TX750 Corsair 700D Logitech G500 
CPUMotherboardRAMHard Drive
Intel i3 530 Asus P7P55-m 4GB DDR3 Seagate 7200RPM 2TB 
Hard DriveHard DriveHard DriveHard Drive
Samsung SP 1TB 5400RPM Seagate 7200RPM 2TB Seagate 7200RPM 2TB Seagate 7200RPM 2TB 
OSPowerCase
unRAID Corsair CX430 xcase RM400 4U 
  hide details  
post #4 of 348
What about if you're running an i7 920.....does your guide work (just omit the cores hack) or do I need to look elsewhere..? I'm thinking of running something like this on my sig rig again...rather than natively in W7, like I am at present..
WKS04
(16 items)
 
WORK_PC
(13 items)
 
LAP03
(13 items)
 
CPUMotherboardGraphicsRAM
i7 920 D0 (HT on) @3.6 GHz Asus P6T nVidia 250 6 GB OCZ Gold 
Hard DriveOptical DriveCoolingOS
250 GB SATA CD DVD RW RASA RS360 Ubuntu 10.04 (W7U x64 as alternate boot) 
MonitorMonitorKeyboardPower
LG 19" (L194WS) LCD HP 15" LCD QWERTY (Logitech) High Power Plus 850W modular 
CaseMouseMouse PadAudio
Jeantech Phong2 Trackball (Logitech) n/a Hitachi AX-M5 
CPUMotherboardGraphicsRAM
Q8400 Dell Optiplex 780 GT430 4 GB 
Hard DriveOptical DriveOSMonitor
250 GB Yes W7 Pro (x86 - with Linux x64 VM) 2 x 24" Dell 
KeyboardPowerCaseMouse
Dell Yeah, got one of those... Dell Logitech Trackball 
Mouse Pad
N/A 
CPUMotherboardGraphicsRAM
T5670 (Core2Duo) HP on-board 4 GB 
Hard DriveOptical DriveOSMonitor
250 GB CD DVD RW W7 Ultimate (x86) 17" 
KeyboardPowerCaseMouse
QWERTY on-board Laptop touchpad 
  hide details  
WKS04
(16 items)
 
WORK_PC
(13 items)
 
LAP03
(13 items)
 
CPUMotherboardGraphicsRAM
i7 920 D0 (HT on) @3.6 GHz Asus P6T nVidia 250 6 GB OCZ Gold 
Hard DriveOptical DriveCoolingOS
250 GB SATA CD DVD RW RASA RS360 Ubuntu 10.04 (W7U x64 as alternate boot) 
MonitorMonitorKeyboardPower
LG 19" (L194WS) LCD HP 15" LCD QWERTY (Logitech) High Power Plus 850W modular 
CaseMouseMouse PadAudio
Jeantech Phong2 Trackball (Logitech) n/a Hitachi AX-M5 
CPUMotherboardGraphicsRAM
Q8400 Dell Optiplex 780 GT430 4 GB 
Hard DriveOptical DriveOSMonitor
250 GB Yes W7 Pro (x86 - with Linux x64 VM) 2 x 24" Dell 
KeyboardPowerCaseMouse
Dell Yeah, got one of those... Dell Logitech Trackball 
Mouse Pad
N/A 
CPUMotherboardGraphicsRAM
T5670 (Core2Duo) HP on-board 4 GB 
Hard DriveOptical DriveOSMonitor
250 GB CD DVD RW W7 Ultimate (x86) 17" 
KeyboardPowerCaseMouse
QWERTY on-board Laptop touchpad 
  hide details  
post #5 of 348
nice, this should be helpful to a lot of people, linux client really is that much more optimized/efficient in terms of PPD

which linux distro are you using?
post #6 of 348
Good looking guide! I may just have to give this thing they call linux another go! Thanks
post #7 of 348
Thread Starter 
Quote:
Originally Posted by koven View Post
nice, this should be helpful to a lot of people, linux client really is that much more optimized/efficient in terms of PPD

which linux distro are you using?
Fedora 64 and yeah it will work with your i7, not sure why you wouldn't just use win client...
Gene-Z Dedi
(7 items)
 
Captain America
(6 items)
 
 
CPUMotherboardRAMHard Drive
i7 2600k @ 5.2 Ghz Asus Maximus IV Gene-Z Gskill 2133 4GB Caviar Black 
CoolingOSPower
Corsair H100 Arch x64 OCZ 650 Watt 
CPUCPUMotherboardGraphics
Intel Xeon E5-2650 Intel Xeon E5-2650 ASUS Z9PE-D8 WS XFX 6870 
RAMOS
32 GB Samsung Arch Nix 
  hide details  
Gene-Z Dedi
(7 items)
 
Captain America
(6 items)
 
 
CPUMotherboardRAMHard Drive
i7 2600k @ 5.2 Ghz Asus Maximus IV Gene-Z Gskill 2133 4GB Caviar Black 
CoolingOSPower
Corsair H100 Arch x64 OCZ 650 Watt 
CPUCPUMotherboardGraphics
Intel Xeon E5-2650 Intel Xeon E5-2650 ASUS Z9PE-D8 WS XFX 6870 
RAMOS
32 GB Samsung Arch Nix 
  hide details  
post #8 of 348
What kind of TPF do you see at 5GHz?
     
CPUMotherboardGraphicsRAM
2500K (L041C124) | 5.3GHz 1.47v Asus P8P67 Asus GTX480 | 880/1760/2000 8GB CorsairXMS3 1600MHz 
Hard DriveHard DriveCoolingCooling
80GB Intel x25-M 1TB Spinning (wheeee) RS 360, AP15s,  EK Full Cover GPU Block 
CoolingOSMonitorKeyboard
XSPC CPU Block Windows 7 64 Bit U2713 + U2311 Filco Majestouch blank tenkeyless 
PowerCaseMouse
Corsair TX750 Corsair 700D Logitech G500 
CPUMotherboardRAMHard Drive
Intel i3 530 Asus P7P55-m 4GB DDR3 Seagate 7200RPM 2TB 
Hard DriveHard DriveHard DriveHard Drive
Samsung SP 1TB 5400RPM Seagate 7200RPM 2TB Seagate 7200RPM 2TB Seagate 7200RPM 2TB 
OSPowerCase
unRAID Corsair CX430 xcase RM400 4U 
  hide details  
     
CPUMotherboardGraphicsRAM
2500K (L041C124) | 5.3GHz 1.47v Asus P8P67 Asus GTX480 | 880/1760/2000 8GB CorsairXMS3 1600MHz 
Hard DriveHard DriveCoolingCooling
80GB Intel x25-M 1TB Spinning (wheeee) RS 360, AP15s,  EK Full Cover GPU Block 
CoolingOSMonitorKeyboard
XSPC CPU Block Windows 7 64 Bit U2713 + U2311 Filco Majestouch blank tenkeyless 
PowerCaseMouse
Corsair TX750 Corsair 700D Logitech G500 
CPUMotherboardRAMHard Drive
Intel i3 530 Asus P7P55-m 4GB DDR3 Seagate 7200RPM 2TB 
Hard DriveHard DriveHard DriveHard Drive
Samsung SP 1TB 5400RPM Seagate 7200RPM 2TB Seagate 7200RPM 2TB Seagate 7200RPM 2TB 
OSPowerCase
unRAID Corsair CX430 xcase RM400 4U 
  hide details  
post #9 of 348
I kind of already have a guide for this. :s

I just need to update it with the native Linux SMP client.
On Fire
(15 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7 2600K @4.5ghz Biostar TP67XE EVGA GTX670 FTW 4GB G.Skill Ripjaws X 1600mhz 6-8-6-1T 
Hard DriveHard DriveCoolingOS
OCZ Vertex 3 120GB WD Caviar Black + Samsung F3 RAID1 Corsair H50 Windows 7 x64 
MonitorKeyboardPowerCase
Dell Ultrasharp 2407WFP-HC (24") KBT Race (Cherry Blue) Silverstone Strider 1000w Corsair 600T SE 
Mouse
Razer Lachesis 
  hide details  
On Fire
(15 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7 2600K @4.5ghz Biostar TP67XE EVGA GTX670 FTW 4GB G.Skill Ripjaws X 1600mhz 6-8-6-1T 
Hard DriveHard DriveCoolingOS
OCZ Vertex 3 120GB WD Caviar Black + Samsung F3 RAID1 Corsair H50 Windows 7 x64 
MonitorKeyboardPowerCase
Dell Ultrasharp 2407WFP-HC (24") KBT Race (Cherry Blue) Silverstone Strider 1000w Corsair 600T SE 
Mouse
Razer Lachesis 
  hide details  
post #10 of 348
Lighttpd takes less resources than apache/httpd, but that might be splitting hairs. Lighttpd might be easier to setup too...

Another option is to use ftp server & have it serve that directory. I did that on my Sig rig and it almost installed itself... Very easy.
peen
(13 items)
 
  
CPUMotherboardGraphicsRAM
xeon 3440 19x211=4009MHz Maximus III Gene gt240 2x2G G.Skill 
Hard DriveOSMonitorKeyboard
32gb Patriot SSD ubuntu 10.04 / Vista Gateway 23" HD Razer ultimate 
PowerCase
CM 500w FedEx shipping envelope 
  hide details  
peen
(13 items)
 
  
CPUMotherboardGraphicsRAM
xeon 3440 19x211=4009MHz Maximus III Gene gt240 2x2G G.Skill 
Hard DriveOSMonitorKeyboard
32gb Patriot SSD ubuntu 10.04 / Vista Gateway 23" HD Razer ultimate 
PowerCase
CM 500w FedEx shipping envelope 
  hide details  
New Posts  All Forums:Forum Nav:
  Return Home
This thread is locked  
Overclock.net › Forums › Overclockers Care › Overclock.net Folding@Home Team › Folding@Home Guides and Tutorials › [Windows 7] 2500k & X6 Bigadv Folding w/ Native Linux Client