{"id":27,"date":"2018-02-16T00:05:34","date_gmt":"2018-02-16T00:05:34","guid":{"rendered":"http:\/\/80.229.245.122\/wordpresser\/?p=27"},"modified":"2018-02-18T23:50:57","modified_gmt":"2018-02-18T23:50:57","slug":"welcome-to-the-folding-at-home-blog-by-dave","status":"publish","type":"post","link":"https:\/\/www.darmain.co.uk\/darmainworld\/index.php\/2018\/02\/16\/welcome-to-the-folding-at-home-blog-by-dave\/","title":{"rendered":"Welcome to the Folding at home blog by Dave"},"content":{"rendered":"<h2><img decoding=\"async\" class=\"alignnone size-full wp-image-61 lazyload\" data-src=\"http:\/\/80.229.245.122\/darmainworld\/wp-content\/uploads\/2018\/02\/folding.jpg\" alt=\"\" width=\"1920\" height=\"1280\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1920px; --smush-placeholder-aspect-ratio: 1920\/1280;\" \/>Folding@Home<\/h2>\n<p>Folding at Home is a project run by Standford University, which is almost exactly halfway between San Francisco and San Jose in the state of California. \u00a0I&#8217;ll be honest, the exact science is way over my head but in principle they study Proteins in our bodies do what they have to do to allow us to live. \u00a0Apparently these proteins can actually change shape, or Fold, in terms of the atomic structure. \u00a0This seems to allow them to complete the tasks they need to. \u00a0 However, very occasionally they can &#8220;misfold&#8221;. \u00a0It would seems that in most cases a misfold is just cast away with no consequences. \u00a0However there are those very few occasions where the misfold actually starts up something we would rather not have, such as a number of Cancers, such as Breast Cancer. \u00a0Some virus&#8217; cause a misfold which lead to diseases such as Dengue Fever, Zika Virus, Hepatitis C, Ebola Virus. \u00a0Other conditions lead to misfolds that brings us well known conditions such as Alzheimer\u2019s Disease. \u00a0This one is particularly close to me as my Mother is plagued with it, as was her mother before her.<\/p>\n<p>Hey, look, instead of me telling you how this works, when you are done here, going and have a look yourself by clicking here &#8211;&gt;<a href=\"http:\/\/folding.stanford.edu\/diseases\/\">\u00a0Diseases at Folding<\/a>.<\/p>\n<p>So, what do they do there at Standford? \u00a0They simulate protein folding in a computer environment. \u00a0I&#8217;m guessing that if the model is done right then the misfold can be created. \u00a0Then, if you know how the misfold started then perhaps you can figure out how to stop it happening in the first place. \u00a0As I said, way above my head. \u00a0But the computing is not above my head so let&#8217;s look at this problem.<\/p>\n<p>The modeling of folding a protein is hugely mathematical, and here lies the actual problem, computational power. \u00a0If Standford could buy the most powerful supercomputer in the world (Currently the Chinese hold that record) they still wouldn&#8217;t have enough power to do the work they need to do. \u00a0The &#8220;Deep thought&#8221; approach of Seven and Half Million years is simply too long to wait. \u00a0So how they get round this is to harness a tiny amount of all the millions of microprocessors in our computers. \u00a0A computer cannot stop, so if there is nothing to do it has to literally twiddle its thumbs, in what is known as the &#8220;Idle task&#8221;. \u00a0The idle task is the lowest priority process, so when you run your programs they come in a lot higher priority, stopping the idle task while your program runs.<\/p>\n<p>So what Standford has done is to run a program on your computer that is one priority notch above the idle task. \u00a0This program accepts a tasking from Standfords servers, then as your computer idles, instead of twiddling thumbs, to works on the cure for cancer!!. \u00a0 All that is required is an Internet connection and regular running of your computer. \u00a0I will explore you running this yourself in a while.<\/p>\n<p>This method is known as &#8220;Distributed Computing&#8221;. \u00a0It&#8217;s not a new idea. \u00a0There are other examples, such as SETI, that look for aliens; and the BONIC platform runs all sorts of projects. \u00a0Folding is different, Folding could\u00a0<u>make<\/u>\u00a0a difference.<\/p>\n<p>To make things interesting Standford have instigated a scoring system. \u00a0The difficulty of the &#8220;Work Unit (WU)&#8221; and how quickly your computer gets the result back to them, adds to an accumulating score for you, as a Donor. \u00a0 So you can join a little competition, as it were, against the rest of the donors around the world. \u00a0Now some large companies are rolling the Folding client out on all their employees computers and are contributing as a group. \u00a0That&#8217;ll take a bit of beating, but I&#8217;m up for a challenge!! \u00a0And as we have this friendly battle we are all helping. \u00a0Maybe your work unit is the one that makes the difference.<\/p>\n<p>Statistics. \u00a0There are currently just under 2 million donors, but I think a fair number of that figure are idle accounts, the individuals having given up a long time ago. \u00a0So you can either just quietly donate computer time and not worry about the score; or you can get competitive and &#8220;put the hammer down&#8221; in the race for No. 1. \u00a0I am sort of in the latter group, let me tell you my story.<\/p>\n<h2>The story of Dwarflord<\/h2>\n<p><img decoding=\"async\" class=\"size-full wp-image-60 aligncenter lazyload\" data-src=\"http:\/\/80.229.245.122\/darmainworld\/wp-content\/uploads\/2018\/02\/dwarflord.jpg\" alt=\"\" width=\"457\" height=\"256\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 457px; --smush-placeholder-aspect-ratio: 457\/256;\" \/><\/p>\n<p>I actually got into Folding in around 2012, when I started running the client on my Intel Dual-Core, under my Internet name of &#8220;Darmain&#8221;. \u00a0A short while later I acquired some old PCs from my employer and had three Pentium machines running. \u00a0This was fine until Stanford realised that PCs were getting faster, so they made the work units more difficult. \u00a0There is a time limit under which the work unit must be returned or else it is abandoned and the job realigned. \u00a0My poor little machines couldn&#8217;t keep up so I had to eventually retire them. \u00a0Now a revival, but why?<\/p>\n<p>During the last twelve months I have taken an interest into the design and operation of &#8220;Data centres&#8221;. \u00a0When someone talks about storing your files on the &#8220;Cloud&#8221;, what is the &#8220;Cloud&#8221;? \u00a0It is essentially someone else&#8217;s computer. \u00a0More specifically it is racks of powerful computers known as &#8220;Enterprise servers&#8221;. \u00a0The big players sell them. \u00a0IBM, Dell, Sun, and Hewlett Packard. \u00a0The big names operate them. \u00a0Google, Amazon, and Facebook, although Facebook are moving away to their own proprietary &#8220;open server&#8221; technology now.<\/p>\n<p>I decided to get my hands on one, well, actually two, and this is growing, but let&#8217;s not digress. \u00a0My target was Hewlett Packard and for various reasons a machine known as the DL380, generation 6, which I have called &#8220;Dwarflord&#8221;. \u00a0The G6 machines had reached end of life and HP support was ending. \u00a0The commercial operators were upgrading to the latest hardware. \u00a0To buy a brand new G10 machine equivalent to my G6 would be about \u00a310,000.<\/p>\n<p><img decoding=\"async\" class=\"size-full wp-image-52 aligncenter lazyload\" data-src=\"http:\/\/80.229.245.122\/darmainworld\/wp-content\/uploads\/2018\/02\/dl380-640.jpg\" alt=\"\" width=\"360\" height=\"640\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 360px; --smush-placeholder-aspect-ratio: 360\/640;\" \/><\/p>\n<p>What can I do with it? \u00a0Well, I&#8217;m a geek, so lets leave it there. \u00a0However it is designed to provide Internet services. \u00a0I could do that but then it will spend a great deal of time idling&#8230;. \u00a0Wait a minute, can it Fold? \u00a0Can it Fold? Darn right it can and fold like no other machine could get close to.<\/p>\n<p>So, to set up such a machine is a little involved. \u00a0It doesn&#8217;t run Windows, rather preferring the much more reliable and faster Ubuntu Linux server operating system. \u00a0It sits on the home network and fetches and returns work units like the old Pentium machines used to. \u00a0But, of so much quicker. \u00a0My donor name is now within the top 5% in the world on the score table as a result. \u00a0I have processed over 1,200 work units in total and half of them have been done in the last two months, by Dwarflord.<\/p>\n<p>So lots of advantages, whats the catch? \u00a0Well there are one or two. \u00a0Firstly it is physically big. \u00a0It is designed to be held in a rack so its only 85mm tall, but it is 480mm wide and 700mm deep. \u00a0Yarp, the better part of a metre.\u00a0\u00a0Second, the noise. \u00a0It has eight fans and it knows how to use them.\u00a0 \u00a0Thirdly they are incredibly power hungry, as in electrical power. \u00a0Mine is using about 230 watts of power continuously, but I see it a donation to charity. \u00a0A \u00a31 a day donation, but surely its worth it, Yes? \u00a0There is an advantage here. \u00a0All that power is converted to heat, which warms the house. \u00a0I&#8217;ve seen a back off in the gas central heating as a result. \u00a0Okay, its not a like for like exchange but you do get a bit back.<\/p>\n<h2>Folding on your own computer<\/h2>\n<p>You can run folding on most personal computers or Macs, and even on a Android phone or tablet. \u00a0You do not need to have a monster DL380 to fold, but if you feel the need then go and look on Ebay. \u00a0The absolutely best tool to conduct Folding on is a PC with one, or more, high performance Video Cards fitted. \u00a0The folding client can use the Graphics Processing Units (GPU) in the Video Card to Fold. \u00a0The vector processors in a GPU are vastly more efficient at this job than a standard Central Processor (CPU). \u00a0Unfortunately high performance Video Cards are also very good at mining crypto-currencies, which in turn makes money for the owner. \u00a0The Video card manufactures have got wise to this and are pushing up the price of Video Card in order to get a slice of the action. \u00a0So that kind of removes that as a viable option for folding, or playing games for that matter.<\/p>\n<p>You can fold on a laptop but I advise caution. \u00a0When you set the software up it will give you the option to how intensive it can use the CPU, I recommend you do not select the highest setting as laptops were not really designed to do this kind of thing and could overheat. \u00a0Also make sure it is set to suspend folding if you are running the machine on battery, otherwise your battery will go flat rather rapidly.<\/p>\n<p>Before you can do any of this you will need to go on to the\u00a0<a href=\"http:\/\/folding.stanford.edu\/start-folding\/\">Folding@home website<\/a>\u00a0and set yourself up an account. \u00a0Then follow the instructions. \u00a0Together we shall beat Cancer.<\/p>\n<h2>Extra bits<\/h2>\n<p>For giggles, this web site is actually be served off of the very same Dwarflord. \u00a0Getting a little technical, Dwarflord runs an application called &#8220;Virtual Box&#8221;, which allows me to create &#8220;Virtual servers&#8221;. \u00a0Using this I have created another Linux server called &#8220;Webonics&#8221;. \u00a0On this machine I run an application call &#8220;Apache&#8221; which is probably the most well known web server in the world, a database manager called &#8220;Mysql&#8221; and a server side scripting language called &#8220;PHP&#8221;.\u00a0 This site is then hosted via the framework known as &#8220;Word Press&#8221;. Using virtual servers isolates functionality. It was what the DL380 was born to do.<\/p>\n<p>As you may have picked up I &#8220;was&#8221; upgrading Dwarflords processors. \u00a0The new processors didn&#8217;t work in Dwarflord and eventually I discovered that the lowest level of software, which is programmed into the motherboard [Techie &#8211; Geeky stuff, the BIOS] was too old to support the new processor architecture. \u00a0HP think these old machines still pose a threat to their market so I would have to sign a support agreement with them to get the firmware upgraded. \u00a0This simply wasn&#8217;t going to happen. \u00a0So I was either going to send the new processor back, or come up with plan B. \u00a0Like yourself, I am not a quitter, so plan B it was. \u00a0I bought a second server from a company in Reading. \u00a0These great guys built me a machine with low spec processors but a motherboard that could support the new devices I already had. \u00a0After taking delivery and a quick check out I swapped the processors. \u00a0It was then a case of installing all the disks and loading the Linux server operating system. \u00a0This part involves the naming ceremony. \u00a0Sticking with the dwarf theme I named this one after &#8220;Thorin Oakenshield&#8221; from the Hobbit. \u00a0Dwarflord was the most powerful machine I have every owned. \u00a0Thorin has faster processor cores and more of them, probably doubling its power. \u00a0Folding through put is staggering. \u00a0In fact I had to throttle it back to stop it overheating. \u00a0Unfortunately it also demands 100W more electrical power than Dwarflord and the fans scream like a jet engine when its folding at full power. \u00a0This can only be happening when I am at home, as a result. \u00a0Dwarflord will remain running the 24 hour attack and official web server.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Folding@Home Folding at Home is a project run by Standford University, which is almost exactly halfway between San Francisco and San Jose in the state of California. \u00a0I&#8217;ll be honest, the exact science is way over my head but in principle they study Proteins in our bodies do what they have to do to allow [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-27","post","type-post","status-publish","format-standard","hentry","category-foldingathome"],"_links":{"self":[{"href":"https:\/\/www.darmain.co.uk\/darmainworld\/index.php\/wp-json\/wp\/v2\/posts\/27","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.darmain.co.uk\/darmainworld\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.darmain.co.uk\/darmainworld\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.darmain.co.uk\/darmainworld\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.darmain.co.uk\/darmainworld\/index.php\/wp-json\/wp\/v2\/comments?post=27"}],"version-history":[{"count":4,"href":"https:\/\/www.darmain.co.uk\/darmainworld\/index.php\/wp-json\/wp\/v2\/posts\/27\/revisions"}],"predecessor-version":[{"id":94,"href":"https:\/\/www.darmain.co.uk\/darmainworld\/index.php\/wp-json\/wp\/v2\/posts\/27\/revisions\/94"}],"wp:attachment":[{"href":"https:\/\/www.darmain.co.uk\/darmainworld\/index.php\/wp-json\/wp\/v2\/media?parent=27"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.darmain.co.uk\/darmainworld\/index.php\/wp-json\/wp\/v2\/categories?post=27"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.darmain.co.uk\/darmainworld\/index.php\/wp-json\/wp\/v2\/tags?post=27"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}