格式化時,應將分配單元大小設定為什麼?

今天的問答環節是由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
  • 閱讀 ( 24 )
  • 分類:網際網路

你可能感興趣的文章

如何在excel中管理列

...製選定列的右側列。單擊滑鼠右鍵,然後選擇“**剪下的單元格”或“**複製的單元格”。 ...

  • 發佈於 2021-03-11 21:49
  • 閲讀 ( 69 )

如何在excel中製作日曆模板

... Microsoft Excel使許多獨特的格式化任務易於自動化。您可以使用Excel管理您的預算和財務,也可以建立自動更新的工作計劃。無論您建立哪種型別的電子表格,請始終記住以下Excel列印提示。 ...

  • 發佈於 2021-03-12 06:27
  • 閲讀 ( 56 )

linux傳輸檔案的速度比windows快嗎?

...被分組到叢集中,叢集表示磁碟上連續的儲存空間塊。在格式化驅動器時,您可能已經注意到可以選擇分配單元大小(或群集大小)。為了管理這些叢集,作業系統使用檔案系統。 ...

  • 發佈於 2021-03-12 06:54
  • 閲讀 ( 49 )

10個簡單的excel省時軟體你可能已經忘記了

... 格式化單元格以使其內容正確顯示是完善電子表格的好方法。但是,使用功能區“數字”區域中的下拉選單執行此操作可能會非常耗時。相反,請嘗試將這些快捷方式提交...

  • 發佈於 2021-03-14 15:14
  • 閲讀 ( 52 )

如何使用excel的flash-fill和auto-fill自動錄入資料

...,Excel非常有用。但是,將這些資料輸入到文件中並正確格式化常常非常耗時。 ...

  • 發佈於 2021-03-14 22:40
  • 閲讀 ( 49 )

如何用microsoft word輕鬆製作徽標

...MicrosoftWord2013中**流程圖時相同的一些技術,透過對齊和格式化不同的形狀。該標誌將是一個有點藝術的眼睛比業務一樣的流程圖。 ...

  • 發佈於 2021-03-16 10:11
  • 閲讀 ( 54 )

8應自定義的microsoft office預設設定

...的“常規”上單擊滑鼠右鍵。單擊“修改…”。。。然後格式化。。。切換到“對齊”選項卡,勾選“換行文字”,然後單擊“確定”兩次。 ...

  • 發佈於 2021-03-16 10:58
  • 閲讀 ( 42 )

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

... 也就是說,FAT/FAT32實際上可以格式化高達16TB的硬碟驅動器,並且大多數作業系統支援高達2TB的容量。微軟已經為FAT/FAT32檔案系統設定了32GB的分割槽大小限制,以提升NTFS,這通常在處理大分割槽時效率...

  • 發佈於 2021-03-22 00:46
  • 閲讀 ( 43 )

microsoft excel中註釋的初學者指南

...小為9的Tahoma字型。您不能更改預設字型和字號,但可以格式化在註釋中輸入的文字。 ...

  • 發佈於 2021-03-25 05:10
  • 閲讀 ( 42 )

在mac上的excel中使用巨集可以節省時間並執行更多操作

...的銷售資料。(如果沒有資料填充此工作表,可以在所有單元格中輸入=randbween(101000)來建立虛擬資料。)接下來,單擊功能區中的“開發人員”。 ...

  • 發佈於 2021-03-26 11:00
  • 閲讀 ( 49 )
ljljljlnnl553
ljljljlnnl553

0 篇文章

作家榜

  1. admin 0 文章
  2. 孫小欽 0 文章
  3. JVhby0 0 文章
  4. fvpvzrr 0 文章
  5. 0sus8kksc 0 文章
  6. zsfn1903 0 文章
  7. w91395898 0 文章
  8. SuperQueen123 0 文章

相關推薦