Overclock.net › Forums › Overclockers Care › Overclock.net Folding@Home Team › bigadv shortage the next few weeks
New Posts  All Forums:Forum Nav:

bigadv shortage the next few weeks - Page 3

post #21 of 22
Do this...
Quote:
Final part of the detailed guides. Here we will create our core count manipulation script, langouste startup script and folding client startup scripts.

Since we know how and it's easy, we're going to start in the terminal again (CTL-ALT-T)

1 - we want to create our scripts in our client's directory

Code:
cd /home/username/fah
2 - here we are going to launch a simple text editor from the terminal

Code:
gedit


3 - Ok, I suggest you copy/paste the following, replace "yourpassword" with your password, KEEP THE QUOTES!. If you are using this script for other purposes than the big-bigadv's, you may modify "TARGET_NCPUS=12" to how many cores you want the client to see. We're looking for 12 here
p.s. I'm not even going to try and explain how this works.. I have no idea myself. Also, make sure the first line wraps, and you don't use the return key to separate lines.

Code:
echo "yourpassword" | sudo -S cat /proc/stat | awk 'BEGIN { TARGET_NCPUS=12 } ; { 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
echo "yourpassword" | sudo -S mount --bind /tmp/stat.save /proc/stat
4 - click "FILE, SAVE-AS" and name it corefix.sh and make sure it saves it in the fah folder. Here you can see the completed script, filename and folder location. Click "Save" and close the text editor.
This will actually give you 12 cores. And thus hugeadv. If you want to use only bigadv you'll need to make it only hack 8 cores.

Code:
echo "yourpassword" | sudo -S 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
echo "yourpassword" | sudo -S mount --bind /tmp/stat.save /proc/stat

Edited by no_safe_HAVEN - 11/2/11 at 8:13pm
Top Heavy
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5-3570k ASUS P8z77-I Deluxe MSI GTX 980 Gaming 4G Samsung MV-3V4G3D 
Hard DriveCoolingOSMonitor
Samsung 840 Evo ThermalRight Macho Rev B Windows 7 Professional 64bit Samsung SyncMaster P2450 
KeyboardPowerCaseMouse
Logitech MX 3200 Rosewill GreenPower 630W Custom Built mITX bench made from the carcas of... Logitech M510 
Audio
Onboard 5.1 
  hide details  
Reply
Top Heavy
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5-3570k ASUS P8z77-I Deluxe MSI GTX 980 Gaming 4G Samsung MV-3V4G3D 
Hard DriveCoolingOSMonitor
Samsung 840 Evo ThermalRight Macho Rev B Windows 7 Professional 64bit Samsung SyncMaster P2450 
KeyboardPowerCaseMouse
Logitech MX 3200 Rosewill GreenPower 630W Custom Built mITX bench made from the carcas of... Logitech M510 
Audio
Onboard 5.1 
  hide details  
Reply
post #22 of 22
Jedi's guide requires you to either make up your own script or retype the corehack every time you start the computer.

Digi's guide makes it automatic from the get-go.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Overclock.net Folding@Home Team
Overclock.net › Forums › Overclockers Care › Overclock.net Folding@Home Team › bigadv shortage the next few weeks