|
|
|
|
Thread Tools |
|
|
#1 | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Dec 2001
Location: Canuckistan
|
Multi VM SMP Guide
This guide is for anyone running dual or quad-core setups that need windows as their main OS, but want more PPD than the windows SMP client can provide. The reason for this is that the linux client is more effecient(even through a VM) and also the linux client has access to A2 WUs which seem to provide much better throughput and thus more PPD. Before i begin i'd like to make a couple of notes. If you can at all, it is better to run linux as your main OS as you remove the overhead of the VM, obviously getting even better output. Now results may vary with systems and time, after going through this myself, i went from 1100ppd to 3-4k ppd, not a trivial increase. One more thing, make sure you have the ram for this. Each of my VMs uses between 550-650mb of ram. Also, while this guide uses Ubuntu 8.04, you can use any linux distro. Ubuntu is not the lightest choice, but it is the simplest to get setup on. For those that wont to setup a VM in order to clone across multiple systems, a slimmer Linux install might be better as you can get away with much less than a 5gb disk to install the OS on. System requirements 1.5GB of Ram 15GB HDD Space (using Ubuntu 8.04) All your cpu cycles! ![]() The basic process goes something like this :
The Stuff You Need Both VmWare and Ubuntu are big downloads. VmWare is a little over 100mb, Ubuntu is around 700mb. Will give you lots of time to skim through the guide once or twice.
What To Do With The Stuff
Copying Your Stuff Now that the hard part is over with, we're almost done, the last step is to make a copy of your new VM.
Appendix I - Windows Vista 64-bit notes Quote:
Quote:
Quote:
__________________
Multi VM/SMP Folding Guide | Ram Timing Guide | Folding working on Alzheimer's cure GPU Countdown to new years - Fold for a cure! Asus M3A79-T ~ Phenom 9850 ~ Cell Shock DDR-1066 ~ HIS HD4850 Phenom 9850 Rank : PiFast (1st) | wPrime32 (1st) | wPrime1024 (1st) | SPi1M (1st) | SPi32M (2nd)
Last edited by Cluster; 12-27-08 at 12:38 AM. |
|||
|
|
|
|
|
#2 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Thats Great Cluster, thanks for making an easy to understand Multi VM Guide Gets my Vote to be Added to our Install F@H Sticky
__________________
MyHeat Jolly's CM-690 Rig E8500@4,0Ghz(422x9.5) | GA-X48T-DQ6 |DDR3 4GB GSkill Ripjaws 8-8-8-27|Evga-GTX-295 +9800GT |EA-750W |Sata250 + 320GB | BenQ e2200HD 1080p OS-Win7 Ultimate x64<- Folding-SMP2 + 3xGPUv2 Jolly's QUAD CORE Bench Q6600@3.2GHz(8x400)|GAP35DS3L|DDR2-2Gig Dominator6400-4-4-4-12|XFX-7600GT|EA500W|DVDRWLiteon|Sata250GB|OCZVendetta2+H R05NB OS-XPProSP3<- Folding-SMP2 My C2D Office PC E8400@3.0Ghz|GAG31MS2L|4GigXMS2Pro6400C5-800-5-5-5-18|ION2-550W/|Evga-8800GTX|ACFrezzer7Pro+NB-HSF|Viewsonic-VA703B x2 OS-Win7 Pro x64<-Folding-SMP2+GPUv2->Folding for my Parents for a Cure! The Milestone Thread 4.0 | Jolly's CM-690 Case Mod | The Sled Acrylic Tech Bench |
|
|
|
|
|
#3 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Apr 2004
Location: Atlanta
|
A couple of things need clarification: 1. Whichever version of Ubuntu (7.10, 8.04 or 8.10) you install, it MUST be 64 bit. One of the more common errors in Linux installs is using a 32 bit version. 2. The command to install the 32 bit math library is sudo apt-get install ia32libs. You're spot on with the rest. Some folks may find it easier to configure samba and the host name through the menu system. For instance, navigating to the fah folder using places (nautilus) and right clicking on the fah folder, select sharing options , check share this folder, allow others to write to this folder, will cause samba to install automatically. host name can be changed going through the networking menu under administration. Another picky little item is the correct version of VMware is 1.0.8, not 1.8. If you've started the fah client in VM1 before copying it to VM2, you will need to erase the work dir, queue.dat and machinedependent.dat in the fah directory of VM2 prior to starting fah in VM2.
__________________
16 Quads, 3 C2Ds, 3 SC, 20 GPUs and some friends and family. Many thanks to HayesK for his support. |
|
|
|
|
|
#4 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Sep 2004
Location: @Home... Folding@Home
|
Great work Cluster! Very easy to follow! ![]() Don't forget about the added benefit on Core 2 Quad cpus: - set the affinity to 0/1 for the first vmware-vmx.exe process - set the affinity to 2/3 for the second vmware-vmx.exe process. This does give a small, but easily obtainable, boost to performance on a Core 2 Quad rigs that runs 2xVMs exclusively. Also, I recommend setting VM priority to Low as a default practice. Doing so will yield better usability from the rig. If the rig is a dedicated machine then it may not matter so much, but if other tasks are performed setting the priority to Low will result in a much more transparent Folding experience. Last suggestion, throw some Color... and some Larger sized fonts in there for section headers. ![]() |
|
|
|
|
|
#5 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Dec 2001
Location: Canuckistan
|
Did some touchups to highlight the need for 64-bit and on not running the fah config until both VMs are setup. ChasR: according to ubuntu 8.04 its ia32-libs\ More touchups, added notes that Windows Vista 64-bit users need to be aware of. Im also thinking of reviving a custom linux distro to make this so much easier. I know Arkaine had Overclockix, derived from knoppix for setting up fah clients of all sorts. But i dont know if it ever got taken to this level, we were still in the uniproc/unicore days then. A custom distro that was merely 'zipped' and packaged for vmware installs would be much easier and faster. Although it would likely be a CLI only setup, there's really not that many commands to setting it up. Biggest part is maintaining it i suppose.
__________________
Multi VM/SMP Folding Guide | Ram Timing Guide | Folding working on Alzheimer's cure GPU Countdown to new years - Fold for a cure! Asus M3A79-T ~ Phenom 9850 ~ Cell Shock DDR-1066 ~ HIS HD4850 Phenom 9850 Rank : PiFast (1st) | wPrime32 (1st) | wPrime1024 (1st) | SPi1M (1st) | SPi32M (2nd)
Last edited by Cluster; 11-28-08 at 11:09 AM. |
|
|
|
|
|
#6 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Sep 2004
Location: @Home... Folding@Home
|
I believe that's correct as well... but the other correction is still necessary: > sudo apt-get install ia32-libs |
|
|
|
|
|
#7 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Dec 2001
Location: Canuckistan
|
__________________
Multi VM/SMP Folding Guide | Ram Timing Guide | Folding working on Alzheimer's cure GPU Countdown to new years - Fold for a cure! Asus M3A79-T ~ Phenom 9850 ~ Cell Shock DDR-1066 ~ HIS HD4850 Phenom 9850 Rank : PiFast (1st) | wPrime32 (1st) | wPrime1024 (1st) | SPi1M (1st) | SPi32M (2nd)
|
|
|
|
|
|
#8 | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Sep 2004
Location: @Home... Folding@Home
|
Quote:
http://reilly.homeip.net/folding/vm.html Really the VM is just a repackage of notfred's Diskless CD or USB setup- both of which work very well btw. We don't have a large contingent, but there are a couple folks on the Team who do use notfred's Diskless approach as well. |
|
|
|
|
|
|
#9 |
![]() ![]() ![]() ![]() ![]() Join Date: Oct 2007
Location: Folding@Philippines
|
I installed Xubuntu 8.10 on VM yesterday and I had problems doing the sudo apt-get install ia32-libs which i had done before when i used to be folding in 2xVM. Got it to work by doing sudo apt-get update before doing sudo apt-get install ia32-libs. Might help some who might get the same problem. ![]()
__________________
Intel C2Q Q9550 @ 2.8Ghz (1.1v) | Thermalright Ultra 120 Extreme | GSkill 2x2Gb ddr2-1066 Gigabyte GA-P35-DS3P v1.1 | Thermalright HR-05 IFX | MSI 8800GTS 512MB Corsair HX620 | Cooler Master CM690 | Creative Sound Blaster X-Fi Xtrememusic Last edited by jintatsu; 12-04-08 at 09:05 AM. |
|
|
|
|
|
#10 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Sep 2004
Location: @Home... Folding@Home
|
bump... this doesn't need to get lost. Needs added to our Install Sticky, replacing LeeLegend's aging Ubuntu VM install guide. Mods ![]() |
|
|
|
|
|
#11 |
![]() ![]() ![]() ![]() ![]() ![]() Join Date: May 2002
Location: Roanoke, TX
|
It's good to note that you can, if you'd like, use Debian or another distro. I'm setting this up right now (finally) with Debian 4.0r5 without X to save overhead. My standard Kubuntu installation was losing 15% of CPU resources to Xorg so I'm really wanting my VMs to have more power.
__________________
Desktop Rig - Q6600 @ 2.8GHz; Xigmatek HDT-S1283; 8GB G.skill; 320GB WD; PNY GeForce 9800GT 512MB; Windows 7 (7000) x64. Fold for Team 32 |
|
|
|
|
|
#12 |
![]() ![]() ![]() ![]() ![]() ![]() Join Date: May 2002
Location: Roanoke, TX
|
Code:
[15:41:08] - Calling './mpiexec -np 4 -host 127.0.0.1 ./FahCore_a2.exe -dir work/ -suffix 01 -checkpoint 15 -forceasm -verbose -lifeline 2740 -version 602' Corroboration of this: top reports four instances of FahCore_a2 in each VM. So, am I getting screwed over because mpiexec is calling all four cores in each VM? I can edit my mpi config to only allow 2 in each... just want to know if anyone else has investigated this.
__________________
Desktop Rig - Q6600 @ 2.8GHz; Xigmatek HDT-S1283; 8GB G.skill; 320GB WD; PNY GeForce 9800GT 512MB; Windows 7 (7000) x64. Fold for Team 32 |
|
|
|
|
|
#13 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jan 2006
|
As I understand it, SMP currently always uses 4 threads, regardless of whether it's on a dual-core, a quad, or my 8 core server - in Windows, or in Linux, that's what I see. Those 4 threads are virtualized across the available physical cores. So on a C2D, it's just two, a quad has it going across all 4 cores, and on my server, it runs across all 8 cores. Always with 4 FAH threads. That's what it does natively, w/o VM. With VM, (the free edition), all the threads will be virtualized to two physical cores, regardless. That's all the client can reach, because of the VM. So it's working to your benefit. |
|
|
|
|
|
#14 |
![]() ![]() ![]() ![]() ![]() ![]() Join Date: May 2002
Location: Roanoke, TX
|
Yeah, I'm seeing that now... Windows tells me each VM is using 50% of total CPU available so that makes sense. Cool. Thanks for the clarification, Adak ![]()
__________________
Desktop Rig - Q6600 @ 2.8GHz; Xigmatek HDT-S1283; 8GB G.skill; 320GB WD; PNY GeForce 9800GT 512MB; Windows 7 (7000) x64. Fold for Team 32 |
|
|
|
|
|
#15 | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: May 2005
Location: 71 miles N.E. up the freeway from Newegg- Main Office.
|
Quote:
Notfred's is great, I'm not running notfred's VMs right at the moment, but very quick n' easy to throw a notfred's VM into action...keep one on a stick. Yea, monitoring is easiest just through a web browser, bookmarking the logfile.text.
__________________
Team 32 Folding Mentor- go ahead and ask me! "You're only given a little spark of madness. You mustn't lose it.” -- Robin Williams Heat |
|
|
|
|
|
|
#16 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Dec 2001
Location: Canuckistan
|
*bump*sticky*bump*
__________________
Multi VM/SMP Folding Guide | Ram Timing Guide | Folding working on Alzheimer's cure GPU Countdown to new years - Fold for a cure! Asus M3A79-T ~ Phenom 9850 ~ Cell Shock DDR-1066 ~ HIS HD4850 Phenom 9850 Rank : PiFast (1st) | wPrime32 (1st) | wPrime1024 (1st) | SPi1M (1st) | SPi32M (2nd)
|
|
|
|
|
|
#17 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Dec 2001
Location: Canuckistan
|
bumpage
__________________
Multi VM/SMP Folding Guide | Ram Timing Guide | Folding working on Alzheimer's cure GPU Countdown to new years - Fold for a cure! Asus M3A79-T ~ Phenom 9850 ~ Cell Shock DDR-1066 ~ HIS HD4850 Phenom 9850 Rank : PiFast (1st) | wPrime32 (1st) | wPrime1024 (1st) | SPi1M (1st) | SPi32M (2nd)
|
|
|
|
|
|
#18 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Apr 2004
Location: Atlanta
|
Cluster, I noticed another edit you need to make The guest OS should be Ubuntu 64 bit for an Ubuntu VM rather than Other 64 bit. I'm not sure it makes a difference, but if it didn't, why would there be so many selections?
__________________
16 Quads, 3 C2Ds, 3 SC, 20 GPUs and some friends and family. Many thanks to HayesK for his support. |
|
|
|
|
|
#19 | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Sep 2004
Location: @Home... Folding@Home
|
Quote:
|
|
|
|
|
|
|
#20 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Dec 2001
Location: Canuckistan
|
Oh, cool, i didnt think there would be one in there. I suppose regardless one should be picking Linux-64bit. I think the difference might be for the VMWare Tools package. With Other-64bit i cant install them, but they should be installable with linux. Gonna switch mine over and see if thats the case.
__________________
Multi VM/SMP Folding Guide | Ram Timing Guide | Folding working on Alzheimer's cure GPU Countdown to new years - Fold for a cure! Asus M3A79-T ~ Phenom 9850 ~ Cell Shock DDR-1066 ~ HIS HD4850 Phenom 9850 Rank : PiFast (1st) | wPrime32 (1st) | wPrime1024 (1st) | SPi1M (1st) | SPi32M (2nd)
|
|
|
|
|
|
#21 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: May 2004
Location: Ontario, Canada
|
Just a note: When setting up in the past, i used "Other-64bit" and had no issues. ![]() |
|
|
|
|
|
#22 |
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Feb 2005
Location: Folding in Co. Louth, Ireland
|
Excellent guide, worked perfectly! Sticky!
__________________
AMD Opteron 180 @ 2.700GHz (225x12),, DFI LanParty Ultra-D,, G.Skill 2GB (2x1024MB) DDR500 @ 225MHz,, XFX 8800GTS 512MB,, Corsair TX650W,, MCP655->MCR220->Apogee GT->MCW60->MicroRES,, 2x WD CaviarSE16 500GB--RAID0,, NEC DVD±RW,, Modded Jeantech Light Fusion Folding for Team32 Friends don't let friends quit Folding -ihrsetrdr HEAT |
|
|
|
|
|
#23 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Dec 2001
Location: Canuckistan
|
Made an update that corrects a clock synchronization issue. For those that have installs already, if your VM guest clock is running slow try adding this to the kernel command line boot paramaters clocksource=acpi_pm The file for boot options in ubuntu 8.04 is in /boot/grub/menu.lst at the bottom of the file, add it to the end of the kernel line for the first option.
__________________
Multi VM/SMP Folding Guide | Ram Timing Guide | Folding working on Alzheimer's cure GPU Countdown to new years - Fold for a cure! Asus M3A79-T ~ Phenom 9850 ~ Cell Shock DDR-1066 ~ HIS HD4850 Phenom 9850 Rank : PiFast (1st) | wPrime32 (1st) | wPrime1024 (1st) | SPi1M (1st) | SPi32M (2nd)
|
|
|
|
|
|
#24 |
![]() ![]() ![]() ![]() ![]() ![]() Join Date: May 2002
Location: Roanoke, TX
|
Cluster: that's a great bit of info! I had been doing a "date --set" every time I rebooted my VMs to ensure the correct time... one less thing to do manually is nice ![]()
__________________
Desktop Rig - Q6600 @ 2.8GHz; Xigmatek HDT-S1283; 8GB G.skill; 320GB WD; PNY GeForce 9800GT 512MB; Windows 7 (7000) x64. Fold for Team 32 |
|
|
|
|
|
#25 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Dec 2001
Location: Canuckistan
|
ttt
__________________
Multi VM/SMP Folding Guide | Ram Timing Guide | Folding working on Alzheimer's cure GPU Countdown to new years - Fold for a cure! Asus M3A79-T ~ Phenom 9850 ~ Cell Shock DDR-1066 ~ HIS HD4850 Phenom 9850 Rank : PiFast (1st) | wPrime32 (1st) | wPrime1024 (1st) | SPi1M (1st) | SPi32M (2nd)
|
|
|
|
|
|
#26 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Dec 2001
Location: Canuckistan
|
bump
__________________
Multi VM/SMP Folding Guide | Ram Timing Guide | Folding working on Alzheimer's cure GPU Countdown to new years - Fold for a cure! Asus M3A79-T ~ Phenom 9850 ~ Cell Shock DDR-1066 ~ HIS HD4850 Phenom 9850 Rank : PiFast (1st) | wPrime32 (1st) | wPrime1024 (1st) | SPi1M (1st) | SPi32M (2nd)
|
|
|
|
|
|
#27 |
![]() ![]() ![]() Member Join Date: Apr 2008
|
great post buddy |
|
|
|
|
|
#28 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Dec 2001
Location: Canuckistan
|
Rewrote the guide, should be a little easier to follow, broke things up into lists instead of the mass of text. Also added the Vmware tools guide from the_cultie's post in another thread.
__________________
Multi VM/SMP Folding Guide | Ram Timing Guide | Folding working on Alzheimer's cure GPU Countdown to new years - Fold for a cure! Asus M3A79-T ~ Phenom 9850 ~ Cell Shock DDR-1066 ~ HIS HD4850 Phenom 9850 Rank : PiFast (1st) | wPrime32 (1st) | wPrime1024 (1st) | SPi1M (1st) | SPi32M (2nd)
|
|
|
|
|
|
#29 |
![]() ![]() ![]() ![]() Member Join Date: Sep 2008
Location: Mirabel, Quebec, Canada
|
I'm confused here, in the guide it says to grab the 64 bit distro but it's called xxx-amd64.iso at the Ubuntu site. Can I use this with an Intel processor? The i386 that is currently installed is probably 32 bit as I couldn't get SMP running though the single runs just fine but slowly at 16.5 min./frame. Is there a simple way to check like Windows' rht-clk computer to know what I have as I can't find the command. Thanks guys.Oh, VMWare says it's x64 using ubuntu 64 bit.vmx
__________________
i7 930 @ 3.8 GHz, eVGA X58 3XSLI, Corsair DDR-3 1600 6GB Dominator, GTX470 and GTX260 Q6600 @ 3.07GHz, ASUS P5Q Pro, 4 GB RAM, 2x eVGA 9800GT @ 1800 shaders, W7 Ult X64, SMP2 Last edited by augie1111; 12-25-08 at 04:17 PM. |
|
|
|
|
|
#30 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Dec 2001
Location: Canuckistan
|
amd64 is often used to reference 64-bit OSes, it just means 64-bit, and it will work just fine on intel processors, even if intel hates the naming convention ![]()
__________________
Multi VM/SMP Folding Guide | Ram Timing Guide | Folding working on Alzheimer's cure GPU Countdown to new years - Fold for a cure! Asus M3A79-T ~ Phenom 9850 ~ Cell Shock DDR-1066 ~ HIS HD4850 Phenom 9850 Rank : PiFast (1st) | wPrime32 (1st) | wPrime1024 (1st) | SPi1M (1st) | SPi32M (2nd)
|
|
|
|
| Thread Tools | |
|