Find the answer to your Linux question:
Results 1 to 4 of 4
I plan to use our RHEL6 server as a host for three virtual database servers. When allocating CPU and memory, how much do I need to retain for the the ...
  1. #1
    Just Joined!
    Join Date
    Dec 2010
    Posts
    1

    Virtual CPU allocation

    I plan to use our RHEL6 server as a host for three virtual database servers.

    When allocating CPU and memory, how much do I need to retain for the the host?

  2. #2
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,100
    No idea.
    I guess, you are the best to tell
    As you know the setup and applications you intend to use.


    In general:
    Virtualization and databases dont mix so well,
    as DBs usually need any performance they can get.

    That said, for a test or development setup it might be sufficient.
    You must always face the curtain with a bow.

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Assuming that these aren't enterprise class databases, but are relatively small and not performance critical (see Irithori's comment), then it depends upon what load the host will be handling, aside from the virtual machines. In my case, I typically allocate 1 CPU/Core per VM, and 1-2GB of RAM. I have an 8-core 3GHz system w/ 8GB of RAM and don't run more than 2 VM's at a time on it, especially since it is also my development workstation. FWIW, disc I/O is the biggest Linux performance hog. The latest kernel has done a lot, from what I hear, to help deal with that as far as impact upon front-end processes, but since I am still running a CentOS 5 system (same as RHEL 5), that doesn't help me a lot.

    So, three virtual DB servers? You should have a 4-8 core host w/ 8-16GB of RAM, and put the virtual disc images on separate host drives if you can. Ditto for disc controllers, though that is sometimes difficult. Do make sure they are not on your drive that has your host system swap and other system space.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  4. #4
    Just Joined!
    Join Date
    Apr 2008
    Posts
    1
    Hi,

    For the host, 512 MB will be OK. Usually, the host does not run applications except some small ones to control the VM servers hosted.
    Give the remaining memory to hosts !

    Cheers,
    JJ

Posting Permissions

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