---
title: "Tech Tip #43: Consolidate underused servers"
description: "Moving VMs off half-empty hosts can cut energy by up to 22%."
url: https://greencode.ai/tech-tips/43-consolidate-underused-servers/
---

# Tech Tip #43: Consolidate underused servers

**Moving VMs off half-empty hosts can cut energy by up to 22%.**

[Watch the video](https://media.greencode.ai/shorts/consolidate-underused-servers-ec35cb5f2508.mp4)

Video created by [explainapaper.com](https://explainapaper.com/?utm_source=greencode.ai&utm_medium=film&utm_campaign=made-by)

### The problem

Workloads spread one-per-server or across many lightly loaded hosts keep every host powered and cooled. Over time placements drift and utilisation falls further.

### The fix you can use today

- Find hosts that are consistently underloaded.
- Migrate their workloads onto fewer hosts, leaving headroom for peaks.
- Power down or repurpose the emptied hosts, and repeat periodically.

One study found that packing virtual machines onto fewer servers can cut energy by up to 22%. GreenCode's research review draws on this work.

### Tools that help

- [Kepler](https://github.com/sustainable-computing-io/kepler?utm_source=greencode.ai&utm_medium=referral&utm_campaign=greencode): exports energy estimates per pod and container on Kubernetes, using eBPF and hardware counters
- [Scaphandre](https://github.com/hubblo-org/scaphandre?utm_source=greencode.ai&utm_medium=referral&utm_campaign=greencode): measures the power drawn by each process on a Linux server and exports it to Prometheus and other monitoring stacks
- [ipmitool](https://github.com/ipmitool/ipmitool?utm_source=greencode.ai&utm_medium=referral&utm_campaign=greencode): reads a server's power from its management controller (`ipmitool dcmi power reading`)

### How GreenCode helps

GreenCode helps tackle this by mining a running estate and rebuilding it as infrastructure as code. It traces energy and CO2e to the services that cause it, including the ones barely running at all. [More on this](https://greencode.ai/feature/infrastructure-carbon-footprint-assessment/).

### Tags

#right-sizing#idle#data-centre

### Sources

- [GreenCode State of the Art Review, D2.1 (2025), PDF p. 69: server consolidation reduces energy, cooling, space and embodied emissions](https://greencode.ai/publications/d2-1-state-of-the-art-review/)
- [GreenCode State of the Art Review, D2.1 (2025), PDF p. 80: VM consolidation and optimised placement can reduce energy by up to 22% (Rezakhani et al., Cluster Computing 27(1), 2024)](https://greencode.ai/publications/d2-1-state-of-the-art-review/)
- [Green Software Foundation, Principles of Green Software: energy proportionality](https://learn.greensoftware.foundation/energy-efficiency/?utm_source=greencode.ai&utm_medium=referral&utm_campaign=greencode)
- [Green Software Foundation, Green Software Patterns: Match utilization requirements of virtual machines](https://github.com/Green-Software-Foundation/patterns/blob/main/docs/operations/capacity-management/match-utilization-requirements-of-vm.md?utm_source=greencode.ai&utm_medium=referral&utm_campaign=greencode)

[All GreenCode Tech Tips](https://greencode.ai/tech-tips/)

#### Key Facts

- Tip **#43**
- For **Ops and infrastructure**
- Category **Cloud and infrastructure**
- Format **short video**
![GreenCode](https://greencode.ai/wp-content/uploads/2024/12/greencode-logo-website-small-colours-2.webp)

Want this checked on your own system? Talk to the GreenCode team.

[Get in touch](https://greencode.ai/contact/)
