How to configure the virtual machine that is used to run the database.

Source: Internet
Author: User

1, the Vcpus number is equal to or less than the physical core of a single physical CPU.

For example, a 4-way 8-core physical server that creates a virtual machine, the number of cores recommended for the virtual machines is 8 cores, or smaller.

2, the number of slots recommended "1"

3, the VRAM number of virtual machine is not higher than the number of NUMA node memory.

For example, the physical server is 4-Channel 8-core, 256G of memory, then the virtual machine memory should be (256-(256x4x0.01+1))/4x0.95 = 57GB

Formula: Memory per NUMA node = (number of physical memory-(number of physical memory XCPU slots x0.01+1g))/cpu slot x0.95

Simplified formula: Memory/CPU The number of slots, minus 10% margin.


This article is from "I'm Still alive" blog, please be sure to keep this source http://hujizhou.blog.51cto.com/514907/1619356

How to configure the virtual machine that is used to run the database.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.