Post

How to Upgrade and Downgrade CPU/Memory in Arcfra

How to Upgrade and Downgrade CPU/Memory in Arcfra

⚙️ Managing VM Resources: CPU and Memory Scaling in Arcfra

Resource scaling is a common task in daily infrastructure operations — whether you’re boosting performance for a production workload or downsizing to free up capacity. Arcfra Enterprise Cloud Platform provides an intuitive and powerful way to upgrade or downgrade CPU and memory allocations on running virtual machines (VMs).

In this article, we’ll go through:

  1. How to upgrade CPU and memory for a VM
  2. How to downgrade resources safely
  3. What to consider when resizing a VM (live or offline)

📈 1. Upgrading CPU and Memory for a VM

Upgrading is typically done when your application needs more compute power or memory to handle growing workloads.

🔹 Steps:

  1. Login to the Arcfra dashboard.
  2. Navigate to Cluster → VM List, then select your target VM.
    Desktop View

  3. Click on the VM name to open its details.
    Desktop View Desktop View

  4. Click Edit → Edit Basic Information or select the Edit icon on Basic Information menu.
    Desktop View Desktop View

  5. Adjust the values:
    • Increase the number of vCPUs
    • Increase the Memory in MB or GB
      Desktop View
  6. Click Save to apply the change. Desktop View Desktop View

🟢 Live resize is supported for many Linux distros and some Windows versions. For critical systems, always schedule a maintenance window.

Note : If your CPU /Memory not changed after upgrade, please run this command to trigger the upgrade

  • find /sys/devices/system/cpu/ -type f -name "online" -exec sh -c 'echo "1" > "$0"' {} \;
  • dmesg | grep -i "hotplug"
  • find /sys/devices/system/memory/ -type f -name "state" -exec sh -c 'echo online > "$1"' _ {} \;
  • grep -H . /sys/devices/system/memory/memory*/state
  • ls /sys/devices/system/memory/

📉 2. Downgrading CPU and Memory

If a VM is underutilized, downgrading helps reclaim resources for the cluster.

🔹 Steps:

  1. Shutdown the VM first before downgrade. Desktop View
  2. Click Edit on Basic Information menu.
  3. Reduce the number of vCPUs and RAM as needed. Desktop View
  4. Click Save to apply changes. Desktop View Desktop View

⚠️ Downgrading memory while a system is running is usually not supported. Always power off the VM before reducing RAM.


🔍 Considerations Before Resizing

  • Operating System Compatibility: Ensure the guest OS supports CPU hot-add and memory resizing.
  • Application Awareness: Some applications may require manual tuning after adding/removing CPU/RAM.
  • Cluster Capacity: Ensure the host has available physical resources to accommodate the changes.

📊 Monitoring After Resize

Post-upgrade, monitor the VM to ensure it’s operating optimally:

  • CPU usage trends
  • Memory pressure or swap activity
  • Application performance and response times
    Desktop View Desktop View

✅ Final Thoughts

With Arcfra, adjusting CPU and memory allocations is fast and straightforward — whether you’re scaling up for growth or right-sizing for efficiency. These features empower system administrators to respond to changing workloads without long provisioning delays or excessive downtime.

Stay tuned for the next guide on attaching and resizing virtual disks in Arcfra!


📧 Have questions or need a demo? Contact: info@kreasismart.id

🌐 Learn more: https://kreasismart.id/enterprise-cloud-platform

This post is licensed under CC BY 4.0 by the author.