Results 1 to 2 of 2

Thread: KVM memory & CPU allocation

  1. #1
    Join Date
    Feb 2011
    Location
    Oxford. UK
    Beans
    84
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    KVM memory & CPU allocation

    Hi all,

    I'm just trying to to learn my way around KVM and using virt-manager. I was just wondering - if I set Max Memory Allocation to 8192MB and Current Allocation to 2048MB for example, will the VM automatically take more memory if it needs it and release it when it's not needed? Same with CPU allocation - if i set max allocation to 8 virtual CPUs and current allocation to 2 ....

    Thanks,
    JB

  2. #2
    Join Date
    Mar 2010
    Location
    Metro-ATL
    Beans
    Hidden!
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: KVM memory & CPU allocation

    Try it and let us know please. I'm curious too.
    http://libvirt.org/formatdomain.html...sCPUAllocation
    http://libvirt.org/formatdomain.html...moryAllocation

    Relatively speaking, CPU and RAM are cheap, not worth risking stability over aggressive settings when the workload changes.
    Since I don't use swap for most of my VMs, it just isn't worth it.
    Last edited by TheFu; May 14th, 2014 at 11:39 AM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •