Slashdot Log In
USB Flash Drive Comparison Part 2 — FAT32 Vs. NTFS
Posted by
timothy
on Tue Jan 27, 2009 11:54 AM
from the get-your-data-past-the-border-guards dept.
from the get-your-data-past-the-border-guards dept.
Dampeal writes "Ok, a little while back I ran a somewhat large USB Flash Drive Comparison with 21 drives compared, today I got part two of that comparison. I've taken the 8gig and 4 gig drives, nine in total, and formatted them FAT32, NTFS and ExFAT and ran all of the tests over again for a comparison of how the file systems work on the drives." Good news — after some exhaustively graphed testing scenarios, the author comes to a nice conclusion for lazy people, writing "[I]n my opinion the all around best choice is FAT32, or the default for most all USB drives out there today, it seems to give us the best average performance overall."
Related Stories
Submission: USB Flash Drive Comparison part 2 - FAT32 vs NTFS by Anonymous Coward
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.
Great (Score:4, Informative)
Re: (Score:2, Funny)
I'm too lazy to even care.
Re: (Score:2, Funny)
I'm too lazy to even care.
Morla, is that you?
Re:Great (Score:4, Funny)
Wow... Neverending Story reference on Slashdot?
Way to make me feel old, asshole. ;)
Parent
Re: (Score:2)
Re:Great (Score:5, Insightful)
What about ext2 and other filesystems then?
Parent
Installing the ext2 driver? (Score:5, Informative)
What about ext2 and other filesystems then?
Ninety percent of desktop PCs run Windows, and for interchange among the public, file systems that most PCs running Windows cannot read aren't worth testing. If you format your USB drive as ext2 and carry it to someone else's PC, you'll need to 1. carry a CD or a second USB drive with the ext2 driver [fs-driver.org] and 2. get admin rights in order to install it on someone else's PC. It'd be like the Windows 9x days, when you needed to carry a floppy disk with the USB mass storage class driver whenever you used someone else's computer.
Parent
You can partition flash drives (Score:4, Interesting)
Parent
Re: (Score:3, Interesting)
I use USB-pens to securly transfere my data from A -> B, gpg keys, documents, etc. Just because you use your USB-pens to spread viruses between windows pcs doesn't mean everybody does! I'd be quite interested to see ext2 vs reiserfs vs jfs vs fat.
Re: (Score:3, Interesting)
Re: (Score:3, Funny)
Thus Microsoft has the perfect way to EOF XP... Support UDF, Microsoft! It will force people to upgrade! s/force/encourage
Re:Great (Score:4, Informative)
Define "best". The manufacturers will have selected FAT32 based on compatibility. The test shows that it's a good choice for performance too.
Parent
No JFFS2? (Score:4, Insightful)
Same applies to SSDs? (Score:5, Interesting)
Don't install your OS on FAT32... (Score:5, Informative)
The question about filesystems has come up a few times over on the Dell Mini forums. Basically the question is which is better to use on machines with SSDs? If you're not dealing with >4GB files, several people have suggested that you're better off formatting the drive as FAT32. I'll need to take a better look at this article when I get a chance, but it seems to be suggesting the same thing.
FAT32 is fine for a USB stick, but you shouldn't install an OS on it. The problem is that FAT32 has no concept of file ownership. So your operating system will be unable to restrict access to files based on the user, which is one of the building blocks of security on any modern OS. This way, any (malicious) process running on the system can overwrite critical system files to do arbitrary damage.
Even if you run windows XP as adminstrator, not all processes on your system run as administrator so you will still be (slightly) decreasing security by having it on a FAT32 filesystem.
Parent
Re: (Score:2, Insightful)
Permissions on XP are screwed and hurt more than they help. Being unable to delete/move some files even as Administrator in single user mode is bullshit.
Re:Don't install your OS on FAT32... (Score:4, Informative)
Google "unlocker". Very useful tool.
Parent
not so fast (Score:5, Informative)
Re: (Score:2)
You mean like exFAT? Which, as far as I'm aware, is basically just FAT64. I.e. it's got all the "benefits" of FAT32 without the filesize limit, probably at the cost of a bit of performance.
Re: (Score:3, Informative)
Re: (Score:2)
I'd wager that it's more compatible than NTFS, though.
Still, it's not ideal and I agree with what you're saying.
Re:not so fast (Score:4, Informative)
Parent
NTFS patten? (Score:3, Interesting)
Re: (Score:2)
Do you mean "patent"?
Re:NTFS patten? (Score:5, Funny)
Parent
Re:NTFS patten? (Score:5, Funny)
He did, unfortunately there is a patten on that word.
Parent
Re: (Score:2)
It only has a patent on it if you say it like the British do: "pay-tent". If you say it like a true American -- "pah-tent", then there's no law broken.
Re:NTFS patten? (Score:5, Funny)
You clearly mean treadmark. Which may have been left by a Patton, if he ran over your flash drive with his Jeep.
Parent
Re: (Score:2)
Actually I did write Patton the first time, and then I changed it to patten.
Which is apparently a type of shoe.
Question (Score:4, Funny)
Re:Question (Score:4, Funny)
Better question: Will the USB drive die faster with ReiserFS?
Parent
Re:Question (Score:4, Funny)
You might have trouble finding your files on ReiserFS.
Nah, you just have to dig around a bit in the directories. They're rarely very far from where you last saw them.
Parent
Size matters (Score:2)
Did he run tests with 16GB files?
Re:Size matters (Score:5, Informative)
FTA: "I've taken the 8gig and 4 gig drives, nine in total"
FTA: "I used a 350MB
More importantly, he couldn't use a 16GB file, since FAT32 doesn't support single files over 4GB.
Parent
Re:Size matters (Score:5, Funny)
Did he run tests with 16GB files?
...
More importantly, he couldn't use a 16GB file, since
FAT32 doesn't support single files over 4GB.
And because 4GB drives don't support files over 4GB.
Parent
Re: (Score:3, Interesting)
True, but it will happily install (at least using the Linux Kernel's driver for it) on any size drive. I did that a few years ago for a backup drive that had to be accessible from Linux as well as Windows. Windows would only allow the FS to format to 32GB; while the Linux driver let it take up the whole drive (120GB? can't quite remember). The real funny thing was that Windows was happy to work with the drive afterwards and didn't complain whatsoever about the l
incomplete tests (Score:4, Interesting)
Re: (Score:2)
I have seen a couple of problems with FAT based flash drives.
What happened in both cases was that the files got "locked", and couldn't be deleted on OSX and Linux, but a fsck fixed the issue.
What about UFS? (Score:2)
Would one of the UFS variations be suitable for flash drives? And also better portability (almost all OS's support UFS by now). Would performance be better?
Read vs Write (Score:3, Interesting)
I wonder what makes NTFS so slow for writes? The journaling alone reduces it that far?
Re: (Score:2)
Re: (Score:3, Interesting)
I'd guess it's because NTFS sucks on a removable device. On Windows, by default, hot pluggable devices are mounted with write through caching. NTFS supports this but not very efficiently.
FAT32 and exFAT are simple enough that you can do safe access to a disk even without much write caching. FAT (and probably exFAT) actually defines a way to mark the volume as dirty in the first FAT entry at the start of each transaction where the FAT will be modified.
If someone pulls the drive right in the middle of writing
Important for me (Score:5, Interesting)
I'm currently on site at a customer's office. I have one of their PCs and one of ours; legal restrictions mean I can't copy our source onto their machines or their source onto ours.
The solution to this is to put a copy of our source onto a USB stick and plug it into their machine, and then use a NTFS junction point (aka a symlink) to let their Windows-based build system see our source. This works very nicely, and I can just unplug the USB stick whenever I leave and the lawyers are happy.
However:
- I have to use NTFS. This is because the two machines are set to use different time zones, and frickin' FAT stores timestamps in the local time, which means that if I were to touch a file on one machine and the move the USB stick, the build system will go horribly wrong.
- I have 'optimise for performance' turned on; the non-Windows world calls this write caching. This boosts performance on NTFS *hugely*. I see no mention of this in the review. I now have to remember to unmount the stick on the Windows machine before pulling it, but it's worth it.
- You have to use the command line format.exe to format a removable drive as NTFS, because frickin' Windows doesn't let you do it from the GUI.
- If you turn NTFS compression on, you get a tiny bit more speed boost. But while Linux will read compressed NTFS files, it won't write them.
- You need to do something obscure with NTFS file permissions if you're going to move the stick between two Windows machines, because otherwise you'll be creating files on one machine you won't be allowed to edit on the other. Linux, of course, just ignores NTFS ACLs.
I have investigated the Windows ext2 driver, but while it does work reasonably well, it's still pretty clunky, and ext2 isn't much better than NTFS. What I'd really like is a decent Windows JFS or XFS driver --- NTFS is *so* last century.
You have to use the command line format.exe (Score:4, Informative)
Select the usb drive right click/hardware/policies select optimize for performance and the GUI formatter will now have NTFS as an option.
After formatting you can reset the policy as needed.
I personally turn optimize for performance off on USB drives as many times explorer or some other program will lock the drive preventing a safe removal.
Parent
Slashdotted (Score:2)
Since the article is /.ed and I can't RTFA anyway, a question: I'm about to have a user start backing her files up to a 32GB USB stick. Probably no huge movie files. Should I format the stick as NTFS or exFAT (she's running Vista SP1)?
Re: (Score:2)
According to the benchmarks, exFAT. If you trust it not to die a horrible death and to be readable anywhere else.
NTFS Permissions/Speed (Score:2)
Filesystem for Slashdotters (Score:3, Interesting)
I don't care for compatibility with Windows. I use exclusively free *nixes and so does all my friends (otherwise they wouldn't be real friends, would they?). So having this richer buffet of file systems than just the two in the article, what should I choose? I have heard someone say that ext2 means less wear on the drive than ext3 (something with journaling?).
Re: (Score:2)
Re:Choose NTFS for the life of your drive (Score:4, Informative)
Flash drives have a flash translation layer that makes the flash look like a regular disk despite having special properties. This layer handles the wear-leveling, garbage collection, and bad block detection so the standard filesystem (that was designed for magnetic disks, probably) doesn't have to consider them. Regardless of the filesystem used, the wear of the device should be related to the total amount of data written, not the location of the data.
Parent