Control & limits

Live limits

Change a running VM's CPU, network speed and disk caps with no restart.

What it is

Change a running VM's CPU, network speed and disk caps with no restart.

flash set changes a FlashVM's CPU share, network speed, disk quota and disk I/O while it runs. Every limit is enforced outside the guest. Nothing inside the VM can lift it.

Why it matters

Workloads change shape mid-run. FlashVMM lets the host reshape the VM to match, instantly.

  • CPU on the fly. A fifth of a CPU to a full CPU, live.
  • Network speed. Download caps follow every change.
  • Disk caps. Quota, bytes per second and IOPS, all live.

Runs on

  • Linux x86_64
  • Linux arm64
  • macOS
  • Windows x64
  • Windows arm64

How it works

Each limit is one flag on flash set.

CLI

flash set vm1 --cpu-millis 200
flash set vm1 --cpu-millis 1000
flash set net1 --nic 0 --ingress-mbps 1
flash set net1 --nic 0 --ingress-mbps 0
flash set vm1 --disk-bps 10000000 --disk-iops 500

MCP

flash_api(vm_id: "vm1", method: "PATCH", path: "/v1/flashvm/cpu", body: {"cpu_millis": 1000})

API

PATCH /v1/flashvm/cpu {"cpu_millis": 1000}
PATCH /v1/flashvm/nics/0 {"ingress_mbps": 1}
PATCH /v1/flashvm/disk {"disk_bps": 10000000}

The result

Work runs faster the moment the CPU limit rises, with no restart.

Precise, live control over every resource a VM uses.

How it works

Related

See it live: flash demo run 8