New Gridcoin BOINC Challenge: Cosmology@Home - Installing VirtualBox and configuring the project
Today, a new BOINC challenge for the project Cosmology@Home started. This challenge was issued by Team Gridcoin:
I went ahead and added my machines to this project, only to realize I need VirtualBox installed:
So in order to crunch tasks for this project, I went to install VirtualBox as well as configure the project. Here I detail you the installation and optional configuration process, which is really simple:
First, we go to the VirtualBox Website, https://virtualbox.org and click the Download VirtualBox button:
Because I'm using Windows, I'll download the Windows version:
We'll click Save:
And after the download finishes, we will click on Run:
We press Next:
We'll leave this as it is and press Next:
Now, we'll click Yes:
Now on Install:
It will ask us to install some driver software. We'll click Install:
When the installation finishes, untick the Start VirtualBox checkbox and press Finish:
Configuring the project
I recommend doing these steps if you have a really bad lag or unresponsiveness in your PC. I had to apply a customized version of the configuration posted in the Cosmology@Home FAQ section as the VM would get stuck in my AMD Ryzen machine, so I configured it to use half the PC cores.
Here's how to configure it:
Go to the Cosmology@Home Limit CPU section in the FAQ and copy and paste the
Open your favorite Text Editor and copy the contents you copied recently. I used Notepad++ here. Then, change the
<avg_ncpus>section to specify the amount of threads you want the VM to use. I first limited it to 4 cores and kept going up until I could maximize my PC resources while keeping it stable. In my Intel machine, I tried this configuration to test it:
Save the config in the Cosmology@Home folder. If you installed BOINC and left the directories at their default location, then this directory/folder is
C:\ProgramData\BOINC\projects\www.cosmologyathome.org. Save the file as
You'll see the syntax is highlighted. It should be like this meaning it saved as an XML file:
And that's it! We've finished the configuration.
Testing the installation and configuration.
Now, we need to launch BOINC and perform a project update. For this, exit BOINC if it is already running and launch it again. Then select the Cosmology@Home project and press Update:
You should see in the log that it is downloading tasks:
And that they are running:
You can also check VirtualBox and see that the task VM is running:
And here's how the CPU of one of my Intel machines looks like:
Eventually, I upped the CPU threads to 8 so that it can use every resource in it. The only exception is my AMD Ryzen 7 2700X machine which is limited to 8 threads out of its 16.
If you followed this guide and are running Cosmology@Home tasks, congrats! And I wish you luck in the competition!
I'm at position #27 right now 😁
This required some coding in my BOINCToWeb software I wrote to accomplish this. I'll talk about the code changes and additions in another post.
I also remember all of you that you can see the tasks I'm crunching by clicking here:
That's all!Click to view this post on Steemit.