0

We are running a physical server that is not fully utilized. The task is to move this server to a VM. However, I am not sure how many cores and RAM to allocate to the VM. I know I can scale later, but my boss requires a cost estimate and I need as accurate an estimate as possible.

The server is running SAR, but I'm having a hard time coming up with an accurate estimate based on that.

So the question: What is the common way to determine how many cores and RAM a VM will need for the services (web server, database) to continue running smoothly in the new environment?

manifestor
  • 5,329
  • 5
  • 21
  • 33
  • 2
    Just observe/monitor how much resources are currently used on the bare metal and provide that much into the VM, adding something like 10% for virtualisation inefficiency and for spike usage? – Nikita Kipriyanov Aug 31 '21 at 14:19
  • 1
    Except *don't* do that for CPU. If you're not CPU bound, or if you're not amazingly multi-threaded, don't overprovision vCPU cores. And consider running two VMs, one for the webserver and one for the database. Don't run them on the same OS instance. – mfinni Aug 31 '21 at 15:43

0 Answers0