- Joined
- Dec 29, 2008
- Messages
- 696 (0.12/day)
- Location
- Elkhart, IN
I have been testing/researching this for the past few days and I have found that running WCG in Ubuntu cuts computation time down by about 1 to 2 hours (probably more for you i7/C2Q users), in HCC at least, it's the only project I'm running right now. The easiest way to run Ubuntu (I think) is by running it in a VM.
*NOTE: Ubuntu x64 will stress your CPU more than Windows x64 will, so your OC may not be stable under Ubuntu.
Also, from what I have seen, AMD CPU's benefit from this more than Intels.
Download the Ubuntu iso (http://www.ubuntu.com/getubuntu/download). If you want to, once you burn the iso to a disc (if you do), you can install Ubuntu along side Windows without having to format and create seperate partitions. But I prefer running it in a VM, much more convient for me.
Download and install VMWare Player (http://majorgeeks.com/VMware_Player_d4891.html)
Open VMWare Player and click "Create a New Virtual Machine", then select where you have the iso located. Next you have to enter in your name and password (the password must be at least 8 characters in length). In the next screen, enter the VM's name and where it will be installed. In the next screen, you enter the hard drive size, I just set it at 8GB and click "Store virual disk as a single file". In the next screen, you can customize what hardware the VM will use. For mine I set it to use 4 processors, 768MB of RAM (I would recommend more if your going to be running FightAIDS@Home), and set the network adapter to Bridged (you have to select Bridged in order for Ubuntu to have internet access). Then click finish and Ubuntu will start installing.
Once it's installed, login and click "Applications" then click "Ubuntu Software Center"
In the search box (top right hand corner), search for BOINC.
Then double click on BOINC Manager, then click install (it will ask you for your password before you can install it), wait for it to download and install.
Then go to Applications > System Tools > BOINC Manager. Then attach World Community Grid (Just enter the URL in the box).
In order to recieve WU's you will have to update the ca-certificates package. Go to Applications > Accessories > Terminal. From there, type in (or copy) these four commands:
(hitting enter after each one)
1. cd /var/lib/boinc-client
2. sudo mv ca-bundle.crt{,.bak}
3.
4. sudo cp -a ca-bundle.crt{.upstream,}
Now the certificates are updated. You should now be able to recieve WU's.
Next I will show you how to change the cc_config to report results immediately (Thanks Mindweaver! ). Go back to Terminal, then type in "sudo gedit /etc/boinc-client/cc_config.xml" (without quotes). Delete everything in the config file (exept for the blue text) then enter in this:
<cc_config>
<options>
<report_results_immediately>1</report_results_immediately>
</options>
</cc_config>
The cc_config file should now look like this:
You can now save the file and close gedit and Terminal. Now all you have to do is go back to the BOINC Manager and click Advanced > Read config file.
If you want BOINC to run at startup, then go to System > Preferences > Startup Applications. Then click Add and copy this:
Click Add and then close that window, BOINC will now automatically run when Ubuntu starts up. And that's it!
EDIT: Here's this differences between Windows and Ubuntu. Note that I was running HCC exclusively for both of these.
Windows x64
Ubuntu x64
^(The numbers are lower on 1/14 & 1/15 due to me testing a new CPU)^
As you can see, there is a pretty big difference between the two, mostly Results per day wise, but there is also an increase in points too.
*NOTE: Ubuntu x64 will stress your CPU more than Windows x64 will, so your OC may not be stable under Ubuntu.
Also, from what I have seen, AMD CPU's benefit from this more than Intels.
Download the Ubuntu iso (http://www.ubuntu.com/getubuntu/download). If you want to, once you burn the iso to a disc (if you do), you can install Ubuntu along side Windows without having to format and create seperate partitions. But I prefer running it in a VM, much more convient for me.
Download and install VMWare Player (http://majorgeeks.com/VMware_Player_d4891.html)
Open VMWare Player and click "Create a New Virtual Machine", then select where you have the iso located. Next you have to enter in your name and password (the password must be at least 8 characters in length). In the next screen, enter the VM's name and where it will be installed. In the next screen, you enter the hard drive size, I just set it at 8GB and click "Store virual disk as a single file". In the next screen, you can customize what hardware the VM will use. For mine I set it to use 4 processors, 768MB of RAM (I would recommend more if your going to be running FightAIDS@Home), and set the network adapter to Bridged (you have to select Bridged in order for Ubuntu to have internet access). Then click finish and Ubuntu will start installing.
Once it's installed, login and click "Applications" then click "Ubuntu Software Center"
In the search box (top right hand corner), search for BOINC.
Then double click on BOINC Manager, then click install (it will ask you for your password before you can install it), wait for it to download and install.
Then go to Applications > System Tools > BOINC Manager. Then attach World Community Grid (Just enter the URL in the box).
In order to recieve WU's you will have to update the ca-certificates package. Go to Applications > Accessories > Terminal. From there, type in (or copy) these four commands:
(hitting enter after each one)
1. cd /var/lib/boinc-client
2. sudo mv ca-bundle.crt{,.bak}
3.
HTML:
sudo wget http://boinc.berkeley.edu/trac/export/16195/trunk/boinc/curl/ca-bundle.crt -O ca-bundle.crt.upstream
Now the certificates are updated. You should now be able to recieve WU's.
Next I will show you how to change the cc_config to report results immediately (Thanks Mindweaver! ). Go back to Terminal, then type in "sudo gedit /etc/boinc-client/cc_config.xml" (without quotes). Delete everything in the config file (exept for the blue text) then enter in this:
<cc_config>
<options>
<report_results_immediately>1</report_results_immediately>
</options>
</cc_config>
The cc_config file should now look like this:
You can now save the file and close gedit and Terminal. Now all you have to do is go back to the BOINC Manager and click Advanced > Read config file.
If you want BOINC to run at startup, then go to System > Preferences > Startup Applications. Then click Add and copy this:
Click Add and then close that window, BOINC will now automatically run when Ubuntu starts up. And that's it!
EDIT: Here's this differences between Windows and Ubuntu. Note that I was running HCC exclusively for both of these.
Windows x64
Ubuntu x64
^(The numbers are lower on 1/14 & 1/15 due to me testing a new CPU)^
As you can see, there is a pretty big difference between the two, mostly Results per day wise, but there is also an increase in points too.
Last edited: