फ़ॉर्मेटिंग के दौरान आवंटन इकाई आकार को क्या सेट करना चाहिए?

विषयसूची:

फ़ॉर्मेटिंग के दौरान आवंटन इकाई आकार को क्या सेट करना चाहिए?
फ़ॉर्मेटिंग के दौरान आवंटन इकाई आकार को क्या सेट करना चाहिए?

वीडियो: फ़ॉर्मेटिंग के दौरान आवंटन इकाई आकार को क्या सेट करना चाहिए?

वीडियो: फ़ॉर्मेटिंग के दौरान आवंटन इकाई आकार को क्या सेट करना चाहिए?
वीडियो: 𝐑𝐞𝐬𝐭𝐨𝐫𝐚𝐭𝐢𝐨𝐧 𝐨𝐟 𝐎𝐑𝐈𝐆𝐈𝐍𝐀𝐋 𝐗𝐁𝐎𝐗 🎮 X𝐛𝐨𝐱𝟐𝟎 🎉 | 𝐑𝐞𝐭𝐫𝐨 𝐑𝐞𝐩𝐚𝐢𝐫 𝐆𝐮𝐲 𝐄𝐩𝐢𝐬𝐨𝐝𝐞 𝟓 - YouTube 2024, मई
Anonim
फ़ाइल सिस्टम के लिए पूछने के अलावा आप उपयोग करना चाहते हैं, डिस्क स्वरूपण उपकरण "आवंटन इकाई आकार" के लिए भी पूछेंगे। इसका क्या अर्थ है और आप किस मूल्य का चयन करना चाहिए?
फ़ाइल सिस्टम के लिए पूछने के अलावा आप उपयोग करना चाहते हैं, डिस्क स्वरूपण उपकरण "आवंटन इकाई आकार" के लिए भी पूछेंगे। इसका क्या अर्थ है और आप किस मूल्य का चयन करना चाहिए?

आज का प्रश्न और उत्तर सत्र हमारे पास सुपरयूसर की सौजन्य है - स्टैक एक्सचेंज का एक उपविभाग, क्यू एंड ए वेब साइट्स का एक समुदाय संचालित समूह।

प्रश्न

सुपर यूज़र रीडर एंड्रयू केटन इस बारे में उत्सुक हैं कि ड्राइव को स्वरूपित करते समय उन्हें आवंटन अनुभाग में क्या रखा जाना चाहिए। वह लिखता है:

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 options 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?”

जबकि अधिकांश उपयोगकर्ताओं के लिए डिफ़ॉल्ट सेटिंग आमतौर पर सबसे अच्छी पसंद होती है, चलिए थोड़ा गहरा खोदते हैं।

जवाब

सुपरयूसर योगदानकर्ता जोनाथन और एंड्रयू कुछ अंतर्दृष्टि प्रदान करते हैं। जोनाथन लिखते हैं:
सुपरयूसर योगदानकर्ता जोनाथन और एंड्रयू कुछ अंतर्दृष्टि प्रदान करते हैं। जोनाथन लिखते हैं:

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 small files, then it’s a good idea to keep the allocation size small 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 small difference by choosing the right allocation size. Suggest you just keep the default.

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

एंड्रयू ने जोनाथन के जवाब पर विस्तार किया:

In terms of space efficiency, smaller 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 small 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 smaller than 16TB).

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

fsutil fsinfo ntfsinfo X:

स्पष्टीकरण में जोड़ने के लिए कुछ है? टिप्पणियों में आवाज उठाओ। अन्य तकनीक-समझदार स्टैक एक्सचेंज उपयोगकर्ताओं से अधिक उत्तरों पढ़ना चाहते हैं? यहां पूर्ण चर्चा धागा देखें।

सिफारिश की: