![]() |
|
|
#1 |
![]() Join Date: Dec 2008
Location: Elkhart, IN
Posts: 472 (0.29/day)
Thanks: 285
Thanked 234 Times in 135 Posts
|
Running WCG in Ubuntu (Through a VM)
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. HTML Code:
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 by Supreme0verlord; Jan 15, 2010 at 10:24 PM. |
|
|
|
| The Following 5 Users Say Thank You to Supreme0verlord For This Useful Post: |
|
|
#2 |
|
WCG Team Captain
Join Date: Nov 2007
Location: Miami, Florida
Posts: 23,888 (11.93/day)
Thanks: 15,149
Thanked 12,311 Times in 7,776 Posts
|
Very well done. I'll review this some other time and see if I maybe try it one day
|
|
|
|
| The Following User Says Thank You to Chicken Patty For This Useful Post: |
|
|
#3 |
![]() Join Date: Dec 2008
Location: Elkhart, IN
Posts: 472 (0.29/day)
Thanks: 285
Thanked 234 Times in 135 Posts
|
Take a look at the difference in the CPU benchmarks:
Windows 7 x64 - 3.6Ghz ![]() Linux when run in Windows through a VM - 3.6Ghz ![]() Linux as a standalone installation - 3.6Ghz ![]() My CPU seems to be pretty close to MetalRacer's i7 860 in the benchmarks in Floating Point Speed (not sure what speed it's actually at). ![]() Floating Point MIPS makes the biggest difference in WCG btw. |
|
|
|
| The Following 3 Users Say Thank You to Supreme0verlord For This Useful Post: |
|
|
#4 |
|
WCG Team Captain
Join Date: Nov 2007
Location: Miami, Florida
Posts: 23,888 (11.93/day)
Thanks: 15,149
Thanked 12,311 Times in 7,776 Posts
|
Indeed Linux rules!
|
|
|
|
|
|
#5 |
![]() Join Date: Dec 2009
Location: A Coruņa, Spain
Posts: 2,050 (1.64/day)
Thanks: 6,950
Thanked 2,643 Times in 1,136 Posts
|
just tried it out. got the VM and the windows clients running at the same time, kinda makes me feel as though this Q9550 has HyperThreading
![]() too big a performance hit to run them simultaneously though at 100% so I think I'll just switch to pure Linux VM goodness(can i also ask for a howto on uploading pics?)
__________________
|
|
|
|
|
|
#6 |
![]() Join Date: Dec 2008
Location: Elkhart, IN
Posts: 472 (0.29/day)
Thanks: 285
Thanked 234 Times in 135 Posts
|
Sweet, hopefully you won't have any freezing problems like I did. Just out of curiosity, what were your benchmarks results?
You can upload pics through http://www.techpowerup.org/. |
|
|
|
| The Following User Says Thank You to Supreme0verlord For This Useful Post: |
|
|
#7 | |
![]() Join Date: Dec 2009
Location: A Coruņa, Spain
Posts: 2,050 (1.64/day)
Thanks: 6,950
Thanked 2,643 Times in 1,136 Posts
|
Quote:
Windows 7 3819 Floating Point 11476 Integer Ubuntu (VM) 3260 Floating Point 13215 Integer I'm guessing if the Floating Point matters most, Win7 is the one to use. As long as I'm only using the computer for non-strenous stuff I can have both clients running, I'll see what difference it makes at the end of the day.
__________________
|
|
|
|
|
|
|
#8 |
![]() Join Date: Dec 2008
Location: Elkhart, IN
Posts: 472 (0.29/day)
Thanks: 285
Thanked 234 Times in 135 Posts
|
Well, let it run all day/night and see if it does freeze. It would run fine on my pc when I was using it, but when I let it run overnight, it would be frozen when I woke up the next day. Although it could of just been my OC not entirely stable.
And that is really odd how the Windows client benchmarks higher than the Linux one, that's completely opposite to what I got . Maybe you could run it for a few days and see if your PPD drops any because of it.
|
|
|
|
|
|
#9 |
![]() Join Date: Dec 2009
Location: A Coruņa, Spain
Posts: 2,050 (1.64/day)
Thanks: 6,950
Thanked 2,643 Times in 1,136 Posts
|
yeah i won't have much time to play games this christmas, so i figure let the crunching go wild and see what makes a difference
__________________
|
|
|
|
|
|
#10 |
![]() Join Date: Jan 2008
Location: Johannesburg, South Africa
Posts: 1,031 (0.52/day)
Thanks: 873
Thanked 280 Times in 224 Posts
|
Cool. I may have a spare box to crunch with after Xmas, so this is most useful.
Thx.
__________________
“Excellent. My 32x DVD drive killed my cat.” -Sasqui
“Soap Vaseline Steel Wool Microwave. Run.” -CyberDruid
“Yeah, MS is not to be confused with MicroSoft which is a chronic, often disabling, Central Processing Unit nervous system disease.” -Kreij
|
|
|
|
| The Following User Says Thank You to King Wookie For This Useful Post: |
|
|
#11 | |
![]() Join Date: Dec 2008
Location: Elkhart, IN
Posts: 472 (0.29/day)
Thanks: 285
Thanked 234 Times in 135 Posts
|
Quote:
![]() EDIT: KieX, I just thought of this, did you make sure to download the 64-bit iso instead of the 32-bit one? Last edited by Supreme0verlord; Dec 23, 2009 at 07:51 AM. |
|
|
|
|
|
|
#12 | |
![]() Join Date: Dec 2009
Location: A Coruņa, Spain
Posts: 2,050 (1.64/day)
Thanks: 6,950
Thanked 2,643 Times in 1,136 Posts
|
Quote:
In the virtual processor setup, I've enabled the Intel VT-x since the processor supports it. I'll go into BIOS and turn it off and try with the automatic settings instead. I'll play around a little more till Open Source wins the day EDIT: It seems the windows 7 system processes for BOINC were still running at the time I benchmarked the VM. The actual performance is: 3858 Floating Point and 16451 Integer. So it's marginal, but there is defenitely an improvement in speed.
__________________
Last edited by KieX; Dec 23, 2009 at 10:59 AM. |
|
|
|
|
|
|
#13 | |
![]() Join Date: Aug 2007
Location: The Lone Star State
Posts: 744 (0.35/day)
Thanks: 796
Thanked 620 Times in 370 Posts
|
Quote:
Thanks for laying this out for us SupremeOverlord. I have considered trying this in the past but wasnt sure if it was worth the effort but it looks promising considering my i7 860 is running @3.8 and your Quads performance is very close to it.
|
|
|
|
|
|
|
#14 | |
![]() Join Date: Dec 2008
Location: Elkhart, IN
Posts: 472 (0.29/day)
Thanks: 285
Thanked 234 Times in 135 Posts
|
Quote:
No problem. I would be interested in seeing the difference this would make on an i7, if it goes along with the same pattern as my quad did there should be a significant increase. |
|
|
|
|
|
|
#15 |
|
WCG Team Assistant
Join Date: Sep 2009
Location: North Carolina, US
Posts: 10,656 (7.93/day)
Thanks: 8,241
Thanked 9,321 Times in 4,259 Posts
|
I'll try this out in January, but I'm leaving for vacation tomorrow so I don't want to mess things up before I leave
__________________
Crunching (64 Threads + 896 CUDA Cores + 6272 Shaders): i3-2100@ 3.1 + HD7850 -- Atom D510 @ 1.66 -- C2D-M T9600 @ 2.8 -- i7-3612QM @ 2.8 -- i7-860 @ 2.9 + HD7950 -- i7-2700k @ 4.4 + 2xGTX470 -- PentDC-M T4200 @ 2.0 -- i7-920 @ 3.83 + 3xHD7770 -- DP Xeon E5420 @ 2.5 + HD7930 -- E1600 @ 2.4
|
|
|
|
|
|
#16 | |
|
WCG Team Captain
Join Date: Nov 2007
Location: Miami, Florida
Posts: 23,888 (11.93/day)
Thanks: 15,149
Thanked 12,311 Times in 7,776 Posts
|
Quote:
![]() Are you rigs going to be on? Just don't want to if your PPD drops all of the sudden. either way, have fun bro and be safe. Happy Holidays to you and your family!
|
|
|
|
|
|
|
#17 | |
|
WCG Team Assistant
Join Date: Sep 2009
Location: North Carolina, US
Posts: 10,656 (7.93/day)
Thanks: 8,241
Thanked 9,321 Times in 4,259 Posts
|
Quote:
__________________
Crunching (64 Threads + 896 CUDA Cores + 6272 Shaders): i3-2100@ 3.1 + HD7850 -- Atom D510 @ 1.66 -- C2D-M T9600 @ 2.8 -- i7-3612QM @ 2.8 -- i7-860 @ 2.9 + HD7950 -- i7-2700k @ 4.4 + 2xGTX470 -- PentDC-M T4200 @ 2.0 -- i7-920 @ 3.83 + 3xHD7770 -- DP Xeon E5420 @ 2.5 + HD7930 -- E1600 @ 2.4
|
|
|
|
|
| The Following User Says Thank You to [Ion] For This Useful Post: |
|
|
#18 | |
|
WCG Team Captain
Join Date: Nov 2007
Location: Miami, Florida
Posts: 23,888 (11.93/day)
Thanks: 15,149
Thanked 12,311 Times in 7,776 Posts
|
Quote:
|
|
|
|
|
|
|
#19 |
|
F@H Mod & 4P Enthusiust
Join Date: Aug 2007
Location: Tallahassee, FL. U.S.A.
Posts: 4,047 (1.92/day)
Thanks: 3,376
Thanked 2,907 Times in 1,474 Posts
|
Ok, we see the benchmarks, but has anyone seen a vested increase in their output with using the VM?
__________________
“I'll finally be able to drool over 8 gpu in one rig... And get sued by my wallet for violent physical damage...” -Feanor
|
|
|
|
|
|
#20 |
![]() Join Date: Dec 2008
Location: Elkhart, IN
Posts: 472 (0.29/day)
Thanks: 285
Thanked 234 Times in 135 Posts
|
|
|
|
|
|
|
#21 |
![]() Join Date: Dec 2009
Location: A Coruņa, Spain
Posts: 2,050 (1.64/day)
Thanks: 6,950
Thanked 2,643 Times in 1,136 Posts
|
I hope this isn't considered necro-posting, I haven't got the rule of thumb for deciding that yet. I just wanted to share my device statistics regarding this thread.
![]() Ninguishzida/test-PC are the same computer. The first one running linux, the second running windows. The runtime of both machines isn't equal, but the proportional difference speaks for itself. Unfortunately I don't have a similar set-up to the macbook to determine anything for that OS. Supporting Supreme0verlord's findings, linux returns almost double the amount of work units per runtime, although the actual PPD remains more or less the same. Going through the results page of my WCG stats, it is clear that linux is given less points per completed WU than windows, however the increased number of WU's completed makes up for that. So all in all both OS are more or less equal in PPD, albeit through different methods.
__________________
|
|
|
|
| The Following 2 Users Say Thank You to KieX For This Useful Post: |
|
|
#22 |
![]() Join Date: Dec 2008
Location: Elkhart, IN
Posts: 472 (0.29/day)
Thanks: 285
Thanked 234 Times in 135 Posts
|
I've actually found that my PPD is higher while running Ubuntu as my main OS.
![]() If I remember correctly, my quad had a hard time getting/staying over 2000 PPD in windows, but under Ubuntu, it seems to be higher. (Numbers are lower due to testing out new CPU) |
|
|
|
| The Following User Says Thank You to Supreme0verlord For This Useful Post: |
|
|
#23 |
|
habe fidem
Join Date: Apr 2009
Location: Northern CA
Posts: 6,603 (4.45/day)
Thanks: 2,269
Thanked 3,188 Times in 1,923 Posts
|
So this is a wash more or less?
__________________
|
|
|
|
|
|
#24 |
![]() Join Date: Dec 2008
Location: Elkhart, IN
Posts: 472 (0.29/day)
Thanks: 285
Thanked 234 Times in 135 Posts
|
Well I don't know about that, my 7-day average is the highest it's ever been since I've been running this. Plus you return alot more WU's per day, which is what counts right?
|
|
|
|
|
|
#25 |
![]() Join Date: Dec 2009
Location: A Coruņa, Spain
Posts: 2,050 (1.64/day)
Thanks: 6,950
Thanked 2,643 Times in 1,136 Posts
|
I suppose it may be that different computer hardware sees different levels of improvement. Clearly Supreme0verlord's AMD gets more benefit than my Intel for example. But even if I don't see an improvement in PPD, WCG benefits from more WU's being done.
At the expense of maybe sounding contradictory to my previous post: wether it is an increase of PPD or just more completed WU's Linux certainly presents some benefits over Windows. Not least the fact that if you have more than 1 computer crunching you don't need to keep buying licenses for each one. I suppose if more people who've tried this show their results Supreme0verloard (or myself if he doesn't want to) could compile a small chart/pro-con list for anyone new to this thread seeking information
__________________
|
|
|
|
| The Following 2 Users Say Thank You to KieX For This Useful Post: |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Strange whine while running F@H and WCG togeather | hat | Folding@Home | 14 | Oct 2, 2009 07:27 PM |
| 2 Wcg clients running??? | Papahyooie | World Community Grid (WCG) | 8 | Aug 8, 2009 01:39 PM |
| how do i get WCG running in ubuntu? | Fitseries3 | World Community Grid (WCG) | 2 | Jun 18, 2009 11:49 PM |
| Problems Running Ubuntu, please help | sampleera | Linux / BSD / Mac OS X | 4 | Apr 10, 2008 03:42 AM |
| DELL 1901FP monitor keeps running through self test | Ehstii | General Hardware | 9 | Jul 20, 2007 10:22 PM |