Multi-core SMP in VMWare 1.08 Installation Guide
Folding@Home related discussion. Join the PROnetworks Folding@Home team.

Moderators: Forum Experts, Management

Forum rules & guidelines
Welcome to our modest though robust team of folders! You are all more than welcome to join us or ask specific questions about how to go about folding but please start a new thread to post your questions, this way nothing of importance will be lost and everyone here will help you out.

If you just want to chat folding then the Folding@Home Home thread will be great!

Multi-core SMP in VMWare 1.08 Installation Guide

Postby augie on Fri Jan 02, 2009 1:49 pm

This is a guide for people who are already running GPU2 folding on Windows and still have quite a few cycles to mop up on other cores.

What is required

Download VMWare Server 1.08 binary package (146MB) Make sure to register to get your serial key and activate your account.
Download Ubuntu 8.04 LTS making sure you choose the 64 bit option, the file should read "ubuntu 8.04.1-desktop-amd64.iso Don't worry if you have an Intel CPU, this works on both platforms and don't ask me why they named it as such.;) (700MB) Burn the ISO to CD using your burning application or you can grab a nice small and free application like ImgBurn I also recommend Ubuntu 8.04 as it's faster by %30 than the 8.10(latest release) at the moment for folding.

Oh, enable vitualization in BIOS if applicable to you.

Installation

The VMWare installation is an easy wizard though will take as long as 15 minutes, just make sure you choose Linux-Ubuntu 64 from the dropdown list, the bridged ethernet option, 768MB of memory and hit the '2 processors' radio button and give 5GB for the installation, here's what the settings option in the VM tab should look like:

Image

Start the VM, go to task manager find the vmware-vmx.exe entry, rght-clk/Set Affinity and click off cores 2 and 3 on a quad, then OK out. You will have to do this every time you reboot the host. Then install the default Ubuntu ISO entering the appropriate info when required. It'll also take about 15 or 20 minutes.

Time to install the math library from the 'terminal'. You can find that under Applications/Accessories. Works much like the Command Prompt in Windows.

Code: Select all
sudo apt-get install ia32-libs


Open FF and go and grab Linux (x86) and BSD *combined uniprocessor and SMP client* (64-bit required for SMP) If all goes well, then you'll see a xxx.tar.gz file on your desktop.

Double click it and extract it to /home/your username/folder of your choice, I use a short folder name for ease of typing:

Image

Use Terminal to navigate to your folder, this is for my setup:

cd folding (commands are case sensitive)
cd FAH
"./fah6 -smp -forceasm -verbosity 9" without the quotes to start the client. Don't forget the space between each term. (I have to find the ASCII character for a space, it's a 'b' with a slash through it.)

OK, so you now got it going on your quad! :cool: ^*^ Just one step left to get the PPD maximized is to set the affinity in the Task Manager for your VMWare, click on 'Show processes from all users' right-click vmware.exe and choose affinity to either cores 0/1 or 2/3. That's it man!

Happy folding!


BTW, comments/constructive criticisms are very welcome as I write this. :yesnod: Also, I'l be expanding this tutorial at a later date so that less experienced users can get VMWare folding up and running with more detailed instructions and screenshots.:)
Everything that irritates us about others can lead us to an understanding of ourselves. -- Carl Jung

P5Q-Pro, Q6600@3.07GHz, 4X 1GB PC8500, 2X eVGA 9800GT @1800 shaders,W7 X64 Ult.
A8N-E, X2 3800+, 2X 512MB, eVGA GTX 260-216 @ 1550 shaders, XP Pro X86
User avatar
augie
Community Director
 
Posts: 13631
Joined: Sun Aug 25, 2002 8:55 pm
Location: Laurentians, Quebec

Re: Multi-core SMP in VMWare 1.08 Installation Guide (WIP)

Postby SonicSpeed on Sat Jan 03, 2009 6:52 pm

Last I checked though you cannot run a 64-bit guest from within a 32-bit host.
Image
Image
User avatar
SonicSpeed
PRO Level 18
PRO Level 18
 
Posts: 2763
Joined: Mon Jun 07, 2004 12:46 pm
Location: Oregon, 'or-i-g&n
Real Name: Brian Lawhorn

Re: Multi-core SMP in VMWare 1.08 Installation Guide (WIP)

Postby augie on Sun Jan 04, 2009 1:28 pm

SonicSpeed wrote:Last I checked though you cannot run a 64-bit guest from within a 32-bit host.


You would normally be correct, however you can run an X64 as it runs inside a virtual machine running under Windows Vista X86 in this case.
Everything that irritates us about others can lead us to an understanding of ourselves. -- Carl Jung

P5Q-Pro, Q6600@3.07GHz, 4X 1GB PC8500, 2X eVGA 9800GT @1800 shaders,W7 X64 Ult.
A8N-E, X2 3800+, 2X 512MB, eVGA GTX 260-216 @ 1550 shaders, XP Pro X86
User avatar
augie
Community Director
 
Posts: 13631
Joined: Sun Aug 25, 2002 8:55 pm
Location: Laurentians, Quebec

Re: Multi-core SMP in VMWare 1.08 Installation Guide

Postby augie on Thu Jan 22, 2009 3:29 pm

OK, I cleaned this guide up, so it's back up here and as said above I'll be making this more friendly for folks who have never used Linux before. (It's not that hard.;)) I now have Windows 7 loaded up and working and will be making the rest of the 'user friendlier' guide from there as it will work in Vista and XP also. Again, please post your experiences or criticisms or corrections. Thank you.:)

WTF! ^*^ (Erm, that term should only be used in the DC forum for obvious reasons. :whistle )

Way To Fold everybody!!! ^*^
Everything that irritates us about others can lead us to an understanding of ourselves. -- Carl Jung

P5Q-Pro, Q6600@3.07GHz, 4X 1GB PC8500, 2X eVGA 9800GT @1800 shaders,W7 X64 Ult.
A8N-E, X2 3800+, 2X 512MB, eVGA GTX 260-216 @ 1550 shaders, XP Pro X86
User avatar
augie
Community Director
 
Posts: 13631
Joined: Sun Aug 25, 2002 8:55 pm
Location: Laurentians, Quebec

Re: Multi-core SMP in VMWare 1.08 Installation Guide

Postby augie on Sat Feb 28, 2009 10:55 am

Guide has been updated.

Change log:

Added the following line:

Start the VM, go to task manager find the vmware-vmx.exe entry, rght-clk/Set Affinity and click off cores 2 and 3 on a quad, then OK out. You will have to do this every time you reboot the host.


Assigning affinity improved my production by %20 :shocked: ^*^

Added the -forceasm flag to the start up command string, this will clean up your logs somewhat:

Code: Select all
./fah6 -smp -forceasm -verbosity 9
Everything that irritates us about others can lead us to an understanding of ourselves. -- Carl Jung

P5Q-Pro, Q6600@3.07GHz, 4X 1GB PC8500, 2X eVGA 9800GT @1800 shaders,W7 X64 Ult.
A8N-E, X2 3800+, 2X 512MB, eVGA GTX 260-216 @ 1550 shaders, XP Pro X86
User avatar
augie
Community Director
 
Posts: 13631
Joined: Sun Aug 25, 2002 8:55 pm
Location: Laurentians, Quebec

Re: Multi-core SMP in VMWare 1.08 Installation Guide

Postby yeshuas on Sat Mar 28, 2009 10:16 am

I have dual gigabyte lan on my MB, is there a way to assign its own lan instead of using the bridged
Game Over!!!!!!!!
Image
P5Q Deluxe MB
Vista Ultimate 64 Bit; Vista Ultimate X86; Windows 7 X86; Windows 7 X64
Q6600 Core 2 Quad w/CNPS9500-LED cooler
4GB Corsair XMS2-PC6400C5 DHX w/heat spreaders
eVGA GeForce GTX 260 216 processing cores 896MB GDDR3
Thermaltake 750W ToughPower modular cabled PS
2-750Harddrive Raid 0
Lian-Li V1000B Plus Case
User avatar
yeshuas
Support Team
 
Posts: 4648
Joined: Wed Jan 17, 2007 10:29 am
Location: Chicago, IL
Real Name: Daniel Schmidt

Re: Multi-core SMP in VMWare 1.08 Installation Guide

Postby imnuts on Sun Mar 29, 2009 2:09 pm

yeshuas wrote:I have dual gigabyte lan on my MB, is there a way to assign its own lan instead of using the bridged


I think the only thing you can really do is change which LAN/network adapter the bridged network connects over. I don't think there is a way to have it use the specific device.
Image
User avatar
imnuts
Software Development
 
Posts: 9944
Joined: Wed Mar 24, 2004 12:19 am
Location: Boothwyn, Pennsylvania
Real Name: Mark

Re: Multi-core SMP in VMWare 1.08 Installation Guide

Postby augie on Mon May 11, 2009 11:31 am

Updated! Following was added for your folding pleasure.:)

OK, so you now got it going on your quad! :cool: ^*^ Just one step left to get the PPD maximized is to set the affinity in the Task Manager for your VMWare, click on 'Show processes from all users' right-click vmware.exe and choose affinity to either cores 0/1 or 2/3. That's it man!
Everything that irritates us about others can lead us to an understanding of ourselves. -- Carl Jung

P5Q-Pro, Q6600@3.07GHz, 4X 1GB PC8500, 2X eVGA 9800GT @1800 shaders,W7 X64 Ult.
A8N-E, X2 3800+, 2X 512MB, eVGA GTX 260-216 @ 1550 shaders, XP Pro X86
User avatar
augie
Community Director
 
Posts: 13631
Joined: Sun Aug 25, 2002 8:55 pm
Location: Laurentians, Quebec


Return to Distributed Computing

Who is online

Users browsing this forum: No registered users and 0 guests