<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Boinc on blog.iankulin.com</title><link>https://blog.iankulin.com/tags/boinc/</link><description>Recent content in Boinc on blog.iankulin.com</description><generator>Hugo</generator><language>en-AU</language><lastBuildDate>Mon, 09 Oct 2023 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.iankulin.com/tags/boinc/index.xml" rel="self" type="application/rss+xml"/><item><title>BOINC in an LXC container</title><link>https://blog.iankulin.com/boinc-in-an-lxc-container/</link><pubDate>Mon, 09 Oct 2023 00:00:00 +0000</pubDate><guid>https://blog.iankulin.com/boinc-in-an-lxc-container/</guid><description>&lt;img src="https://blog.iankulin.com/images/boinc_logo.png" width="900" alt=""&gt;
&lt;p&gt;Years ago, I was very keen on the &lt;a href="https://youtu.be/WwxTc6pFOcU"&gt;SETI@home&lt;/a&gt; project that used a distributed computing model whereby packets of digitized received radio data were farmed out to individuals&amp;rsquo; computers to be processed to look for any unusual signals that could potentially be from an intelligent extra-terrestrial source.&lt;/p&gt;
&lt;p&gt;That&amp;rsquo;s long since defunct, but the idea lives on with &lt;a href="https://boinc.berkeley.edu/"&gt;BOINC&lt;/a&gt; - a system run out of Berkley that allows different science organisations to offer projects to run on individuals&amp;rsquo; computers.&lt;/p&gt;
&lt;p&gt;I thought that figuring out how to get all that running in an LXC container would make a good blog post, and wasted about a day fiddling around with it, with limited success. I forget the exact details, but I think the projects I&amp;rsquo;d subscribed to via the &lt;a href="https://www.worldcommunitygrid.org/"&gt;World Community Grid&lt;/a&gt; might have wanted serious GPU power which my container does not have - but I wasn&amp;rsquo;t 100% sure I&amp;rsquo;d set everything up correctly. There was so many fiddly variables I wasn&amp;rsquo;t confident to commit to posting about it.&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s my custom on the weekends to turn all my nodes on, and start every VM and container, even the testing ones on the dev node, then run the &lt;a href="https://blog.iankulin.com/tags/ansible/"&gt;Ansible playbook&lt;/a&gt; to do all of the &lt;code&gt;apt&lt;/code&gt; updates. When I did that today, I noticed this CPU pulsing:&lt;/p&gt;
&lt;div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;"&gt;
 &lt;iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/WwxTc6pFOcU?autoplay=0&amp;amp;controls=1&amp;amp;end=0&amp;amp;loop=0&amp;amp;mute=0&amp;amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"&gt;&lt;/iframe&gt;
 &lt;/div&gt;

&lt;p&gt;Well, that seems like it&amp;rsquo;s doing some serious work. Either I&amp;rsquo;ve been hacked and someone&amp;rsquo;s mining crypto, or BOINC is working.&lt;/p&gt;
&lt;p&gt;Each of the organisations enrolled in BOINC have a community page where you sign up and get an API key that identifies your computers to the project, and you can head there to see your contributions. Sure enough, I&amp;rsquo;ve been receiving, processing and returning packets.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://blog.iankulin.com/images/screen-shot-2023-08-27-at-7.12.05-pm.png"&gt;&lt;img src="https://blog.iankulin.com/images/screen-shot-2023-08-27-at-7.12.05-pm.png" width="900" alt=""&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This is another thing I&amp;rsquo;d like to return to later - I don&amp;rsquo;t think it was as simple as following the &lt;a href="https://boinc.berkeley.edu/wiki/Installing_BOINC_on_Debian_or_Ubuntu"&gt;instructions&lt;/a&gt; because I&amp;rsquo;d made my life a bit more complicated by running it in an LXC. It also occurs to me that this might be a good workload to use an orchestration tool like Kubernetes for - since I don&amp;rsquo;t really have any actual need (excuse) to play with those.&lt;/p&gt;</description></item></channel></rss>