Saturday, May 15, 2010

Virtualization: Configuring Memory Allocation

Click Here For Free Windows Downloads
mywindowsdownloads.blogspot.com

Click here for all Free Linux Downloads



Blog address for Linux in Hindi

Configuring Memory Allocation


You can use virsh to modify a domain's memory allocation:


virsh setmem [domain-id | domain-name] [count]


You must specify the [count] in kilobytes. Note that the new count cannot exceed the amount you specified when you created the Virtual Machine. Values lower than 64 MB probably won't work. You can adjust the Virtual Machine memory as necessary.

Configuring Maximum Memory


You can use virsh to modify a Virtual Machine's maximum memory:


virsh setmaxmem [domain-name | domain-id | domain-uuid] [count]


You must specify the [count] in kilobytes. Note that the new count cannot exceed the amount you specified when you created the Virtual Machine. Values lower than 64 MB probably won't work. The maximum memory doesn't affect the current use of the Virtual Machine (unless the new value is lower which should shrink memory usage).

This was all about virtualization.

No comments:

Post a Comment