Overclock.net › Forums › Overclockers Care › Overclock.net Folding@Home Team › Folding@Home Guides and Tutorials › [Ubuntu] SMP Folding Boost - The Kraken installation guide
New Posts  All Forums:Forum Nav:

[Ubuntu] SMP Folding Boost - The Kraken installation guide

post #1 of 36
Thread Starter 
Updated to theKraken v.7-pre15

The Kraken is used to increase PPD by reducing TPF by forcing DLB (Dynamic Load Balancing) to come on.
The Kraken "creates synthetic load on every other CPU; said load 'comes and goes' (with certain duty cycle) until DLB is engaged or until deadline is reached (5 minutes by default). 100% success rates have been observed." -tear
Big thanks to tear and Firedfly of [H] for creating this.


This guide is intended for native or VM Ubuntu, it should also work in other Linux distros.

Basic Installation guide: Warning: Spoiler! (Click to show)
Note: Depending on your setup the paths for the commands may vary.

1. Start by downloading The Kraken HERE
2. Save it.
376


3. Extract it (right click -> extract here)
374


4. Cut or copy it to your fah folder.
354


5. Open a terminal (control+alt+t) and type cd Desktop/fah/thekraken-0.7-pre15/
press enter
428


6. type: make
427


7. then: sudo make install
enter your password and press enter
424


8. Close that terminal, open another (Control+alt+t)
type: cd Desktop/fah/
Press enter
424


9. type: thekraken -i
press enter
425


10. press y
press enter
425

11.) Start fah like your normally do.
you should see this (note the dynamic load balancing):
425


Advanced Terminal Installation Guide Warning: Spoiler! (Click to show)
Make sure to change the paths as needed.

cd Downloads
wget http://darkswarm.org/thekraken-0.7-pre15.tar.gz
mv ~/Downloads/thekraken-0.7-pre15.tar.gz ~/Desktop/fah/thekraken-0.7-pre15.tar.gz
cd /home/Your login name here/Desktop/fah/
tar -xf thekraken-0.7-pre15.tar.gz
cd /home/Your login name here/Desktop/fah/thekraken-0.7-pre15
sudo make
sudo make install
cd /home/Your login name here/Desktop/fah/
thekraken -i

Uninstallation Guide: Warning: Spoiler! (Click to show)
open terminal
cd to your FAH directory
type: thekraken -u
hit enter
you may delete all the kraken related files

Updated installation instructions for v7: Warning: Spoiler! (Click to show)
Credit goes to tear over on Hardforums

6.2. Wrapping: V7 client

As single V7 client installation may be run off more than one "home"
directory, wrapping process is little more complicated.
It is imperative client's home directory is determined prior to
wrapping.

1. Make sure the client is running (and folding)
2. Determine client's "home" directory; run (as root; on Ubuntu prepend
with 'sudo'):

stat /proc/$(ps -eocomm=,pid= | awk '/^FahCo[^[]/ { print $NF }')/exe | head -1 | cut -f 3 -d \` | sed s=cores.*\$=cores/=

It should return path, such as: '/var/lib/fahclient/cores/'.
Make note of this path.

3. Pause the client/slot
4. Run (as root; on Ubuntu prepend with 'sudo'):

thekraken -w path-determined-in-step-2

Doing so should result in something along the following:

$ thekraken -i /var/lib/fahclient/cores/
thekraken: The Kraken 0.4 (compiled Tue Apr 12 20:27:47 MDT 2011 by fah@tentacle)
thekraken: Processor affinity wrapper for Folding@Home
thekraken: The Kraken comes with ABSOLUTELY NO WARRANTY; licensed under GPLv2
thekraken: performing installation to /var/lib/fahclient/cores/
thekraken: descend into /var/lib/fahclient/cores/www.stanford.edu and all other subdirectories [Y/n]?

If path appears correct, confirm with 'y' and press Enter. This should result
in something along the following:

thekraken: /var/lib/fahclient/cores/www.stanford.edu/~pande/Linux/AMD64/Core_a3.fah/FahCore_a3: wrapper succesfully installed
thekraken: /var/lib/fahclient/cores/www.stanford.edu/~pande/Linux/AMD64/Core_a5.fah/FahCore_a5: wrapper succesfully installed
thekraken: finished installation, 2 out of 2 files processed
$

5. Resume the client/slot

source
 
x6 Folder
(7 items)
 
 
CPUMotherboardGraphicsRAM
i5 3570k @ 4.8 w/ 1.31v watercooled Gigabyte z77x-UD3H Powercolor 290x w/ EK full cover G.Skill Ripjaws 2133mhz cl9 4x4gb 
Hard DriveOptical DriveCoolingOS
128gb Samsung 830 + Seagate 4tb, Seagate 1tb, W... DVD RW Rasa loop w/ RX120 and RS240 Windows 7 Professional 64-bit 
MonitorKeyboardPowerCase
2x 27" PCBANK 1440p, 1x 21" 1600x1200 Syncmaster Leopold 10keyless w/ red switches XFX 750w Black Edition CM Stacker 830 
MouseMouse PadAudio
Logitech G5 SteelSeries QCK Fiio E10 USB DAC+AMP | ATH-M50 | JVC HARX700 
  hide details  
Reply
 
x6 Folder
(7 items)
 
 
CPUMotherboardGraphicsRAM
i5 3570k @ 4.8 w/ 1.31v watercooled Gigabyte z77x-UD3H Powercolor 290x w/ EK full cover G.Skill Ripjaws 2133mhz cl9 4x4gb 
Hard DriveOptical DriveCoolingOS
128gb Samsung 830 + Seagate 4tb, Seagate 1tb, W... DVD RW Rasa loop w/ RX120 and RS240 Windows 7 Professional 64-bit 
MonitorKeyboardPowerCase
2x 27" PCBANK 1440p, 1x 21" 1600x1200 Syncmaster Leopold 10keyless w/ red switches XFX 750w Black Edition CM Stacker 830 
MouseMouse PadAudio
Logitech G5 SteelSeries QCK Fiio E10 USB DAC+AMP | ATH-M50 | JVC HARX700 
  hide details  
Reply
post #2 of 36
Good guide, but what about the
Code:
thekraken -u

command?
post #3 of 36
Is this just for a 2p/4p system or will this work on a single cpu system?
Das SupaComputa
(16 items)
 
  
CPUCPUMotherboardGraphics
Intel Xeon 2687w Intel Xeon 2687w Asus Z9PE-D8 WS Titan X 
GraphicsRAMHard DriveCooling
Titan X G.Skill 1600 OCZ Vertex 3 120gb Coolit Borea x3 
OSMonitorKeyboardCase
Win 7 ASUS PB298Q 29" 21:9 ultra-wide Ducky keyboard Caselabs STH10 
Mouse
Razer Naga  
  hide details  
Reply
Das SupaComputa
(16 items)
 
  
CPUCPUMotherboardGraphics
Intel Xeon 2687w Intel Xeon 2687w Asus Z9PE-D8 WS Titan X 
GraphicsRAMHard DriveCooling
Titan X G.Skill 1600 OCZ Vertex 3 120gb Coolit Borea x3 
OSMonitorKeyboardCase
Win 7 ASUS PB298Q 29" 21:9 ultra-wide Ducky keyboard Caselabs STH10 
Mouse
Razer Naga  
  hide details  
Reply
post #4 of 36
This is from the original guide over at "H"

*NOTE: To get the most use out of the kraken, you need to have NUMA enabled (SR-2s, other 2p Intel boards) or node interleaving disabled (G34/C32/Socket F AMD systems). If you have a multi-processor board, you should have a bios setting for one or the other.


You guys can get more info about it on the links below. Im not sure it works all the time but its really good to have.

Quote:
Originally Posted by tear;1038677761 
My request was actually directed as Quisarious.

Kraken's job ends the moment FahCore is restarted. Then all bets are off.
You get DLB? Sweet. You don't? Oh poo.

It's best effort approach. That's it. It was never marketed as reliable DLB "enabler".

Quisarious says he didn't see autorestart occur. THAT is worth looking into.


http://hardforum.com/showthread.php?p=1037125474#post1037125474

http://hardforum.com/showthread.php?t=1690152

From the same guide above:
Install BFS - for all Intel systems I have tested. NOT for multi-socket AMD systems.

http://hardforum.com/showthread.php?p=1037125472#post1037125472
Edited by Desert Rat - 6/6/12 at 1:41pm
Captain Crunch
(12 items)
 
  
CPUMotherboardGraphicsGraphics
3770k @ 4.6Ghz Asus Z77 Sabertooth EVGA GeForce GTX 660 Ti FTW+ 3GB w/Backplate (SLI) Waiting For GTX 780  
RAMHard DriveCoolingOS
Samsung 2133Mhz 10-10-10-28 1T OCZ SSD Corsair H100 P/P Windows 7 
MonitorKeyboardPowerCase
Monoprice 2560x1440p Ducky Shine Corsair AX1200 Cooler Master 690 
  hide details  
Reply
Captain Crunch
(12 items)
 
  
CPUMotherboardGraphicsGraphics
3770k @ 4.6Ghz Asus Z77 Sabertooth EVGA GeForce GTX 660 Ti FTW+ 3GB w/Backplate (SLI) Waiting For GTX 780  
RAMHard DriveCoolingOS
Samsung 2133Mhz 10-10-10-28 1T OCZ SSD Corsair H100 P/P Windows 7 
MonitorKeyboardPowerCase
Monoprice 2560x1440p Ducky Shine Corsair AX1200 Cooler Master 690 
  hide details  
Reply
post #5 of 36
Thread Starter 
Quote:
Originally Posted by faMine View Post

Good guide, but what about the
Code:
thekraken -u
command?

-u is only used for uninstall previous version of TheKraken. Seeing as nearly nobody has TheKraken or knows what it is yes, it's not necessary atm tongue.gif
Quote:
Originally Posted by Donkey1514 View Post

Is this just for a 2p/4p system or will this work on a single cpu system?

It'll work and MAY benefit any system. TPF decreased have been noted on 1p, 2p, and 4p systems.
 
x6 Folder
(7 items)
 
 
CPUMotherboardGraphicsRAM
i5 3570k @ 4.8 w/ 1.31v watercooled Gigabyte z77x-UD3H Powercolor 290x w/ EK full cover G.Skill Ripjaws 2133mhz cl9 4x4gb 
Hard DriveOptical DriveCoolingOS
128gb Samsung 830 + Seagate 4tb, Seagate 1tb, W... DVD RW Rasa loop w/ RX120 and RS240 Windows 7 Professional 64-bit 
MonitorKeyboardPowerCase
2x 27" PCBANK 1440p, 1x 21" 1600x1200 Syncmaster Leopold 10keyless w/ red switches XFX 750w Black Edition CM Stacker 830 
MouseMouse PadAudio
Logitech G5 SteelSeries QCK Fiio E10 USB DAC+AMP | ATH-M50 | JVC HARX700 
  hide details  
Reply
 
x6 Folder
(7 items)
 
 
CPUMotherboardGraphicsRAM
i5 3570k @ 4.8 w/ 1.31v watercooled Gigabyte z77x-UD3H Powercolor 290x w/ EK full cover G.Skill Ripjaws 2133mhz cl9 4x4gb 
Hard DriveOptical DriveCoolingOS
128gb Samsung 830 + Seagate 4tb, Seagate 1tb, W... DVD RW Rasa loop w/ RX120 and RS240 Windows 7 Professional 64-bit 
MonitorKeyboardPowerCase
2x 27" PCBANK 1440p, 1x 21" 1600x1200 Syncmaster Leopold 10keyless w/ red switches XFX 750w Black Edition CM Stacker 830 
MouseMouse PadAudio
Logitech G5 SteelSeries QCK Fiio E10 USB DAC+AMP | ATH-M50 | JVC HARX700 
  hide details  
Reply
post #6 of 36
Quote:
Originally Posted by G3RG View Post

-u is only used for uninstall previous version of TheKraken. Seeing as nearly nobody has TheKraken or knows what it is yes, it's not necessary atm tongue.gif
It'll work and MAY benefit any system. TPF decreased have been noted on 1p, 2p, and 4p systems.

Just finished installing and these are the results:
2600K @ 5ghz w/ 2133 memory doing a 6903
before: tpf 46.44
after: tpf 46.12
thumbsupsmiley.png
Das SupaComputa
(16 items)
 
  
CPUCPUMotherboardGraphics
Intel Xeon 2687w Intel Xeon 2687w Asus Z9PE-D8 WS Titan X 
GraphicsRAMHard DriveCooling
Titan X G.Skill 1600 OCZ Vertex 3 120gb Coolit Borea x3 
OSMonitorKeyboardCase
Win 7 ASUS PB298Q 29" 21:9 ultra-wide Ducky keyboard Caselabs STH10 
Mouse
Razer Naga  
  hide details  
Reply
Das SupaComputa
(16 items)
 
  
CPUCPUMotherboardGraphics
Intel Xeon 2687w Intel Xeon 2687w Asus Z9PE-D8 WS Titan X 
GraphicsRAMHard DriveCooling
Titan X G.Skill 1600 OCZ Vertex 3 120gb Coolit Borea x3 
OSMonitorKeyboardCase
Win 7 ASUS PB298Q 29" 21:9 ultra-wide Ducky keyboard Caselabs STH10 
Mouse
Razer Naga  
  hide details  
Reply
post #7 of 36
Thread Starter 
Quote:
Originally Posted by Donkey1514 View Post

Just finished installing and these are the results:
2600K @ 5ghz w/ 2133 memory doing a 6903
before: tpf 46.44
after: tpf 46.12
thumbsupsmiley.png

Glad to see it helped biggrin.gif

I lost 3 mins tpf on a 6903 on my x6 with thekraken biggrin.gif
Edited by G3RG - 6/6/12 at 4:48pm
 
x6 Folder
(7 items)
 
 
CPUMotherboardGraphicsRAM
i5 3570k @ 4.8 w/ 1.31v watercooled Gigabyte z77x-UD3H Powercolor 290x w/ EK full cover G.Skill Ripjaws 2133mhz cl9 4x4gb 
Hard DriveOptical DriveCoolingOS
128gb Samsung 830 + Seagate 4tb, Seagate 1tb, W... DVD RW Rasa loop w/ RX120 and RS240 Windows 7 Professional 64-bit 
MonitorKeyboardPowerCase
2x 27" PCBANK 1440p, 1x 21" 1600x1200 Syncmaster Leopold 10keyless w/ red switches XFX 750w Black Edition CM Stacker 830 
MouseMouse PadAudio
Logitech G5 SteelSeries QCK Fiio E10 USB DAC+AMP | ATH-M50 | JVC HARX700 
  hide details  
Reply
 
x6 Folder
(7 items)
 
 
CPUMotherboardGraphicsRAM
i5 3570k @ 4.8 w/ 1.31v watercooled Gigabyte z77x-UD3H Powercolor 290x w/ EK full cover G.Skill Ripjaws 2133mhz cl9 4x4gb 
Hard DriveOptical DriveCoolingOS
128gb Samsung 830 + Seagate 4tb, Seagate 1tb, W... DVD RW Rasa loop w/ RX120 and RS240 Windows 7 Professional 64-bit 
MonitorKeyboardPowerCase
2x 27" PCBANK 1440p, 1x 21" 1600x1200 Syncmaster Leopold 10keyless w/ red switches XFX 750w Black Edition CM Stacker 830 
MouseMouse PadAudio
Logitech G5 SteelSeries QCK Fiio E10 USB DAC+AMP | ATH-M50 | JVC HARX700 
  hide details  
Reply
post #8 of 36
I'm all about lowering some tpf but one question. Do you just have to start it up the one time or every time you do a new wu?
game rig
(16 items)
 
  
CPUMotherboardGraphicsRAM
i7 2600k Asus P8P67 Pro MSI 7970 2x2GB G Skill Ripjaw X 1600 CL6 
Hard DriveCoolingCoolingCooling
samsung 830 XSPC RX360 XSPC Raystorm EK 7970 
OSMonitorKeyboardPower
Windows 7 LG W2240 Ducky Corsair AX 850 
CaseMouse
Switch 810 Razer Naga 
  hide details  
Reply
game rig
(16 items)
 
  
CPUMotherboardGraphicsRAM
i7 2600k Asus P8P67 Pro MSI 7970 2x2GB G Skill Ripjaw X 1600 CL6 
Hard DriveCoolingCoolingCooling
samsung 830 XSPC RX360 XSPC Raystorm EK 7970 
OSMonitorKeyboardPower
Windows 7 LG W2240 Ducky Corsair AX 850 
CaseMouse
Switch 810 Razer Naga 
  hide details  
Reply
post #9 of 36
Thread Starter 
Quote:
Originally Posted by blazed_1 View Post

I'm all about lowering some tpf but one question. Do you just have to start it up the one time or every time you do a new wu?

You install it and run fah like normal, there's no effort required once it's installed.
 
x6 Folder
(7 items)
 
 
CPUMotherboardGraphicsRAM
i5 3570k @ 4.8 w/ 1.31v watercooled Gigabyte z77x-UD3H Powercolor 290x w/ EK full cover G.Skill Ripjaws 2133mhz cl9 4x4gb 
Hard DriveOptical DriveCoolingOS
128gb Samsung 830 + Seagate 4tb, Seagate 1tb, W... DVD RW Rasa loop w/ RX120 and RS240 Windows 7 Professional 64-bit 
MonitorKeyboardPowerCase
2x 27" PCBANK 1440p, 1x 21" 1600x1200 Syncmaster Leopold 10keyless w/ red switches XFX 750w Black Edition CM Stacker 830 
MouseMouse PadAudio
Logitech G5 SteelSeries QCK Fiio E10 USB DAC+AMP | ATH-M50 | JVC HARX700 
  hide details  
Reply
 
x6 Folder
(7 items)
 
 
CPUMotherboardGraphicsRAM
i5 3570k @ 4.8 w/ 1.31v watercooled Gigabyte z77x-UD3H Powercolor 290x w/ EK full cover G.Skill Ripjaws 2133mhz cl9 4x4gb 
Hard DriveOptical DriveCoolingOS
128gb Samsung 830 + Seagate 4tb, Seagate 1tb, W... DVD RW Rasa loop w/ RX120 and RS240 Windows 7 Professional 64-bit 
MonitorKeyboardPowerCase
2x 27" PCBANK 1440p, 1x 21" 1600x1200 Syncmaster Leopold 10keyless w/ red switches XFX 750w Black Edition CM Stacker 830 
MouseMouse PadAudio
Logitech G5 SteelSeries QCK Fiio E10 USB DAC+AMP | ATH-M50 | JVC HARX700 
  hide details  
Reply
post #10 of 36
Sounds easy enough. Went though the links Desert Rat posted so now I at least understand a little of what it does. Will give this a go when I upgrade my cpu here soon. thumb.gif
game rig
(16 items)
 
  
CPUMotherboardGraphicsRAM
i7 2600k Asus P8P67 Pro MSI 7970 2x2GB G Skill Ripjaw X 1600 CL6 
Hard DriveCoolingCoolingCooling
samsung 830 XSPC RX360 XSPC Raystorm EK 7970 
OSMonitorKeyboardPower
Windows 7 LG W2240 Ducky Corsair AX 850 
CaseMouse
Switch 810 Razer Naga 
  hide details  
Reply
game rig
(16 items)
 
  
CPUMotherboardGraphicsRAM
i7 2600k Asus P8P67 Pro MSI 7970 2x2GB G Skill Ripjaw X 1600 CL6 
Hard DriveCoolingCoolingCooling
samsung 830 XSPC RX360 XSPC Raystorm EK 7970 
OSMonitorKeyboardPower
Windows 7 LG W2240 Ducky Corsair AX 850 
CaseMouse
Switch 810 Razer Naga 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
Overclock.net › Forums › Overclockers Care › Overclock.net Folding@Home Team › Folding@Home Guides and Tutorials › [Ubuntu] SMP Folding Boost - The Kraken installation guide