Recommended Cluster Size for Passport Hard Drive Running on WD TV

1

What is the recommended cluster size for an NTFS volume on a Western Digital Passport USB hard drive for playing AVI, MKV, and VOB files in 1080p resolution using Western Digital's WD TV HD Media Player?

Robert Harvey

Posted 2009-09-12T23:40:32.137

Reputation: 1 826

Answers

1

The best cluster size is normally the one that is automatically suggested by the format dialog. This is at least as large as the size of the hardware sector, which is the atomic read/write size.

Using a larger sector size will mean that the O/S will need to issue multiple read/write operations to the driver to write it out or get it into memory. Using a smaller size is even worse (as I never tried I don't even know if it's possible).

Conclusion: If the Passport USB is already formatted in NTFS, don't worry. Otherwise, let the O/S decide.

harrymc

Posted 2009-09-12T23:40:32.137

Reputation: 306 093

It's worth noting that the drive had 512 byte clusters after I switched to NTFS. I did that because 4GB+ files were not fitting on the FAT32 drive. There is some anecdotal evidence that increasing the cluster size reduces the startup time of the WD TV, as it must scan the drive for files on startup. I settled on a 16K cluster size. So far so good. – Robert Harvey – 2009-09-13T19:34:28.010

On average, 16K leaves 8K wasted per file. This is less important for large files. If the default sector seems too small, I tend to use 4K, since that's the size of a memory page in Windows, in the hope of simplifying its internal book-keeping. – harrymc – 2009-09-14T17:03:12.360

1

It probably isn't going to make much difference really, as your bottleneck is going to be elsewhere, but for relatively small numbers of large files as found in a video collection a larger cluster size will be more efficient.

The primary reason to want small cluster sizes is space efficiency. With most filesystems each file stored wastes approximately half a cluster of space on average (up to almost a full cluster). This isn't an issue with large media files - you are not going to notice 16K (likely average) or 32K-1byte (worst case) wasted when storing a a 1Gb+ high-res video file on a filesystem using 32Kbyte clusters. If you were storing many many thousands of much smaller files though the space wasted by large clusters can become a big issue - for example a mail server that uses file based storage would be very inefficient on a 32Kb cluster filesystem (in this instance you are likely to waste more than 16Kb per file on average as you will have many file no more than a few Kb long).

David Spillett

Posted 2009-09-12T23:40:32.137

Reputation: 22 424