Hardware limits and VM performance on a QNAP NAS
Original: nasutils.net/howto-vm-performance.html. Version of 2026-11-26.
When a QNAP NAS is slow, start with what its hardware can do. Then check what the NAS spends its resources on. Only then look at the queues underneath: processes stuck on I/O and virtual machines competing for the processor. Pulse shows them live, and BlackBox keeps their history.
This guide covers StorageDiag Workbench & Utilities and the programs built into it: Pulse · BlackBox
- Expectations what this hardware is for
- Baseline stop the extras, watch RAM and swap
- D state processes stuck on I/O
- vCPUs threads, oversubscription, steal
- Graphs what BlackBox and Pulse flag
01 What the hardware is for
QNAP's word for the system of the NAS, QTS or QuTS hero. It updates automatically or from an image you upload; the NAS restarts to finish the update.
A QNAP NAS has parts that match its price. QNAP still ships firmware updates for units more than ten years old, but an update does not make an old or entry-level NAS fit for every app on offer today. Software grows heavier with each version; the hardware stays as it was.
A part of the processor that runs instructions on its own. On Intel and AMD, the field
cpu cores in /proc/cpuinfo gives the number of cores of the chip.A budget NAS is built to serve files smoothly. Expecting it to run virtual machines or heavy databases without trouble is a mistake. Check what your processor and memory can do, and choose hardware that fits the work. Serving files is the NAS's core job; every other app runs on the resources left over.
02 Find the baseline: stop the extra apps
When the NAS slows down, start by isolating the services. Do it above all when its memory runs out and the NAS starts to use swap, which slows every operation down sharply.
- QuTS hero
QNAP's NAS system on ZFS.Sign in to QTS or QuTS hero. - Open App Center and stop the apps and services you can do without, one at a time. The Workbench does not stop apps for you.
- CPU, procesor
The chip that runs the instructions of programs. It has one or more cores. On Intel and AMD,/proc/cpuinfogives its model asmodel name.Watch the system in QTS's Resource Monitor or in the Workbench's Pulse (the Utilities desk, Start menu → Monitoring → Pulse; administrators only). The cockpit at the top of Pulse refreshes every two seconds. It shows one CPU bar per logical CPU, used RAM against the total with the page cache as a separate band, a SWAP bar when the NAS has swap, the load over the last minute and the run queue. Watch the CPU load come down. The SWAP bar shows the space in use, which can stay high: the system moves pages from swap back into RAM only when a program needs them. In BlackBox's Charts view, the Swap-in pages and Swap-out pages series show whether the NAS is still swapping. - Find the baseline: keep stopping services until the NAS serves files smoothly again.
That state is your hardware's baseline. From there, start the other apps one at a time, and stop adding them when the hardware has no resources left.
03 Processes stuck on I/O (the D state)
The part of Linux that manages the hardware, memory and processes.
A NAS can stall while its processor is far from full and there is memory to spare. In that case, look for processes in uninterruptible sleep, the D state. In the Workbench's words, a process in state D waits on kernel I/O (a disk, a network file system, a hung driver) and cannot even be killed until that I/O completes or times out. Many processes in D at once are queuing, usually behind slow disk I/O, and the NAS can freeze.
QNAP's app that runs virtual machines with KVM and QEMU on supported Intel and AMD NAS models.
The queue hurts most when the NAS hosts virtual machines (Virtualization Station, KVM). Badly allocated resources then show up as dropped network packets and long I/O delays.
- Pulse raises Processes in D-state (I/O) in its title bar as soon as one process is in D, and marks it critical from three processes. On the Processes tab, D + Z leaves only the stuck (D) and zombie (Z) processes and the processes above them in the tree.
- BlackBox starts recording with the package, every 20 seconds; there is nothing to switch on. It records CPU busy, iowait and each core's clock, the load, the run queue and Blocked (D); memory used and available, page cache, swap and OOM kills; each interface's traffic and dropped packets, and the NAS's TCP retransmits; each disk's await, queue depth and utilisation; each VM's CPU, vCPUs, memory and disk I/O; and, once a minute, the temperatures and fans. It keeps every 20-second sample for a day, then summaries by the minute for a week, by five minutes for a month and by the hour for a year.
- Two different D counts. BlackBox's Blocked (D) is the kernel's count of blocked tasks; Pulse counts the processes it sees in state D. The two numbers can differ.
- iowait, not PSI. QNAP's kernels are built without pressure stall information (PSI). BlackBox reads I/O delay from iowait, the disks' await and queue depth, and the Blocked (D) count instead.

04 Cores, threads and vCPUs
Before you give a VM its vCPUs, know what the processor has:
- pCPU (physical CPU): the physical cores of the NAS's processor.
- throughput, przepustowość
The amount of data moved per second.lCPU (logical CPU): the CPUs the operating system sees, two per core with Hyper-Threading. As a rule of thumb, Hyper-Threading adds about 30% throughput, so a thread is worth far less than a core. - vCPU (virtual CPU): the virtual cores given to the VMs.
Pulse counts logical CPUs: where it says 12 cores on a six-core, twelve-thread Xeon W-1250, those are threads.
A virtual processor given to a virtual machine. At any moment one logical processor of the NAS runs its instructions.
Oversubscription. Giving 128 vCPUs to VMs on a 32-core processor assumes the VMs are never all busy at once. When they are, the hypervisor cannot give every vCPU time on a core, and the VMs wait for the CPU; inside a guest, that wait shows as steal time. Pulse reports the contention from the host side:
- vCPU over-subscription (information) when the running VMs have more vCPUs than the NAS has logical CPUs;
- VMs contending for CPU (warning) when, in addition, the host is more than 75% busy or its run queue is longer than its number of logical CPUs.
- Steal time shows only inside a guest; on the NAS it stays at about zero by design, as the Workbench's own note says. Judge contention on the NAS by vCPUs against logical CPUs, the busy percentage and the run queue. Read steal inside the VM: the
stcolumn oftoporvmstatin a Linux guest.
The CPU tab shows the same check as the verdict VM contention. Pointing at it on this NAS shows: Over-subscribed (17 vCPUs / 12 cores) AND the host is busy (84%, queue 11) — your VMs are likely contending for physical cores NOW. THIS is CPU theft, host-side.

05 Watch the virtual machines from the NAS
You install nothing inside the VMs. The Workbench reads the NAS it runs on, and that includes the virtual machines the NAS hosts:
- Open Pulse and its VM tab. It lists every running VM with its vCPUs, CPU%, MEM%, RSS, state and PID. The cockpit above sums them up, here as Hosting 4 VM(s), 17 vCPUs.
- Open BlackBox (Start menu → Monitoring), switch to Heat map and turn on the Virtual machines lane. It shows each VM's CPU over time, beside the temperatures and the disks' await. The Charts view also has each VM's vCPUs, memory and disk I/O, and marks every VM start and stop.
- To follow a VM over the network, open BlackBox's settings (the button with sliders in its title bar). Under Monitored hosts press + add host, enter the VM's address and press Save. BlackBox then checks it once a minute for round-trip time and packet loss.
- Inside the VM, watch its steal time with the guest's own tools.
The Virtual Machines · LOCAL window (Start menu → Local NAS → Virtual Machines) shows each VM's configuration from Virtualization Station: vCPUs, topology, CPU set, CPU model, disks and network cards. When the window opens, the Workbench runs QNAP's own diagnostic dumps for VMs and keeps their output in its cache; no setting changes.

06 Three critical states: disks, CPU queue, heat
- NVMe
The protocol fast SSDs use over PCIe.volume, wolumin
A part of a pool, or of a RAID, with a filesystem, where shared folders are.Many processes in D, long I/O delays. Processes are waiting on the disks. BlackBox's weekly report then shows Processes waiting on storage and names the busiest disk: a warning when iowait reaches 20% at the 95th percentile, critical from 40%. Slow array member flags a disk whose await is at least twice that of the other disks and at least 50 ms, or 5 ms on NVMe (critical from 200 ms). Disk with no headroom flags a disk that is 90% busy or more for two hours (critical from 98%). The author's advice: move the VM to an SSD volume, check the disks' health (the performance guide) and make sure no other process saturates the RAID. - ZFS
The storage system of QuTS hero: pool, filesystem and checksums in one.ZFS write throttle (QuTS hero). The weekly report shows when the ZFS queue delays writes. Once a minute, BlackBox records how long writes wait in each pool's asynchronous write queue. It also records how long the disks take to complete writes. The weekly report compares the 95th percentiles of those two times. The warning threshold for queue wait is 20 ms. The critical threshold is 100 ms. At either threshold, the queue wait percentile must be at least five times the disk write percentile. ZFS collects asynchronous writes in RAM and sends them to disk in batches. It limits how many of these writes each disk handles at once so reads stay quick. If the buffer in RAM fills, ZFS slows applications that write. During a burst of writes, VMs and other applications that wait for writes to finish can respond more slowly. Check whether a scrub, backup or replication runs at the times shown in the report. Check the pool's free space and fragmentation, along with the amount of RAM in the NAS. - A long CPU queue. The VMs want more processor time than the NAS has. Pulse shows VMs contending for CPU, and the weekly report's Virtual machine hogging the host flags a VM that uses 150% of one core or more at the 95th percentile (critical from 300%). Give the VMs fewer vCPUs: start with one or two per VM and add more only when the guest needs them.
- throttling, dławienie
Lowering of the CPU clock because of heat or a power limit.Thermal throttling. A hot CPU followed by a lower clock and longer delays can mean thermal throttling. The weekly report flags CPU thermal throttling when a core drops to 60% or less of its own top clock (its 95th percentile) while the CPU is at least 60% busy. On the heat map, 65 °C is amber and 80 °C red. The Workbench's knowledge base advises cleaning the dust from the heatsink, the fan and the intakes, checking that the fans spin, and improving the airflow or lowering the room temperature. The author adds that a higher fan speed in QTS helps too. The CPU guide explains why QTS shows a lower temperature and how to read BlackBox's messages in the system log.
These are BlackBox's default thresholds. An administrator changes the levels of most rules in BlackBox's settings; the CPU thermal throttling rule and the heat map's colours are fixed.

07 Choose the VM's CPU model
- Host / passthrough (recommended): passes the NAS's processor to the VM with every instruction set it has (AVX, for example). It gives the best performance and the least overhead on a single NAS.
- A generic model (a named Intel or AMD CPU model): hides the host's processor and its newer instruction sets. It helps in a cluster, where running VMs move between physically different hosts; on a single NAS, software in the VM that would use the hidden instruction sets runs slower.
The Virtual Machines · LOCAL window shows the CPU model name from each VM's configuration (for example Westmere) and its sockets, cores and threads. It does not show the CPU mode or assess the choice.
08 Elementary knowledge: resource overcommit
A term virtualization software uses for a processor of the host, to tell it from the vCPUs of virtual machines. Depending on the software it means a physical core or a logical processor; check its documentation before you count pCPUs.
To keep VMs fast on a NAS that works near its limits, first count the ratio of vCPUs to physical cores (pCPU). The bands below are a rule of thumb:
| Resource | Gain | Risk | Advice |
|---|---|---|---|
| CPU (vCPU : pCPU) | more VMs, cheap headroom for short bursts | at saturation, steal and queues slow every VM | production 2:1–4:1, critical VMs up to 2:1; host below 80 % |
| RAM (ballooning, Dynamic Memory) | memory moved on the fly, good for idle VMs | when the host swaps, performance drops sharply | never let the host swap active pages; reserve memory for critical VMs |
| Storage (thin) | space saved, disks created in an instant | a full datastore stops the VMs at once | alerts at 75–85 %; reclaim space (UNMAP); thick disks for critical data |
General rule. Overcommit is safe under a light, uneven load that you monitor, and dangerous at peaks with no headroom. Keep a reserve.
Tips
- Start with 1 or 2 vCPUs per VM and add more only when the load needs them. More vCPUs than a VM needs add scheduler overhead and no speed.
- Count physical cores, not threads. Work out the ratio above from the physical cores; Pulse's core count includes the threads.
- Keep host CPU below 80 %. With over-subscribed VMs, Pulse already warns above 75 %. Above 90 % the VMs compete for cycles and steal grows inside the guests.
- overcommit, nadsubskrypcja
Giving virtual machines more resources in total than the NAS has.Read top in the guest: %wa is waiting for I/O (a disk bottleneck), %st is steal (too much overcommit), %id is spare capacity. - High %wa? Faster storage or an SSD. High %st? Fewer vCPUs or fewer VMs.
- VirtIO for disks and network: much faster than an emulated device. Pass a PCIe card or GPU through only when a VM needs it: the device then belongs to that VM alone.
A VM snapshot is not a backup
The state of a volume at one moment, kept on the same pool; it is not a backup.Hybrid Backup Sync
QNAP's app for backups, restores and syncing (HBS 3). It writes backups to another NAS, a USB drive or cloud storage.
A snapshot records only the changes since its base point: the changes to the disks and, with a saved state, the memory. If the base or the snapshot chain is damaged, the snapshots are lost too. To protect a VM, back up its whole image: an export, Hybrid Backup Sync (HBS) or a separate medium.