Calculation of reserved host memory and CPU allocation ratio for HCI servers