格式化时,应将分配单元大小设置为什么?

今天的问答环节是由SuperUser提供的,SuperUser是Stack Exchange的一个分支,是一个由社区驱动的问答网站分组。...

格式化时,应将分配单元大小设置为什么?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 and what value should you select?

今天的问答环节是由SuperUser提供的,SuperUser是Stack Exchange的一个分支,是一个由社区驱动的问答网站分组。

问题

超级用户读者Andrew Keeton很好奇,格式化驱动器时,他到底应该在分配部分放些什么。他写道:

I’m formatting a 1TB external hard drive as NTFS. This drive is mainly meant for storing media such as music and video.

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

虽然默认设置通常是大多数用户的最佳选择,但让我们深入研究一下。

答案

格式化时,应将分配单元大小设置为什么?

超级用户贡献者Jonathan和Andrew提供了一些见解。乔纳森写道:

If you are a “Standard User” by Microsoft’s definition, you should keep the default 4096 bytes. Basically, the allocation unit size is the block size on your hard drive when it formats NTFS. If you have lots of **all files, then it’s a good idea to keep the allocation size **all so your harddrive space won’t be wasted. If you have lots of large files, keeping it higher will increase the system performance by having less blocks to seek.

But again, nowadays hard drive capacity is getting higher and higher it makes **all difference by choosing the right allocation size. Suggest you just keep the default.

Also keep in mind that the majority file are relatively **all, larger files are large in size but **all in units.

安德鲁进一步阐述了乔纳森的回答:

In terms of space efficiency, **aller allocation unit sizes perform 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 Jonathon points out, modern drives are massive and a little wasted space is not worth fussing over and this shouldn’t be a determining factor (unless you are on a **all SSD).

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

Instead think about how the OS uses space. Let’s say you have a 3K file which needs to grow 2K. With a 4K AUS the data needs to be split over two blocks – and they may not be together so you get fragmentation. With a 64K AUS there are a lot fewer blocks to keep track of and less fragmentation. 16x the block size means 1/16th the number of blocks to keep track of.

For a media disk where you photos, music and videos are stored, every file 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 **aller than 16TB).

To find out what the cluster size is on an existing disk:

fsutil fsinfo ntfsinfo X:


有什么要补充的解释吗?在评论中发出声音。想从其他精通技术的Stack Exchange用户那里了解更多答案吗?在这里查看完整的讨论主题。

  • 发表于 2021-04-12 02:49
  • 阅读 ( 154 )
  • 分类:互联网

你可能感兴趣的文章

如何在excel中制作日历模板

... Microsoft Excel使许多独特的格式化任务易于自动化。您可以使用Excel管理您的预算和财务,也可以创建自动更新的工作计划。无论您创建哪种类型的电子表格,请始终记住以下Excel打印提示。 ...

  • 发布于 2021-03-12 06:27
  • 阅读 ( 348 )

10个简单的excel省时软件你可能已经忘记了

... 格式化单元格以使其内容正确显示是完善电子表格的好方法。但是,使用功能区“数字”区域中的下拉菜单执行此操作可能会非常耗时。相反,请尝试将这些快捷方式提交...

  • 发布于 2021-03-14 15:14
  • 阅读 ( 191 )

如何使用excel的flash-fill和auto-fill自动录入数据

...,Excel非常有用。但是,将这些数据输入到文档中并正确格式化常常非常耗时。 ...

  • 发布于 2021-03-14 22:40
  • 阅读 ( 429 )

8应自定义的microsoft office默认设置

...的“常规”上单击鼠标右键。单击“修改…”。。。然后格式化。。。切换到“对齐”选项卡,勾选“换行文字”,然后单击“确定”两次。 ...

  • 发布于 2021-03-16 10:58
  • 阅读 ( 206 )

如何在microsoft excel中创建检查表

... 使用“使用公式”确定要格式化规则类型的单元格,使用“条件格式规则管理器”对话框为该单元格创建规则。 ...

  • 发布于 2021-03-17 17:39
  • 阅读 ( 249 )

如何用fat或fat32格式化大硬盘

... 也就是说,FAT/FAT32实际上可以格式化高达16TB的硬盘驱动器,并且大多数操作系统支持高达2TB的容量。微软已经为FAT/FAT32文件系统设置了32GB的分区大小限制,以提升NTFS,这通常在处理大分区时效率更高...

  • 发布于 2021-03-22 00:46
  • 阅读 ( 404 )

MicrosoftWord中完美表格的8个格式化提示

...亮的microsoftword文档。在microsoftword上,表格是必不可少的格式化工具。Microsoft Office使在Microsoft Word for Office 365、Word 2019、Word 2016和Word 2013中创建和格式化基本表变得更加容易。 ...

  • 发布于 2021-03-23 07:44
  • 阅读 ( 241 )

microsoft excel中注释的初学者指南

...小为9的Tahoma字体。您不能更改默认字体和字号,但可以格式化在注释中输入的文本。 ...

  • 发布于 2021-03-25 05:10
  • 阅读 ( 288 )

microsoft excel入门指南

...时单击,将选中整个列或行。可以使用此操作应用函数、格式化或排序。 ...

  • 发布于 2021-03-25 10:26
  • 阅读 ( 256 )

用于windows的microsoft word键盘快捷键

...些键盘快捷键将成为第二天性,你将能够快速通过文件,格式化和自定义轻松。 ...

  • 发布于 2021-03-30 08:23
  • 阅读 ( 193 )
ljljljlnnl553
ljljljlnnl553

0 篇文章

相关推荐