請教儲存容量的問題



贊助商連結


vicky2395
2009-05-11, 03:00 PM
如圖所示,請問這兩個有何不同???
這個檔案到底多大??

贊助商連結


Schnaufer
2009-05-11, 03:59 PM
It should be a folder, not a file.

BTW, Size vs. Size on disk

Files are stored on the disk in what is called called clusters (a group of disk sectors). Size on disk refers to the amount of cluster allocation a file is taking up, compared to file size which is an actual byte count. The lowest cluster size for FAT32 is 1, so if the actual file only needs a small portion of the cluster, the size on disk for that file will reflect the entire cluster as being used. This is why when you check the properties tab of a file (using Microsoft Windows), you will usually see the size on disk size is larger than the file size.

無聊
2009-05-11, 04:47 PM
如 Schnaufer 是1個資料夾

大小:邏輯大小
磁碟大小:實際佔據磁碟大小

照2個值,落差如此大...表示裡面有太多的小檔案,例如〔圖檔:JPG 類〕
而且也要參考,它的邏輯的磁碟格式為何(NTFS/FAT32/FAT16),及磁碟的容量大小,也會影響到它的〔空間〕浪費程度大小...

琥珀
2009-05-11, 08:09 PM
廣義地說,資料夾 (目錄) 也是檔案的一種,只是登記類型不同,且不計空間大小。

隨意新增一個文字檔,輸入一個位元組的資料,看磁碟佔用空間,即為配置單元大小。對於 2000/XP 的 NTFS 檔案系統,常見的叢集大小是 4K。以 4K 為基礎,儲存各種大小的檔案,不足 4K 以 4K 分配。

是否要自訂叢集大小,達到效能最佳化,就看使用需求。以前認定的最佳配置大小,會隨著時代變遷、技術進步,變成參考性質,因此若非對作業系統及檔案系統熟悉的用戶,改了也不一定有實質效果。

vicky2395
2009-05-13, 10:21 AM
謝謝大家的回應。

YoHoHo
2009-05-19, 01:35 PM
就是說你在停車場有一個車位,擁有一台汽車的空間,停車場規定只能停一台車,所以你停了一台腳踏車,雖然腳踏車實際只有暫小小的空間,但對停車場來說還是佔了一個汽車停車位