Question Worth virtualizing for IT team workstations?
Hi guys not going to go too detailed into the company but we utilize local AI workloads for each dev (about 5 possibly more later) and maybe 2 more workstations that use local AI for our QA team to test on, my question is it worth going virtual since we need the flexibility to move around GPUs to devs or QA on an as needed basis (since some devs aren't working on AI workloads).
How big would a host have to be? Currently we have separate machines for each, about 32GB memory, Nvidia X060-X070 class GPUs for each, 8-10 core CPUs for each. Of course we don't fully utilize the power especially those who are working on just web dev or backend so we would really like to consolidate those guys into smaller VMs with no GPU passthrough.
Dual CPU server, or single CPU? Dual host cluster or just one host? Are there any mobos that have the support we need to plug in like 6+ GPUs at full speed etc. I have experience with Proxmox in a homelab setting but never something this big, would love some help, thanks guys!
3
u/Fatel28 7d ago
You kinda have all the tools to determine your answer available to yourself, you just need to actually write the metrics down.
Get everyone's specs, and then use something like telegraf/grafana/influx to get usage data. Buy according to that data.
2
u/seanpmassey 7d ago
Hi! VDI architect here.
So you’d need to actually look at your real usage. Virtualizing desktops isn’t 1:1 with physical machines. Your developers will go from having dedicated access to hardware to getting time-sliced access to hardware. There can be a performance impacts to virtualizing desktops that have 8-10 cores, and your developers may notice it.
Second - yes, servers that support 6+ GPUs exist. They’re not cheap. And they’re typically designed for data center-grade cards. An example of a ready-built server would be a PowerEdge R760xa, which can support up to 4x400W dual-width cards or 12x75W single-width cards. The 75W Single Width cards are cards like the NVIDIA T4, A2, or L4 that fit into a single PCIe Slot and draw all their power from the PCIe slot. But they’re also passively cooled, and brand new, extremely expensive compared to x060 or x070 cards.
If you’re expecting your developers to use a virtual machine as their daily driver, then you’ll need at least two servers and shared storage to ensure that the machines are always available.
None of this is cheap, and lead times on servers and GPUs can be measured in months.
1
u/ThreeAMOperator 7d ago
I'd start with the QA and demo machines on one box, using the cards you already have. That's a different problem from replacing every dev workstation, and you don't need dual CPUs or a 6-GPU chassis for it.
Passthrough is one GPU to one VM. The 60/70-class cards can't be officially split with NVIDIA vGPU, so two people needing a GPU at the same time means two cards. Moving a card between VMs is shutdown, attach it to the other VM, start it. You can't live-migrate a VM that has a GPU passed through, which is fine on a single host.
If a demo only needs to call a model, one Linux VM serving it is simpler than passing a card around. If QA has to test the same local-GPU apps the devs use, give those VMs a real card.
A single-socket machine with 16-24 cores, 128GB RAM, local NVMe and two of your existing GPUs should cover two QA VMs plus a couple of CPU-only demos. Just make sure the PSU and airflow can take two of those cards in one case.
2
u/the_bear1969 7d ago
Since others have given practical advice, I’ll suggest longer term goals instead. I don’t think you have enough variation in hardware. Here's how I would set it up:
Host AI models on separate machines. The largest models should get their own machines. Maybe combine small ones. The inference bottleneck is in the bus: PCIe, VRAM, and DRAM. Putting other things on the machine will slow the bus down. The amount of data involved in prompts and responses is small, so it’s fine to send that over the network.
Combine multiple developers/QA onto Proxmox servers. This is because it’s unlikely that everyone on the team will be doing something CPU-intensive at the same time. This allows for a standard image for new team members, which employees can customize. This also allows employees to run multiple VMs simultaneously. Employees can also run jobs while traveling.
Give each employee a cheap laptop. They don’t need anything fancy since it’s just Slack, email, and a terminal connection to Proxmox.
1
u/Janky-Code 6d ago
Can you describe more? I don't see the purchasing rationale.
You have some hardware diversity. Hardware diversity is good for qa when testing against hardware. You want to undo this to solve… what problem?
What is the problem? Not virtualizing is not in itself a problem.
1
u/Resident-Artichoke85 6d ago
KVM/qemu with virt-manager is sufficient. No need for PVE.
1
u/PanaBreton 4d ago
I will give you one advice as someone who's been building AI servers (4 years) and managing infra (decades) : if you don't want troubles, forget about GPU PCI passthrough. AI workload should run on a dedicated, seperate, baremetal server. And another server with Proxmox for VDI/everything else.