Allocation Unit Size Usb Là Gì

  -  
*
Jason FitzpatrickEditor at Large

Jason Fitzpatriông xã is the Editor in Chief of LifeSavvy, How-To Geek"s sister site focused life hacks, tips, and tricks. He has over a decade of experience in publishing and has authored thousands of articles at reviews Geek, How-To Geek, và Lifehacker. Jason served as Lifehacker"s Weekend Editor before he joined How-To Geek. Read more...

Bạn đang xem: Allocation unit size usb là gì

About How-To Geek
*
In addition to asking for the file system you’d like to use, disk formatting tools will also ask for an “Allocation unit size”. What does this mean và what value should you select?

Today’s Question & Answer session comes to lớn us courtesy of SuperUser—a subdivision of Stachồng Exchange, a community-driven grouping of Q&A website sites.


The Question

SuperUser reader Andrew Keeton is curious about what exactly he’s supposed lớn put in the allocation section when formatting a drive sầu. He writes:

I’m formatting a 1TB external hard drive sầu as NTFS. This drive sầu is mainly meant for storing truyền thông such as music and Clip.

What should I choose for the allocation unit size setting? The options range from 512 bytes to 64K. Are there any guidelines that I might apply to lớn other drive types? Should I stop poking around and just leave sầu it at “default?”

While the mặc định setting is usually the best choice for most users, let’s dig a little deeper.

The Answers

*

SuperUser contributors Jonathan & Andrew offer some insight. Jonathan writes:

If you are a “Standard User” by Microsoft’s definition, you should keep the mặc định 4096 bytes. Basically, the allocation unit kích thước is the bloông chồng kích cỡ on your hard drive sầu when it formats NTFS. If you have sầu lots of small files, then it’s a good idea lớn keep the allocation size small so your harddrive sầu space won’t be wasted. If you have lots of large files, keeping it higher will increase the system performance by having less blocks lớn seek.

But again, nowadays hard drive capacity is getting higher and higher it makes small difference by choosing the right allocation kích thước. Suggest you just keep the default.

Xem thêm: Tổng Hợp Game Bài Đổi Thưởng Uy Tín Nhất Hiện Nay, Top Game Bài Đổi Thưởng

Also keep in mind that the majority file are relatively small, larger files are large in kích thước but small in units.

Andrew expands upon Jonathan’s answer with:

In terms of space efficiency, smaller allocation unit sizes perkhung better. The average space wasted per file will be half the chosen AUS. So 4K wastes 2K per file and 64K wastes 32K. However, as Jonadong dỏng points out, modern drives are massive sầu và a little wasted space is not worth fussing over and this shouldn’t be a determining factor (unless you are on a small SSD).

Compare 4K vs 64K average case waste (32K-2K = 30K), for 10,000 files that only comes out to lớn 300,000KB or around 300MB.

Instead think about how the OS uses space. Let’s say you have sầu a 3K tệp tin which needs lớn grow 2K. With a 4K AUS the data needs lớn be split over two blocks – và they may not be together so you get fragmentation. With a 64K AUS there are a lot fewer blocks khổng lồ keep track of & less fragmentation. 16x the bloông chồng size means 1/16th the number of blocks lớn keep traông xã of.

For a truyền thông disk where you photos, music & videos are stored, every tệp tin is at least 1MB I use the biggest AUS. For a windows boot partition I use the Windows default (which is 4K for any NTFS drive sầu smaller than 16TB).

Xem thêm: Người Tuổi Dần Hợp Cây Gì ? Cây Hợp Tuổi: 1962, 1974, 1986, 1998

To find out what the cluster kích thước is on an existing disk:

fsutil fsinfo ntfsinfo X:

Have something lớn add to lớn the explanation? Sound off in the the comments. Want lớn read more answers from other tech-savvy Stack Exchange users? Cheông xã out the full discussion thread here.


*
Jason FitzpatrickJason Fitzpatriông xã is the Editor in Chief of LifeSavvy, How-To Geek"s sister site focused life hacks, tips, và tricks. He has over a decade of experience in publishing & has authored thousands of articles at nhận xét Geek, How-To Geek, & Lifehacker. Jason served as Lifehacker"s Weekover Editor before he joined How-To Geek. Read Full Bio »