The fastest File System.
Hello.
I use Debian 8.6 amd64 and my PC not have any SSD. I like to use a File System that its speed is high, Any idea? Thank you. |
As it was already told:
How about you make at least some effort to find out for yourself? But I post you a site as an example I found within a minute: http://unix.stackexchange.com/questi...ot-of-small-fi |
Quote:
|
Users' experiences will depend on what they use their computers for and what storage media they have. Just to quote from memory, xfs is incredibly fast for huge files but very bad for lots of small ones: it's used in TV studios but not in data-centres.
As you can see in the stackexchange post, there's not a great deal of difference. For the user of a desktop or laptop, as opposed to a server, the time spent fetching files is usually going to be small compared to the time spent dealing with them, or waiting for your input. |
The fastest file system is ext2 which does not do journaling. All of the journaling file systems are a little slower than ext2. However other considerations such as file system size, speed of recovery from crashes, etc. mean that a journaling file system is usually a better choice than ext2.
I would stay away from reiserfs. Maintenance of reiserfs has been poor since Hans Reiser went to jail for murdering his wife. reiserfs is outdated. As other posters have noted there is some difference in performance based on extreme examples of large files or a large number of small files. If your files are nothing out of the ordinary I would recommend that you use ext4. -------------------- Steve Stites |
Quote:
http://www.linux-magazine.com/Online...ms-Benchmarked Especially reads: http://media.community.dell.com/en/d...gru31q6508.png |
Just thnking out loud but isnn't the filesystem largely irrelevant once a file has been opened? By that I mean that once the data has been located it's then read in as fast as the disk can do it (fragmentation aside). So, then, you're looking for quick lookup (isn't that what b-tree bttrfs is about) but that lookup depends upon more than just the FS.
Is the FS really all that relevant (really badly set up ones aside)? |
I used to use ext2 believing from web pages that it is faster but in my own results on modern systems and modern distro's I've found generally ext4 to be fastest (SOHO use) but each kernel level and filesystem level makes any measurement difficult.
Fastest is not a good term. Overall rating of a filesystem is measured using many metrics and under various conditions so your mileage may vary. You pick a filesystem based on many features, not just one single test. |
Quote:
@273 Quote:
Metadata operations can also be very variable between filesystems, but practically, an end user computer probably rarely sees that in a big way, but a fileserver has the potential to be quite different. @szboardstretcher Given the lack of development in ext2, your conclusion is probably perfectly correct, but that article is probably too old to give all that much solid evidence about the performance of current filesystems. XFS has had a big rewrite since then, BTRFS is under strong continuous development (don't ask about the RAID modes, such as 5 or 6, which, last I heard needed a total re-write, although that might have happened by now, certainly hadn't happened by the time of that earlier reference) and even the relatively stable ext4 gets significant, frequent, but smaller changes. |
Quote:
I'm not sure what you mean by "metadata operations"? If you refer to journaling and the like then, yes, I can believe that different ways of doing that are better at different types of files (lots of small versus a few large, for example) but that's not what is being asked here -- this is referring to the OPs PC and I'm guessing that there's a mix of file sizes and types. |
Thus, Ext4 is better than others but a SSD hard disk is mandatory.
|
I tend to xfs if speed is a concern. But most of my machines are slow and my apps are small, so not really an issue for me. With the hardware, zfs can be fast. But if you're not willing to pay for the difference between ssd and hdd, good luck. There's M.2 and other hardware options that make most filesystems kind of moot. And HDDs kind of obsolete, beyond archival in $ per G. Or trust issues with known good ways to dispose of the drives without launching them into space aimed at a gas giant.
|
Quote:
File allocation policies are a heavily debated subject and there are trade-offs between how soon the filesystem has to start manoeuvring around this problem and how bad it gets once it does set in. As you mention BTRFS, being a CoW system, the problem it faces when re-writing a file (say, storing changes after a modification in an editor) is rather different from the problem faced by more traditional file systems. Quote:
http://www.linux-mag.com/cache/7525/1.html http://www.linux-mag.com/id/7518/ http://www.linux-mag.com/cache/7497/1.html http://www.linux-mag.com/cache/7742/1.html http://www.linux-mag.com/cache/7642/1.html The fact that there is a mix of file types and sizes really does nothing to help your argument: what would help would be if there was no mix of file operations but for the reasons that you mention that is unlikely to be the case for the OP. |
Quote:
Quote:
I still don't see much evidence that the file system choice makes any appreciable difference to day-to-day desktop PC use in a way which can be quantified enough to dictate a "fastest file system". I agree with Shadow_7 that a faster medium's a good choice. Whether or not the file size, type, or read:write ratio makes a difference on servers I'll leave you to dictate should you wish. |
"Thus, Ext4 is better than others but a SSD hard disk is mandatory."
I don't get it, do you mean you have a mandatory need for a ssd or are you saying that only a ssd with ext4 would be "fastest"? I'll agree that xfs is a great choice on some of the most modern server uses. May eventually be better than ext4 for general use as it is being worked on again. There have been some efforts to make a filesystem that targets a ssd but I don't know how the metrics on that stack up today. |
All times are GMT -5. The time now is 08:13 PM. |