NTFS ili FAT32 ?

3

NTFS ili FAT32 ?

offline
  • Pridružio: 18 Apr 2003
  • Poruke: 5001
  • Gde živiš: Beograd

Sta pise u MSDN bazi o razlikama ova dva fajl sistema....

Which is Faster, FAT or NTFS?
There are no simple answers to this question.

For small folders, the FAT file system might provide faster access to files, because:

The FAT structure is simpler.
The FAT folder size is smaller for an equal number of files.
FAT has no controls regarding whether a user can access a file or a folder Therefore, the system doesn't have to check permissions for an individual file or whether a specific user has access to the file or folder. However, Windows NT still has to determine if the file is read only, whether the file is on a FAT or NTFS volume, so the simpler controls for FAT volumes make little difference.

The NTFS file system uses a B-tree structure for all folders. This structure minimizes the number of disk accesses required to find a file, which makes access to the file faster than for a file on the FAT file system. In addition, if a folder is small enough to fit into the MFT record, you read the entire folder when you read its MFT record.

A FAT folder entry contains an index into the file allocation table, which identifies the cluster number for the first cluster of the folder. When you want to view a file, the FAT file system has to walk the folder structure to get to the file. For example, to start Disk Administrator, which is C:\Winnt40\System32\Windisk.exe, Windows NT finds the file on a FAT primary partition or logical drive by:

Reading the root folder of the C drive and searching in it for Winnt40.
Reading the starting cluster of Winnt40, and searching in that folder to find the System32 folder.
Reading the starting cluster of System32, and searching in that folder to find Windisk.exe.
Reading each of the clusters that contain parts of the file Windisk.exe.

In comparing performance on large folders having both long and short filenames, the speed of a FAT operation depends on the operation itself and the size of the folder. Creating files on a FAT folder might be faster. Opening a file might be faster on a FAT folder if the file is at the front of the folder. If the file doesn't exist, FAT has to search the entire folder to find this out. The search takes longer on FAT than on the B-tree structure used by the NTFS file system. Folder enumeration might be faster on a FAT folder. In mathematical terms, the average time to find a file on a FAT folder is a function of N/2, where N is the number of files. On an NTFS folder, the average time is a function of Log N. For small values of N, N/2 might actually be less than or equal to LogN. For larger values of N, LogN is less than N/2.

Several factors unique to the two file systems affect the speed with which Windows NT reads or writes a file.

Fragmentation of the file — if a file is badly fragmented, NTFS usually requires fewer disk accesses than FAT to find all of the fragments.
Cluster size — for both file systems, the default cluster size depends on the volume size, and is always a power of two. FAT addresses are 16 bits, and NTFS addresses are 64 bits. The default FAT cluster size is based upon the fact that the file allocation table can have at most 65,535 entries, so the cluster size is a direct function of the volume size divided by 65,535. Therefore, the default cluster size for FAT volume is almost always larger than the default cluster size for an NTFS volume of the same size. The larger cluster size for a FAT volume means that there might be less fragmentation in files on a FAT volume.
Location of small files — with the NTFS file system, the entire file is contained within the MFT record. The maximum file size that fits in the MFT record depends upon the cluster size and the number of attributes for the file.



Registruj se da bi učestvovao u diskusiji. Registrovanim korisnicima se NE prikazuju reklame unutar poruka.
offline
  • Pridružio: 04 Nov 2003
  • Poruke: 207

Ja imam xp na fat32 i radi sasvim normalno( osim sto mi slab procesor pa imam problema Very Happy sa dial-upom) ali svi kazu da je ntfs boji. To sto neces videti particije iz dos-a do je jedina razlika po meni.



offline
  • SVITAC 
  • Legendarni građanin
  • Pridružio: 28 Apr 2003
  • Poruke: 5919
  • Gde živiš: Beograd

Nije jedina .. mogućnost bolje zaštite .. maximalna veličina fajla je veća .. na ntfs'u .. itd .. i jedan i drugi sistem imaju predosti i mane .. sam korisnik treba da odluči šta će koristiti ..

offline
  • gamzzy 
  • Legendarni građanin
  • Pridružio: 24 Apr 2003
  • Poruke: 10725
  • Gde živiš: Novi Sad

Jedina razlika NTFSa koju sam ja do sada video u odnosu na FAT je da je nekompatibilniji i da je to pokušaj M$-a da napravi filesystem u kojem se mogu upisati i dozvole za korisnike i administratore, ali džaba kad ne radi kako treba...

offline
  • Goran 
  • Prof.Mr.Dr.Sci. Traumatologije
  • Pridružio: 05 Maj 2003
  • Poruke: 9977
  • Gde živiš: Singidunum

Kako to misliš ne radi kako treba, i šta bi trebalo da radi?

offline
  • Pridružio: 09 Sep 2003
  • Poruke: 230
  • Gde živiš: Beograd

Kada instaliras xp on ti savetuje da konvertujes particiju u ntfs, ako vec nije u tom fajl sistemu.

offline
  • Zoran Bujandric
  • Programer
  • Pridružio: 18 Apr 2003
  • Poruke: 152
  • Gde živiš: Podgorica

gamzzy ::Jedina razlika NTFSa koju sam ja do sada video u odnosu na FAT je da je nekompatibilniji i da je to pokušaj M$-a da napravi filesystem u kojem se mogu upisati i dozvole za korisnike i administratore, ali džaba kad ne radi kako treba...

Ne znam na sta si konkretno mislio, ali dozvole za korisnike i admine rade...
Ili ja zivim u zabludi. Smile

offline
  • gamzzy 
  • Legendarni građanin
  • Pridružio: 24 Apr 2003
  • Poruke: 10725
  • Gde živiš: Novi Sad

Mislio sam pod podešavanjem dozvola i posle ja kao običan korisnik ladno pristupim istim fajlovima... dok pod linux-om ja lepo određujem da li će dotični fajl moći da se uopšte i vidi od strane nekog drugog, a kamoli obriše...

offline
  • Zoran Bujandric
  • Programer
  • Pridružio: 18 Apr 2003
  • Poruke: 152
  • Gde živiš: Podgorica

Dakle, pod NTFS-om, ali ne i pod WIN32, mozes podesiti prilicno dobro
pristup folderima i fajlovima. Prije svega odredis korisnike, pa na security
ukines "everyone" i fino dodijelis prava...Ovo radi i moze prilicno dobro
da se podesi...dovoljno da neko ne moze da pristupi folderu, nesto brljne ili
izbrise. Tako ja ostavim ponegdje svoj folder razvoj, ako znam da cu opet
da intervenisem, logujem se kao vlasnik i sve je ok. Ostali mogu samo da
me mrze. Naravno, postavljam samo jednog administratora, da mi ostali
ne petljaju.

offline
  • Goran 
  • Prof.Mr.Dr.Sci. Traumatologije
  • Pridružio: 05 Maj 2003
  • Poruke: 9977
  • Gde živiš: Singidunum

gamzzy ::Mislio sam pod podešavanjem dozvola i posle ja kao običan korisnik ladno pristupim istim fajlovima... dok pod linux-om ja lepo određujem da li će dotični fajl moći da se uopšte i vidi od strane nekog drugog, a kamoli obriše...Da je to tačno kao što ti pričaš ja bih u mojoj banci imao pravi javašluk sa fajlovima. Lepo setujem ko šta i gde može da pristupa, čita, briše i modifikuje i to radi bezprekorno.
Prvom prilikom kad dođeš kod mene ćemo to demistifikovati. Smile

Ko je trenutno na forumu
 

Ukupno su 822 korisnika na forumu :: 3 registrovanih, 1 sakriven i 818 gosta   ::   [ Administrator ] [ Supermoderator ] [ Moderator ] :: Detaljnije

Najviše korisnika na forumu ikad bilo je 3466 - dana 01 Jun 2021 17:07

Korisnici koji su trenutno na forumu:
Korisnici trenutno na forumu: bladesu, Milos82, scimitar19