Linux File System Shootout
IpSo_ writes "Finally an extensive, human readable Linux file system benchmark has been unleashed upon us. Originally posted on the Linux Kernel mailing list, using two of the most popular benchmarking tools available, it compares all the major file systems, including their different mount options. The results are surprising."
I am sorry..all I see are numbers floating around. Does someone have a "human readable" summary of this ?
My mom never taught me to sign.
NTFS has been removed of the benchmark results because it was the best performer in every test!
Can someone with it open mirror it please - will not open. All I can get is a 685b file
The Singularity is closer than you think
Quant
Samba is not a file system, and as such is not in the benchmarks. RTFA and see http://samba.org
$ strings FTP.EXE | grep Copyright
@(#) Copyright (c) 1983 The Regents of the University of California.
Woah, looks like JFS performs really well!
Anyone has good/bad experience using JFS?
Hmm... I think I'll setup my test box with JFS...
--
One by one the penguins steal my sanity...
Hld on.. Isn't that the one SCO is claiming to own?
There is have focus on throughput in these benchmarks. Reading and writing lots of data, seeking in files and reading data, etc.
Notably missing are more day-to-day useful operations such as the creation and deletion of lots of files, parallel action on many open files,
lots of files in a directory, etc.
When I want to select a filesystem, I do not want to know how fast it can read a 3GB file sequentially. I want to know how well it performs on a fileserver, mailserver etc.
and i cannot make head or tail of that. it should read "uber linux haxx0r geek readable". could someone please explain - in lamens terms, which one i should be using to stream my avi's off to my xbox (www.xboxmediaplayer.de) using SMB shares? ;)
best: jfs
worst: ext3_journal
bonnie++ benchmark
best: ext2
worst: reiser4/reiser4_extents, ext3_ordered/ext3_journal
Still, they are interesting in showing areas of performance where something is a bit amiss.
It would be nice if exactly what they did was explained. You know, things like how you can get both the lowest total elapsed time and the worst overall score on one of the runs (because of CPU usage? ), what task was measured by each of the numbers printed, what the different settings on the different runs mean.....
Sigh, time to go read the source code for them.
Are there any similiar bakeoffs that work out efficiency with regards to different file sizes?
It would be nice if non-Linux filesystems (FATxx, NTFS etc) were also benchmarked.
Hey, if somebody could organize this data into histograms, it'd be a lot easier to interpret the results..
I'm sory, what do you mean by "Human Readable"?
:)
Thats one of the most difficult to read things I ever saw
The page has some weird problem. Clicking the link in IE6 triggered a question whether I want to open "fsbench.netnation(1)" directly, or save it to the disk. Same result when typing the uri manually to address bar.
No similar problems with Mozilla Firebird, though...
“Wait for Hurd if you want something real” –Linus
Juicy stories like this should be saved for Friday nights. ;)
"Derp de derp."
Which only goes to show that filesystem benchmarks are completely dumb and useless.
In a networking environment, the speed of a filesystem is not so important as the ease of interoperability between networked machines.
... is that, overall, ext2fs seems to perform better than ext3fs. I know journaling is an important advantage of ext3fs, but isn't it more important (for some applications) to have better performances?
And, as many others have already pointed out, it would be nice to have a comparison of these file systems with the *BSDs FFS...
Any comment on this would be greatly appreciated!
The right to offend is far more important than the right not to be offended. (Rowan Atkinson)
I see that JFS won in the bonnie test, but EXT2 put up one hell of a fight and won the other roundup. I didnt think EXT2 was a journaling file system. Is it fair to thow in a Non Journaling FS in a benchmark against a bunch of Journaling ones? If it isnt journaling, then I gess Im going with JFS.
If I am wrong, please either resopond to correct me or email me.
scythefwd@yahoo.com
Stop signs are only Suggestions
Looks like in my next upgrading / reinstalling cycle XFS will be the filesystem I use on my media files, the / will still be ext2 ( hey, aint broken don't fix it )
I'm not trying to be an asshole or a troll; just hear me out.
I love Reiser. I also love Gentoo and adore Debian. Myself and another guy, Joe, are the main "linux geeks" in our computer group (cugy.net). When it came time to decide what to support at our group, we had to choose RedHat.
If I'm in a message board or IRC channel, I need to know some things about the guy I'm helping. We reccomend RedHat because that is the biggest US company behind Linux (IBM and SUN notwithstanding). If I am teaching people about Linux, then it is to both our advantages to teach/learn about what we will see "in the field". Therefore, we only support RedHat.
What does this have to do with anything? Well, RedHat 9 and Severn do not allow the creation of Reiser by default. I could probably boot from a Gentoo disk and format a partition to Reiser, then install RedHat to it. But, by default, only ext* is allowed.
I love to do things that improve performance. I love testing new things on my laptop or on a offline box in our test lab. But unless RedHat offers it, it will remain in the shadows of the linux world, which is, in turn, in the shadows of the user enclave. Hell, of every important box on my network, they are either RedHat or Win2k.
More on topic, Joe got a lot of recognition when the "internet got a lot faster". Did he upgrade the firewall? Did he install another OC-3? Maybe he reconfigured services on the proxy?
Nope, he installed a hard drive, formatted it to Reiser, and moved the proxy cache to the reiser disk. I couldn't belive it. Just changing the filesystem caused an increase that was noticable across our network. At no cost!
Good work, Joe.
I'd rather you do it wrong, than for me to have to do it at all.
I haven't seen more incorrect statement for quite a while.
What the author of the post you replied, probably meant, was that if the performance of a certain filesystem with samba is in a lot of cases more important than the performance of the file system pur sang, because lots of linux fileservers must be connected with window clients.
;-)
Anyway, the same accounts for DB-servers, etc. etc.
Please think before you flame
We did a lot of testing with various file systems for a product earlier this year. After a couple of terabytes of intensive reads/writes (and a couple of days...) the JFS kernel processes randomly locked up and blocked all disk I/O operations (1.1.0 and 1.1.1 versions). JFS was indeed the fastest of the file systems we tested, but we had to drop it for being unreliable.
I wonder if anyone has some experience with the reliability of the current version?
Score:1, Unread
Use XFS unless you want to do lots of deletes (as they are slow and expensive) in which case ext2 is probably a better bet since the files are probably temporary (Squid caches for example).
One thing that is even more important then benchmarks is the stability of the system...
I was once a very happy user of ReiserFS until the day the system kept on crashing when trying to start Mozilla...
It turned out the ReiserFS was corrupt and a rebuild of the tree was, well, not totally ok. Some of my files are corrupt still, but at least the system is running...
Does anyone have some good ideas on what filesystem is the most stable/best to reconstruct when things go FUBAR ?
Uhh, I use XFS almost excluseively, and I sure am enjoying its JOURNALING features that you claim it does not have. Oh, and if I am not mistaken the J in JFS means exactly what you are claiming it doesn't. ....jackass.
By that classification, I'm definitely some kind of monkey...
-- "There's no explaining the things that might happen; there's now a new home for technology in fashion."
One thing which would certainly improve the performance in these tests would be to use hardware which isn't completely outdated. They tested on a Pentium II (with matching outdated board and chipset) and a 6.4 GB harddisk. And I was wondering how no filesystem managed to move more than 15 MB/s... Come on, a low-end machine may make the differences easier to measure, but do you really want to produce the image that Linux filesystems can't move data at today's speeds? At least put abbreviated specs on the results pages.
Now, before everyone goes "I knew it! ext3 sux!!!!111!!1", remember that the default mode for ext3 is ordered, and not journal. Compare the numbers for ext3_ordered and ext3_writeback with reiser/xfs/jfs, and you'll see that ext3 is very very close in most cases.
Hello, my name is Robert Lerner, and I pronounce Lernux as "99% cpu"
type "linux reiserfs" when booting the installer, and you will have access to reiserfs during redhat install.
i've been using this method for ~2 years now.
Wow, it looks like SCO has the best filesystems for Linux with JFS and XFS.
It looks like JFS is the shit. EXT3 not so good.
I'll put my JFS (jackable Friday shows) against your JFS (journaling file systems) any day, especially on Friday. I bet journaling file systems don't come with a Flowmaster Hit-The-Ceiling Guarantee...
--
Rate Naked People at Fuck Meter (not work-safe!)
Filesystem benchmarks can be remarkably inconsistent. These tables do not display average difference between runs. Usually this means that the methodology used to do the benchmarking is lax, and thus, untrustworthy.
For example, consider that harddrives do their own error correction. Depending on the location of marginal blocks on the media, different file systems can score dramatically for no other reason than the drive's re-mapping or error correction logic is kicking in at a bad point. Alignment of data can also be a factor in performace which depending on the formatting procedure may be completely random when compared to the file system sitting on top of it.
For these reasons and a host of others, it is not reliable to do filesystem performance comparison on a single machine.
Bottom line is that there is a good chance that these data are not fair representations of the relative merits of each filesystem.
Why do the benchmarks seem to be completely opposed to the other. The bonnie says reiser4 is faster, and the iozone says jfs is faster, and reiser is the slowest. This isn't making a great deal of sense to me.
Well ext3 might suck but when you've only got a resuce system that can read ext2 it can really save your neck. I would be intrested to see what is best in terms of stability though..
Rus
Cheap UK and US VPS
Is it me, or is there a lack of information about the machine the tests were run on such as why is almost all of the memory used up? Second, a system with a single disk and swap is in use? What was this guy trying to test anyhow? All this tests is basically a typical Linux box with a single drive. I wouldn't base any decision to go from one filesystem to another based on these tests!
I could go on... About the only thing it is missing is encryption. Of course it remains to be seen whether the port to Linux will be successful, and whether Novell has the sense to make it open source.
Did you know that partial different equations attempt to solve a problem (like fluid dynamics), which can be potentially solved simpler by Wolfram's Programmatic Mathematics.
Are you saying WTF? Well, congratulations, not everybody wants to know that level of detail in a particular subject.
The results are a bunch of numbers that for some people are totally non-comprehensible because they do not understand that level of detail.
Some folks would rather know why a particular file system is better than another using a couple of words... It has nothing to do with being an MTV generation kid!
"You can't make a race horse of a pig"
"No," said Samuel, "but you can make very fast pig"
Sorry, I looked at the benchmark results and quickly reached total eye glaze over. I think it could be presented a lot more clearly.
I used to have a gentoo install with a JFS partition for the system on my laptop. The laptop ran so slow that I reinstalled the whole thing with reiserfs, now it runs so much faster, so how could JFS come in so high on the benchmarks while my experience has been that its dog slow?
The way to corrupt a youth is to teach him to hold in higher value them who think alike than those who think differently
These benchmarks were performed on relatively old hardware, with a slow cpu and a disk only running UDMA2. And, as others have already pointed out, the data are statistically not really reliable.
Myself, I'd be much more interested in seeing numbers made on a setup more like my own.
Static benchmarks are never good for deciding "which is best".
Think before you flame? You do realise how stupid that statement is upon further review, correct? ;-)
'Standards' in computing only impress those who are impressed by things like 'standards'.
I hate to point out the blaringly obvious, but who did the test? Linux kernel group. Can linux be run native on MS FS's? Nope. Ergo, any test you're going to run cannot be relevant in a direct comparison.
Additionally, any access to MS FS's from a linux OS is reverse engineered, certainly not MS certified/sanctified, and would therefore be horribly unfair to them.
The more interesting question to ask here is why doesn't MS have these types of tests published? Where are the comparisons on database, file/web/app servers? They do them, but you'll never see them posted for rather obvious reasons. (If you have to ask, then you should consider how much of a deficit running the gui from kernel space inflicts on a server right off the top.)
every filesystem has its own purpose, for example reiser4 has atomic operations, database like capabilities, journalizing and metadata. now how are you going to say that ext2 is better because it performed better in brenchmark xyz. this is just the same thing as people buying a graphics card because it scored 1 or 2 fps more then an other card but forget that the other card has a build in mpeg2 or for the same price.
-- "You can lead a yak to water, but you can't teach an old dog to make a silk purse out of a pig in a poke" - Opus
I don't know about other people but for me reliability is FAR more important that speed. In my house my computer gets bashed around, we have power cuts, ocationally someone pulls the cord e.t.c. I want a filesystem that I know will not break and preferably even be able to cope with minor physical errors appearing on the disk!
I have a new 200GB hard-drive on the way that will be here any day now. I plan on using this new drive as a storage drive for music, digital camera images, documents, bookmarks, settings, game save data, e-mail messages, backup data, and so on. If WinXP or Linux irreparably crashes on me, this storage drive (and it's mirrored backup) will contain all the data I care about.
I have two different physical drives in this machine now and I dual boot between them. Linux (for just about everything I do) and then WinXP (for things that absolutely require Windows.)
The new drive I'm getting will be hooked up to my machine externally via Firewire. (I don't need help with the external setup. I already have another drive hooked up this way and it works just fine.)
Now my question is - what is the best file system to use for compatibility between Windows XP and Linux. I require full read/write access to this drive whether I'm in Linux or WinXP. I know NTFS is out. (Even with the 2.6 kernel, write support from Linux to an NTFS partition is limited [can't create new files or directories] and Linux NTFS writing is not considered completely safe.)
I'm guessing VFAT is my only option but I thought I would ask around first.
I do have another machine laying around but I don't want to set it up as an NFS/Samba server for a few different reasons. #1. I don't want to leave the machine on 24/7. #2. I don't want to tie up that machine. I like experimenting with new things so if I turned that machine into a full time server, I wouldn't have a test bed machine any more. #3. I don't like NFS.
I have also thought about one of those Network Area Storage systems. Maybe someday, but at this point in time that idea is out too.
Does anyone have any experience with this? What solutions have you come up with?
I was just BS'ing with the Big Blue Ballz, and they've been actively developing JFS for linux for quite a while. Why? Check here:
p yr ights_Story01.html
http://mozillaquest.com/Linux03/ScoSource-24-Co
Or: "SCO-Caldera also admits that it does not own the copyrights for the JFS, RCU, and NUMA software code that IBM contributed to the Linux kernel -- or other IBM-developed AIX code that IBM contributed to the Linux kernel."
Sorry, I don't have cohorts @ SGI, or I'd try to take issue with XFS ownership as well. SCO's 'ownership' will surely relegate it to a meaningless death.
--NFS? Http? Ftp? Bah! What are these things to me? I just use netcat. ;-b
.
== WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
~15-20MB/s best case sustained for a sequential write? You might want to baseline this with raw performance, take a look at IOPs amd filesystem layout for a particular application, adjust the blocksize and take an approach like what's laid out on http://www.storageperformance.org/ ..
If 30 33.3MB files (bonnie test) are not representative of your needs, please download the scripts. You can then modify the parameters for thousands of 2k files and post the results. Lots of people would be intersted, you know.
Friends don't help friends install M$ junk.
Y'know - GFS vs OpenGFS vs OCFS vs OpenAFS etc Problem with these benchmarks is they're out of context - there's never going to be a clear winner in all categories. Small number of big files/large number of small files, mostly reads/mostly writes, mostly random/mostly sequential access. And when you chuck in robustness and performance, it's even less clear. Please could someone come up with a set of application-specific fs benchmarks - departmental file server/app server/database server/mail server/web server - and do a clustered version to boot?
Safari silently gunzips it and saves it to the desktop.
As for complaints about Reiser's performance -- last I heard, it was more optimized for many small files -- precisely the domain that this thing didn't test.
"Evil company X is threatening to restrict our rights! Let's all get together to stop--OOOH! SHINEY!!!" -- AC
Come on! What are they going to say "Linux makes our filesystem look bad because we won't tell the developers the most efficient way to interface!"
:)
Oh boo-hoo!
Blar.
samba is not a file system.
so the performance of a filesystem should be measured by it performance with samba because many linux servers have to serve windows clients? not surprising you think that way considering your name.
When transfering lots of data between two computers nothing beats netcat. I use it for my backups:But for accessing the same
Do you care about the security of your wireless mouse?
It's a comparision that many, like myself, are interested in. That they removed the results that already spent the time to do seems to indicate they didn't care for people to see Linux's poor showing.
I should probably add that I am getting quite different bonnie++ results for reiser4 vs. ext3.
0 03.09.30
They are available at reiser4 benchmarking page along with
hardware specifications.
http://www.namesys.com/benchmarks.html#bonnie++.2
It must be hard running a network of 2 boxes without samba in your home... what do you do in your spare time. Oh, don't tell me, let me guess - you post to Slashdot.
p.s. what did your mom say when you told her to use KDE instead of XP?
Reiser is nice until it crashes (power failure).
I've had one reiser file system failure.
I use ext3 now. I haven't had any problems with it at all.
Slow is infinitely faster than not at all.
Try "perse", its Latin and means what you were trying to say, versus pur-sang which is French for thoroughbred or pure-bred.
perl -e 'print $i=pack(c5, (41*2), sqrt(7056), (unpack(c,H)-2), oct(115), 10)'
But for accessing the same /home on different computers I still use NFS.
i've tried this in the past, but had major issues when one of the boxes would be brought down/rebooted. NFS didn't seem to like to recover very well. Is there a way to set a timeout for accessing a NFS mount? All my processes accessing the share basically hung, and i couldn't unmount the share as there were processes accessing it. finding the prcessses manually and manually killing them was a bitch. I know when i try to access a network device using Windows that if the share isn't there, it seems to timeout....
you will use the one true file system, ffs, and you will like it, waking up each morning with the clear conscience of a man who doesn't worry if he really picked the right journaling file system, or if maybe ext3fs wasn't a better pick, or jfs, :)
or maybe reiserfs, oh but what about xfs, and if only i had waited until reiser4 was ready... in the beginning, there was ffs, and in the middle, there was ffs, and at the end, there was still ffs, and the sys admins knew it was good.
(If you have to ask, then you should consider how much of a deficit running the gui from kernel space inflicts on a server right off the top.) In all honesty, when NT 4 moved the GUI into kernel space, 99% of the bitching wasn't that it slowed performance, or even improved it, it was that it made NT less robust. On a server, you're never going to USE the GUI, so it's presense in the kernel only reduces stability in the event that Administrator on the console or the remote RDP session fucks something up. So now I hear this rumor that Longhorn's moving the GUI back out of the kernel. Any truth to that?
But format it on the Linux side, Win2K+ has an annoying 'feature' that it won't let you make FAT 32 partitions over 32 GB, "since you should move to NTFS anyway". I had this fight long ago, the only better alternative is HPFS, which you had to hack into NT 4, and was removed in Win2000.
I want to delete my account but Slashdot doesn't allow it.
Sigh. Another benchmark where only speed was compared.
I want to see a feature benchmark where speed is one consideration, but not the only one. How about maximum file size (who would ever use a FS with a 2GB max file size?), resize-ability (important for LVM users), minimum partition size (matters for ramdisks, etc.), minimizing reads/writes (for flash memory), etc.?
Forward, retransmit, or republish anything I say here. Just don't misquote me.
Which is why Samba rocks.
It may have it's issues, but it's far more robust than NFS, which has major issues with access control, locking and machine availability (Although I understand NFSv4 addresses the file locking issues). SMB/CIFS which was intended for an unreliable of DOS machines, handles machine availability much better, and also handles user-level authentication and ACL's. NFS uses machine-level authentication and lacks robust ACL support.
NFS does have it's uses for providing filesystems to Diskless workstations, but that's it.
Now I understand there are some very nice Network File Systems with support in Linux, that far exceed SMB in features and performance, but I haven't played with them.
And the solution to poor network performance with SMB enabled is to set up one of the Samba boxes as a WINS server, and use WINS instead of broadcast name resolution.
"You've got an invalid haircut" -Warren Zevon - Life'll Kill Ya
These numbers are great, but only tell us a little about reliability or "real world" performance. When I did testing on these file system I used all the benchmarks here, plus a benchmark called postmark. This benchmark utility was released into the public domain by Net App and has to be one of the better "real world" benchmark suites.
The problem that we had with JFS during testing is that we had kernel panic with very large files. Thus we chose XFS - which has done an excellent job. I'm sure glad that the XFS file system has been merged into the 2.6 kernel, no more patching the 2.4's!
For more benchmarks on other file systems using postmark check out This
"Science is about ego as much as it is about discovery and truth " - I said it, so sue me.
Look into -o intr and/or -o soft for your NFS mounts. From the man page:
Note that the statements "This is probably what you want" etc. in the quoted text above come from the man page, not me.
--JoeProgram Intellivision!
This is VERY VERY important. Last time I tried using reiser, it got broken in 6 months, and reiserfsck didn't fix shit.
How good are the repair tools for all of these filesystems? And what is the probability the filesystem will get messed up?
--Coder
which makes the whole thing pretty questionable in my view, especially when you consider that Nikita got completely different results on his more modern hardware (see www.namesys.com/benchmarks.html)
I don't really target 200Mhz CPUs in my performance tuning....;-)
Hans
In a LAN environment, NFS is fantastic for keeping down support costs.
In particular, install some package in /usr/local on the server and instantly it's available to a couple hundred clients that import that filesystem.
Home directories that are up 24x7, so that everything looks exactly the same no matter which workstation I log into, doesn't matter if it's "mine" or if "mine" is off.
All NFS needs is a good network and a reliable file server.
It's worked for me for over 10 years now.
I am looking forward to the improved security model in NFSv4, though.
"Provided by the management for your protection."
Don't count on this. The write (and maybe read) drivers will always be "experimental." Why?
Because NTFS specs are locked in a dark closet in near Seattle never to be seen by the evil Linux developers. These developers, fearing for their lives, will never have the guts to deem their NTFS write stable - there will always be a slight chance you'll corrupt your entire disk table - and no one wants their so-called "stable" driver to corrupt people's data.
In NT4, NTFS was at version 1.1, aka NTFS 4.0 (to align with NT4.0). In Windows 2000, it was version 3.0, aka NTFS 5. And in XP, it's version 3.1, also known as NTFS 5. The point is, NTFS is a moving target, so it's unlikely we'll see effective NTFS abilities in Linux anytime soon.
text to get past lameness filter
Oh, yeah. NFS doesn't suck, it's just got some issues that Samba doesn't have (And vice-versa). Exporting filesystems to unix clients is one of the advantages of NFS.
Exporting private shares, and common work directories is handled better by Samba though.
"You've got an invalid haircut" -Warren Zevon - Life'll Kill Ya
is it that bad seein a hot chick again? if i see a hot chick walkin down the hall i dont say "repost"
Interesting.
Nice to see that NFS has addressed the Infamous 'Sun Network Lockup' issue, where networks with a lot of cross-mounted filesystems would die in a cascade of lockups if a fileserver died.
SMB of course addresses that problem inherently.
"You've got an invalid haircut" -Warren Zevon - Life'll Kill Ya
First off, let me just say that benchmarks are really only good for people to compare their _own_ benchmarks too. If you really want to know which file system is fastests on your desktop/server, you need to run your _own_ tests. Don't rely on anyone elses results.
EXT2 was included in the results as some people say for a baseline in which to compare the journalling file systems to. I personally wouldn't recommend using EXT2 on any system, unless you have very specific needs that require it.
Keep in mind that Bonnie++ and IOZone benchmark programs are quite different. JFS was not a good performer as far as raw speed was concerned using Bonnie++, but it did use very little CPU, so overall it performed relatively well. If your applications bottleneck is your disk, JFS would be a poor choice as far as bonnie++ is concerned. If your applications bottleneck is your CPU, JFS would be a relatively good choice. However the IOZone results show a completely different story, so again, you need to figure out which benchmark more closely mimics your own needs, and run your own benchmarks!
I would also like to note that Reiser4 is an atomic file system, which I've heard offers the same reliability as EXT3+Journal, so for a "fair" comparison, it should be compared directly against EXT3+Journal, and it mops the floor against it. Also keep in mind Reiser4 is still in its very early stages, so the comparison isn't exactly "fair" anyways, it will be a file system to keep an eye on in the near future without a doubt.
Lastly, the benchmarks were run on a PII-450 (as the hardware link states) which I fully realize is completely out dated hardware, so although Reiser4 uses a lot of CPU in comparison, on the more modern CPUs its not nearly as bad for some tests.
Open Source Time and Attendance, Job Costing a
I've set up JFS (SuSE 8.2) on a Proliant ML370, dual 2.8GHz Xeons, 2GB memory box with a 300GB raid5 array on a SmartArray 5302/128 controller for a GIS map server (lots and lots of files served via Samba, most files in the several tens of megabytes size) and it is literally twice as fast as when that same box was running WinNT4SP6a. The owners of that box were skeptical of Linux at first, and were hardcore Windows fanatics, but between myself, and their tech guy at the GIS software vendor, we talked them into giving Linux a test drive on this new server hardware. One day into the test, they were sold on Linux. I was torn between choosing XFS or JFS for the 300GB Samba-served filesystem, and finally settled on JFS, and it looks to have been a good choice based on the kind of traffic this server sees. We've had zero problems and it's been running 24x7 since mid-August... about two months now. Uptime is 68 days today.
It seems to me that the important measure is the speed per unit of CPU power, not the speed alone.
Even if you have a single-user workstation, you don't want to just sit there while the computer completes a previous operation. That's what would happen if the CPU utilization were high.
So, the most important number is the Work/CPU % column. That column shows the true efficiency.
Second, fully journalling file systems cannot be compared with those that do less work and offer little safety.
I'm wondering if anyone either has real-world experience or benchmarks on optimium filesystems/partitions for a Linux workstation (the usual: web browsing, games, multimedia, etc)...
/home - JFS (fast but still has journaling support)
/etc, /usr - ext2 (mostly read-only operations, correct?)
/var - ext3, maybe JFS... still thinking. Like to run a database & webserver but only for my own use (practically zero load)
I'm thinking about the following (planning on switching back to Linux sometime soon hopefully):
Any comments?
# fuser -v
#
I like JFS. In the past it didn't get along with NFS very well, but that seems to be fixed for over a year now. But your far better off picking a single FS and sticking with it, except possibly /boot, than doing a different filesystem each partition.
You are in a maze of twisted little posts, all alike.
Great info with the numbers. However, I'm wondering if anyone has graphs out there for these or similar benchmarks...
JOhn
Campaign for Liberty
Until I can ghost it, it aint going on my drives.
http://www.ussg.iu.edu/hypermail/linux/kernel/0
Look at this thread, there is some miscommunication about what exactly protection is provided by reiserfs in the face of unexpected system shutdown ; note that they seem to have a problem with file content corruption due to lazy writebacks.
Human readable bleh. I don't have all day to peruse a spreadsheet....create a graph or two....bleh.
Actually, I think 'intr' and 'soft' have been mount options for, oh, say a decade or more?
Personally, I think a -o hard,intr mount is probably the right choice for most network mounts, and a -o soft mount is a polite option for remote, readonly filesystems shared by a larger crowd. (Almost nobody does that anymore. I believe wuarchive used to offer a read-only public NFS mount around 10 years ago.)
--JoeProgram Intellivision!
Ok, so where's the "human readable"? There is no analysis, conclusions, or anything else except raw numbers. There are no rankings, no sugestions, just numbers. Also, the test was run on a Pentium II, 450MHz, 512MB of ram and a 6.5GB IDE disk, 5400 rpm, 256kb cache, and 3 heads (=4gb/platter). This is nowhere close to current technology. You can't even buy this hardware any more! I would have much rather seen a 1-1.5GHz CPU with a 40GB hard disk used in the tests. The amount of memory is adequate, though.
You can't convert NTFS to FAT32 without a 3rd party tool like Partition Magic. Now, I'm not sure about PM > 7.0, but as late as 7 it would still generate errors. Here 's more on that
Here's another discussion from some people with alternative methods.
I did some filesystem benchmarks myself and found that JFS performed well at raid levels 1 and 10, but XFS totally dominated on RAID5. At least when using dt as a benchmark program. I also ran IOzone, but do not have the results in a form that I can easily compare them.
2 boxes per room at least, actually.
And my mother had been using KDE for eight hours before she even noticed it wasn't Windows.
Je fume. Tu fumes. Nous fûmes!
I'm wondering if anyone either has real-world experience or benchmarks on optimium filesystems/partitions for a Linux workstation (the usual: web browsing, games, multimedia, etc)...
Just about all of the filesystems are excellent. Frankly, the degree of tweaking people do to try to maximize performance is ridiculous. These are all good filesystems, and none of them drastically better than the others when it comes to performance. This is *especially* true when you're just using the thing on a plain ol' vanilla workstation, where the load you put on your filesystems is essentially nonexistant.
I'd make my decision based on features.
I suspect most folks want journalling support. It's an awfully nice feature to have. So probably ext2 isn't a great choice for them. You can easily migrate an ext2 filesystem to ext3, so if you're currently using ext2, ext3 is definitely the way to go. Reiser can deal particularly well with non-empty-but-extremely-small-files, and drastically reduces space usage for such files. Source code doesn't take as much space (percentagewise) of a drive as it used to, but it might be a valuable consideration for developers). XFS had a fairly specific design goal (and here I will delve into performance, since it has a particular specialization) -- streaming files linearly.
I'm not sure what unique features JFS has, since I haven't played with it.
May we never see th
That's what the benchmark script is for! Test it out on your own system, and let us know what you get ;)
If you don't stop with this "my fs is better than yours" think i will go over *your* place at night and put your / on an umsdos and your home on a fat16, so shut the fuck up or you will end crying : - )
WTF am I doing replying to an AC at 5 A.M on a Friday night?
Exactly. For my Samba boxes I want a filesystem that is fast, fault-tolerant and can support proper NT-style ACLs without too much dicking around.
Recommendations?
If you don't want to repeat the past, stop living in it.
Until Reiser 4.1 comes out, I'm just making do without a filesystem.
or how about:
Now... whether it makes sense to talk about benchmarking it in this sense is another thing all together. Granted, it would make more sense to benchmark smbfs versus nfs or afs (where you carefully controlled other hidden variables in the comparison, like network speed and the underlying filesystem on the remote host) then to benchmark it versus ext3 or reiserfs... But it is still incorrect to say that samba is not a file system.
Is nfs not a filesystem? If so, they really chose a poor acronym.
:Wq
Not an editor command: Wq
With apologies to Mr. Hendrix.
Why single Jimi out? His may be the definitive version, but it's not like he held the copyright or anything.
Did anyone else look at the hardware? A single CPU PII 500, half gig ram, and a single 5400 RPM IDE drive for OS and test data.
Usually a benchmark has a goal, I/O per sec, read or write data throughput, or some set of criteria. Once the criteria are spec'ed then hardware is spec'ed to avoid 'getting in the way'. If I/O throughput is the issue why not SCSI or hardware RAID or some other hardware that would improve the hardware throughput and be representative of what someone in the field might actually use if I/O bottlenecks are a concern. If data bandwidth is an issue use RAID (1 or 5, depending on write or read optimization). If the test is actually testing overall filesystem performance, at least separate OS and data drives and use something faster than a 5400 IDE drive for the data.
What are we benching? Usually a bench is either checking for best performance on a fixed hardware platform (application oriented, my app runs on X, what is my best option to squeeze performance) or best performance period (tweak hardware for each FS and report best config and the performance at that config). Assuming a fixed hardware platform test, I'm confused why this platform. Is this the platform for a Linux DB server?, a POS environment?, a Web server?, a dev machine?, something found left over in a garage?. WTF is the PURPOSE of the bench? Geez, just upgrade to a 1 gig processor and a hardware Raid-5 controller with 4 15K SCSI spindles and choose the FS randomly to get better performance. And NO you CAN'T tell me this result RELIABLY predicts performance on the new platform (slow IDE vs. fast SCSI, non-raid vs. raid-5), at best it is an indicator of what to re-bench in what order.
So I'm back to being confused, why do I care about these numbers?
Does anyone know about metadata usage? I think some folks will want to know how much the filesystem of choice is taking up just for tracking info.
--
# Canmephians for a better Linux Kernel
$Stalag99{"URL"}="http://stalag99.net";
If you read carefully, you'll notice that the name of the filesystem is SMB. Samba is software that interfaces with the SMB filesystem. Of course, SMB isn't really a filesystem either. When you want to share something you don't have to create and format a partition as SMB.
Jesus saves and takes half damage.
Your mom's basement/sex dungeon is one room.
2 boxes, 1 room = 2 boxes per room.
And now for some spam fun:
sd_resp@groundfloor.adyx.co.uk
It may have a lot of pretty green boxes, but if you look at the columns on the far right, it's often slower then ext3 and never faster then ext2.
"Neque enim lex est aequior ulla, quam necis artifices arte perire sua."
Well, I hate to kick a man while he is down, but
... Sorry to give you the double whammy...
its Latin and means what you were trying to say
should read
it's Latin and means what you were trying to say
Not only that, but his spacebar is broken. It's per se. :P
Why on earth would you use 3 different filesystems? Hoping to maximize your failure rate?
/boot, than doing a different filesystem each partition.
I like JFS. In the past it didn't get along with NFS very well, but that seems to be fixed for over a year now. But your far better off picking a single FS and sticking with it, except possibly
The only people who seem to need to use an unreliable filesystem for /boot are people who insist on using broken boot loaders. Look, in some distros /boot has the kernel in it, and in all of them, it is pretty dan important. Why mess with an unreliable filesystem for any of it?
I use Reiserfs for everything, and like it very much. The performance is decent, but most importantly it has been very reliable through many power outages, which is more than I can say for ext2 and UFS.
It would be interesting to compare compile times. Compiling is often very slow. Since CPU usage is very high while compiling, having a filesystem that uses low CPU usage could have shorter compile times over one that uses more CPU, because the filesystem would be fighting for CPU time with the compiler. It would be an interesting comparison.
Exactly! maharg should RTFC (Read The Fscking Comment) before posting RTFA flames. Thanks for providing clarification for these idiots.
Which version of ReiserFS were you using? :)
I have used EXT3, ReiserFS (not V4) and XFS and through many power outtages have never had problems with Reiser or EXT3, though Reiser is better for my uses (lots of small files).
As far as XFS, I had a situation similar to Mindriot's above, but not quite as serious. (Still, I reformatted).
Now I use a UPS.
You might want to give Reiser another chance sometime if you have a bit of extra time. It is now a fairly mature and stable file system.
Computer Science is no more about computers than astronomy is about telescopes. --E. W. Dijkstra
So, as I read it:
You pay for Reiserfs's journalling, more efficient use of disk, and ability to represent more complex structures with CPU time.
You pay for the stability, recoverability and backwards compatibility of ext3 with speed of access.
The corporate-ported filesystems (XFS and JFS, which were developed by IBM and SGI using untold googols of man-hours and investment) have better raw performance figures than the relatively newly created, volunteer-funded filesystems.
And ext2 still works just fine, is very easy to set up, and is reasonably fast due to its' lack of journalling or space optimization.
It's nice to see the commonly accepted viewpoint confirmed with numbers, but none of this seems very suprising. Use the fs that is appropriate to your particular needs and philosophy, they all have their place.
I may consider using his filesystem once it gets stable like ext3 and provides a working fsck, and why not, everything from e2fsprogs. If I want speed I just get a new machine.
I use Ghost for making server images, and while Reiser might be fine and well, you can only make an image of that in a raw, sector by sector form. Ext2 and Ext3 work very nicely however, and I can keep my Debian installs compressed to fit on 1 CD if I need to. Anyway, it has nothing to do with which is a better file system, but I'd say that the practical matters drive most of my IT decisions, and since Ghost is by far the easiest and least time consuming product of its kind, Ghost's demands drive my Linux setups.
n/t
Is there any info about which of the filesystems is best suited for laptops. I am thinking in terms of battery consuption and hard disk usage. You don't normally get power failures or crashes on laptops,
so journalling is not so necessary and the hard disk activity that generates (for journal updates) may be avoided. Is ext2 a good choice then? What are your opinions on the matter?
What?
These new benchmarks, while clearly not of the highest scientific calibre, only confirm something I have suspected for a long time: that JFS is among the fastest Linux file systems out there.
JFS is also the most underrated of the journaling file systems. I tend to cheer for the underdog myself. It's true that there were some serious bugs in earlier versions (I got bit by one myself), and this has clearly contributed to its completely undeserved image as a dusty old legacy abandonware file system. Clearly the lack of promotion on IBM's part is to blame; sometimes, hype is good.
Go, JFS!
The first time I tried reiser was early in the 2.4.x cycle and it took 3 days to render the drive unbootable.
That last time (after dozens of people said 'it's better now') was about a month ago - debian didn't even get to the end of the install process before reiser f*cked up. I'm not bothering again. (And each time is with known working hardware that's been 100% reliable on ext3 since, before you ask).
JFS/XFS seem quite good... although the thing I like most about ext3 is it's easy to recover with a boot disk as it's compatible with ext2.
Are you sure it wasn't installing the HD that helped the speed so much?
We do well at squid. If you use reiserfs you can have fun experimenting with such things as storing everything in one directory, etc. One of the annoyances about linux VFS though is that it giant locks the whole directory, so don't do that if you have more than one CPU.
I made a version of this page that colors all the numbers from green (good) through white (mean) to red (bad) instead of just the outlyers. If you're interested, check out my version of the bonnie results.
On a server, you're never going to USE the GUI, so it's presense in the kernel only reduces stability in the event that Administrator on the console or the remote RDP session fucks something up.
... now I hear this rumor that Longhorn's moving the GUI back out of the kernel. Any truth to that?
I'm gonna agree to disagree with you here because there were so many things wrong with the 4.0 server line that we had to create elaborate hacks to circumvent several severe, yet subtle design flaws. That many of these errors would later be found to have a have an unexceptable level of criticalality was directly related to the fact that most of the services were built on inhereted functionality stemming from the GUI libs. Why re-invent the wheel, right? In this case that cliche turns out to be wrong, but by the time DEV was coming to this realization, 2k was already in the can and being patched. As I said, the root causes were neither obvious nor trivial. And now you've invested in millions of lines of code. So how do you fix it?
As a hypotheticaly blind fool stabbing in the abyss, let me take a guess...BINGO! Give that man a Cupie Doll! Of course, bringing it off is dam near impossible because of the existing infrastructure. Longhorn will continue to be one very long haul.
'Just my ignorant opinion. Don't be suprised if they release MS certified CLI server next week. (^;
I thought long and hard about using XFS instead, and even googled for whatever filesystem performance benchmarks I could find on the web back then, and read a few poor measurements discovered on read for XFS under certain circumstances, but nothing really bad stood out in the reported benchmarks across the board about JFS. I just wanted a good reliable and fast journalled filesystem that supported ACL's thru Samba so that my GIS users would be able to set ACL permissions from their Windows clients. I also didn't fully know all the ranges of file sizes that were going to be thrown at this machine with the GIS mapping data files that were not yet available at the time I built the machine, but have since been added. Since the client software (ESRI) expects Windows filesharing only, Samba is the protocol we have to use... until the day comes that we move all that ESRI stuff to inside an Oracle database instead of shared data files. JFS was probably the best choice I could make at the time, and it's proven to perform quite well. The users are pleased and that's what matters most.
Same experience here - been using ReiserFS on both my / and /home partitions for over two years, with several power failures and crashes ... and ReiserFS has never even blinked. No problems at all.
I don't know what value has a testimonial of a sole home user...
That notwithstanding, my Mandrake 9.1 uses a Reiserfs root partition (just defaults from the distro, no tuning).
It's never, ever, given me any problem. I use it everyday after work hours and all-day-long at weekends. I had to confirm it's really Reiserfs, because I simply don't look at it.
I know of one guy (a distro maker, no less) who recommends Reiserfs over ext3, regarding stability. But I use ext3 at work and it looks as solid as Reiserfs...
Thanks, Hans, and all the people who work with you for a well done job.
PS: When I'm not using my 3D graphics card, what about using the video memory for an extra caching? (Just kidding!)
I tried reading http://fsbench.netnation.com/ with Links, but it just shows up as garbage; same with old Netscape. What's up with this?
Before NT4, if the GUI crashed, the server and network layer would keep chugging. I used to run overnight qualifications on a very large CAD package (that seems to be the only high-end competition left for CATIA :-> ) In the NT 3.1 and particularly the 3.5 days, our regression tests would DESTROY the graphics subsystem, yet when we came in the next day, we could still run our over-the-network data retrievals to get our results before going around to reboot the whole lab.
Today, you'll get the STOP error for nearly anything. It wasn't always that way.
Microsoft made the move to put the GUI in kernel space before the whole video accelerator market got through it's teething phase. By the time the first 3dfx cards hit the market, it was a little late to undo the mass of work done in NT 4.
Yeah, lots of people would like a non-biased test under real-world conditions/configurations. Lots of talk, but no action. With five competitors, non-biased tests will likely leave four losers. Which of the five is willing to take the 80% chance of being one of the losers?
Well, if anyone is willing to fund this, I have the background to do this on both MS and Linux, and could care less which wins. I can also arrange this testing in China, where hardware is only slightly cheaper, but labor costs would be a big winner. Will donate the hardware to a school or your favorite charity when done.
Post here if interested and Ill contact you.
We all know Linux is pretty fast. Now let's have some useful data like comparing to Windows.
Where's the stability test?
One of my major gripes with ext2 and ext3 is that if for some reason the computer is turned off without unmounting properly (such as...power goes out and you don't have a power backup, you THOUGHT it was shut down but in reality it had one more to go, you bump into the power button accidently, etc) SOMETHING goes wrong.
Last time I was running Mandrake 9.2 on ext3 and I accidently bumped into the power button I lost half the gui because it crashed every time it tried to open.
I may just be unlucky, but this seems to happen every single time the computer isn't shut down properly with one of those file systems. When I can, I use NTFS because then I don't have to worry as much about reinstalling something because it got corrupted when it wasn't shut down right.
It sounds like you have more expierence than me; I just assumed that NT had always crahsed from CSR's death.
I think the main reason to move the GUI into kernel space was to reduce the cross-process overhead. Why they didn't move everything into win32k.sys is beyond me.
...I wonder if CSR's critical status has anything to do with the 'RtlSetProcessIsCritial' function it depends on.
Just look at the second table! See the upside down cross?! Bobby Bouchet, FILE SYSTEMS ARE THE DEVIL!
--Oooh, you play with fire man! You shouldn't be assigning ports 1025 unless root. Usually I pick a higher-numbered set and use it all the time, like 32110. For ssh forwarding news and mail, I use 32110 and 32119.
.
== WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
Oooh, you play with fire man! You shouldn't be assigning ports 1025 unless root.
/etc/protocols.
What are you trying to tell me? Of course I do my backup as root. And I must ensure nobody else starts listening on the port, thus it must be less than 1024. I know which protocols are being used on my computers, and 200 is not even assigned in
Do you care about the security of your wireless mouse?