Visitors: 28808
Today: 157
Online
21 Visitors, 1 Member, 1 Moderator, 0 Administrator Online.

berserker29
noorman
Total : 23
Ads
Statistics

137 registered members

Latest member:
kofran

More statistics

Mini Poll
Thinking of GPUs, you...












Results

Shoutbox

Elledan: Maybe ;)

tjmagneto: Yep. I was in charge of our Women's Imaging dept before I decided to get out of management completely. Wonder if there was a connection- estrogen poisoning perchance?

toTOW: The power of hormones :whistle

tjmagneto: You two just can't behave, can you.

Elledan: Kay just can't stop touching me >.>

tjmagneto: I dropped by to say hi only to find that things are getting weirder than usual. I better grab a donut and get back to work before I get yelled at by Kay again.

Elledan: *wraps self around Kay's arm* Zzz~

KaySL: *pokes*

Elledan: *Zzzz~*

Elledan: *hides in Kay's pants*

KaySL: ToTOW's just lying so he can get into your pants, raZor. Run while you still can :O

raZor: Oh, thank god, that's a relief.

toTOW: Luckily, they aren't :hehe

raZor: Are all french ppl like Adams?

raZor: :D

Elledan: :D

KaySL: I'm assuming you mean girls other than Adams, hmm... I'll see what I can do :hmm:

Elledan: While you're at it, Kay, can you set me up on a date with a smart, attractive girl? :p

Adanorm: Hey ! If you choose my lovers, I wanna be paid for that ! :p (crazy Kay)

KaySL: Get back to work, tjmagneto! Stop taking cookie bribes in exchange for free CAT scans and the promise of being set up on a date with Adanorm :tehe:

tjmagneto: Elledan your Brain scan came out fine. I can't say the same about your 275 which I don't understand since mine keep purring (obligatory cat reference) despite the abuse I heap upon them.

Elledan: Well, I guess this GTX275 is a lost cause; it keeps crashing the driver back into 3D mode, without OC :(

KaySL: >_>
<_<
>_>

raZor: Wha ... I'm in the news?! you'll regret this Kay, no more watching TV, going out, nor harvesting souls of innocent people, you're grounded young lady ...

raZor: Finally got that duct tape off, Kay, if you do that one more time I'll ...


Refresh

Archives

Social networks
Facebook
Twitter
 
Rss VMware optimizations
Many folders in pursuit of absolute performance had the good idea to replace the rather slow and inefficient Windows SMP client with Linux SMP clients using virtual machines. In general, for a Quad core processor, they use two virtual machines, each having two physical processing cores. What about if we could run one VM on a quad core, and save half the RAM allocated to two VMs?

Because of the use of virtual machines, the SMP clients often come into conflict with the GPU client on the machine (the scheduling priorities for the virtual machine are identical to a normal program, and always above the GPU core regardless of the setting used in either client).

Here are two tricks to solve these two problems. These tips have been tested and validated on VMWare Workstation 6.5.2.

A virtual machine on 4 cores ... it’s possible!

When configuring the virtual machine, there are only two choices for the number of CPUs used by the VM: one or two. But did you know that VMWare has access to four CPUs unofficially?

In this example, the default storage of virtual machines is set to "F: \ Virtual Machines \". This setting is located in the Edit menu> Preferences> Workspace tab. If you left the default settings when creating the VM, it should store its files in "F: \ Virtual Machines \ Name_of_the_VM \". In this article, we shall call our VM "Ubuntu 64-bit". The configuration files will be stored in "F: \ Virtual Machines \ Ubuntu 64-bit \"

For the following, shut down your VM and quit VMWare.

Go to the folder containing your VM and open the configuration file with your favorite editor: In the example, "F: \ Virtual Machines \ Ubuntu 64-bit \ Ubuntu 64-bit.vmx" ( "VMWare virtual machine configuration" in the file type displayed in Windows Explorer, if windows is not set to display the file extension).

The number of CPUs available in the VM is set by the parameter "numvcpus" ... This parameter accepts values from 1 to 4. Beyond 4, your VM will not start. If your configuration file contains the parameter “maxvcpus”, check that this value is 4 (or delete the line).

To use a Quad core, we will therefore have:

Code :
 numvcpus = "4" 


If you use the latest version of VMWare (Workstation 6.5.2 or Player 2.5.2) but your VM was created with an earlier version, also change the following line:

Code :
 virtualHW.version = "7" 


Save the file and restart VMWare. You should see the new number of CPUs in the summary of the VM, as in the following screenshot:


Click to enlarge the image.




Set the priority of the virtual machine.

The second stage of optimization is to set the priority of VM. Remember to set your GPU clients to low (console) or slightly higher (systray) and the SMP client in the VM to idle in the advanced configuration section of the client.

To create a global priority setting (applied to all virtual machines by default), go to the Edit menu> Preferences> Priorities tab. Adjust the settings as the following screenshot:


Click to enlarge the image.




For simplicity, Grabbed means that your VM is selected or displayed, and Ungrabbed means it is not selected or displayed. To have a priority low enough not to affect the GPU client, you need to the VM to be in the Ungrabbed, for example by minimising VMWare to the taskbar.

If you do not want to set this globally (using anything other than global settings is not recommended), you can configure this in the options for each VM (Options tab, Advanced element). You can also edit your configuration file as in the previous example, and add the following lines:

Code :
 priority.grabbed = "normal" 
priority.ungrabbed = "idle" 


You should get this screen once the change has been taken into account:


Click to enlarge the image.

 
 
Note: No note
(0 note)
Written by: jmn, On: 08/14/09