Hyper-V Block Size for NTFS: What’s Recommended
Usually when we get this question the IT admin is concerned with Hyper-V performance.
Hyper-V and NTFS Block Sizes Explained
Understanding the best NTFS cluster block size for Hyper-V requires an understanding of how hard drives, file systems, and Hyper-V work.
However, the max. difference in performance we discovered was a mere ~10%. IT admins are more likely to kill performance by using one of the “bad” speed killers listed below.
But first, let’s talk about block sizes. In the case of VHD, Hyper-V uses 512 byte disk I/O operations internally as it aligned with most modern hard drives until about a decade ago. That’s why for the VHDX virtual disk format, Microsoft aligned their internal block size to 4096 bytes, to match new modern hard drive characteristics.
NTFS default format has a default of 4096 bytes, but that cluster size only works for partitions of up to 16TB. If you use that cluster size, hence, it should be fine. If you use more, such as 64KB, the issue is that the system will need to read the entire block before being able to write to it. 64 KB will need to be cached somewhere, usually inside of the hard disk, then 4KB need to be changed, and the entire thing needs to be written back. And yet this process will cost you only a 10% performance decrease on average.
Typical Hyper-V Performance Killers
Let’s talk about the “bad stuff” now because that’s where performance is being killed in a large scale:
- Worst thing ever: Snapshots a.k.a. Checkpoints in newer Hyper-V versions. It’s not recommended to use them if you want best performance. If you need a copy of the VM, use a backup, or export the VM instead. Checkpoints are intended for demo and development systems only. In the case of mechanical drives, the disk’s heads need to jump back and forth, contiguous blocks are no longer contiguous, which affects Windows disk caching, and disk fragmentation will likely skyrocket as virtual disks grow in size often.
- Why does disk fragmentation become a problem with snapshots? It’s because of the underlying dynamically growing disks. Dynamically growing disks will surely affect even the most capable server with just a dozen VMs, unless SSDs are used. Again, the issue is that the drive’s seek time adds up even for virtually neighboring’ blocks, which may now be 5msec apart from each other. A mere thousand of these read operations and you’re looking at a dramatic 5 second delay. Unfortunately RAID arrays offer no relief when this happens either, since they usually operate at a larger block size than NTFS. SSD hard drives are a fix for this, however, but there is still some CPU overhead involved in managing snapshots. Another thing to consider is that SSDs will likely wear down faster when checkpoints or dynamic disks are being used.
- Another important factor: free disk space. You’ll need at least 15% free space everywhere, including inside VMs and a minimum of 10GB. This is a characteristic of NTFS and when NTFS doesn’t have enough space to work with, it ends up fragmenting the drive really badly and file access time suffers as a consequence.
Hyper-V Backups: Fast, Customizable, Reliable, Affordable Backups
For your Hyper-V backups check out BackupChain. Check it out today, a 20 day trial is available here.
Backup Software OverviewThe Best Backup Software in 2023 Download BackupChain®
BackupChain is the all-in-one server backup software for:
Disk Image Backup
Drive Cloning and Disk Copy
File Server Backup
Virtual Machine Backup
Server Backup Solution
- Best Practices for Server Backups
- NAS Backup: Buffalo, Drobo, Synology
- How to use BackupChain for Cloud and Remote
- DriveMaker: Map FTP, SFTP, S3 Sites to a Drive Letter (Freeware)
- VM Backup
- V4 Articles
- Knowledge Base
- Archive 2022
- Archive 2021
- Archive 2020
- Archive 2019
- Archive 2017
- Archive 2016
- Archive 2015
- Archive 2014
- Archive 2013
- BackupChain (German)
- German Help Pages
- BackupChain (Greek)
- BackupChain (Spanish)
- BackupChain (French)
- BackupChain (Dutch)
- BackupChain (Italian)
- BackupChain is an all-in-one, reliable backup solution for Windows and Hyper-V that is more affordable than Veeam, Acronis, and Altaro.
Other Backup How-To Guides
- Server 2012 Pulled into Saved State With Server 2008 R2 Host
- How to Fix Error 1219: Multiple connections to a server or shared resource by the same user
- Backup Software with Encryption for Windows 11, Windows Server 2022
- 18 Hyper-V Tips & Strategies You Need to Know
- Why You Need To Defragment Your Backup Drives
- Hyper-V Disadvantages: How Hyper-V Costs You
- BackupChain is American Backup Software, 100% Made in USA
- Pros and Cons of Deduplication Technologies, VHDX, Hyper-V
- Deduplication of Virtual Machine Backups in Hyper-V and VMware
- What is Granular Restore and How to Use it for Hyper-V Guest Recovery?
- VSS Crash and Application Consistency for Hyper-V and VMware Backups
- Free SFTP + FTP Client, Map Network Drive for SFTP & FTP
- Protection Against Ransomware, CryptoLocker, Trojans and Viruses
- How to Easily Protect Your Servers Against Ransomware
- Convert VHD files to VHDX, VMDK, VDI, and Physical Disk
- Windows 10 (Final) Download Link Enterprise Trial / Evaluation
- RAID Backup Software for RAID Array Backup (0, 1, 5, 10)
- Hyper-V Backup: Simple, Powerful, and Open Standard
- Differential Backup
- Incremental Backup