Reclaim and right-size¶
Editions: Business and MSP.
Below the Capacity table, Reclaim and right-size lists VMs that are too big, VMs that are too small, and capacity you could take back. Its top line totals what could come back: "following every suggestion would give back 24 vCPU, 96 GiB memory, 1.2 TiB disk." VMs that are short are listed first, with what they need; that isn't counted in the total.
Collimo changes nothing. These are suggestions to take to whoever owns the VM.
The suggestions¶
VMs are judged over the last 30 days, and only once Collimo has at least 21 of them for that VM. The panel says how many VMs have that much history. A VM that's on some days and off others isn't judged: it's in use, just not always.
| Suggestion | When | Gives back or needs | Suggests |
|---|---|---|---|
| Short of vCPUs | Its 95th percentile at 90% or more of its vCPUs on at least 7 days | Needs a quarter more, at least one | The count to set |
| Short of memory | Waiting for memory 10% of the time or more on at least 7 days (memory pressure, Proxmox VE 9) | Needs a quarter more, at least 1 GiB | The size to set |
| Powered off | Off for every day of the window | Its vCPUs, memory and provisioned disk | Retire or remove it |
| Idle | On every day, but its CPU never above 5% of its vCPUs, and, where the guest reports it, its memory never above 20% | The same | Probably forgotten: retire or remove |
| Too many vCPUs | Two or more vCPUs, and its busiest day's 95th percentile, plus a quarter, is three quarters of them or less, freeing at least one | The difference | The count to set, at least one |
| Too much memory | At least 2 GiB, its memory is known (below), and its busiest day plus a quarter is three quarters or less, freeing at least 2 GiB. Never while it waits for memory | The difference, in whole GiB | The size to set |
| Old snapshot | Older than a week | Its age (the inventory doesn't record a snapshot's size) | Remove it |
| Orphaned disk | A disk file no VM uses | Its size on disk | Check, then delete |
"A quarter on top" is the margin: a VM that peaked at 1.5 cores gets a suggestion of 2, not 1.5.
Memory is judged only where the guest's own use is reported:
- vCenter: by what each VM holds on its host (consumed memory, plus what the balloon and swap took back). It counts the guest's cache, so a VM is called oversized less often than it might be, never more. Windows touches all its memory at boot, so a Windows VM is rarely called oversized at all.
- XCP-ng: by the guest tools, which report free memory.
- Proxmox VE containers: by Proxmox's figure, which leaves cache out.
- Proxmox VE VMs: never (from 0.1.1; before it, Proxmox's figure). Proxmox's figure for a VM counts the guest's own cache as used, so a VM busy with nothing but cache reads near 100%, and nothing in the API gives use without it. The panel shows memory pressure beside it instead: the real sign of a VM short of memory.
Without the guest's own use, a VM is never called oversized on memory, and "idle" goes by CPU alone. Short of memory needs memory pressure, so only Proxmox VE 9 says it. vCenter and XCP-ng figures count cache, which looks full on a healthy guest.
Why vCenter isn't sized on its guest memory figure
vCenter's quick statistics call it guest memory, but it is active memory: a sampled estimate of what the guest touched in the last few seconds. It's usually far below what the guest needs, so sizing on it would tell you to shrink VMs that need their memory. Collimo shows it as Memory active in the Busiest machines list and never sizes on it. The guest's own figure, which VMware's own tools size on, is read from inside the guest; Collimo never runs anything in a guest.
Before this change, vCenter VMs were sized on active memory. Days recorded before it aren't used for memory, so memory suggestions for vCenter VMs start again once there are 21 new days.
CPU for vCenter VMs is counted in cores, from each VM's clock against its host's.
Orphaned disks¶
Disk files no VM uses: a VM removed from the inventory but not deleted from disk, a disk detached and forgotten, the leftovers of a failed migration. They're found by the daily inventory, so they're as fresh as the newest one.
vCenter¶
Collimo browses every accessible datastore for .vmdk files and compares
them with every registered VM's files, snapshot deltas included.
| It says | Meaning |
|---|---|
| no VM uses it | It's in a folder no registered VM uses: usually a VM removed from the inventory without deleting its files |
| in a VM's folder, but not one of its disks | It sits with a VM but isn't attached: a disk removed from the VM but kept on disk |
Left out on purpose, because something else looks after them:
- content library items (
contentlib-…folders); - first-class disks (
fcd/), used by Kubernetes; - vSphere Replication files (
hbrdisk…); - change-tracking files (
-ctk.vmdk); - hidden folders (
.…).
Browsing needs the read-only Datastore → Browse datastore privilege, which the Read-only role doesn't have. Without it, the panel names each datastore it couldn't search and says what to grant. See vCenter.
Proxmox VE¶
Collimo lists each disk storage's volumes and compares them with every guest's config.
| It says | Meaning |
|---|---|
| no VM uses it | A volume of a guest that no longer exists |
| in a VM's folder, but not one of its disks | Its guest exists, but no longer names it |
| detached from its VM but kept in its config | Listed as unusedN in the guest's config |
Left alone on purpose:
- a guest Collimo couldn't read (its node is down): nothing is said about its volumes;
- a snapshot's saved memory (
…-state-…); - a template's base disk, and a linked clone's disks, which belong to it.
It needs no more than the PVEAuditor role.
XCP-ng¶
Xen Orchestra lists every virtual disk with what attaches it, so a disk attached to nothing is an orphan: no VM uses it. Its size is what it takes up on disk, which on thin storage can be far less than the disk's own size.
Left out on purpose:
- disks on ISO libraries and removable drives;
- XAPI's own disks: the HA statefile, pool metadata, crash dumps and suspend images;
- snapshots' disks, which belong to their snapshot.
It needs nothing beyond the read-only role on the XCP-ng page.
Before you delete anything¶
Check first
A datastore shared with another vCenter, or a storage shared with another cluster, that Collimo doesn't watch holds that one's disks too, and they look orphaned from here. So do disks kept on purpose, outside any VM. Collimo only reports; deleting is yours to decide.
The last written date helps: a file untouched for a year is a safer bet than one written last night.
Where else they show¶
- The inventory downloads' Orphaned disks sheet, which is keyed, so a new orphan appears on the Changes sheet.
- The reporting database's
orphaned_diskstable. - The monthly summary's "Reclaim and right-size".
Per-VM history¶
To judge VMs, Collimo keeps a daily summary per VM (vCPUs, memory, CPU and
memory use) for about four months, in capacity/vm-*.jsonl on its volume.
The same history drives moving VMs.