05.08.2013 Views

[PDF] Parallels Server 5 Bare Metal

[PDF] Parallels Server 5 Bare Metal

[PDF] Parallels Server 5 Bare Metal

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Managing Memory Resources for Virtual<br />

Machines<br />

Managing Resources<br />

This section describes the process of managing memory resources for virtual machines.<br />

Configuring Main Memory Resources<br />

The main memory resources for virtual machines include the following:<br />

• main memory<br />

• video memory<br />

The process of managing these resources is described below.<br />

Configuring Main Memory<br />

To configure the amount of memory that will be available to the virtual machine, use the -memsize<br />

option of the pctl set command. The following session shows how to change the<br />

amount of memory for the MyVM virtual machine from 512 MB to 756 MB and to check that the<br />

new value has been successfully set:<br />

# pctl list -i MyVM | grep memory<br />

memory 512Mb<br />

# pctl set MyVM --memsize 756<br />

Set the memsize parameter to 756Mb<br />

The VM has been successfully configured.<br />

# pctl list -i MyVM | grep memory<br />

memory 756Mb<br />

You can configure the memory size for both running and stopped virtual machines.<br />

Configuring Video Memory<br />

To set the amount of video memory to be available to the virtual machine's video card, use the -videosize<br />

option of the pctl set command. Assuming that the current video memory size of<br />

the MyVM virtual machine is set to 32 MB, you can increase it to 64 MB by running the following<br />

command:<br />

# pctl set MyVM --videosize 64<br />

Set the --videosize parameter to 64Mb.<br />

The VM has been successfully configured.<br />

To check that the new value has been successfully set, use this command:<br />

# pctl list -i MyVM | grep video<br />

video 64Mb<br />

145

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!