Posted by
CmdrTaco
on from the some-my-fs-is-more-fast dept.
smatt-man writes "Over at Linux Gazette they ran some tests on popular Linux filesystems (ext2, ext3, jfs, reiserfs, xfs) and the results may surprise you."
I am convinced that he has an axe to grind against linux gazette.
Re:'Tis a dupe
by
chrwei
·
· Score: 2, Informative
something is missing from these tests that I've informaly tested myself before.
I'd like to see what this guys scores are after using the HD for a couple months. Let a little fragmentation in then see what they do. ReiserFS will hold up much better in the long run. I used xfs ONCE, after a month my PC was slower than a year old never defraged install of NT4. used a spare HD to migrate to reiser and no probs 2 years later.
And for the whinners complaining of power loss, get a battery! best $100 i ever spent.
--
- Disclaimer: Information in this post deemed reliable but not guaranteed.
Re:'Tis a dupe
by
Anonymous Coward
·
· Score: 0
Rather than waste mod points on modding the later post down and the newer one up, I tried to mod the first post & it's first reply (exactly the same link) as redundant in an attempt to move them to 0 or lower. Oh well, that didn't work properly.
To the guy who modded me down from perfect to terrible Karma - Apple haters still suck
Re:Dupe
by
Anonymous Coward
·
· Score: 5, Funny
It's slashdot's mob tactics again. Now Taco will call their ISP and ask them "Are you SURE you don't want our protection? Certainly protecting the servers you love is worth some...compensation." If they say no, another posting of this story as soon as the admins "forget" this one.
This is a post to remove the effects of my moderation to this comment. When I first moderated, earlier this morning, this comment's parent post was ranked at +4 informative and an earlier post (by 1 minute) was ranked as redundant. I moderated the earlier one up (which was fine) and this one down as Redundant (which was not fine as it violated my rule about moderating someone as redundant for a post within 5-10 minutes of the original)
Anyway, this is all part of me being anal about little things like this.
--
Was it the sheep climbing onto the altar, or the cattle lowing to be slain, or the Son of God hanging dead and bloodied on a cross that told me this was a world condemned, but loved and bought with blood.
So did the tests come back positive or negative? Systes are nasty things, and early detection is important to increase chances of survivability.
Remember kids. Test early, and test often. You files will thank you.
--
Karma: Chameleon (mostly due to the fact that you come and go).
Re:-1 Offtopic
by
Anonymous Coward
·
· Score: 0
anyone else noticing the humour nazis are out in force last few articles?
this may be offtopic, but it's hardly a troll.
in fact i believe it's what's called a "joke".
Re:-1 Offtopic
by
Anonymous Coward
·
· Score: 0
w3rd
Not a clear winner
by
stecoop
·
· Score: 5, Interesting
These charts make the choice of which file system to use clear as mud. What is the charts really saying?
From what I gather, it appears that:
EXT2 has better throughput
EXT3 has better file handling capablities
Reiser has better search ablity
XFS has better delete capablities
JFS may be a better choice in regards to file manipulation
Subject to debate of course...
Re:Not a clear winner
by
Coryoth
·
· Score: 5, Informative
Not quite what I got from it. Ext2 was certainly faster for a lot of operations, but is, of course, not journalled. XFS and JFS were fast, but most importantly, when it came to large files, these two tended to really take the lead. XFS was particularly good at handling large files. Overall Ext3 was disappointingly slow surprisingly often.
Re:Not a clear winner
by
Anonymous Coward
·
· Score: 5, Informative
Ext3 met Dr. Tweedie's engineering goals. The idea
was to develop a journaling file system which was
seamlessly compatible with Ext2. Ext3 is really an
engineering marvel. You can instantly convert it
back and forth between Ext2 an Ext3.
Ext3 provides a safe low-pain entry into the world of
journaled file systems. No need to re-partition
or reformat. It offers reasonably good performance
plus the benefits of journalling.
Re:Not a clear winner
by
Anonymous Coward
·
· Score: 2, Funny
I've been using ext4 for a few months now and it's a surprising improvment over ext3 in terms of performance. I was surprised to see that they didn't include it in their interview. Ext4 has this to say regarding the older file systems, "I did not have sexual relations with that woman". Surprisingly, ext4 is journalled, handles larger files quite readily, and can fit a cigar vaginally in all female users of Linux. I'd highly advise all Linux geeks to try out ext4. It's a big step beyond all the other filesystems.
Re:Not a clear winner
by
Anonymous Coward
·
· Score: 0
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.
Re:Not a clear winner
by
ValourX
·
· Score: 4, Insightful
Also, it's mountable from FreeBSD. Reiser, XFS and JFS are not.
This may seem trivial until you have a dual boot system with FreeBSD and GNU/Linux and you want to transfer your/home dir or whatever.
-Jem
Re:Not a clear winner
by
kfg
·
· Score: 3, Insightful
Tests such as these will always make things clear as mud. Engineering is always a matter of compromise. Trade offs must be made.
Do you want a car that goes really, really fast, or do you want a car that gets good milage and has a really big back seat? ( You can always lie about having run out of gas).
Neither car is "best" until you define its intended use, and they both make lousy hammers. I canna change the laws of physics.
Different engineers have different ideas, different goals and different ways of going about things. Thus their output will vary in performance across a range of parameters. Pick the tool that compliments your primary need, then put up with the compromises that inherently entails. It's the best you can do, and yes, even FAT 16 may be the "winner" for certain functions.
KFG
Re:Not a clear winner
by
Lussarn
·
· Score: 3, Interesting
I can't see the slashdoted page but if you have a mailserver and are using maildirs (qmail) ReiserFS is a good choice because you will have alot of small files. Reiser can use the space on your disk fully and are not limited to "at least as big as the blocksize".
I have a mailserver which have about 20GB mail with Reiser. With Ext3 it would be over 30GB.
Re:Not a clear winner
by
ImpTech
·
· Score: 4, Informative
Not to mention mountable under Windows... for those of us that still need that. Or rather, EXT2 is mountable under Windows (with a 3rd party daemon), and thus EXT3 can be read as well.
For me, this was a delightful benchmark, as I've been considering 'moving on' on the file system department for over a year now. The inconsistency of the graph layout is amusing and makes the results unnecessarily difficult to decipher, but all the data I was looking for was right there for me to pick up on the first read.
Ext2 is out of the picture because it's not journalling and ext3's only merit seems to be that I've first hand experience of its stability. The choice between JFS, Reiser and XFS would pose a grave problem if it weren't for the CPU utilization graph that causes the blocks to fall in favor of JFS, for I'm upgrading a P3/800 Thinkpad. And the idea of running an IBM file system on an IBM amuses me.
So if I want to trash my files XFS would be the faster, right?:-)
--
"I think this line is mostly filler"
Re:Not a clear winner
by
perlchild
·
· Score: 4, Insightful
No mention of data=writeback, or any other optimisation tweaks, however. Kinda sad. The article is nice, the graphs are.... Err too much of a good thing? And basically the results just reiterate the design imperatives of each filesystem(how unsurprising!)
- ext2 predates them all - ext3 is a low-impact, let's reuse what we know as much as possible, kinda file system - reiser's b-trees reflect it's "once we put the data in, how do we find it again" orientation - XFS was at least at one point, designed for "Media" files(think renderfarms), aka LARGE files, much of the benchmarks it won were on such files, although its design was also influenced by large-scale server needs(a renderfarm is a large-scale server cluster right?) - JFS was influenced by large-scale server needs(databases), but tampered by OS/2's needs, and other systems, resulting in a filesystem that's a bit more nimble than XFS, but less handy with huge files(normal, since databases try to use raw-io if necessary on huge files, unlike render clusters)
I think this demonstrates the implications of early design imperatives on long-term software trends. XFS and JFS were developed for other platforms and ported to linux, yet notice how they can't really change their strengths(good thing too!).
Anyone try the same benchmark on the 2.6 kernel just to contrast it? Wouldn't the new IO-system help to mitigate those weird ext2/ext3 slowdowns the article mentions, but doesn't explain?
Re:Not a clear winner
by
Anonymous Coward
·
· Score: 0
Unfair moderation. The parent is funny as hell. It should be modded up +1 Funny. Damn where are mod points when you need them?
Re:Not a clear winner
by
demon4
·
· Score: 2, Interesting
so what would be a good filesystem to use for a pvr (personal video recorder)? How about for a mail server or web server?
XFS i am guessing for the pvr and reiser for the others.
Well, what those benchmarks don't show is that Reiser sucks up a lot more CPU than JFS or XFS while doing the same things (this is a design choice - they sacrifice CPU for file system performance).
My choice for a general purpose file system would be JFS (the lowest overall CPU usage). XFS probably for the PVR.
Re:Not a clear winner
by
lecca
·
· Score: 3, Informative
"Overall Ext3 was disappointingly slow surprisingly often."
I disagree, plus this test is obsolete, why did he use a 2.4 kernel?!
"Linux 2.6.6
[...] Changes: ...ext2 and ext3 filesystem performance was significantly improved.
"
And thats just from today's kernel release. What about all the changes between 2.4 and now?
Considering the conveniance of backward compatability, and the fact that ext3 wasn't the worst in every category, and it looks like maybe uses less cpu than some, it seems like ext3 is the hands-down winner of the test, not the looser. ext3 did as well in tests that IMO represent everyday use. Who creates 10k files in a folder? I would have liked to see a linux kernel COMPILE using the fs. Thats something we all could appreciate.
-- "In a time of universal deceit, telling the truth becomes a
revolutionary act" - George Orwell
My personal peeve with ReiserFS is, though, that I've had the main ReiserFS partition on my Laptop completely destroyed by a simple power failure once. Many files were in lost+found afterwards, but some had their contents destroyed. (And restoring files by looking at their contents is not fun for ~1000 files...) So I've kinda lost trust in it. ext3 may be slow, but I've never had a single problem with it. Seems very robust to me. So, reliability is more important than speed for me (whoever needs performant servers is of course entitled to a different opinion). XFS and JFS seemingly can't be accessed from Windows, so that is a Minus for some.
These tests were run on a Dell 1750, dual 2.4 Xeon, 2GB ram, 3 35GB drives in RAID5 configuration (hardware RAID), each test done in the same 10GB partition, and the results shown are the average of 5 bonnie++ runs (with the exception of jfs - it hung after the 3rd run and yes i opened a bug ticket with fedora about it) with ext2 being 100% and everything else shown in relation to its performance.
Since a quick google search turned up nothing, I'd try to ask here: is dirindex a kind of improvement on ext3, is there a possibility to upgrade without re-creating the entire partition or what else is there to know on how to use this filesystem? Google is almost empty on this subject, I fear...
I haven't tried changing a partition to use dirindex myself, but the fedora (release 1 and on) tune2fs manpage lists it as something that can be changed: tune2fs -O dir_index [device]
Not to mention that it works on AMD64 without hosing your system. The same cannot currently be said of reiserfs. I hear xfs works ok, but I don't have an auto-shutdown on my UPS so the disk caching behavior of xfs makes me cringe...
I have a mailserver which have about 20GB mail with Reiser. With Ext3 it would be over 30GB.
With disk space being so cheap, does 10GB really matter? It may make a speed difference, but your users won't notice their mail check running 10ms faster.
Re:Not a clear winner
by
Anonymous Coward
·
· Score: 0
If you're using Sun hardware, yeah, 10GB matters. That shit's fucken expensive!
Re:Not a clear winner
by
Anonymous Coward
·
· Score: 1, Informative
Bizarre! I've used Reiserfs since 2000. Never had a problem. If the nieces and nephews yank the plug or shut off the box, it takes 3 seconds for the system to check/rebuild 80GB hard drive, 5 seconds to rebuild a 160GB hard drive. I don't know how your system went down, but I've never seen Reiserfs do what you describe. The system always checks itself. I've never had to go 'looking' for a file. I don't know how you lost files. I've just never seen it.
You'd be surprised. In a web hosting company it's not uncommon to see large numbers of files, images in particular, sitting in a single directory. Some of our servers have so much CPU to play with now that there can be tens-of-thousands of "virtual root" folders sitting in the www daemon mounting point as well.
Re:Not a clear winner
by
arcade
·
· Score: 2, Informative
My personal peeve with ReiserFS is, though, that I've had the main ReiserFS partition on my Laptop completely destroyed by a simple power failure once.
I've been experimenting by using ReiserFS on and off for the last 3 years or so. I've always shied away after a few failures.
My scorebook so far:
- Laptop/home partition went to hell twice, at power failure.
- Two various machines at previous work got open files in/home partition smothered at power failure, had to rm -rf.kde for the system to get up'n running again.
- Mums computer. Had to travel 500km to fix a reiserfs fuckup due to repeated power failures.
- Dad's laptop got a partition trashed by reiserfs when he forgot to put in his power cord and the battery time were used up.
Reiserfs is the single most unstable piece of shit of a filesystem I've ever had to deal with. No, I'll not be using it again anytime soon.
Have you tried copying a file from your reiserfs partition to another partition running ext2/3? I hear that causes a kernel panic.
It could be that the bug appears rarely. I have also heard that many people have been using reiserfs without problems. Maybe they fixed the bug. Or maybe it is just rare.
I used to run reiserfs on x86 - once it gains a reputation for stability on amd64 I'd probably consider switching back. Moderate performance gains aren't worth the risk of a hosed filesystem for me, so I'd rather not be on bleeding-edge here...
I've lost data many times wtih ext2. But, keep in mind, I've been using Linux for a very long time (pre-1.0-days) and when ext(2) was the norm and I often ran bleeding edge kernels. So, that's probably heavily biased. I've not used ext3 enough to of lost data. I have run reiserfs extensively. I have lost data several times, without crashing. They were filesystem bugs. I have also lost data from crashing with reiserfs. I've not been impressed with reisferfs's stability or reliability. I think ext was more reliable but is of course, less complex. Just the same, I've been shifting more and more work to XFS over the last couple of years. I have yet to lose any data. XFS is fast, stable, and reliable. Its tool chain/utility support is awesome. It is, by far, one of the most mature FS available on Linux.
I have not used JFS because, in my opinion, it's just now maturing and it's utilities are somewhat lacking (last I checked). In otherwords, if you get into data trouble with JFS, AFAIK, you're pretty much in trouble.
Like most of the FS on Linux each specialize and have various pros and cons. There is no best FS on Linux. Think hard about what your goals are and choose accordingly.
This is good information to know, but for a project I'm working on I need to know which filesystem can take the most abuse. I'm talking about power-outages and hard-resets mostly. I know I should go journalled, but which one? What else should I keep in mind.
Obviously (as you point out) a journallying filesystem is what you need. I went for Ext3 on my Debian servers. I/O throughput wasn't so important. The good thing about Ext3 is its backwards-compatibility with Ext2. If there's a problem and you don't have all the kernel modules or tools then you're still pretty much guarranteed access to the file system by mounting it as Ext2 as support for that system is almost universal under Linux.
Obviously (as you point out) a journallying filesystem is what you need. I went for Ext3 on my Debian servers.
But I thought Ext3 will only journal metadata -- which is clearly inadequate if you want to preserve data integrity over and above file system integrity.
The backwards compatibility is really not an issue anymore. Modern filesystems have been supported by all major distributions for years now. And if everything else fails, you can always use Knoppix, which can access pretty much everything.
Re:Slightly OT
by
Bombcar
·
· Score: 2, Informative
Actually, I believe that ext3 is the only filesystem to allow journalling of data above and beyond just metadata.
Use the mount option data=journal, see man mount for more information.
I do know that RieserFS has some "features" that are unexpected and can be agrivated by powerfailure during write.
But don't worry, Hans says it's designed that way, and your filesystem will be intact, even if/etc/fstab contains lines from/var/log/messages......
XFS is good, but cannot be shrunk. EXT3 can shrink, but I don't know about the others. I'm going to have to investigate JFS, which right now is the bastard stepchild, ignored by most......
No, in fact ext3 is one of the few that actually
will journal data as well as metadata.
mount -t ext3 -odata=journal/dev/os/usr/usr
-- "The invisible and the non-existent look very much alike." -- Delos B. McKown
Re:Slightly OT
by
Anonymous Coward
·
· Score: 0
In my experience the best, most robust journaling system is ReiserSf.
It recovers from disasters so reliably that I disconnected the UPS. If the power outage lasts any length of time you'll have to shut down anyway. I have never had ReiserFS fail to recover from any abnormal shutdown.
Re:Slightly OT
by
Rik+van+Riel
·
· Score: 3, Insightful
Ext3 has most of its metadata (inodes, block group descriptors, etc) in fixed places on disk and e2fsck has a decade of testing in cleaning up the non-journaled ext2, so it's probably better tested than any of the fscks for journaling filesystems.
Re:Slightly OT
by
Anonymous Coward
·
· Score: 0
well, except for NTFS.
Re:Slightly OT
by
LinuxHam
·
· Score: 2, Interesting
EXT3 can shrink, but I don't know about the others
I've heard that EXT3 cannot shrink and that ReiserFS is the only one that can. While not a demo of shrinking, here's part 2 of a 3-part series of articles on using ReiserFS with LVM. This segment shows off resizing a partition without even unmounting it!
Actually, Knoppix can read NTFS just fine; it just can't write to it. Not a huge problem, though, as it mounts drives read-only by default.
Re:Slightly OT
by
Anonymous Coward
·
· Score: 0
Heh.. one of my installations has needed its file tree rebuilt twice in the last two weeks. Granted, I'm pretty sure the drive is crapping out, but it's brand new. Grr..
Sure looks like stuff from cron! Note that after some NULLs in these files, they become the correct one again. It gets so bad that grep thinks they are all binary!
cat maillog | grep mail Binary file (standard input) matches
And it has happened before. This time it wasn't too bad (hard lockup) because it wasn't booting or shutting down (did you know some distros write/etc/fstab when shutting down? Do you know what happens when/var/log/messages is in/etc/fstab?)
As far as I've been able to figure out, it has to do with the journal being updated before the data, and if power is lost before the data is written, then the journal points to old data, and because of Reiserfs' tailpacking, you get what we had here last week, which is the way he wants it! Other filesystems don't update the journal until AFTER the data is written (see ext3 data=ordered). ext3 with data=writeback may also have this issue, I don't know.
And if quoting GnR isn't enough, just remember that with great performance comes great responsibility.
Google for "Reiserfs data loss" if you're bored.
That's why I'm moving to ext3 with full data journalling for the OS at least.
Slashdot filesystem
by
Bronster
·
· Score: 5, Funny
Maybe slashdot needs a filesystem update to one with more powerful meta-data support like something that can detect when the same URL has been used in more than one post within a certain time. Sheesh.
The real question . . .
by
SquareOfS
·
· Score: 4, Funny
. . . is which file system linuxgazette is running.
That is, before it melted.
Re:The real question . . .
by
Anonymous Coward
·
· Score: 0
It's there...just slow
I'd like to see how you well can handle 10,000 simultaneous connections!
Re:The real question . . .
by
Anonymous Coward
·
· Score: 0
I haven't had to do that since college.
Re:The real question . . .
by
Anonymous Coward
·
· Score: 1, Funny
In Soviet Russia, 10,000 simultaneous connections handle YOU!
Re:The real question . . .
by
MrZaius
·
· Score: 2, Funny
I'd like to see how you...can handle 10,000 simultaneous connections!
Re:The real question . . .
by
Anonymous Coward
·
· Score: 0
The secret to avoiding reading a slashdoted website: read the OSNews, NewsForge, etc newsfeeds (add them to the right boxes in Slashdot, use NewsReader, etc). Then you can read the news faster than the rest of the slashdot:-)
And, of course, the conclusion is also utterly wrong.
Overall, one should choose the best filesystem based upon the properties of the files they are dealing with for the best performance possible _with the stability requirements that one has_.
Most distributions dont ship with ext3 as default because it's fast (and to anyone who's seen a benchmark of Linux filesystems since forever, this should not come as a surprise).
They ship with ext3 as default because it causes the fewest screams of anguish from their users due to crashes, panics, bugs or dataloss.
duplicate on the same page
by
scrytch
·
· Score: 2, Insightful
Duplicate, spelling errors, and nothing but the short submission. Google is relaunching its blogger service -- tell me again what slashdot provides over it?
-- I've finally had it: until slashdot gets article moderation, I am not coming back.
Re:duplicate on the same page
by
mbbac
·
· Score: 1
A good comment system that has been relatively free from automated spamming systems and supports reply notification.
--
mbbac
Re:duplicate on the same page
by
Martin+Blank
·
· Score: 1
Yes, but what has it done for us lately?
-- You can never go home again... but I guess you can shop there.
More surprising...
by
Anti+Frozt
·
· Score: 0, Offtopic
will be their bandwith bill after having their site posted on/.
-- In C++, friends can touch each others private parts.
Actually it is that much to ask. If you mirror anything without permission, you'll get some serious (deserved) copyright troubles. Let's hope CmdrTaco realy likes lawyers.
"Over at Linux Gazette they ran some tests on popular Linux filesystes (ext2, ext3, jfs, reiserfs, xfs) and the results may surprise you." The benchmark on spellcheckers surprises me as well...
What do you expect from someone who thinks using JPEG for bar graphs is a good idea? (or worse: thought it was a stupid idea but did it anyway!)
I'm going to take "advice" from someone who isn't even bright enough to pick the right image format for graphs? Yeah... that will happen.
Re:Bad graphs
by
Anonymous Coward
·
· Score: 0
Yeah, I still can't believe how many people can't even lay out information in a usable format. First, give each graphed item its own color, then chart it from left to right, in order of "goodness" (bigger being better or smaller being better, depending on the attribute measured). How hard is it to do that?
When you see bar graphs with two items its just plain silly.
Hey, he's management material! Quick promote him!
-- -- If god wanted me to have a sig, he'd have given me a sense of humor.
Re:Bad graphs
by
MrBlue+VT
·
· Score: 2, Insightful
Arg, he also needs to just pick one color for each filesystem. I mean, he must want to torture his audience by constantly switching the colors and then making the legend so tiny and mucked up by JPEG artifacts, that one can't tell which bar goes to which filesystem.
He had to rescale the online graphics to keep the bandwidth costs down. What this genius forgot is that the size he rescaled it to made the text unreadable. What should he have done? Why, make the text bigger and then rescale the charts! Imagine that.
Or *GASP* Render the graphs in the actual resolution you wanted to display in the first place:) That text would have been completely readable at that size if it had not been blurred so bad by a bi-cubic resize...
-- Contrary to popular belief, coding is not all free blow-jobs and beer. Those things cost MONEY!
Re:Bad graphs
by
Anonymous Coward
·
· Score: 0
That guy needs to be clued in with a read of Tufte's books. There's gratuitous 3d chartjunk, meaningless point plots, bar charts that are sometimes horizontal and sometimes vertical.
Really, Choose one style, and stick with it. If you need to sum up, use something that generally portrays the differences in an accurate manner.
And no pseudo 3d crap.
Your graphs are unreadable
by
Trailer+Trash
·
· Score: 4, Insightful
And the reason is that you used jpegs. jpegs are for photographs; use gif for images such as this. The text won't end up unreadbly blurry and you'll save tons of disk space/bandwidth.
Re:Your graphs are unreadable
by
eddy
·
· Score: 5, Insightful
>Use gif for images such as this.
No, use PNG.
If you're going to do it, do it right. Using GIFs is half-assed.
-- Belief is the currency of delusion.
Re:Your graphs are unreadable
by
Donny+Smith
·
· Score: 0
>>Use gif for images such as this.
>No, use PNG.
>If you're going to do it, do it right. Using GIFs is half-assed.
Uhm.. No, use GIF. Using PNGs is stupid unless twhen done for no good reason.
Focus on what matters, such as: o Web site accessibility (use image type supported by all major browsers) o Bandwidth conservation (use GIFs 'cause they're very small but still of good-enough quality, just as the original poster said)
Re:Your graphs are unreadable
by
B2382F29
·
· Score: 4, Informative
PNGs are smaller than GIFs, better compression, etc. (if you use same color-depth (8 bit)).
-- Move Sig. For great justice.
Re:Your graphs are unreadable
by
eddy
·
· Score: 5, Informative
>Web site accessibility (use image type supported by all major browsers)
All the "good features" of GIF is supported by PNG in all current browsers. You'd have to go back in time fem years to find a browser that can't display a basic PNG. If you think otherwise, give me a link to one that matters that doesn't, and explain to me why, if it wasn't released/updated this year, using it isn't a security issue.
Since GIF doesn't support per-pixel-alpha to begin with, you lose nothing by using PNG for everything. After all, with GIF you didn't have the choice at all so there is no issue with simply "converting to PNG".
Score: PNG
>Bandwidth conservation
PNGs are always smaller where it matters (anything more complex than 1x1x1-images). In some not atypical cases a PNG can be 25% smaller than the corresponding GIF.
Score: PNG
PS. GIF-via-LZW is still encumbered in many countries.
More features, better standard, solid software, no licensing issues, smaller output == Winner: PNG
-- Belief is the currency of delusion.
Re:Your graphs are unreadable
by
Captain+Rotundo
·
· Score: 4, Informative
name a "major browser" that won't support PNG. I don't know one. I use all PNG and have checked all my pages in enough "major" browsers to cover probably greater than 99% of people and they display fine.
Re:Your graphs are unreadable
by
quake74
·
· Score: 2, Informative
name a "major browser" that won't support PNG. I don't know one. I use all PNG and have checked all my pages in enough "major" browsers to cover probably greater than 99% of people and they display fine.
Did you check transparency in Windows Explorer? As far as I know, it's not supported, unless you play some weird tricks. Or maybe you were making a joke, and I didn't get it.
There are two other reasons the graphs are difficult to read and understand which, if corrected, would obviate the JPEG issue.
1. There is no reason to plot half of the barcharts backwards: the indpendent variable should always be on the vertical axis.
2. Use a larger font, test the images for legibility, AND CORRECT THE PROBLEMS.
By plotting half of the barcharts with the independent variable on the vertical axis, the author reveals that he is either naive, incompetent, or trying to pull a snow job. Since he seemed to put a substantial amount of effort into doing a proper job of benchmarking, I'll give him the benefit of the doubt and say he's merely naive. The Linux Gazette editors should have insisted on fixing this (naivite or barcharts-the-wrong-way, take your pick).
But then, by providing a link to a tar file of the images, and nearly apologizing for their illegibility, the author reveals that he has tested them (or recieved sufficiently many complaints) but is unwilling to correct the source of the problem by using bigger fonts.
While I applaud and commend the efforts to take clean scientific data, the presentation falls a little short.
--
Put my fist through my alarm clock
with its ding-dong death inside my ear. - The Blackjacks.
Re:Your graphs are unreadable
by
Anonymous Coward
·
· Score: 1, Funny
What about lynx, you insensitive multimedia clod!
Re:Your graphs are unreadable
by
dastrike
·
· Score: 1
PNG has been supported (albeit not all features) by every major browser since and including Netscape 4.
PNG is a much more flexible format, it allows for 8-bit indexed (like GIF) and 24-bit RGB and 32-bit RGBA as well when you need a higher colour depth.
The compression that PNG uses is far more efficient than the one GIF uses, so practically in every case with 8-bit indexed PNG vs GIF (which are 8-bit indexed in practically every case), the PNG image will be smaller. The only exception to this is very small images (pixelsizewise), then GIF can be smaller due to the smaller overhead of the format itself.
-- while true; do eject; eject -t; done
Re:Your graphs are unreadable
by
nutshell42
·
· Score: 1
As someone already mentioned, gif doesn't have fricking transparency so what do you lose by converting your gifs to png?
-- Don't think of it as a flame---it's more like an argument that does 3d6 fire damage
Re:Your graphs are unreadable
by
Anonymous Coward
·
· Score: 0
That doesn't matter if you use PNG to replace GIF, since GIF doesn't have transparency either.
Re:Your graphs are unreadable
by
Anonymous Coward
·
· Score: 0
100% transparency is supported, alpha blending isn't. Neither it is on gif files anyway.
Re:Your graphs are unreadable
by
tuffy
·
· Score: 5, Informative
IE is still too stupid to properly do an alpha channeled PNG. But it does do 1-bit, GIF-style transparency and displays generic, non-transparent PNGs just fine. And so the only place left to use GIF for is crummy animations.
--
Ita erat quando hic adveni.
Re:Your graphs are unreadable
by
trashme
·
· Score: 1
For the amount of colors used in these graphs, I don't quite see how there would have been much difference in image quality between GIF and PNG. Using PNGs instead of GIFs would have been a minimal gain, if any at all.
Re:Your graphs are unreadable
by
Anonymous Coward
·
· Score: 0
How does gif fair on that deparment?
Re:Your graphs are unreadable
by
Trailer+Trash
·
· Score: 1, Informative
PNG's offer nothing over GIF's for images such as his, which can use a 16-color colormap. GIF's are readable by far more people, though.
Re:Your graphs are unreadable
by
hawkeyeMI
·
· Score: 1
PNG's offer nothing over GIF's...[sic]
Except that they're not patented.
GIF is patent encumbered outside the US. It used to be in the US as well, but that has thankfully expired.
PNG all the way.
-- Error 404 - Sig Not Found
Re:Your graphs are unreadable
by
Desval
·
· Score: 1
Nothing turns me off a site faster than animated gifs. They always leave me with the impression that the layout was done by a thirteen year old who got hist hands on FrontPage.
Re:Your graphs are unreadable
by
Anonymous Coward
·
· Score: 0
PNGs are always smaller where it matters (anything more complex than 1x1x1-images).
what is more complex than a 3-dimensional image?
Re:Your graphs are unreadable
by
Anonymous Coward
·
· Score: 2, Informative
Don't forget to limit the PNG to 16 or 256 colours if only that many are being used. Needless to say, it makes a big difference in file size compared to using true color.
Re:Your graphs are unreadable
by
Anonymous Coward
·
· Score: 1, Informative
Not every graphics program can export to PNG, and the ones that do cannot always do it in a way that is smaller than their GIF export. GIF is a much older and better supported standard, which is why most people use it over PNG.
Re:Your graphs are unreadable
by
Sxooter
·
· Score: 1
Hey, we're not talking about a better choice based on technology, we're talking about a moral victory...
--
--- It is not the things we do which we regret the most, but the things which we don't do.
Re:Your graphs are unreadable
by
pclminion
·
· Score: 1
Uhm.. No, use GIF. Using PNGs is stupid unless twhen done for no good reason.
This is the stupidest comment I've read here. PNG and GIF are quite similar, oh, except that PNG supports 1, 2, 4, 8, and 16 bit color in each channel, it supports 1, 2, 4, 8, or 16 bit alpha channel, it has native grayscale, indexed, and truecolor modes, it has an array of predictive filters which enhance the compression ratio, it has support for display device gamma correction, and it uses an unpatented compression scheme. Contrast this with GIF which only supports 8 bit indexed mode, no predictive filtering, no gamma, with a patent-encumbered compression scheme. (Yes, the patent is expired. People still won't touch the fucker with a ten foot pole).
I rebut your comment by saying, "Why the HELL would anyone use a GIF?"
Web site accessibility (use image type supported by all major browsers)
Have you even checked in the last, say, 3 years? Everybody supports PNG. The IE implementation used to have (still has?) problems with the alpha channel, but so what?!
Bandwidth conservation
PNGs tend to be smaller than their GIF counterparts. Either you have no experience (in which case you shouldn't be commenting), or you don't know how to select an appropriate color mode for the PNGs to maximize the compression.
I have a hunch that you think PNG is a lossy format. You're ignorant.
Re:Your graphs are unreadable
by
Anonymous Coward
·
· Score: 1, Informative
Did you check transparency in Windows Explorer? As far as I know, it's not supported, unless you play some weird tricks. Or maybe you were making a joke, and I didn't get it.
PNG transparency works fine in IE as long as you don't try to do partial transparency. For simple on/off transparency (the same as what GIF offers), there are no problem with IE5 and up.
The article you linked to was describing a solution to getting partial transparency working.
Re:Your graphs are unreadable
by
pclminion
·
· Score: 1
what is more complex than a 3-dimensional image?
I don't know what the original poster meant, but it is common to refer to the bit depth as an extra "dimension" in an image, because it can carry information just like the two spatial dimensions can.
So, a 1x1x1 image might be referring to a single pixel which can be either black or white:-)
Re:Your graphs are unreadable
by
Abcd1234
·
· Score: 1
Oh please. What decent graphics apps out there *don't* support PNGs? And even if you do have such an old, underpowered graphics app, you could always export to some other format and convert.
As for those applications which output bloated PNGs, use pngcrush.
Re:Your graphs are unreadable
by
Anonymous Coward
·
· Score: 0
lynx doesn't support png
Re:Your graphs are unreadable
by
Minna+Kirai
·
· Score: 1
# PNG is a much more flexible format,
If PNG was more flexible, then I could convert all my animated GIF slideshows without data loss.
But I can't, so it's not.
Re:Your graphs are unreadable
by
Dave2+Wickham
·
· Score: 3, Informative
1) I often find PNGs to be smaller than GIFs. 2) Who cannot see PNGs? IE supports them, Opera supports them, Netscape/libpr0n-based browsers all support PNGs. Hell, even Links 2 when run in X or svgalib supports PNG.
Re:Your graphs are unreadable
by
Etyenne
·
· Score: 4, Informative
PNG transparency works fine in IE as long as you don't try to do partial transparency. For simple on/off transparency (the same as what GIF offers), there are no problem with IE5 and up.
More precisely, the PNG need to be in indexed mode (aka PNG8) for full transparency to work in IE. In The GIMP, click the "Image" menu, "Mode", "Indexed".
Some myth ("IE don't support PNG !!!") really die hard.
-- :wq
Re:Your graphs are unreadable
by
jbayes
·
· Score: 1
I've had problems with Netscape 4 (on a Mac, I think) displaying pngs improperly. In one case that I recall, transparent sections of the png were colored black in that browser.
Sure, Netscape 4 is kinda old, but it was what the client was using, and he didn't understand why it should make any difference what browser he was using.
--
"It sure was strange to see something on Usenet about me that didn't involve Klingon gang rape." -- Wil Wheaton
Re:Your graphs are unreadable
by
k98sven
·
· Score: 0
So what? That's an argument of taste, not a technical one.
Animated gifs are supported by every browser, and by just about all presentation software. (OOo, Powerpoint, Kpresenter, etc)
Animated GIFs have far more uses than silly webpage graphics. It's just about the only way to go if you want a simple, lossless compression, don't need truecolor, but need to 'just work' on just about any machine you throw it at.
This is an issue for me, because I use both Windows and Linux and the Mac, and often give presentations with animations in them. I have yet to find any other format which works on so many platforms. You don't want to find out that the lecture hall machine doesn't have the codec you need on it 15 minutes before a big presentation.
Re:Your graphs are unreadable
by
Anonymous Coward
·
· Score: 1, Insightful
>Animation? Or do you not class this as a good feature?
In an image format? No, I don't.
JPEG JFIF doesn't support animation either, but we never hear people bringing that up?
If you want animation, use an animated format. There are many. If you believe GIF is the best animated format available to you, then use that for animation. That still doesn't make it any better as an image format, it just proves the point that it's a complete hack (and a bad one)
Re:Your graphs are unreadable
by
cowens
·
· Score: 1
eddy said:
All the "good features" of GIF is supported by PNG in all current browsers. You'd have to go back in time fem years to find a browser that can't display a basic PNG. If you think otherwise, give me a link to one that matters that doesn't, and explain to me why, if it wasn't released/updated this year, using it isn't a security issue.
http://lynx.isc.org/release/
But then again it doesn't support GIF either.
Re:Your graphs are unreadable
by
Anonymous Coward
·
· Score: 0
>If PNG was more flexible, then I could convert all my animated GIF slideshows without data loss.
If you weren't an asshat, you'd know that PNG is an image format, not an animation format. (. PNG also doesn't support sound effects to go with that animation.)
>But I can't, so it's not.
Only a sad lUser wouldn't be able to trivially batch convert animated GIFs to a MNG, which is used for animations.
Re:Your graphs are unreadable
by
Afrosheen
·
· Score: 1
One word:
Flash.
Some more words to burn time for the lameness filter. End transmission.
Re:Your graphs are unreadable
by
Desval
·
· Score: 1
Sorry, I do get your point and agree. I accidentally left rant mode on. Sometimes you have to work with the lowest common denominator (and clients always seem to have only that). Granted I have not hade any issues with PNG support, but that has been my own experience.
Re:Your graphs are unreadable
by
Etyenne
·
· Score: 1
Because it does not support alpha channel.
-- :wq
Re:Your graphs are unreadable
by
Kent+Recal
·
· Score: 1
There's mng. But I think no browser supports it.
Re:Your graphs are unreadable
by
Etyenne
·
· Score: 1
I stand corrected. This is the first indexed PNG that I see that does not display in IE. What exactly is wrong with it ? My guess is that there is something wrong (from IE POV) with the palette, but I can't find how to show the palette using The GIMP. Too bad.
-- :wq
Re:Your graphs are unreadable
by
Trogre
·
· Score: 1
Disclaimer: I'm a big fan of PNG, just not a fan of MSIE.
-- "Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
Re:Your graphs are unreadable
by
repetty
·
· Score: 2, Funny
"Some myth ("IE don't support PNG !!!") really die hard."
Let me put it this way...
You wouldn't want your girlfriend to be faithful to you to the same degree that IE support PNG.
Re:Your graphs are unreadable
by
caluml
·
· Score: 1
JPEG JFIF doesn't support animation either, but we never hear people bringing that up?
Erm, maybe because there is an image format already available (GIF) that fills that niche. If GIF didn't exist, I'm sure there'd be an AJPEG (Animated JPEG) pretty quickly.
Re:Your graphs are unreadable
by
Tribbin
·
· Score: 1
You are both wrong.
The images are resized; that is the problem.
-- If you mod this up, your slashdot background will turn into a beautiful sunset!
Re:Your graphs are unreadable
by
Brandybuck
·
· Score: 1
These images were created merely by loading some GIFs into GIMP and saving them as PNG. If I knew what was wrong with them I would fix it!
-- Don't blame me, I didn't vote for either of them!
Re:Your graphs are unreadable
by
robfoo
·
· Score: 1
How about applying a Sharpen/Unsharp Mask after resampling them down to a lower res? That's not JPEG blur, it's resampling blur.
Re:Your graphs are unreadable
by
Brandybuck
·
· Score: 1
I finally figured it out! It wasn't the PNG images at all, but a layout error in IE. The problem occurs with either the deprecated align tag (which was what I was using) or with CSS float. I found the following fix:
img.right {
position: relative;
float: right }
Everything appears to be working now.
-- Don't blame me, I didn't vote for either of them!
The only thing that surprised me was that the author used jpeg for graph images. So not only are the colours in the legend not clear, and the text bearly readable, the images are actually much bigger than they would be with PNG or gif.
here's the link to the original
by
Anonymous Coward
·
· Score: 4, Informative
http://209.81.41.149/~jpiszcz/index.html
it's not slashdotted yet:)
Re:Not wasting time...
by
samhalliday
·
· Score: 0, Offtopic
aah, finally i track down the mystical Jedidiah whose stylesheets i "borrowed"! you left a note on my blog good sir, but never left an email and the one on your website does not work (even the one in the GPG key).
i meant to say, but never could, that you are free to "borrow" back the XHTML-1.1 compatible stylesheets i made from yours, and you are also welcome to my image page's PHP and my blog setup (which will encoroprate your style nicely!). i noticed you needed those things from the entries on your webpage.
Since article has been ./ed....
by
vwjeff
·
· Score: 5, Funny
here is the winner.
FAT 16
Re:Since article has been ./ed....
by
mirror_dude
·
· Score: 3, Informative
Just in case people want to read the article and dont have 30 minutes for it to load I put up a mirror here...
-- Note to Mods: When I post mirrors, it's a best guess. I don't know for certain whether or not the site will go down!
Re:Since article has been ./ed....
by
tiger99
·
· Score: 1
Sadly I had to actually make a FAT partition the other day, because neither SuSE 9.0 nor the latest FreeBSD could see each other, i.e. FreeBSD grumbled about an invald partition table, or something similar, when I tried to mount an ext2, while SuSE grumbled, in almost the same words, when I tried to mount UFS, yet each supposedly had all the correct options in the kernel.
Hopefully SuSE 9.1 will fix it, meanwhile my common area between both OSs is FAT, thanks to a certain Mr. Patterson who created QDOS, no thanks at all to the scumbag who ripped him off, now a Sir....
I maust say that FAT is grim, there is no proper control over capitalisation of file names, but it looks as if when SuSE writes in lower case, that is what is recorded on the disk, so that is what FreeBSD sees also. It looks as if it is only MessyDOS and Windoze that mess with capitalisation.
Re:Since article has been ./ed....
by
Afrosheen
·
· Score: 1
Capitalization is the least of your worries with FAT. You've got a total lack of permissions, timestamping, etc. The filesystem doesn't support any of the features you'd consider modern that all Linux filesystems have.
Fat sucks, plain and simple, but it's the only go-between partition type if you have a dual boot system and each OS needs to share.
Re:Since article has been ./ed....
by
ocelotbob
·
· Score: 1
I wonder if it's possible to use something like iso9660 as a standard hard disc partiton if you're going to be dual booting, seeing as the rockridge extensions support unix style filenames and permissions. Haven't really played with it; anyone know if it would work, or are we getting into the zone of evil hack here?
--
Marxism is the opiate of dumbasses
Re:Since article has been ./ed....
by
zgornz
·
· Score: 1
Check out Advanced Partition Table Support or something along those lines in the linux kernel, there is an option to see the BSD "slices"
Might help you out.
Re:Since article has been ./ed....
by
PGillingwater
·
· Score: 2, Insightful
For those who are concerned about loss of permissions, filename case, long names, etc., may I offer a simple solution -- wrap your files in.tar or.cpio archives.
If you need "live" access to the files, then simply create a loopback ext2/3 file system (which can also be encrypted), which is stored in a single large file in the FAT partition. Mount it on a loopback device, and your other problems are moot.
--
Paul Gillingwater
MBA, CISSP, CISM
Re:Since article has been ./ed....
by
tvh2k
·
· Score: 1
sure, if you want to be restricted to 8.3 filenames
Re:Since article has been ./ed....
by
Wolfrider
·
· Score: 1
--The only problem being, FAT32 *still* has a maximum filesize limitation of 2GB.:(
--You can get around this by using Joerg Schilling's "star" tar-replacement program, which can split tar archives on the fly while creating them; but you need some way (script) of handling the volume changes.
--It's been a while since I used it, but I think you have to specify the -multivol and -tsize=9999 options with star. I wrote a custom chgvol script, if anyone wants it just reply here.
-- .
== WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
Re:Since article has been ./ed....
by
tiger99
·
· Score: 1
Yes, I quite agree, but for what I was doing, neither permissions nor timestamping mattered. But, as you say, they are vital in a decent OS, and I have been used to having them since Unix V7, which must have been about 1978 or thereabouts, the very first time I had a computer at work. There have been many backward steps since, all originating from Redmond.
When I was happily doing software and hardware intergation on my Tektronix development system, based around a DEC LSI11/23 board, the people who did simulation got some of the first PC/ATs. I nearly fell over laughing! They used to come to me to read foreign disk formats (8 inch floppy in those days), we eventually drilled a hole through the wall and put in a serial connection. My machine could do anything (almost). It spent 2 weeks running a background process to get some large prime numbers with specific characteristics. We cobbled up a "compiler" for a HLL for programming test gear that we were designing, using not much other than sed and awk. It helped prepare wiring schedules, again with a bit of awk and other things. Occasionally it even did the job it was purchased for.
Many of the things we did easily on that machine can not be done even now, under Windoze, without a major programming exercise. The key to the whole thing is the OS, and that one ran Tnix, which was a slightly modified version of Unix V7.
Having learned computing on something decent, and in its day very advanced, I hate using backward things like MessyDOS. Funnily enough, in 1978 we compared kernels, MessyDOS was about 52k, almost exactly the same as Tnix, a pre-emptable, multi-tasking, multi-user OS with proper file system and memory management. Enough said, I think.
Re:Since article has been ./ed....
by
tiger99
·
· Score: 1
I might be trying it next weekend, but don't yet know if it is suited to a read/write environment. It is obviously supported by Linux and FreeBSD, and I like the thought of it being governed by an ISO standard, so all implementations should interoperate properly.
I have done some more research into my problem, it seems that BSD is probably using UFS2 which is in Linux from kernel 2.6, of course with SuSE 9.0, it is kernel 2.4 at the moment, which explains why SuSE can't see the UFS2 partition, only plain UFS.
I think that there may be other file systems also worth looking at, but I will never, ever install another Windoze, certainly on this machine, so don't care that the Monopolist can't read foreign file systems. I have 3 partitions which can be shared, so might try whatever other file systems seem to be supported by both sides, IIRC there may be XFS, maybe even JFS etc. But if your suggestion of iso9660 turns out to work, I might stick with it.
Re:Since article has been ./ed....
by
tiger99
·
· Score: 1
Thanks for the suggestion, IIRC it was compiled into the kernel, but I will check just in case, when I get home at the weekend. It is interseting that it does not really see the BSD slices, dmesg does not report anything interesting, but I can mound a FAT partition in SuSE, or in BSD, that is actually within the BSD slice, I think. How confusing.... But, as both OSs can see the partition when it is FAT, it is in the right place, at least. But I am inclined to think now that it is the UFS/UFS2 issue, if so when Suse 9.1 arrives (should be by the weekend) it may be resolved, in the BSD to SuSE direction, because the 2.6 kernel is supposed to support UFS2.
I think I need to compile a BSD kernel again, likely I missed something there. Meanwhile there are other alternative file systems to try.
When I get this fixed I will definitely write it up and post it on a web site somewhere, it is bound to be useful to others. The existing Howtos don't quite seem to cover the problem, which makes me think it probably used to work till UFS2 came along, or something else broke it.
The conclusion
by
broothal
·
· Score: 2, Informative
Site already/.'ed (when will slashdot ever learn to use a cache - either freecahce or make their own?)
Anyway, all rants aside, here's the conclusion from the tests (there were some graphs as well but I couldn't make sense of them anyway):
CONCLUSION
For those of you still reading, congrats! The conclusion is obvious by the "Total Time For All Benchmarks Test." The best journaling file system to choose based upon these results would be: JFS, ReiserFS or XFS depending on your needs and what types of files you are dealing with. I was quite surprised how slow ext3 was overall, as many distributions use this file system as their default file system. Overall, one should choose the best file system based upon the properties of the files they are dealing with for the best performance possible
This question has been answered over and over. And the answer is: never. It would be neither legal nor ethical for Slashdot to mirror/cache content for articles posted on slashdot. Many site relies on banner ad revenue. Caching content would deprive those sites from the revenue generated by traffic. Plus there is the whole copyright issue.
Re:The conclusion
by
broothal
·
· Score: 2, Insightful
This question has been answered over and over.
I must have missed the memo
And the answer is: never.
Please give me a link to a/. editor saying that.
It would be neither legal nor ethical for Slashdot to mirror/cache content for articles posted on slashdot.
So you're saying that freecache and google are illegal?
Many site relies on banner ad revenue. Caching content would deprive those sites from the revenue generated by traffic. Plus there is the whole copyright issue.
If you don't cache the images, the banners will still show (as google does it).
Re:The conclusion
by
avdp
·
· Score: 2, Informative
See the whole article and a full range of hideously colored full sized graphs here before it gets slashdotted too. Speaking of which, there has got to be better graph making software out there in Linuxland......
I like gnuplot, I really do. But its barchart capabilites leave a lot to be desired.
-- Give me Classic Slashdot or give me death!
Re:Hrmmm
by
Anonymous Coward
·
· Score: 0
The R Project does a really good job too. It's an S-Plus clone, and meant for all things statistical, but even if you just use its graph features it kicks butt.
Re:Hrmmm
by
Anonymous Coward
·
· Score: 0
RLPlot is pretty good...
http://rlplot.sourceforge.net/index.html
Best Filesystem for Production System
by
dduardo
·
· Score: 2, Interesting
Right now I'm running reiserfs under gentoo and I recently lost some rather important data, which has made me a little skeptical in using it in a production system. Therefore I'm asking you guys which filesystem do you think is good for a webserver that will be handling a medium sized database and a significant number of transacations each day.
Re:Best Filesystem for Production System
by
truthsearch
·
· Score: 1
I also got corrupted data on a gentoo system using reiserfs. I'm only using it as a desktop. I'm under the impression that non-journaled file systems are best for databases. A good database will cache in memory as needed and read/write to disk efficiently. I would think for a webserver and database with many transactions you'd want a filesystem that keeps the CPU utilization low. I use ext2 for my database and web server. But I'm no system admin, I'm far from an expert...
Re:Best Filesystem for Production System
by
molarmass192
·
· Score: 3, Interesting
I use JFS and it's been pretty good thus far. It's been around for a long time and it's backed by IBM, so that makes it a pretty safe bet for production use in my mind. I used to use Ext3 before that and experienced a few data losses that caused me to make a switch. I can't comment on Reiser or XFS since I haven't used 'em.
--
Good people do not need laws to tell them to act responsibly, while bad people will find a way around the laws-Plato
Re:Best Filesystem for Production System
by
ClippyHater
·
· Score: 1
I ran into the same problem with Gentoo (probably not Gentoo-specific, though, as I used very mild flags). I avoid ReiserFS like the plague, now. Sure, ext3 is "slower" than reiserfs, but but data doesn't morph and my system is stable.
Of course, it's probably chipset related, as I'm sure you'll find others who've used reiserfs without a lick of trouble. For me, as I'm sure for everyone else, when it comes to a filesystem, slower is much better than faster but corrupt.
Re:Best Filesystem for Production System
by
jjeffries
·
· Score: 1
And in the same thread, I'd like to ask for opinions on an FS for a largish mail server; MTA will be either qmail or postfix using maildir. I'd planned to use reiserfs, too--anyone wanna advise me otherwise?
Re:Best Filesystem for Production System
by
MacJedi
·
· Score: 1
Agreed. I'll further say that when I have had problems and filed bug reports the JFS developers have been very responsive.
-- 2^5
Re:Best Filesystem for Production System
by
Mr+Smidge
·
· Score: 3, Interesting
I have ran reiserfs on my fileserver ever since it existed, and like you it corrupted once and I lost data.
However, I pinned it down to a faulty drive (Quantum Fireball, hehe, which never acted up under NTFS/Win2k.. oh well). I was close to blaming reiserfs, but once I put in a quality hard drive and reinstalled, it's run like clockwork. Perfectly.
There sure haven't been too many stabilty issues with reiserfs in my experience. Try another drive as a test and see if the same happens.
Re:Best Filesystem for Production System
by
Dionysus
·
· Score: 1
If you are planning for maildir, then I would recommend reiserfs, because reiserfs has been optimized for many, small files.
-- Je ne parle pas francais.
Re:Best Filesystem for Production System
by
Anonymous Coward
·
· Score: 1, Funny
Right now I'm running reiserfs under gentoo and I recently lost some rather important data
Yeah, I get emotionally attached to my porn collection too.
Re:Best Filesystem for Production System
by
Sxooter
·
· Score: 1
Sorry, but you're wrong on the need for a journaled file system. PostgreSQL recommends using one, and cannot guarantee recoverability without it.
While some older versions of ReiserFS from a couple years back or so had some issues with corruption, it would appear those problems have been fixed.
The actual CPU overhead of a good journaling file system is quite low.
--
--- It is not the things we do which we regret the most, but the things which we don't do.
Re:Best Filesystem for Production System
by
Sxooter
·
· Score: 4, Insightful
If you are using IDE drives with the write cache enabled, then NO journaling file system is safe on your system. This is because IDE drives with write cache respond immediately to requests for fsync with true, whether they've written the data out or not.
If your data is important, either turn off the cache on your IDE drive or buy a SCSI drive, which won't lie about fsync. This is a problem for both linux and BSD.
Later model IDE drivers and drives may be able to work properly with cache enabled, but not now. There are ongoing discussions on BOTH kernel hackers lists, BSD and Linux, about what to do, and no solution in sight.
--
--- It is not the things we do which we regret the most, but the things which we don't do.
Re:Best Filesystem for Production System
by
Bensmum
·
· Score: 0, Offtopic
FFS. Quit playing the "guess a filesystem and pray my data survives" game.
Re:Best Filesystem for Production System
by
Anonymous Coward
·
· Score: 0
> a largish mail server;
I've been using ReiserFS on a news server for two years without a single problem. It's running on an unreliable machine with only 64Mbytes of RAM with six IDE 200Gbyte drives, so I think I'd see problems if there were any. It gets about 100x the traffic that my mail server with 2,000 accounts. It has run flawlessly. I recommend it without hesitation.
Re:Best Filesystem for Production System
by
chthon
·
· Score: 2, Informative
Just to show that it depends upon the application you need to run.
Now, you will not hear me say that you should not use ReiserFS, for a desktop it is probably the best choice, but for servers, please think again.
In addition to that, my own experiences with ReiserFS are mostly positive, especially on my 233 Mhz laptop, but I have also a big system with a Promise SX6000 raid controller, where I had a partition with ReiserFS, ext3 and JFS using Red Hat 9. Everytime I did file operations using ReiserFS I got problems with the consistency of my RAID 5 array, so I scrapped ReiserFS and only kept ext3 and JFS, which give me no problems anymore.
Re:Best Filesystem for Production System
by
Anonymous Coward
·
· Score: 1, Interesting
XFS's real talent is hidden in recovery. It is meant for DB of sizes in Terabytes++ , and it's XFSchk is usaully almost instant (definately compared to other FSes). Basically no one is going to wait 2 days for a 600 terbyte db to chkdsk when XFS will recover in hours (or less). Will you lose files? probably, but that is what back-ups are for, and now your DB is up and running. Restore and go in hours not days....
Re:Best Filesystem for Production System
by
FauxPasIII
·
· Score: 1
> I recently lost some rather important data, which has made me > a little skeptical in using it in a production system
-nod- My experience from reiserfs3 (ranging from 2.4.12 through about 2.4.20) was that you're just living on borrowed time... eventually, the whole filesystem will go belly-up. My personal workstation died 3 times before I learned that lesson, and by that time I had put it on a development server. I am religious about backups, fortunately.
I've heard plenty of people (including another respondant here) claim to run reiserfs forever with no problems... then again, I've heard the same claims made about Windows ME. I've never heard of anyone having unrecoverable data loss on ext3. As always, YMMV.
Re:Best Filesystem for Production System
by
ahodgson
·
· Score: 1
Reiser's definitely the way to go for your mail spools - the tail feature alone will save you a lot of drive space.
Re:Best Filesystem for Production System
by
Nimrangul
·
· Score: 1
Whoever modded that offtopic isn't really paying attention to the topic. That was a suggestion of a filesystem.
-- I'm sick of following my dreams - I'm just going to ask them where they're going and hook up with them later.
Re:Best Filesystem for Production System
by
Tet
·
· Score: 1
MTA will be either qmail or postfix using maildir. I'd planned to use reiserfs, too--anyone wanna advise me otherwise?
Yep. Any of the others are perfectly viable choices,
but I'd avoid reiserfs. If anyone's interested, the
reasons can be summed up in two words: Hans Reiser.
Too many reports of data loss/corruption, and too
much indifference from the reiserfs developers
("dont' worry about it -- it'll be fixed in the next
version, due in 5 months").
-- "The invisible and the non-existent look very much alike." -- Delos B. McKown
Re:Best Filesystem for Production System
by
Sxooter
·
· Score: 2, Informative
Nice article, thanks for the link.
It looks like Oracle has gotten the same basic results as the PostgreSQL Global Development Group have. JFS and ext3 are generally the fastest under a database, while XFS and Reiser seem to be pretty slow.
The odd thing here is that most other tests show XFS and Reiser as the kings. But the kind of random access databases do seems to be better handled by JFS / ext3.
The problems with your RAID consistency, were these file system problems, or RAID level problems? If they're RAID level problems that would seem to point at your RAID controller, as no file system should be able to bonk a RAID array on the head, since it doesn't really have that kind of access to it.
--
--- It is not the things we do which we regret the most, but the things which we don't do.
Re:Best Filesystem for Production System
by
Kent+Recal
·
· Score: 1
I think when an IDE disk loses power during write there's little any software can guarantee (the journaling fs experts are welcome to correct me, though). SCSI-disks and a battery backed controller should be minimum for any DB-server, unless you have very good UPS + redundant PSU.
Re:Best Filesystem for Production System
by
Sxooter
·
· Score: 2, Insightful
I don't think you're understanding what I'm saying. Here's a brief time line based explanation.
The OS writes to the journal what it's going to do. It calls fsync to make sure the journal is on the disk. The disk says "oh yeah, it's there." The file system then writes the actual data, and fsyncs that. The disk, again, tells it that it wrote the data out. The file system then marks that part of the journal as having been written.
However, the disk hasn't actually written out its cache yet. It lied to the OS / file system and said it had, but it hasn't, it's busy doing something else. Poof, the power goes out.
Now, the journal doesn't have our data, we've already cleared it out, and the file system, which is supposed to have been coherent because we fsynced it, is not, and it is now corrupted.
I have reproduced this behavior a dozen or more times on IDE based systems. The only way to stop it is to tell the drive to stop using it's write cache.
Now, SCSI drives don't lie about fsync. At least none of the ones I've tested have done that. so, when the file system asks the disk to fsync and reports back that it has fsynced, the data really is on the drive. And we can now roll forward the journal pointed and proceed with the knowledge our data is coherent on the drive.
You can prove this to yourself. Set up a server on IDE and another on SCSI. Install postgresql, running on a journaled file system like ext3, and then run the follow commands on each:
Now, in the middle of the test on both machines, pull the plug.
When you restart the machines, the SCSI one will come right up, database coherent and no problem. the IDE one will fail, at least every so often, or as in my experience, nearly every time.
--
--- It is not the things we do which we regret the most, but the things which we don't do.
Re:Best Filesystem for Production System
by
Kent+Recal
·
· Score: 1
You don't have to convince me. I was the guy recommending SCSI, right? In fact without reliable power (redundant PSU + UPS) the drives (IDE as well as SCSI) can crap out just anytime - sync'd or not. Ofcourse you can get battery-backed IDE-controllers. But are you really going to spend that kind of money and then run the drives with disabled write-cache?
Re:Best Filesystem for Production System
by
Sxooter
·
· Score: 1
Funny you should mention that. It seems the escalade IDE RAID controller doesn't suffer from this problem. My guess is that it uses its own cache and turns off the drive's cache to achieve reliability.
So, while I'm not a big fan of IDE and consider most tests done on them to be non-valid due to the problems with fsync, the escalade is the apparent exception to the rule. It's fast AND reliable, which is rather non-IDE like in nature...
--
--- It is not the things we do which we regret the most, but the things which we don't do.
Re:Best Filesystem for Production System
by
Kent+Recal
·
· Score: 1
Funny you mention escalade. I just got myself the cheap 2-disk escalade for the home-box. Nice to know it does even a little bit more than just saving some cpu cycles over softraid (why I bought it).
Re:Best Filesystem for Production System
by
Anonymous Coward
·
· Score: 0
This problem is effecting windows as well. How do you disable write ahead cache?
Re:Best Filesystem for Production System
by
arcade
·
· Score: 2, Interesting
Now, you will not hear me say that you should not use ReiserFS, for a desktop it is probably the best choice, but for servers, please think again.
It's only the best choice if used by computer literate people.
I've had to travel 500km one time too much to fix a reiserfs-using-desktop-computer that didn't want to boot due to ReiserFS spitting out strange error messages and waiting for input.
Not having heard the messages before, nor managing to discern them over the phone, I finally had to travel far too long just to fix the damn computer.
Re:Best Filesystem for Production System
by
Anonymous Coward
·
· Score: 0
The solution is already in 2.6.6. Go grab it. It turns off the disk before shutting down, which makes it flush the cache.
Re:Best Filesystem for Production System
by
demon
·
· Score: 1
Seconded. My PowerBook and PowerMac 7500 both use JFS as their root filesystem, and it works great. The few times I've had a crash with my PowerBook, no lost files, and it takes at most a few seconds for journal replay to finish. (I can count them passing on one hand.)
--
Sam: "That was needlessly cryptic."
Max: "I'd be peeing my pants if I wore any!"
Man, that site must have been running on the tester's machine (a P3-500). Slashdotted at 6 comments.
Either that or the webserver was running ext3... slow as molasses by the test results.
Yes, it must be disk throughput or some other problem because all websites have unlimited bandwidth...can't be a network issue;-)
Re:Slashdotted!
by
Anonymous Coward
·
· Score: 0
All websites have unlimited bandwidth? I'm running mine from home with a 3000k down/256k up- I'd be slashdotted that fast too!;) LOL
The result is......
by
Fuzzums
·
· Score: 0, Redundant
I'm actually not surprised at the results, because the results, as usual, come down to: "the best filesystem is the one that is best for your needs". *sigh* I know that benchmarks can't determine things like that, but still a part of me just wants there to be a winner! I mean what good is a race where everyone wins?
Tell me Mr. Anderson, what use is a non-clickable link if people just mark and middle-click.
I guess that is why he put the space in the URL:
http://theory.cs.iitm.ernet.in/~arvindn/mirror/lin uxfs/piszcz_large.html
The tests don't show everything
by
Ignorant+Aardvark
·
· Score: 4, Insightful
While they do measure stuff like access times in ms, they don't mention recovery times (chkfs) that are mentioned in ms for reiserfs and mins for ext2. And they don't mention reinstallation times (measured in hours) which occurs for ext2 a lot more than the journalling filesystems:-)
Re:The tests don't show everything
by
dbIII
·
· Score: 2, Informative
And they don't mention reinstallation times (measured in hours) which occurs for ext2 a lot more than the journalling filesystems:-)
What the fsck are you talking about? When the filesystem has problems you just need to run fsck like on any unix system from the last decade and more instead of doing the windows thing of reformatting and re-install. Certainly it's a scary thing, but you don't have to throw everything away just because you get a few easily fixable filesystem errors.
Re:The tests don't show everything
by
haraldrbassi
·
· Score: 1
Nor do they mention the days required to rebuild a RieserFS system when it gets corrupted or the day plus to even get the data off before it crashed entirely. Nor do they mention how to backup the data so you can do a recovery in the event of a hardware failure.
Real world experience tells me that RiserFS is not ready for production on my servers. I had a 2TB server running the backend mail spool for our campus, it developed severe database corruption in the ReiserFS as a result of the big blackout last summer. It took 29+ hours to remove the files that were on the system to a new system. It was also taking forever to do any kind of backup on it (tar was the only available option).
The new system we migrated the data to eventually developed an even nastier problem where just reading certain files would kernel panic the entire system, leaving us with more than an hour of down time while the system came back up and checked the ReiserFS structures and raids.
We eventually migrated to a third system where we now use dozens of individual EXT3 file systems under LVM. We have regained the ability to do a full level 0 dump in under 4 hours compared to the 24 hrs it took to save less data on a ReiserFS (when it was working properly) if we could even get the backups to complete.
And yes, all three systems were in fact identical 2TB RaidZones running their RH7.1 based product so it is an apples to apples comparison between EXT3 and ReiserFS.
The Linux LVM system is a dream from a backup perspective, as long as you aren't running RH Enterprise Advanced 2.1 with a new kernel to support LVM.
I won't use ReiserFS for anything more important than/tmp until there is a dump system available for it. I also won't use RH unless absolutely required as the only possible solution that the vendor will even talk to us about. Otherwise it is strictly Debian Sarge which doesn't ever let me down.
Speed means absolutely nothing
by
codepunk
·
· Score: 4, Insightful
Personally I could care less which file system is fastest. The most important aspect to a file system is how stable it is with my important data. All the speed in the world means absolutely nothing if the file system is not stable. EXT 3 has never ever let me down so I intend to stick with it, at least until RedHat releases their version of GFS.
--
Got Code?
Re:Speed means absolutely nothing
by
Anonymous Coward
·
· Score: 0
You could NOT care less
Re:Speed means absolutely nothing
by
Anonymous Coward
·
· Score: 0
GFS is a backup scheme. Maybe you meant JFS?
Re:Speed means absolutely nothing
by
InsaneGeek
·
· Score: 1
No he's talking about Sistina's "Global File System". Which not only is supposed to be a fast filesystem, but you can run as a clustered filesystem. Redhat recently purchased Sistina.
Re:Speed means absolutely nothing
by
codepunk
·
· Score: 1
exactly GFS the clustered file system
--
Got Code?
Re:Speed means absolutely nothing
by
InsaneGeek
·
· Score: 1
Word on the street is that they are possibly going to include non-cluster GFS for free in their enterprise line, but you'd pay a functionality add on price to layer the cluster capabilities on to it.
Re:Speed means absolutely nothing
by
flaming-opus
·
· Score: 2, Interesting
While GFS is a fine filesystem for a cluster, I'm not sure what use it will be in a non-cluster environment. There's a lot of things you have to do in a cluster filesystem to ensure data consistency between nodes. It is true that a non-cluster GFS can replace a lot of these functions with a nop, but it still affects the way you structure the code.
GFS has a nice, relatively asynchronous journal implementation. However, I don't know that it will perform well on small file I/Os, particularly deletes. It's also somewhat complicated to configure and manage. Seems like a real bother if you're not going to use it in a cluster.
Re:Speed means absolutely nothing
by
G00F
·
· Score: 2, Informative
I agree, and after having bad blocks with a reiserfs system, I don't want to touch reiserfs again. reiserfs has no way to deal with bad blocks. Only a hack that you have to implament everytime your system does a fsck. You basicaly fake it that those bad blocks have a file. Reiserfs +IBM HD's = hair loss
-- The spirit of resistance to government is so valuable on certain occasions that I wish it to be always kept alive
Re:Speed means absolutely nothing
by
CyberGarp
·
· Score: 1
Yep, one back block and there went a whole partition. I swore off Reiser after that incident.
--
I used to wonder what was so holy about a silent night, now I have a child.
Re:Speed means absolutely nothing
by
Anonymous Coward
·
· Score: 0
I have a MythTV box. My primary raid drive where I stored all my video (up until yesterday) has been an ext3 file system. In the past I've used Reiser.
I'm going back to Reiser. Ext3 simply takes too long to delete the video buffer files. Change a channel? Additional 2 second pause. Delete a video? 2 second pause. All these pauses caused by ext3 are noticable and add up after awhile.
Reiser? I never had these problems with Reiser and still don't. Moving to ext3 in my case was a mistake.
Re:Speed means absolutely nothing
by
Etyenne
·
· Score: 2, Funny
Reiser? I never had these problems with Reiser and still don't.
Famous last word.
-- :wq
Re:Speed means absolutely nothing
by
Error27
·
· Score: 1
In my testing, ext3 is the most reliable Linux journalled filesystem.
Click here to download my filesystem test. You should run it as root overnight if you want to test your fs. (Warning there is a chance of pretty bad corruption). On ext3, the file system has never been corrupted and the computer has never crashed.
I'd also be interested if someone could run the test on OS X.
Re:Speed means absolutely nothing
by
myowntrueself
·
· Score: 1
Then (when you are using LVM) theres turnaround time on a resize operation.
XFS doesn't even require an unmount; just xfs_growfs on a live filesystem with your clients 'must never go down! well ok you can schedule downtime at 3am on sunday' database.
ext3? all the rest? Have to unmount. Oops outage!
-- In the free world the media isn't government run; the government is media run.
Re:Speed means absolutely nothing
by
Anonymous Coward
·
· Score: 0
Interesting enough, there is at least one SAN NAS head out there that has the GFS meta data controller built into it. But the word on the street is that GFS is too broken at the moment to trust. When I wanted a filesystem that is journalled and supports >100TB I had only one choice, Stornext, not free, but it does what it says on the box.
Any chance of including NTFS?
by
Anonymous Coward
·
· Score: 3, Interesting
It would be nice to see an unbiased comparison with NTFS (though it would be difficult seeing as how you can't get it to run natively on *nix afaik)
Re:Any chance of including NTFS?
by
Lxy
·
· Score: 3, Interesting
I agree, it would be an interesting test. If I'm not mistaken, NTFS is a journaling filesystem as well. Its databasing design is really interesting to me.. is there something similar to this in linux journaling filesystems?
WinFS is designed to utilize the database feature, I'd be really curious about the results of searching for a file in NTFS/WinFS versus a linux file system. Hopefully NTFS linux support improves to the point where we can safely use it as a linux filesystem.
Data recovery is my biggest issue right now with linux. It's damn near impossible to rescue data off a failed linux disk. Even just deleting a file is tough to recover from. NTFS has a nice selection of tools (albeit non-free) to safely and reliably recover data.
--
There is no reasonable defense against an idiot with an agenda :wq
Re:Any chance of including NTFS?
by
dago
·
· Score: 1
Re:Any chance of including NTFS?
by
EXrider
·
· Score: 1
NTFS is NOT full journaling, I think NTFS V5 (Win2K/XP/2K3) has metadata journaling.
Full journaling is supposed to be introduced in WinFS which sounds to me like SQL Server or MSDE slapped on top of NTFS, with journaling handled by the SQL transaction log.
Can you say fat ass resource hog?
-- grep -iw skynet/etc/services
Re:Any chance of including NTFS?
by
Anonymous Coward
·
· Score: 0
I said natively. You can't conduct a fair test when using a compatibility tool like wine or a third-party tool entirely.
Re:Any chance of including NTFS?
by
Lxy
·
· Score: 1
I'm not an expert, but I think I can clear up the databasing issue. From what I've seen and read, WinFS is just utilizing the database mechanisms already in place. The metadata is already stored in redundant databases, which achieves a journal like effect (not true journaling, as the process of sync'ing databases is somewhat resource intensive, but it's close). WinFS just takes that already stored metadata and puts it to good use. As I understand it, opening Word and trying to open "myfile.doc" is not any more work than opening "C:\Documents and Settings\Username\My Documents\Myfile.doc" at the NTFS level.
The WinFS stuff is just an overlay, and AFAIK it doesn't add any overhead to the FS itself. The groundwork is already in place, WinFS is just utilizing more of the capabilities behind NTFS.
--
There is no reasonable defense against an idiot with an agenda :wq
ext3 slowness
by
ReignStorm
·
· Score: 5, Informative
Q: How can I recover (undelete) deleted files from my ext3 partition?
Actually, you can't! This is what one of the developers, Andreas Dilger, said about it:
In order to ensure that ext3 can safely resume an unlink after a crash, it actually zeros out the block pointers in the inode, whereas
ext2 just marks these blocks as unused in the block bitmaps and marks the inode as "deleted" and leaves the block pointers alone.
Your only hope is to "grep" for parts of your files that have been deleted and hope for the best.
Re:ext3 slowness
by
Speare
·
· Score: 2, Insightful
Personally, I see this as a mild security benefit. If I delete something, I want it GONE. It's not as good as an idle-time thread that 11-pass nukes unallocated sectors at random, but it'll do for a start.
If I delete something, I want it GONE. It's not as good as an idle-time thread that 11-pass nukes unallocated sectors at random, but it'll do for a start.
Totally agree - Windows has had a similar feature for weeks now. It's about time the OpenSource community finally catches up!
It works for mine!
by
MarcQuadra
·
· Score: 4, Interesting
I've been using ReiserFS _EXCLUSIVELY_ since about 2.4.11 and I've never had a single problem. It's important to format with the defaults and not specify 'special' arguments to mkreiserfs or you can run into trouble.
I've got three systems currently running reiser on Gentoo, from my PowerPC/SCSI/NFS/Samba file/print server to the ancient Compaq laptop with a 4GB drive. I've never had as much as a hiccup from ReiserFS.
Under what circumstances did you lose data?
-- "Sometimes, I think Trent just needs a cup of hot chocolate and a blankie."
-Tori Amos on Nine Inch Nails
I had some problems with a kernel panic and was forced to reboot the machine serveral times. I booted off the gentoo cd and did a resierfsck and it told me when it was done to rebuild the tree. I lost a about 20 files that where being served by apache. Most of them turned up in the lost+found, but the some weren't as lucky. They where the files being written to most, therefore i'm thinking they was an error during the write which caused the files to become corrupt.
What was the cause of the Kernel Panics? Generally speaking, if you have problems with memory, CPU, or bad blocks or other IO errors, any filesystem is likely to suffer some damage.
I also have lost data on reiser. When I dumped a file bigger than 2 gig to my samba share the system would lock up & the drives would spin to hell and back. After waiting a few hours I rebooted and the file was gone (that's resonable I rebooted), but what was really bad my freespace shrunk by a few gig and none of the reiser tools would bring that space back. 'course that was a while back, and reiser never has really touted itself as a large file filesystem.
I used to run ReiserFS on all my partitions. I had one drive that contained the OS and one drive that contained all my user data. The drive with the user data was an IBM DeskStar (DeathStar) drive. When the drive went south it ate the entire ResierFS filesystem with it. There were only a few bad blocks on the HD but one of them was the superblock (or whatever ResierFS calls it). If I had used Ext3 I could have used a different superblock to at least get some of my data back.
I ended up loosing ~20GB of data. Since then I have not used ReiserFS for anything.
I currently use XFS on my primary home desktop, JFS on my laptop and CD burning computer, and ext3 on my car ogg player. So far (~12 months) no problems. I am keeping my fingers crossed though.
I've got three systems currently running reiser on Gentoo, from my PowerPC/SCSI/NFS/Samba file/print server to the ancient Compaq laptop with a 4GB drive.
I believe that is the definition given for the word "dilettante" in most dictionaries.:)
-- If you open yourself to the foo,
You and foo become one.
Re:It works for mine!
by
Erwos
·
· Score: 2, Informative
"I've been using ReiserFS _EXCLUSIVELY_ since about 2.4.11 and I've never had a single problem. It's important to format with the defaults and not specify 'special' arguments to mkreiserfs or you can run into trouble."
I've personally had several friends tell me of their data loss with ReiserFS. No one's arguing that it's a horrible file system, only that it still experimental.
The typical data loss situation is a power loss in the middle of a write. ReiserFS might be atomic in operation, but it still can't dodge hardware failure at that level.
I use ext3, and I've been happy. ReiserFS is definitely not an appropriate default partition type at this time.
-Erwos
-- Plausible conjecture should not be misrepresented as proof positive.
Re:It works for mine!
by
Anonymous Coward
·
· Score: 0
Around when Reiser was first incorporated in the kernel (hardly at a phase that I would call "experimental"), I decided to try it out. It wasn't long after that I lost the entire filesystem -- simply through normal activity. Since then, I haven't used Reiser.
Not long after, I tried XFS. Mind you, at the time, it was highly experimental (and required the manual application of a couple of patches to the kernel). As you might imagine, it wasn't long before the data seemed to get corrupted, and the XFS partition was lost. (That didn't surprise me though, and I didn't really have anything important on the drive at the time.) XFS still worries me, if only because it looks to me like > 20% of the entries in the more recent 2.4.x series CHANGELOGs seem to be XFS-related. I still think that it needs a little while longer in the oven.
That said, I've never had any problems with JFS. I use it as the primary system for 10 of the computers in our lab at work, and for all 5 of my home machines. It's never given me any problems.
Re:It works for mine!
by
jcupitt65
·
· Score: 3, Informative
I've lost stuff with reiser too. About a year ago I was fiddling with an nvidia driver and locked my machine up. When I rebooted the tree that had had a compile going on had vanished forever.
My understanding is that journalled means the FS can't get into an inconsistant state and so does not need fsck-ing. It does not mean your data is safe from having the power pulled halfway through a write. If you want a super-safe home area you want some sort of logging FS and these are all far slower than journalled (I think).
I lost data after a power bounce. My system wouldnt boot, it forced me to do a fsck from a floppy. I learned my lesson to never use reiserfs for the root filesystem.
The only reason I used it was to recover gracefully from an unexpected system shutdown (ie, the power goes out) like NTFS does.
--
I don't need no instructions to know how to rock!!!!
Add me to the list of people who have lost data with Reiser.
Now, I still use Reiser. I currently have 4 or 5 systems running on pure ReiserFS. I use it for both small and large files(ystems).
The problem with Reiser is that there is a high probability of data corruption if your system dies (lock-up or power failure, etc.). Generally, any files that are open when the system goes down are subject to corruption.
It's often hard to tell that anything went wrong because everything will appear normal but your files will have bogus data in them. I've lost VMware machines (they still worked but all sorts of things were screwed up in Windows), all my GNOME settings (multiple times; I guess GNOME holds lots of files open or updates them all the time; I've since switched to KDE), source files, graphics files, etc...
I'm thinking of switching to something else. XFS chews too much CPU, JFS has been extremely unstable every time I've tried it (which I admit has been a while), ext3 is slow. Meh, that's why I've just stuck with Reiser. I like how fast it can delete huge directory trees and it generally performs very well except for the data loss thing.
-- The ratio of people to cake is too big
Re:It works for mine!
by
Hatta
·
· Score: 4, Funny
I'm thinking of switching to something else. XFS chews too much CPU, JFS has been extremely unstable every time I've tried it (which I admit has been a while), ext3 is slow. Meh, that's why I've just stuck with Reiser. I like how fast it can delete huge directory trees and it generally performs very well except for the data loss thing.
"Yeah, it's a great car. Purrs like a kitten, decent milage. It generally performs very well... except for the brakes."
-- Give me Classic Slashdot or give me death!
Re:It works for mine!
by
Anonymous Coward
·
· Score: 0
Yep, and my fstab contained nothing but html. My computer crashed more than 5 minutes after I edited it...
the problem is that reiserfs only recently got data=ordered support. i, too, lost a couple files (corrupt, partially swapped contents) due to a kernel lockup. ever since then, i've used data=ordered (just recently added to 2.6). if you used ext3 with data=writeback, you'd have the same problems.
I never noticed it being as bad with ext2/3, even in writeback mode. I have lost data with them but not as often as Reiser (with which my heart sinks every time the system locks).
I didn't know that Reiser now had ordered mode. I just turned it on and I'll keep it that way! Thanks.
-- The ratio of people to cake is too big
Re:It works for mine!
by
Anonymous Coward
·
· Score: 0
You'll know when it happens...:)
This isn't just normal corruption, you can see different files spliced together and old data mixed with new. A common and well known issue with ReiserFS, just ask Google.
Re:It works for mine!
by
Anonymous Coward
·
· Score: 0
I had some problems with a kernel panic and was forced to reboot the machine serveral times. I booted off the gentoo cd and did a resierfsck and it told me when it was done to rebuild the tree. I lost a about 20 files that where being served by apache. Most of them turned up in the lost+found, but the some weren't as lucky. They where the files being written to most, therefore i'm thinking they was an error during the write which caused the files to become corrupt.
This is a known issue with ReiserFS, and your analysis is basically correct: Files that have been modified but not synced when the machine crashes can become corrupt.
However, in the server world (where ReiserFS really shines), this is not an issue because production machines don't get kernel panics in the first place; that should only ever happen on dev boxes where you're testing new stuff.
My experience has shown that errors/panics/etc. like that one, involving stuff like 'page_alloc','free_hot_cold_page', etc. are due to one thing:
*bad memory*
I'd run memtest86. Does gcc compile without problems on that machine? That's the other sure way to find out...compiling gcc is totally unforgiving of memory problems.
-- Blech. Signatures.
Re:It works for mine!
by
Anonymous Coward
·
· Score: 0
I had a Maxtor drive start going bad in incremental stages. A FAT partition was horrible munged for weeks before I started to notice an issue with the ReiserFS partitions. It wasn't until I tried a reiserfsck that I discovered a problem with the HDD. Ran the maxtor tools and it came back with some error that got the drive exchanged.
A HDD fails and it is not an issue with your FS if no data is recoverable. That is what backups are for.
My understanding is that journalled means the FS can't get into an inconsistant state and so does not need fsck-ing. It does not mean your data is safe from having the power pulled halfway through a write. If you want a super-safe home area you want some sort of logging FS and these are all far slower than journalled (I think).
What you are talking about is journaled data (data=journal) mode, in which data -- not just metadata -- is journaled.
All you need, though, is data=ordered mode, which has for a long time been available for ReiserFS through a patch by Chris Mason, and has been merged into Linux as of 2.6.6. data=ordered is also now the default, so you just have to boot up into 2.6.6, and your data will be fine.
BTW, this is a common problem with all journaled filesystems (that I know of). If you want your data safe, you need to at least use data=ordered.
--
To get something done, a committee should consist of no more than three persons, two of them absent.
Yup, I've seen it before (repeatedly) with/etc/modprobe.conf getting corrupted because of a system restart during init. Switch the partition over to xfs or ext3 and it doesn't occur.
And how did you determine for sure that it was reiserfs that screwed up? nvidia drivers have been known to write over kernel memory they shouldn't touch.
Running binary only drivers that are not supported or tested by your vendor (or any drivers that are not supported for that matter) on a machine that has valuable data on is insanity.
-- --
MartinG
To mail me: echo kewyjlcxyzvjfxbqwh | tr bcefhjklqvwxyz.@adgimnoprstu
I still use reiserfs, I wasn't complaining about it (I guess I wasn't clear). I was just saying that a journalled FS does not automatically protect your data if you randomly pull the plug. You're right that it was the nv driver that caused the crash.
I've been using ReiserFS _EXCLUSIVELY_ since about 2.4.11 and I've never had a single problem.
I hear the same thing from Windows users all the time. I can introduce you to people that will swear that their Windows 98 systems have uptimes of months on end, and never crash...
My point is just that, even though you might not have had a problem, it does not counter those who have had problems... A positive (data loss) is far more significant than a negative (no loss).
I have to say, XFS may eat CPU, but ReiserFS is a close second, it's just tramples all over my CPU. Sure, Reiser can copy a file faster than Ext3, but that's because it won't let you do much of anything else with your system while it's copying... With ext3 I could do other stuff... CPU intensive stuff...
Anyhow, I've never found a Linux fs I'm happy with. It's always 6 of one, half a dozen of the other... If I could get drivers for my WinTV PVR250 and infrared remote control on FreeBSD-5.x, I'd be far happier.
If I could get drivers for my WinTV PVR250 and infrared remote control on FreeBSD-5.x, I'd be far happier.
Yeah, my MythTV machine is one of the machines running ReiserFS. Seems to work OK but I'm worried that the database may get corrupted some day (like when the beta IVTV driver locks up the system or something). I've been thinking of converting it to ext3 but that machine has so much storage that I can't copy everything off.
In my own testing I found FFS to be comparable to EXT2/3 which is probably the appropriate choice for a BSD-like Linux system.
Although I've never tried them I've heard of PVR250/350 drivers for FreeBSD. CXM or something like that?
I've been experimenting by using ReiserFS on and off for the last 3 years or so. I've always shied away after a few failures.
My scorebook so far:
- Laptop/home partition went to hell twice, at power failure.
- Two various machines at previous work got open files in/home partition smothered at power failure, had to rm -rf.kde for the system to get up'n running again.
- Mums computer. Had to travel 500km to fix a reiserfs fuckup due to repeated power failures.
- Dad's laptop got a partition trashed by reiserfs when he forgot to put in his power cord and the battery time were used up.
The data loss always occurs when I'm having a power loss. ReiserFS for some reason is MUCH worse at coping with a powerloss than any other filesystem I've been playing around with.
I've never had a single machine with a ReiserFS partition where there hasn't been some sort of failure on ReiserFS part.
The typical data loss situation is a power loss in the middle of a write. ReiserFS might be atomic in operation, but it still can't dodge hardware failure at that level.
Nonesense. See "journalling" and "redundancy". If a FS never updates the only copy, you will not lose data to a power failure. In a filesystem, this means it must write data to empty space, then log the update it is about to make to metadata, then make the metadata update to a redundent copy of the metadata, then log the update complete and repeat for additional copies of the metadata.
The only time you "can't dodge hardware failure" is if the drive permanently fails, if RAM or software fails and corrupts the data, etc. Thus far I've never experienced a permanent power failure.
If ReiserFS does lose data because of a power failure at _any_ time, it is either a defect or a deliberate optimization to performance at the expense of reliability.
I encountered JFS problems some time back, way before it went into the mainline kernel. I was using it back when they were still working things out so the Linux version could (a) remount the filesystem read-only and (b) mount a dirty filesystem read-only. There have been a few issues since, but my PowerBook has been very happy with JFS since I switched it over some months ago - and my PowerMac 7500 has been happy as well.
I heartily recommend you give JFS another look - it's come a long way, and when bugs _do_ pop up, the IBM guys working on it will hop to it and figure out the problem, and not tell you "oh yah, that'll be fixed in the next version! that's a few months away, but..."
--
Sam: "That was needlessly cryptic."
Max: "I'd be peeing my pants if I wore any!"
So why does RedHat/Fedora continue to push EXT3?
by
jaylee7877
·
· Score: 4, Interesting
I've never understood why they don't move to ReiserFS, at least for new installations. With Fedora you have to use a kernel option to enable ReiserFS installation and with RHEL you can't install to a ReiserFS root, even the reiserfs kernel module is in their kernel-unsupported RPM which means don't call for help. I love RH but they need to get the ball rolling on this one!
Defragmenting filesystem?
by
foolip
·
· Score: 2, Insightful
What I'd like is a file system for which there is actually a defrag-tool. Sure, ext2/3 may try to reduce fragmentation as much as possible, but when it happens (as is likely when you have a near-full disk) you've got little or no way of fixing it. Or actually there is a defrag tool for ext2 (not ext3) but my experiences with it are not the best -- it took forever and I don't know that it actually did anything to the disk (fdisk didn't report a 0% fragmentation level afterwards anyway).
Re:Defragmenting filesystem?
by
lord_dut
·
· Score: 3, Interesting
Re:Defragmenting filesystem?
by
Larry_Dillon
·
· Score: 1
> as is likely when you have a near-full disk
Most defraggers won't run on a near-full disk, complaining about not having enought free space.
The old-school trick is to back up the file system to tape, reformat the disk and do a restore.
You are doing backups?
-- Competition Good, Monopoly Bad.
Re:Defragmenting filesystem?
by
Sigma+7
·
· Score: 1
What I'd like is a file system for which there is actually a defrag-tool. Sure, ext2/3 may try to reduce fragmentation as much as possible, but when it happens (as is likely when you have a near-full disk) you've got little or no way of fixing it.
Defragmentation utilities have only been known for the FAT/FAT32/NTFS filesystems, mainly because there is a defragmenter included with basically everything past Dos 6.0.
Even so, not even the Windows defragmenters (Microsoft or Third-party) are perfect - even if the defragmentation is going at as fast as it can, it feels like a slow process for one reason or another. The defragmentation process also still leaves one or two fragmented files because those files are locked and can't be moved.
Re:Defragmenting filesystem?
by
Anonymous Coward
·
· Score: 0
This method isn't suitable for all situations but will work with any filesytem. As a bonus, this is same method by which you change filesystems.
Back up the filesystem to another disk or tape as a streaming archive. I prefer Star archives myself as they preserve extended attributes. Reformat the partition and restore the backup. A pain in the butt? Yes. Almost useless when downtime is a factor? Certainly. There is consolation in the fact that it takes a LONG time to frag up Linux filesystems.
Actually, if you have a large spare partition; creative use of symlinking would let you get away with it on a live system.
Re:Defragmenting filesystem?
by
pmjordan
·
· Score: 1
From what I've heard, defragging used to help performance, but with high-speed seek speeds, large clusters, IO scheduling, and better file systems, etc. the need for defragging is very much reduced, almost unnoticeable. In the few instances where it would be noticeable, you probably would end up re-fragmenting everything very quickly anyway. Besides, defragging takes ages and slows your computer down for a few hours, so that kind of defeats the purpose of speeding things up.
Re:Defragmenting filesystem?
by
13Echo
·
· Score: 2, Informative
Most people don't have their/home directory tied into their root partition. Often, they are even on seperate drives. Even if a defrag program were used, there would be very little benefit. You're not constantly writing new files in and out of the same space as the root partition in that respect.
And even if someone does put their/home directory on the root partiton, the modern Linux filesystems practically negate the need for defragmentation, due to their designs (as well as OS and drive design).
Re:Defragmenting filesystem?
by
pclminion
·
· Score: 4, Interesting
The old-school trick is to back up the file system to tape, reformat the disk and do a restore.
These days you could just use a second disk. It would be faster, too.
I wonder if there's some way for a RAID to constantly, dynamically optimize itself. After all, it's striped and redundant, there must be all kinds of funky tricks you can play to reorganize data on the fly...
Re:Defragmenting filesystem?
by
Anonymous Coward
·
· Score: 0
Well... W2k defrag is far from perfect. I needed to run it 5 times on a 20gig disk to get under the "complaining treshold"... and every run took about 4 hours - during them the computer was completely unusable. The disk was 20% defragmented, and it wasn't mine:d
Re:Defragmenting filesystem?
by
ztane
·
· Score: 2, Insightful
Well, not all of us have temp on root partition. Of course, certain OSes tend to force that...
Re:Defragmenting filesystem?
by
Anonymous Coward
·
· Score: 0
...the modern Linux filesystems practically negate the need for defragmentation, due to their designs (as well as OS and drive design).
I'm sorry, but you can't make a statement like that and not back it up. How exactly is this the case? Even if it really is true, how can it hurt to have a defrag tool available? Is it really true that there is _NEVER_ instances where a Linux filesystem can be so fragmented as to negatively impact performance? Let's try to be logical, shall we?
Re:Defragmenting filesystem?
by
13Echo
·
· Score: 2, Informative
I'm sorry, but you can't make a statement like that and not back it up. How exactly is this the case? Even if it really is true, how can it hurt to have a defrag tool available? Is it really true that there is _NEVER_ instances where a Linux filesystem can be so fragmented as to negatively impact performance? Let's try to be logical, shall we?
Why is it hard to understand that UNIX filesystems are designed to have minimal impact on performance due to their design?
These are multiuser operating systems that are designed to make frequent requests from multiple users at any given time. Things *are* going to be strewn across the drive, but there is a reason that there is no noticable impact on performance.
UNIX filesystems are engineered to avoid appending old files and scattering data about in the same manner that MSDOS and Windows FAT filesystems do. These filesystems don't fill every single free "crack" on the drive in the way that MSDOS filesystems do. FAT filesystems are designed to write into the first available location, or "hole", often spanning across several of these as well, for writing a single file. This is what causes the "fragmentation" on a Microsoft filesystem. The clustering algorithms that UNIX/Linux machines use use help to prevent "fragmentation", by which Windows users expererience.
Bear in mind that FAT/FAT32 was based off of a design that was optimized for writing small amounts of data to *floppy disks* and small capacity drives with very limited amounts of space. Later in the life of DOS and Windows, the "fragmentation" issues became terrible, typically as drive capacities got to be larger and filesizes increased by a great degree. NTFS resolves many of these issues, but still carries a few of the FAT traits in spite of it being a totally different filesystem (based off of HPFS). Potentially, it still writes to tiny, empty, blocks of free space, but its tree-based structure doesn't limit the performance due to "fragmentation" like we experienced on DOS/Win9x. However, I think that the biggest problem on Windows machines is the way drives are typically partitioned, more than anything else. Things get removed and installed frequently, to the same locations of the drive, with user-created data overlapping the locations of important system and swapfiles. NTFS, in most respects, doesn't actually need defrag. In fact, when I ran Windows 2000 for a few years, defrag provided almost no improvement, at least not to the same degree as it did on Windows 98. You can defrag all you like, but it's unlikely that even an NTFS partition will experience more than 3-5% total fragmention.
I hope that is "logical enough" for you. I think that, perhaps, you need to ditch the old DOS/Windows "I MUST DEFRAG" mentality in order to really understand this. Filesystems (especially journalling types) have greatly changed since the days of DOS.
Re:Defragmenting filesystem?
by
djeaux
·
· Score: 1
These days you could just use a second disk. It would be faster, too.
OK. So we have two approaches that both will ultimately take enough time that most folks will schedule them to occur overnight. I can't see the functional advantage to an approach that is running when you leave & finished when you return vs an approach that is running when you leave & finished when you return.
-- "Obviously, I'm not an IBM computer any more than I'm an ashtray" (Bob Dylan)
Re:Defragmenting filesystem?
by
pclminion
·
· Score: 1
I can't see the functional advantage to an approach that is running when you leave & finished when you return vs an approach that is running when you leave & finished when you return.
You can run directly off your backup. What if you backup from drive A to drive B, then drive A immediately dies? In your case you would have to go out and buy a new drive before you can get back up again. In my case you would just stick drive B in and start running (and immediately get a new drive to back it up onto).
Anyway, I wasn't trying to say doing it to a tape is bad, just that there's more than one way to do it.
Re:Defragmenting filesystem?
by
flaming-opus
·
· Score: 1
You DON"T want to add that sort of complexity to a RAID device. The point of the RAID is to make sure that your bits never go away. Reliable is key, then fast. Playing tricks is just asking for trouble. From my experience RAIDs are flaky enough as it is.
If you look at the proposed SCSI extentions for OST (object storage target) that are being pushed by lustre and panases (among others) there is something like this built into the storage devices. Basically you don't reference a file by inode / block list or inode / extent list. Instead the file is an object with a handle, and the disk is responsible for allocating and keeping track of the actual bytes that the file consumes. Basically you move some of the brains out of the filesystem and into the disk. I'm not sure it's a good idea, especially when you need to use lots of disks, but it's pretty cool.
Re:Defragmenting filesystem?
by
dheltzel
·
· Score: 1
Yup, that's why I stick with FAT32. The Windows 98 Defrag utility is so cool!! I love watching the little blocks move around and change color. It's like playing a video game, but a lot less work.
Hint: if you do this at work, keep your hand on the mouse and have an intent look on your face to your co-workers are impressed with all the work you are getting done.
Now all I need is a fragmenting utility to make running the defrag utility take longer. Anyone got one of those?
Re:Defragmenting filesystem?
by
foolip
·
· Score: 1
Funny you should say that, I always enjoyed watching defrag while I was still using windows. Sort of like a lava lamp. I've even concidered writing a defrag-emulator to relive the joy of it:)
Re:Defragmenting filesystem?
by
djeaux
·
· Score: 1
You can run directly off your backup.
Excellent point.
there's more than one way to do it
Didn't Larry Wall say that?:-D
-- "Obviously, I'm not an IBM computer any more than I'm an ashtray" (Bob Dylan)
Re:Defragmenting filesystem?
by
dheltzel
·
· Score: 1
Your right! I wonder why no one has written an X screensaver to do that. They have ones for system crashes on almost all the OS's, why not a defrag screensaver. You could make it start out horribly fragmented and make if run really fast to impress you geek friends (though how impressed they would be that you're running Win 98 is debatable).
Re:Defragmenting filesystem?
by
canavan
·
· Score: 1
While it is true that modern filesystems are much less affected by fragmentation, both in the amount of it happening and the performance impact if there is fragmentation, one must keep in mind that all modern filesystems do produce fragmented files and that the probability of this happening increases dramatically as the filesystem gets filled.
Also, while you're mentioning UNIX: on IRIX there's a daily cronjob that runs fsr - a tool that "reorganizes filesystems", which is just another name for defragmentation. And it's not for some ancient ufs-based filesystem, no it's specifically for XFS, the modern journaled filesystem that has also been ported to Linux.
fsr_xfs improves the organization of mounted filesystems. The
reorganization algorithm operates on one file at a time, compacting or
otherwise improving the layout of the file extents (contiguous blocks of
file data).
There is also a defragment untility in tru64 and a commercial defragmenter for Solaris and HPUX, so don't tell me fragmentation is not a problem with unices. If I'm not mistaken, the official method to reduce fragmentation in Solaris is to make a backup, mkfs and restore. Sounds like a good plan to me.
There are filesystems that aviod fragmentation of files, but they suffer from mayor drawbacks: first, you have to know how large your files will be at the time you create them (or move them in their entirety around the disk when they exceed the preallocated space), and second, this method wastes lots of diskspace through external fragmentation (i.e. fragmentation of the free space). IBM's VM/CMS has something like this.
I'd be curious to see how ext3 would fare in these tests (especially the "lotsa files"-tests) if you use mke2fs with the "-O dir_index" option.
Yah know...
by
Anonymous Coward
·
· Score: 0
There just might be a reason you can't find many unix filesystem defragmenters. Like they don't need it.
I'm guessing you started out on computers using DOS or pre-NT Windows.
Re:Yah know...
by
Anonymous Coward
·
· Score: 0
Umm, Wrong?
NTFS does need to be defragmented, so do unix filesystems. Take a long-lived, heavily used, ext2/3 filesystem that you have some idea of the throughput of, back it up it somewhere (not an image backup, please!), re-mkfs it, restore it, and see how fast it feels......
Almost useful but...
by
Anonymous Coward
·
· Score: 0
... no pie charts?!? Line... Bar... 3D even... but no pie charts?!?
Re:So why does RedHat/Fedora continue to push EXT3
by
Syberghost
·
· Score: 2, Insightful
I've never understood why they don't move to ReiserFS, at least for new installations.
Because for most uses, it's not the best option. So, if you're going to junk ext2 compatibility, why would you go to Reiser?
Who in their right mind would do that? Of course permission was implied, moron.
Librenix beats Slashdot to punch
by
cyberElvis
·
· Score: 1
The link to this article was posted on Librenix earlier today so I got to read the whole thing before it got slashdotted. Is slashdot getting slow? Anyway I think I will switch to ReiserFS since that is what is recommended by Gentoo anyway.
-- My boy, my boy!
What about SoftUpdates?
by
mi
·
· Score: 4, Interesting
From FreeBSD, that is... Would be nice to see that compared to Linux' FS-es. As in this earlier benchmark (PDF).
-- In Soviet Washington the swamp drains you.
Re:What about SoftUpdates?
by
idiotnot
·
· Score: 1
Mmmm....fancy caching to hide performance problems due to dated design. No, the bottom line on soft updates is that they help...some. But you're still dealing with a twenty-five year old filesystem design underneath. When you turn off the speed enhancements, and mount a filesystem like you would when you're doing something important (i.e. mail spools mounted sync), XFS, JFS, and Reiser would totally trounce FFS. No contest.
With FFS you do get a twenty-five year record of reliability, which is why most of the machines I administer run it. But in the grand scheme of things, JFS and XFS have been around a long time now, too (since the mid 80's in AIX and Irix), and I'm starting to trust them just as much as I do old, slow FFS.
Re:What about SoftUpdates?
by
Brandybuck
·
· Score: 3, Interesting
Except that Softupdates isn't a journaling filesystem. Linux users have been brainwashed into believing that they need journaling.
-- Don't blame me, I didn't vote for either of them!
Re:What about SoftUpdates?
by
Anonymous Coward
·
· Score: 0
Let's put it all into perspective. The important thing which we have to
remember is that *BSD is dying. Due to the troubles of Walnut
Creek, abysmal sales and so on, FreeBSD went out of business and was
taken over by BSDI who sold another troubled OS. Now BSDI too is out
of business, and its corpse turned over to yet another charnel house.
All major surveys show that *BSD has steadily declined in market
share. *BSD is very sick and its long term survival prospects are very
dim. If *BSD is to survive at all it will be among OS hobbyists, dabblers,
and dilettantes. *BSD continues to decay, and nothing short of a miracle
could save it at this point in time; for all practical purposes, *BSD
is dead, therefore it clearly follows that "Softupdates" is
also dead.
Re:What about SoftUpdates?
by
evilviper
·
· Score: 1
Not just softupdates, but USF2 as well... (from FreeBSD-5.0 and up)
When you turn off the speed enhancements, and mount a filesystem like you would when you're doing something important (i.e. mail spools mounted sync), XFS, JFS, and Reiser would totally trounce FFS. No contest.
Everything runs slower, "when you turn off the speed enhancements". Is your point, FFS with SoftUpdates is somehow less reliable than XFS, JFS, or Reiser and should not be used for anything important, while either of those can be used?
-- In Soviet Washington the swamp drains you.
Re:What about SoftUpdates?
by
idiotnot
·
· Score: 1
I'm saying that the design of FFS makes it slow compared to modern FS's. Things like async operation and soft updates help mask that slowness, but you do risk losing data by using them (journaling and/or soft updates do not protect data, they only ensure filesystem integrity. If you lose the machine before some writes are committed with softupdates....). For most things, it's not a big deal, and you can use the speed enhancements. But if you're running a mail queue or something else where filesystem integrity is important, FFS performance is really going to suffer.
Try it sometime! It's not very difficult. Adjust your fstab (and tunefs if required), and measure the difference untarring a big file, with softdep and async, versus no softdep and sync.
I know, how to try it, thank you very much. But you don't answer my question -- are you trying to say, XFS, JFS, etc. are somehow more reliable than FFS with SoftUpdates enabled? Yes, or no?
If that's your claim (yes), than you will have to offer references.
If it is not (no), than what is your point? The article is about comparing modern filesystems, and FFS with SoftUpdates definetly qualifies, even if it is based on an old technology, which is, by itself, slower than without the enhancement.
-- In Soviet Washington the swamp drains you.
Re:What about SoftUpdates?
by
idiotnot
·
· Score: 1
My point is that the new filesystems (XFS and JFS, to be sure) offer reliability meeting FFS's proven reliability with better speed because they use newer, more efficient design. FFS with conservative settings is horribly slow compared to XFS or JFS with similar settings.
Mmm, thanks for the links. May be -- but what about mount-ing with ``sync'' (no the ``noasync'').
But the article also examines ext2 and ext3 -- are those (with the safety/slowness turned on) also more reliable, than UFS2 with SoftUpdates, according to your sources?
-- In Soviet Washington the swamp drains you.
Re:What about SoftUpdates?
by
idiotnot
·
· Score: 1
Hm. I'm not sure, not having done much looking into ext* for mission-critical stuff. Theo de Raadt in an interview banged pretty hard on those, and what linux is doing w.r.t. filesystems. There is a -o sync option for ext*.
Still, having been bitten a few times by ext2, I kind of have bypassed ext3 altogether. I only use it in a few places (normally where I store the kernel, so grub can read it, and well, with GNU/Hurd....but FS stability is a whole other issue there). When I do use Linux for important things, it's almost exclusively XFS these days, and I make up the performance with hardware. Sychronous writes are fast enough on a 10k rpm scsi disk.:-p
Well, then, back to my original (5 Insightful) point:-) If the article did consider ext2 and ext3, why would not it consider FreeBSD's UFS and UFS with SoftUpdates? With and without the sync option SoftUpdates can shine -- for removing/creating directory trees, for example, the can avoid physical IO alltogher. The principle is not merely to aggregate the disk writes into larger chunks, but to also eliminate those writes, that are "obsoleted" by later changes. So, even in the strict-est "sync" mode, SoftUpdates can be fast.
They (with sync) may even be faster than XFS (with sync) -- especially on a 10k rpm SCSI disk...
Ok, I asked freebsd-fs@FreeBSD.org to comment on the DJB's opinion. The summarizing response (from Julian Elischer) is:
Assuming the app[lication] does an fsync()
and the disks are telling the truth about the data being on the drive,
then softupdates is no worse than FFS.
The assumptions have to be checked though.
As for the journaling file systems:
Same is true for any journalling file systems,
which essentially does the same thing: delayed write of data/metadata.
-- In Soviet Washington the swamp drains you.
serving over NFS changes everything
by
yerdaddy
·
· Score: 1
I've been going through similar benchmarking to try to figure out what filesystem to use for an NFS server. I don't have anything comprehensive yet, but it is frequently the case that a filesystem that appears the fastest locally is slower than others over NFS.
This is amazing
by
slickwillie
·
· Score: 0, Offtopic
mkfs.jfs actually gives a warning that you might lose data on the partition?
What is the world coming to?
Re:This is amazing
by
Anonymous Coward
·
· Score: 0
Off-topic? How do ya figure?
Remember what your mom told you, smoking crack is bad for your health.
Almost Full Article Text
by
Anonymous Coward
·
· Score: 3, Informative
...making Linux just a little more fun!
Benchmarking Filesystems By Justin Piszcz
INTRO I recently purchased a Western Digital 250GB/8M/7200RPM drive and wondered which journaling file system I should use. I currently use ext2 on my other, smaller hard drives. Upon reboot or unclean shutdown, e2fsck takes a while on drives only 40 and 60 gigabytes. Therefore I knew using a journaling file system would be my best bet. The question is: which is the best? In order to determine this I used common operations that Linux users may perform on a regular basis instead of using benchmark tools such as Bonnie or Iozone. I wanted a "real life" benchmark analysis. A quick analogy: Just because the Ethernet-Over-Power-Lines may advertise 10mbps (1.25MB/s), in real world tests, peak speed is only 5mbps (625KB/s). This is why I chose to run my own tests versus using hard drive benchmarking tools. SPECIFICATIONS HARDWARE
COMPUTER: Dell Optiplex GX1
CPU: Pentium III 500MHZ
RAM: 768MB
SWAP: 1536MB
CONTROLLER: Promise ATA/100 TX - BIOS 14 - IN PCI SLOT #1
DRIVES USED: 1. Western Digital 250GB ATA/100 8MB CACHE 7200RPM
2. Maxtor 61.4GB ATA/66 2MB CACHE 5400RPM DRIVE TESTED: The Western Digital 250GB.
TESTS PERFORMED 001. Create 10,000 files with touch in a directory. 002. Run 'find' on that directory. 003. Remove the directory. 004. Create 10,000 directories with mkdir in a directory. 005. Run 'find' on that directory. 006. Remove the directory containing the 10,000 directories. 007. Copy kernel tarball from other disk to test disk. 008. Copy kernel tarball from test disk to other disk. 009. Untar kernel tarball on the same disk. 010. Tar kernel tarball on the same disk. 011. Remove kernel source tree. 012. Copy kernel tarball 10 times. 013. Create 1GB file from/dev/zero. 014. Copy the 1GB file on the same disk. 015. Split a 10MB file into 1000 byte pieces. 016. Split a 10MB file into 1024 byte pieces. 017. Split a 10MB file into 2048 byte pieces. 018. Split a 10MB file into 4096 byte pieces. 019. Split a 10MB file into 8192 byte pieces. 020. Copy kernel source tree on the same disk. 021. Cat a 1GB file to/dev/null.
NOTE1: Between each test run, a 'sync' and 10 second sleep were performed. NOTE2: Each file system was tested on a cleanly made file System. NOTE3: All file systems were created using default options. NOTE4: All tests were performed with the cron daemon killed and with 1 user logged in. NOTE5: All tests were run 3 times and the average was taken, if any tests were questionable, they were re-run and checked with the previous average for consistency.
CREATING THE FILESYSTEMS
(snipped. too many junk characters0
BENCHMARK SET 1 OF 4
In the first test, ReiserFS takes the lead, possibly due to its balanced B-Trees. (If the images are hard to read on your screen, here's a tarball containing larger versions of them.)
All of the files systems faired fairly well when finding 10,000 files in a single directory, the only exception being XFS which took twice as long.
Both ext versions 2 and 3 seem to reap the benefits of removing large numbers of files faster than any other file system tested.
To make sure this graph was accurate; I re-benchmarked the ext2 file system again and got nearly the same results. I was surprised to find how much of a performance hit both ext2 and ext3 take during this test.
Finding 10,000 files seemed to be the same except for XFS; however directories are definitely handled dif
Re:Almost Full Article Text
by
GooberToo
·
· Score: 2, Insightful
All of the files systems faired fairly well when finding 10,000 files in a single directory, the only exception being XFS which took twice as long.
I'm surprised that XFS did so poorly here. I do know they had a bug one point in time, which may reflect such a score, however, I thought it had long been addressed. Worse, I thought I remembered reading that XFS used a btree to track file and directory names. Please correct as needed. If this is true, it would appear to be a bug rather than normal performance. Any XFS experts care to fill in the blanks here?
I should also offer than XFS's big claims are stability, reliability, big and huge file support, speed when accessing big and huge files, and excellent concurrent file access abilities, which is why SCSI is the preferred media for XFS. Basically, if you plan on managing big and huge files or medium to huge files with large amounts of concurrent activity via SCSI, then XFS should be one of your target FS.
Then, you have excellent snapshot, backup and recovery utilities as well as quota and realtime access support. All of which, make XFS an excellent journalled FS.
Re:Almost Full Article Text
by
GooberToo
·
· Score: 1
Flamebait??!?!
What the hell?!? What is wrong with the mods these days? I can't, in my wildest imagination, figure out what drug you have to take to consider the above to be flamebait.
This flamebait? Sure, but the parent? Come on...
Re:Almost Full Article Text
by
Mycroft_VIII
·
· Score: 1
Starting Score: 1 point
Moderation 0
50% Flamebait
50% Interesting Extra 'Flamebait' Modifier 0 (Edit) Karma-Bonus Modifier +1 (Edit)
Total Score: 2
And I thought I got a few wierd moderations on some of my pots........
As he wanted a test of how people really use the file system, he should have included a simulation of when people forget to remove all the junk they've put on the disk.
Purpose of Journalling
by
MarcQuadra
·
· Score: 4, Interesting
What was the reason for the panic? I've been running my system HARD for years without any panics.
If your hardware or kernel has problems you can hardly blame a filesystem that's expressly designed for high-reliability hardware for data loss.
'journalling' is not any better than none when it comes to flaky hardware or a badly compiled kernel. All it means is that you don't have to wait an hour for fsck to run. The whole point of a journalling FS is that it 'knows' what files are suspect after a major outage and it quarantines them, it's not any better at preventing them from being corrupted.
All in all, I can say that Linux an other Unices are VERY sensitive to improper halts/panics/shutdowns. I've hosed several OS X machines by not exiting gracefully, and several Linux boxes too. Your number-one priority when setting up a system is to do what it takes to keep it from crashing, ever.
When I built my desktop I carefully selected components that were 100% Linux-compatible so I wouldn't have issues like the ones you described.
-- "Sometimes, I think Trent just needs a cup of hot chocolate and a blankie."
-Tori Amos on Nine Inch Nails
Re:Purpose of Journalling
by
bluesnowmonkey
·
· Score: 1
Well, damn the karma.
I've hosed several OS X machines by not exiting gracefully, and several Linux boxes too.
Can anyone confirm whether this information is correct? I was thinking about trying Linux again (I do this every couple of years), but the thought of my system getting hosed because the power went out scares the hell out of me. You know what's coming next... this never happens to me with Windows.
If a Linux computer can't take a simple power outtage yet... oh well, I'll check back with you guys in a couple of years.
Re:Purpose of Journalling
by
MarcQuadra
·
· Score: 1
That's because Windows runs a daemon to troll the important files and replace them from backups if they get corrupted or replaced incorrectly. Nonesuch thing on any of my boxes.
-- "Sometimes, I think Trent just needs a cup of hot chocolate and a blankie."
-Tori Amos on Nine Inch Nails
Re:Purpose of Journalling
by
metamatic
·
· Score: 1
OS X 10.3 made major improvements in reliability. 10.2 would regularly corrupt the filesystem if powered off hard or if the kernel crashed, but I've yet to have 10.3 crashes result in any kind of error (as verified by Disk Utility and Disk Warrior).
Similarly, I have three Linux servers running with the root filesystem on ReiserFS, all running recent 2.4 kernels or 2.6. They've all been powered off in the middle of writing to disk, and none of them has suffered any kind of data loss or corruption to date.
I really think ReiserFS has an unjustified bad rep. Maybe it was flaky once, but not these days.
-- GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
You've got to be careful with this line of reasoning. The basic argument: "Oh it panic'ed? Your hardware suX0rz!!11!" will be familiar to those who lurked on linux-kernel in the pre 2.0 days. It's been a while since I've seen it in its textbook form. Now that Linux has 20 times the user base, why don't we see 20 times the panics caused by flaky hardware? Has hardware quality improved this much in the meantime? Or were some of those panics potentially reflecting real problems in the kernel?
Don't get me wrong; it's perfectly possible that this problem really was a result of bad hardware. However, for my money, reiserfs is nowhere near mature enough that we can just assume that any problems are the result of user error. For all of you getting ready to reply, "I've been running reiser for a gazillion years and it's never been a problem for me!", please save the typing. Filesystems are complicated things, and sometimes bugs can linger for years before a user bumps into the usage pattern that exposes some weird bug.
The whole point of a journalling FS is that it 'knows' what files are suspect after a major outage and it quarantines them, it's not any better at preventing them from being corrupted.
I hope you've never taken a course on databases. If you did, what you just said there would make your instructor cry. The whole concept of filesystem journalling springs from the concept of databases, with a filesystem being a special case of database concepts. The idea of the journal is to keep a record of changes, and be able to apply them periodically in sets, to keep the database (or in our case, the filesystem) in a consistent state. Every so often, a checkpoint is run, where the changes noted in the journal are applied to the stored data, synced out, and the journal is resumed after the checkpoint is completed. You always know the data was consistent as of the last checkpoint, so you won't end up with the database (filesystem) all hosed up.
It doesn't magically "know" about or "quarantine" "suspect files", it just batches the changes in such a way that things remain consistent. Computers depend on consistency. Hence, consistency is the name of the game.
--
Sam: "That was needlessly cryptic."
Max: "I'd be peeing my pants if I wore any!"
Re:Purpose of Journalling
by
MarcQuadra
·
· Score: 1
I was under the impression that the type of journal reiserfs uses wasn't an actual 'data' journal of what was going to get written to disk, it was a 'list of things I'm in the process of doing' and if any operation isn't completed, it is 'backed-out' to the previous state.
The advantage, from what I understand is that you don't have to fsck every time the system's unclean because a quick check of the journal tells you exactly what files are 'dirty'.
When I first heard of journalling I thought that it would journal the actual data, writing it to disk ASAP and then organizing and moving it to reasonable locations later, but I don't think this is true, I think reiserfs just journals a 'to do' list and ensures that every operation is either completely done or completely NOT done.
-- "Sometimes, I think Trent just needs a cup of hot chocolate and a blankie."
-Tori Amos on Nine Inch Nails
XFS, solid
by
Anonymous Coward
·
· Score: 2, Informative
I have been using XFS on a Laptop for 2+ years who's hardware was bleeding edge at the time of purchace.
Because of hardware/configuration issues, I have had to hard-reboot the laptop countless times during the months that hardware support in the kernel caught up. (It works pretty well now).
I have never borked my filesystem.
FS for serious abuse
by
Anonymous Coward
·
· Score: 0
I'm using JFS on a really large volume (800GB, >15 mio files iirc, >300.000 dirs) for mission-critical data and it has recovered from the heaviest outages.
Performance is good (write performance is a bit weak, 1Gbit/s is not possible), and it does scale well (~30s after a unclean shutdown) with more and more data added. A full fsck runs something between 30-60mins. I use a seperate journaling volume on the native and fast raid1 disks of my server (my volumes are on an external RAID).
If you can sacrifice performance, ext3 with data=journal may be good for your "abusing".
Re:So why does RedHat/Fedora continue to push EXT3
by
vorwerk
·
· Score: 3, Informative
Redhat 9 and Fedora Core 1 both ship with JFS support -- the graphical installer, however, does not offer it as an option.
So, what I usually do when installing a new copy of Fedora or Redhat is to drop to a console, and use fdisk + mkfs.jfs manually. Then, when I get to the right page in the installer, I can simply set it to not reformat the partition but to use it as the "/" mount point, and voila -- my computer has JFS.
There are options, or settings, that you can do for ext3, the default is slower, but it saves your data. Ext3 not only journals metadata, like XFS, etc... but it also journals data, which is the only filesystem that does that, if I understand this correctly.
"data=writeback" mode does no data journaling, only metadata journaling, and you would probably see better performance here. Although, you could lose data in the event of a power outage (no fun). Same thing applies to XFS, JFS - you could lose data because only metadata is being journaled, not real data.
"data=ordered" mode - inbetween, still no data journalling, but there are provisions that make it less likely to lose data in the case of a power problem. It has something to do with the way it journals the metadata and the way the filesystem interacts with the disk that makes is a little slower than data=writeback but also a little more secure than data=writeback if you get a power outage.
"data=journal" mode - this journals data and metadata, and with the exception of a few situations, is the slowest. The least likely to lose your data, but also much slower.
I am assuming, or at least it looks like, these tests were run with the default data=journal - so to be fair, they should have been run in data=writeback, or maybe even all three modes. Again, all you have to is specify in/etc/fstab and reboot, no big deal.
It would probably be better to compare the ext3 in data=writeback mode.
Re:ext3 options
by
CmdrTHAC0
·
· Score: 4, Informative
"I am assuming, or at least it looks like, these tests were run with the default data=journal - so to be fair, they should have been run in data=writeback, or maybe even all three modes. Again, all you have to is specify in/etc/fstab and reboot, no big deal."
And where do you get the idea that this is the default? According to mount(8):
ordered
This is the default mode.
What I really would have liked to see on this benchmark is ext3 on 2.6 with dir_index enabled. (Maybe this would also gain the benefit of the Orlov allocator? I haven't been paying attention to what's been backported.)...In fact, I would have liked to see this whole thing on 2.6.
-- __CmdrTHAC0__ In Soviet Russia, Spanish Inquisition doesn't expect YOU!!
I don't have benchmark numbers in front of me, but HFS+ is a 2nd generation filesystem with a journal hacked onto it. It's more analagous to EXT3 in that way, but not as fast. It falls into the same category of Mature, stable, reasonable performance for most everything, but excels at nothing.
You can crank up the ingest of Final Cut Pro/HD to the point where the filesystem causes it to drop frames. To be fair, however, it still gets the job done.
Does anyone have any statistics for how HFS+ (testable with Darwin stacks up against these other filesystems?
Does it really matter? It's not as if a Linux user is going to decide to use an HFS+ filesystem, or a Darwin/Mac OSX user is going to decide to go with XFS... It wouldn't be a fair comparison.
If you want HFS+, I want UFS/FFS and UFS2 in there...
Actually, the first time I installed Mac OS X, I used XFS as the filesystem. It was slow, though, so I reinstalled selecting HFS+ as the filesystem instead.
the first time I installed Mac OS X, I used XFS as the filesystem
Ah... You have a good point. However, for OS X users, you want benchmarks on OS X. Linux benchmarks aren't going to do you much good... And throwing one OS X benchmark in with Linux benchmarks wouldn't be a fair comparison either.
Minix filesystem?
by
Anonymous Coward
·
· Score: 0
Am I the only one who still uses it?
Re:name a "major browser" that won't support PNG
by
Anonymous Coward
·
· Score: 5, Funny
Lynx.
It doesn't support GIF either though.
Re:So why does RedHat/Fedora continue to push EXT3
by
13Echo
·
· Score: 2, Interesting
I use ReiserFS, because on average - it is a faster filesystem than EXT3 for most desktop purposes. I personally feel that EXT3, however, is a more reliable FS when it comes to recovering bad data on the hard disks. I recently had some failures due to a failing motherboard, which corrupted some data on my drive, but the reiserfsk tools have cryptic descriptions for failures and don't always seem to do the job right when it comes to recovering bad data. I've had reiserfsck work properly, but the few times that I have had hard drive failures, I've had little success in recovering bad data on a ReiserFS partition.
I must admit though, that any problems I've had on a ReiserFS system weren't necessarily the fault of the filesystem (instead were related to failing hardware). I've run several machines, with multiple drives, which all use ReiserFS. It's been quite reliable in that sense.
I guess that the only way you're going to get true reliability is to make redundant backups.
I'm rarely surprised...
by
Gribflex
·
· Score: 5, Insightful
Why is it that every benchmarking article contains the words "The results may surprise you?"
Have any of you ever been surprised?
Re:So why does RedHat/Fedora continue to push EXT3
by
Anonymous Coward
·
· Score: 0
I don't much care about ReiserFS, but why don't they at least offer XFS as an *option*?
Re:So why does RedHat/Fedora continue to push EXT3
by
flaming-opus
·
· Score: 5, Interesting
Well, the simplest answer is that Stephen Tweedie is their filesystem guru, so why not use his baby in their OS. However, that's not the real answer. SCT is a clever guy, and mature enough to not let pride get in the way of the best possible system. (a similar question: Why does sun still use UFS?) For Redhat, EXT3 is probably the best general purpose filesystem, particularly for the root drive. Redhat is interested in selling on servers, where the root filesystem is not the bottleneck. You install the OS onto EXT3, which has decent performance and is very mature. Then you install your database / exported directories / mail spool / whatever onto the filesystem that is best for that job.
Ext3 is a very close cousin to Ext2, which has been around for a very long time, and changes very slowly. Reiser has grown and changed a LOT in the last three years, including some metadata changes that effect on-disk structures. Though it has stabalized lately, Redhat is correct to be cautious. XFS and JFS, though very mature filesystems on other OSes, have only recently become tightly integrated with the Linux kernel. Though technically controlled by the linux kernel community, all three of these other filesystems are really controlled by little cabals of people within IBM/SGI/ and then Hans Reiser. While these groups try to be transparent in their development process, Ext3 is very transparent in its development and direction.
One other tremendous advantage that Ext3 inherits from Ext2 is a fast, versatile, and effective fsck program. Journals are great in the event of power failures. However, they do not protect against Windows, or a faulty fibre channel driver, or uninformed sysadmin who accidently writes over the first 1 MB of the disk. Fsck.Ext2 is one of the best around.
One word - inertia
by
Jeppe+Salvesen
·
· Score: 2, Insightful
You know - if it works, don't fix it!
Ext3 is stable and there's a lot of useful available tools for it.
If, for the end user, the difference is marginal, why bother to make things more difficult than necessary for yourself?
Or maybe they've received unusually many bug reports for ReiserFS and thus concluded it's not stable enough for them to push it. After all, they want to be associated with (amongst other things) reliability.
If, for the end user, the difference is marginal, why bother to make things more difficult than necessary for yourself?
Because in some cases difference is NOT marginal.
A couple of days ago I decided to try installing Gentoo on an old Compaq P2/350MHz with 60GB 5400rpm Maxtor drive. I selected ext3 for / parition.
Unpacking portage-20040504.tar.bz2 file -- 14MB packed / 62 MB unpacked, with 68.326 (small) files in 14.181 directories -- took me about 45 minutes! First I tought that CPU is too slow, as it takes only 3 minutes to unpack on my Athlon XP 2500+ / XP / NTFS.
But later I decided to scrap everything and start from scratch, this time using ReiserFS. To my surprise, unpacking was done in less than 15 minutes.
Now I'm worried and confused. I wanted to use the machine as file and web development server (meaning lot of small files plus some big ones -- like TIFF and PSD pictures), but ext3 is too slow, and I'm no longer so shure about reiser after reading all this horror stories. If the speed difference was 10 or even 50%, I wouldn't even think about it, but 3 to 10 TIMES is not something easy to dismiss...
(I was even thinking of leaving the data on FAT32 so it could be easily rescued from Win/DOS if necessary)
Results questionable
by
Sxooter
·
· Score: 1, Redundant
Sorry, but there are a few reasons these results are questionable. As one poster has already pointed out, ext3 by default journals both meta data (i.e. directory structure) AND data. The other three by default only journal meta data.
But more importantly than that is the fact that in linux, that IDE drive is responding immediately to fsync requests before it's actually done them. I.e. when the journaling file systems says "hey, did you get that stuff written out to the disks?" The drive says "yes sir!" Then writes it out whenever it gets a chance after that.
This means that you may well have a corrupted directory structure should the machine lose power in the middle of writing data, because the hard drive LIED to the OS, and the journaling file system flushed out it's journal when it wasn't actually written to the disk.
To get trustworthy results, you need to either 1: turn off the write cache on the IDE drive or 2: Use SCSI, which doesn't lie about such things.
As long as you're writing to an IDE drive with an enabled 8 meg cache, the results are worthless, because you don't actually have the reliability you think you have, and the numbers might change drastically when you start using drives (like SCSI) that actually fsync properly.
--
--- It is not the things we do which we regret the most, but the things which we don't do.
Re:Results questionable
by
AGTiny
·
· Score: 3, Informative
ext3 does NOT journal data by default, it only "orders" it (data=ordered). This is still better than what any of the other filesystems do. You have to explicity define data=journal in fstab to get full data journaling. There is a performance hit but it's what I use on all my RAID5 data filesystems and it's great. I used to use reiserfs until a huge crash corrupted massive amounts of files and directories. I don't think I'll be going without data journaling protection for a while.
Thanks for the correction. By any chance was that ReiserFS partition on an IDE drive with write cache enabled? See some of my other posts in this thread for the problems IDE drives with enabled write cache present.
--
--- It is not the things we do which we regret the most, but the things which we don't do.
Incoming ext jokes...
by
Valkyre
·
· Score: 2, Funny
"Both ext versions 2 and 3 seem to reap the benefits of removing large numbers of files faster than any other file system tested."
If that's not a joke, it should be.
-- Live today, because you never know what tomorrow brings
I did some too
by
Rufus211
·
· Score: 4, Informative
I did a bunch of tests like this, but in 2.6 instead of 2.4. My conclusions:
* Ext2 is still overall the fastest but I think the margin is small enough that a journal is well worth it
* Ext3, ReiserFS, and XFS all perform similarly and almost up to ext2 except:
o XFS takes an abnormally long time to do a large rm even though it is very fast at a kernel `make clean`
o ReiserFS is significantly slower at the second make (from ccache)
* JFS is fairly slow overall
* Reiser4 is exceptionally fast at synthetic benchmarks like copying the system and untaring, but is very slow at the real-world debootstrap and kernel compiles.
* Though I didn't benchmark it, ReiserFS sometimes takes a second or two to mount and Reiser4 sometimes takes a second or two to unmount while all other filesystem's are instantaneous.
I wonder how this post could be marked informative, while it's interesting at most. As far as I am concerned, I don't think something is informative if no objective data is provided to let the reader make it's own opinion.
However, it is still interesting to have someone point us to alternative conclusions. But, it remains an opinion until objective data is provided with the methodology. What kind of tests were performed? Results? What setup?
Well, I'm very sorry and apologize, since the link to the methodology was actually provided.
That's my own fault, I just skipped the last line where usually we found the signature... The link was just there.
-- Achille Talon
Hop!
These test need to be run on more machines
by
Cthefuture
·
· Score: 3, Interesting
Seriously, all the time we see benchmarks like this that are just done on the same machine with the same setup. Who knows if there is some unseen problem or bottleneck (in this particular case the CPU is weak).
We need a large sample base. Different types of chipsets, CPU's, hard-drives, etc. Then we can better see the big picture or at least see how the filesystems might perform on a system similar to your own.
So I'm calling for a "filesystem benchmark" page were people can post their results from a standard set of benchmarks. Something where they can include their system specs/setup and everything.
Then maybe we'll get useful information.
-- The ratio of people to cake is too big
Re:These test need to be run on more machines
by
bfree
·
· Score: 1
I would suggest that the best way to do this would be to create a minimal custom knoppix-alike cd for each revision of the test (maybe every 6 months), simply pop in the cd, tell it which partition to use and then come back later to see the results (and email them, or find out where to pick them up from under your normal os with a network connection, or save them to floppy etc.). The test suite could include reporting all aspects of the system and could ensure the tests were run under perfectly known conditions. Then you can gather the results and process away to produce graphs and statistcs and even some form of dynamic interface to the data. This could of course do far more than just filesystem tests but could in fact benchmark the entire system (and maybe even help to build a hardware support database).
--
Never underestimate the dark side of the Source
What about reliability?
by
Anonymous Coward
·
· Score: 0
I would hope to think most people storing vast amounts of data aren't just using their hard drives as a scratch disk and actually want to STORE them for some amount of time. For that reason you'd think stability would be something important to look into instead of just raw unrelenting speed.
Is there such as thing as an ACID complete filesystem in the works? That's the name of the game for RDBMS reliability and the reason why MySQL blows and loses data all the time (it doesn't even TRY for ACID completeness, just speed).
Is version 4 of ReiserFS done yet and in the new kernel? I am interested in seeing benchmarks of that puppy. Reiser seems to be interested in revolutionary improvements for the filesystem.
Lost data with ReiserFS: Me too!
by
rajafarian
·
· Score: 1
A bunch of months ago I formatted several of my partitions with ReiserFS and I was happy with it, it was fast and more space efficient than ext3... until I was trying to get UT2003 working with my ATI Radeon... the system locked up hard and after the hard reset some files (my lilo.conf, which shouldn't have been written to at that time) were hosed. I'm back with ext3 as data integrity is important to me.
Judging from posts here, it appears that ReiserFS is still experimental and shouldn't be used by those that care about their data, hey?
... text on his graphs/charts very well. The text is a bit small, so I just skipped down to his conclusion. I'm glad to see that ReiserFS is one of the "performing" file systems because that was my choice.
2nd Opinion...
by
mikegi
·
· Score: 2, Informative
At http://fsbench.netnation.com/ you'll find a nice python tool that will run Bonnie and/or IOzone with different parameters and stick the results in a MySQL database and make nice little tables from the data.
There is also some commentary and recommendations based on their results.
One more note about the tool... it's not well documented but works well when configured... note that you need a kernel that supports the filesystems to be tested (duh!), Use python 2.2, the database schema is somewhere in the comments.
the results may very well surprise me, if only i could read them, maybe indexed PNG would've been a better choice, but even then i'd probably still need the FireFox image zoom extension to make out the bloody legend.
Re:So why does RedHat/Fedora continue to push EXT3
by
Znork
·
· Score: 1
Maybe it's because they'd have to increase the support contract costs to cover a higher incidence of serious filesystem related problems?
ReiserFS is nice, but it's not even close to corporate production stability.
Datacorruption issues are what keeps people working extended rotating shifts for days until they get stressrelated breakdowns in corporate environments.
Performance issues are what keeps people working normal days mulling interesting issues and eventually deciding to throw hardware at the problem.
A new study shows that any female between puberty and menopause and under 150 lbs is a decent boink.
Which one you should choose depends on your needs and etc.
--
"Would it kill you to put down the toilet seat?" -- Maya Angelou
Sample Size???
by
Anonymous Coward
·
· Score: 0
I'm thinking a sample size of 1 isn't enough to reliabily comment on the overall usability of these file systems... just my 2 cents...
He benchmarked 2.4, which these days is a bit...pointless. Ext3 has a lot of improvements only in 2.6, just like the other FSs. 2.4 filesystems are in "mainteinance mode" where in 2.6 there's been a large amount of development. If he'd run 2.6 he could benchmark reiser4 too.
Re:It'd be better under 2.6
by
iggymanz
·
· Score: 1
I would think most serious file servers are using 2.4.x kernels; I'm not touching 2.6 for another half a year for server use, though I'll have it on my laptop in a month
Re:It'd be better under 2.6
by
Anonymous Coward
·
· Score: 1, Insightful
The point of the benchmark is "what fs is better". There's been *years* of development in 2.6, while 2.4 has not been touched because of stability.
For a benchamrk, IMHO 2.6 is much better. And 2.6, BTW; is working rock solid with more of 100 and 200 days of uptime on some boxes. The OSDL people put a 2-week long database test under 2.6. The result was: zero errors. And that was a four-CPU server.
Re:So why does RedHat/Fedora continue to push EXT3
by
jargoone
·
· Score: 3, Informative
So, what I usually do when installing a new copy of Fedora or Redhat is to drop to a console, and use fdisk + mkfs.jfs manually
You're making things unnecessarily complicated. At the "boot:" prompt, just type "linux jfs". The graphical installer will then offer it as an option. Works with reiserfs, too.
They really should have benchmarked V4 not just V3
by
hansreiser
·
· Score: 5, Interesting
ReiserFS V3 is being obsoleted by V4, which is 2-5x times faster.
Re:So why does RedHat/Fedora continue to push EXT3
by
Anonymous Coward
·
· Score: 0
And the Ext2 debugfs is one heck of
a powerful file system debugger. It is the Swiss Army Knife of file system tools. Most folks will
never need to use it. But if one ever does need it,
he can thank his lucky stars that it is available.
Although not a linux filesystem, OSX being based off BSD uses it, and is *nix based in a way. You can mount it from Linux (read only I think).
Re:What about HFS +
by
idiotnot
·
· Score: 2, Insightful
Ugh. HFS+ is not a Unix filesystem. It's a Macintosh filesystem, introduced in OS8, that's been modified so it can play nice with a Unix-like OS. Darwin/OSX also use old, slow, reliable Berkeley FFS, the filesystem on which ext2 was patterned. HFS+ isn't an ideal Unix filesystem, because it doesn't have case-sensitivity by default, and it has features that would be wasted by typical Unix. The reasons it's there in OSX are backward compatibility and speed. Some carbon applications refuse to run on an FFS partition, and OS8/9 can't read FFS. The FFS code in Darwin is also very old now (most of it is late 80's tech), and the performance shows. The nifty things that the real BSD's have done to speed it up (soft dependencies, etc.) haven't found their way into the weird mach almalgam that is XNU.
HFS+ isn't an ideal Unix filesystem, because it doesn't have case-sensitivity by default, and it has features that would be wasted by typical Unix.
You can turn case sensitivity on in more recent versions, so that isn't a big issue. It has support for all the traditional Unix flags and permissions, so it appears they were thinking ahead. What are the features that would be wasted by typical UNIX? Extended attributes? Multiple forks for files? I'm pretty sure that Reiser, JFS, and XFS all have those features either implemented or planned. In fact, if you compare it feature for feature against those filesystems, they look pretty similar.
I'm not advocating that people running linux move to HFS+ or anything, so it's sort of irrelevant to this discussion, but I think it makes a perfectly fine Unix filesystem for OS X, and I'd be very curious about how it stacks up to the other journaling filesystems listed in the article.
What are the features that would be wasted by typical UNIX? Extended attributes? Multiple forks for files? I'm pretty sure that Reiser, JFS, and XFS all have those features either implemented or planned.
Sure, sure, you're correct there. And I maintain that most unix-like systems do not put those features to use fully. Right now. It may happen with time, but it's overkill now. The datasheets on XFS are kind of mind-numbing to read, and many, many of the features present on Irix can't be used with Linux.
I'm not advocating that people running linux move to HFS+ or anything,
Egad.:-) Although moving off ext* would be welcome. Unless it's to Reiser3.
I'm not advocating that people running linux move to HFS+ or anything, so it's sort of irrelevant to this discussion, but I think it makes a perfectly fine Unix filesystem for OS X, and I'd be very curious about how it stacks up to the other journaling filesystems listed in the article.
It's certainly gotten much better as a Unix FS than from say, 10.0 and 10.1. I do keep an FFS volume on my machines, mostly for things I build from pkgsrc. The journaling feature was much-needed. I had an iBook with a flaky airport card. Crash. Set it down for thrity minutes to let the fsck finish.
As far as the performance goes, there's really no way to compare as Darwin/OSX doesn't support the myriad FS's linux does, and Linux's HFS+ support isn't very mature. It does raise an interesting potential situation, though.... Because if the HFS+ support improves, it'd make dealing with linux on a macintosh much easier. No more yaboot! Just make two HFS+ partitions, and one linux swap.....
EXT3 and *BIG* filesystems
by
ArkiMage
·
· Score: 2, Informative
I no longer will even attempt to use EXT3 for a filesystem ~500GB or larger. Had problems repeatedly with a couple of 1.6TB filesystems and switched to Reiser3 and haven't looked back...
Re:So why does RedHat/Fedora continue to push EXT3
by
Junta
·
· Score: 1
Arg, I hate hate reiserfs. It has even with the latest incarnations of distros been crash-prone relative to other filesystems, and more painful to recover than other filesystems in the event of a crash (>90% of the time when the fs needs help, it needs to rebuild tree, and read-only mount *still* screws that up, so you have to boot rescue)....
XFS also I've hit numerous issues (seems not to track free space correctly in near-full conditions, and will panic when it tries to write as it suddenly realizes the fs is really full!). My test was in near-full 360 GB filesystem, make a 500 MB file, delete it, remake it, delete it. Now you should be at the same spot, but you magically have nealy 500MB extra free space according to du.. Really flaky...
I have good experience out of JFS and ext3 with respect to reliability, though ext3 has been a bit more sluggish.
I care about performance, but reliability takes priority.
-- XML is like violence. If it doesn't solve the problem, use more.
PARENT NOT INFORMATIVE
by
Lehk228
·
· Score: 4, Funny
oh no, all those people running IE 3 can't see png, better not use it.
-- Snowden and Manning are heroes.
Nothing new really....
by
carlmenezes
·
· Score: 1
The results were what we knew already:
-> reiser is really fast with small files but sucks when deleting/moving. -> XFS is great at deleting, but slower than Reiser and it's not good at searching, but great with large files. -> JFS seems to be great with large files too, but not much else.
So, in other words, ReiserFS would be great things like/usr and other such places, or a partition used for a lot of development work or website development.
XFS and JFS seem to tie when it comes to handling stuff like ISO images, large database backups...so you might want to use one of them for that, depending on your needs.
What I would have really liked to see is a benchmark with these against upcoming file systems like Reiser4 purely from a performance point of view. Now THAT would have been interesting.
As of now, the only interesting thing is that the results have not changed since early benchmarks on these file systems done more than a year ago. I wonder why.
-- Find a job you like and you will never work a day in your life.
....for all file system creation, default options were used.
-- Find a job you like and you will never work a day in your life.
JFS is a good filesystem - case insensitive option
by
paperclip2003
·
· Score: 0
I use JFS on servers that have netatalk (with bdb enabled) and samba because I can make a partition case insensitive. I think it was a feature developed for OS2 originally, but it works well. I use a -cO when formatting with makefs.jfs.. the O is for OS/2 (but makes the partition case insesitive). I had corruption problems with earlier versions, but ones that have shipped with 2.6 kernels and current 2.4 kernels are no problems. I have not tried it to see if it works on / partitions with linux system files. (Case insesitivity could cause problems with like named stuff)
Performance is good and reliability seems good as well. It was deff. faster than when I had it set up as ext3. My linux servers have had less problems then my OSX jaguar server with file corruption using HFS+ - the linux solution was a cheapo old Mac because we could not affored a Mac server at the time.
-Ron
"worst chartmaking...ever"
by
harlows_monkeys
·
· Score: 2, Informative
Gah! The charts are shrunk so that the labels are hard to read, and the order of the results and color assigned to each FS seems to have been picked randomly for each chart, so once you squint and decipher one of them...you have to start over on the next.
While I appreciate the information greatly I found it extremely difficult reading the graphs as the text was entirely too small and the bars, were proportionally too big. Am I the only one who has trouble reading this stuff?
-- TT
I was just looking the other day....
by
Anonymous Coward
·
· Score: 0
Here are some of the programs from the list I made:
http://pyx.sourceforge.net/ http://www.gnuplot. info/ http://plasma-gate.weizmann.ac.il/Grace/ h ttp://rlplot.sourceforge.net/
I've used gnuplot before, it's ok. I've never used Pyx, but the output on their website looks nice. (I've always had a bit of a soft spot for the looks of Latex output, so ymmv.)
You could also look at Guppi. OOo and KOffice have to have some graph making ability in it, too. Those may be better for the casual graph maker.
Hm, just looked at Guppi's home page they have a link on the left to other graphing programs available, some of which I've missed entirely. Anyway, there are a ton of them out there, it would be tough to even make a complete list.
J
Unrealistic testing environment.
by
sudog
·
· Score: 2, Interesting
A superior string of tests would be to simulate, to as close a degree as possible, a real, live high-use environment such as a scaled-up Perforce server, a supremely busy mail server, a giant busy database, or a massive web server.
A single process running through 10,000 files isn't particularly realistic: since when does a scaled-up server sit there and hammer the filesystem with just a single process? What about contention? Caching?
And what about recovery from errors? I didn't once see what happens if something blorts over random parts of the filesystems.. how does Reiser handle this? Ext3? XFS? Are there recovery tools in case of catastrophe?
What about these file systems stuffed into RAID volumes of various stripe sizes and configurations?
Straight deletes, creates, or modifications are useless because the only time you're going to be doing something like that is when you rm -rf * or building a new environment for.. something. Daily use, however, which eats up far more time (and thus would save the most user time if improved) is something which should been better accounted-for.
Just out of curiosity, why wouldn't one go for ext2 on root filing systems? Typically a root FS isnt that large anyway, I think I can live with a fsck for a few minutes.
All the extra overhead that journalled filing systems bring don't seem to be worth a little speedier error recovery..
More info needed for choosing wisely
by
WoodstockJeff
·
· Score: 2, Insightful
Having read the article, it would have been nice if the bar graphs had been consistent... but, that's not the problem. As mentioned by others, a very large criteria for non-home users is damage tolerance, and, to an equal extent, the lack of any tendency for the driver to damage the file system (aka "stability"). And, in this day of databases, the ability to handle large files is increasingly important.
I'm rapidly approaching the point where I need support for file sizes greater than 2GB. Quite frankly, most of what I've found about file sizes and file systems is 2 to 4 years old... Everyone's too concerned with speed!
different benchmarks needed
by
aggieben
·
· Score: 2, Insightful
I'd like to see a set of benchmarks regarding stability and fidelity of the various filesystems. Which ones are the most durable? Which ones get corruption the most, and what are their corruption/data-loss ratios? Performance isn't the end of the world for me....but losing data *is*.
-- Don't become a regular here, you will become retarded.
-- Yoda the Retard
Every other graph rotated
by
bshroyer
·
· Score: 1
Did anyone else notice that the orientation of each graph was different than the preceding one? Was this done to deliberately make it harder to compare results?
I can't see what possible motivation there was in this decision. I'm also having a hard time imagining how much more WORK it was to arrange the graphs so.
I stopped reading when it said he was usin a 2.4 kernel.
2.6 performance is that much better.
Get a clue, guy.
-- --
Note: If you don't agree with me, don't bother replying. I won't read it.
large ( 4 Gb) file support?
by
Anonymous Coward
·
· Score: 0
Might be useful to also mention which of these have support for large files. At one point I settled on XFS for my systems (which has worked without flaw for me so far), since it has large file support.
It seems to me that Linux filesystems are rather behind the times when it comes to this area.
The graphs wouldn't have looked so bad if they'd have kept the orientation and order in the graphs the same from one graph to the next.
In some xfs is on the top, others it's on the bottom. Thankfully in the l2r graphs XFS is always on the right and ext2 on the left. Also, they seem to abitrarily switch between 2d and 3d graphs. Plus the switch between bar and line graphs.
I'd start my focus not with the tools but with the ways in which the tools are used.
-- --JLockard - "Some mornings, it's just not worth chewing through the leather straps." - Emo Phillips
EXT3? Lots of files changing? Increase your ...
by
pavo
·
· Score: 1
Journal size! By specifying a larger journal size at creation time (or late with tune2fs) you can gain significant speed. The default is 32megs. If you're pushing a lot of data into and off of disk rapidly (busy mailserver), increasing this to 128mb will help (along with things like mounting with "noatime" ).
Being able to tune your tools for a specific purpose is what makes all of these filesystems great. But you've got to learn to use them properly!
Re:EXT3? Lots of files changing? Increase your ...
by
NerveGas
·
· Score: 2, Interesting
My mail server's been chugging along for about 4 years now, and is terrifically reliable. So, I turned off the fsync() calls, so things like that don't really matter any more, as the kernel's disk cache can do what it was designed to do. Throughput went up by more than a factor of ten.
Some day, a fan, power supply, or UPS will die. But getting 10x the performance for 4+ years justifies losing the two minutes worth of email that wasn't flushed to disk when that day comes.
steve
-- Oh, you're not stuck, you're just unable to let go of the onion rings.
this test didn't cover random access, and incomplete information regarding blocksize and no benchmark program involved. besides, the results are very hard to been seen. this is just another newbiz test posted into Slashdot somehow, like the one couple months back comparing U320 and SATA.
Re:basicly useless
by
Anonymous Coward
·
· Score: 0
More than not testing the right things, it seems like the tests were conducted improperly. Look at the second graph. Something other than file system performance is dominating the results to get everything to measure as either exactly.02 seconds or exactly twice that. Also in the first graph ext3 actually outperformed ext2. How is that possible? This leads me to question the method of the entire benchmark.
jackass article
by
jusdisgi
·
· Score: 4, Insightful
Wow...I'm really surprised that I don't see anyone else around here bashing this "benchmarking" as totally ridiculous. Get it together, people! I mean, how does a group of folks that typically pride themselves on shredding the foolish articles that come by miss these beauties:
1) This guy goes out with the stated goal of evaluating real-world performance...so he starts by throwing out all real benchmarks. Of course, those tools are designed by experts to try to represent real-world performance, but who cares, right? Instead, our jackass throws together a bundle of random operations and times them. No thought is apparent in the choices of the operations, and no discussion is given as to why the choices were made.
2) The conclusions are drawn by simply adding the times of all the tests together. If you haven't figured out why this is dumb as a rock, let me explain: test #1 took 23-40 seconds, while test #2 took.02-.04 seconds. So, in his conclusion, test #1 was weighted 1000 times as heavily as test #2. I don't know about you all, but I for one don't feel that touching speed is 1000 times as important as finding speed.
3) Even if he had normalized all the times so that the mean in each test was the same and then added those, he would still be wrong...various tests ought to be weighed differently, because real-world usage doesn't do all of these things the same amount. That said, the weight given to the tests needs to be well thought out and planned, rather than arbitrarily assigned (accidentally) without paying any attention. Interestingly enough, this sort of purposeful weighing of tests is exactly the sort of thing done by the real benchmarking tools that this idiot threw away.
4) Perhaps this one isn't as important...but this guy can't make a graph to save his life. Half the bar graphs put time on X and the other half put time on Y. Graphs that obviously should be bar graphs are made into dot-line ones. The text is blurry and you can't tell the colors in the key.
Anyway, I still don't get why everybody around here seems to have missed all this...it was painfully obvious to me when I just took a cursory glance at it.
-- Given a choice between free speech and free beer, most people will take the beer.
The lack of a conclusion in the "conclusion" made the case for me. From the article:
For those of you still reading, congrats!
No congratulations necessary. There were so damn many of those tiny graphs I immediately scrolled to the end of the page.
The conclusion is obvious by the "Total Time For All Benchmarks Test."
So obvious, in fact, it isn't repeated in the conclusion. I think it's the two graphs at the beginning of "Benchmark set 2 of 4", but I'm not certain
The best journaling file system to choose based upon these results would be: JFS, ReiserFS or XFS depending on your needs and what types of files you are dealing with.
You don't say. Besides ending the sentence with a preposition, we are not told what FS corresponds to what types of files.
oblig Simpsons quote
by
acidrain69
·
· Score: 0, Offtopic
Worst. Bargraphs. Evurrrrr!
-- -- Having a Creationist Museum is like having an Atheist place of worship
Come on People - Some Critical Thought - PLEASE!
by
thepustule
·
· Score: 1
Ok, a bunch of us are talking about past experiences with catastrophic hardware failures, and losing data on Reiserfs filesystems. But we need to remember - it is not smart to draw conclusions from anecdotes!
Do you really think you would NOT have lost the same data if you had been running ext3 when that hardware failure happened? It sounds to me like it was just a *coincidence* that you were running reiser.
My main server experienced a nasty-blue-smoke power supply failure this past January. I had all my precious 200G of data on a pair of linux-software-mirrored hard drives on Reiserfs. After replacing the power supply, I noticed that my mirrors were not successfully re-mirroring. One hard drive was completely dead. Soon it became apparent that the other one was half-dead as well. So I dug around for my trusty Knoppix CD and booted it up (Klaus - you da man!), an was able to copy the entire 200G of data off the remaining hard drive, with the sole exception of my/tftpboot directory (sob). During this copy, the hard drive crunched and snapped and ground like a dying beast, while my trusty old reiserfs kept slowly pulling off the files.
So, of course, now I've sworn to run nothing but reiserfs on my server till the end of time! I still run ext3 on my laptop because of the simplicity, but nothing but reiser will ever run on my server.
Still, I can NOT claim that reiser is any better than the other filesystems, because I've never experienced the same problem with an ext3 server or XFS or JFS, etc. I'm just sticking with what I know.
Not much more than 200 years ago, the scientific community fully believed and taught that rats spontaneously generated from garbage. Why? Because they observed that if you leave a pile of garbage in your basement overnight, you have rats in the morning. This was a severe lack of critical thought, and a widely accepted conclusion drawn from anecdotes. Please tell me our thinking has progressed at least somewhat since then!
large file support
by
David+Jao
·
· Score: 3, Informative
I'm rapidly approaching the point where I need support for file sizes greater than 2GB. Quite frankly, most of what I've found about file sizes and file systems is 2 to 4 years old... Everyone's too concerned with speed!
Here's some real world information on the state of large file support in 2004. Filesystem driver support is the least of your worries -- almost any linux filesystem you can think of (except for maybe umsdos) supports over 2GB files at the kernel level. The Linux LFS page, dated April 2004, contains reasonably updated information on large file support in linux.
The bigger problem is that many userspace applications cannot yet read or write to the large files. This failure arises from non-use of the LFS API combined with just plain unfortunate use of a signed 32-bit int in the wrong place. So for instance mkisofs will reject all input files larger than 2GB in size, and cdrdao will simply abort at 2GB if you try to rip a DVD larger than 2GB in size. In some extreme cases there are programs that can't even handle large files off of the disk; one example is
which fails spectacularly on any x86 linux system (hint: the DVD is not really 84MB in size). In general, the "core" system utilities such as dd, cp, mv, cat are fully compatible with large files whereas third party applications are much more hit-or-miss.
Even today, by far the most practical solution to large file woes is to migrate to a 64-bit system, the most affordable of which is AMD64 by a long shot. I've been using an Athlon 64 system for the past few weeks and it has handled large files perfectly in all respects so far.
Thanks for the link - I'll check it out. The primary application that needs large file support is MySQL. We've got a work-around (Innodb support), but I'm looking at long-term, and a few 64-bit systems would be nice to have, in any case!
Re:So why does RedHat/Fedora continue to push EXT3
by
Empty+Threats
·
· Score: 4, Interesting
Sun uses UFS because it is still the best filesystem for a root filesystem.
It supports software mirroring of the root FS in solaris.
It's backwards and forwards compatible.
It does not require any license fees, since it's been worked on in-house.
It already supports logging, which provides the benefits of journalling and a substantial performance boost.
UFS also has alternate superblocks, like all modern filesystems. (Including JFS and XFS!)
A more interesting question is: Why do Linux zealots incessantly rag on UFS?
Re:They really should have benchmarked V4 not just
by
denlin
·
· Score: 1
ReiserFS V3 is being obsoleted by V4, which is 2-5x times faster.
so what happens in this situation? will all v3 partitions need to have their data moved to another partition so that it can be reformatted or is there some sort of utility that namesys provides to ease migration?
-- Yes, I have RTFA. Yes, I have a girlfriend. Yes, I'm new here. And no, I don't want a free iPod.
So dual boot a kernel that isn't crippled by a lack of open-source file systems being ported to it. Don't blame a file system for FreeBSD's lack of support, blame the BSD developers.
-- I do not fail; I succeed at finding out what does not work.
IIRC, it's not the BSD developer's fault. The BSD kernel has a different license than the GPL, and it's a lot more liberal. If they compile ReiserFS into the FreeBSD kernel they must GPL the kernel to comply with the licensing. The alternative is to license ReiserFS separately, which is expensive.
Keep in mind, too, that FreeBSD is not just a kernel, it's an Operating System. You cannot simply have a Linux and a FreeBSD kernel and boot between them, you really do need a full dual-boot system.
Re:Use a more robust kernel
by
msobkow
·
· Score: 1
Of course BSD is more than a kernel, even without all the GNU utilities and other OSS projects.
However, none of those components run the file system. The kernel does.
-- I do not fail; I succeed at finding out what does not work.
But where are the other 'important tests' like....
by
haute_sauce
·
· Score: 3, Interesting
...time to fsck, and recovery after a crash for the journaled file systems ? These are of greater importance to me than 10000 deletes.
How long will it take to verify my file system of 300GB after the sysadmin killed power to the wrong server ? Did I lose any data ? you know the drill.
Better tests AND presentation than TFA
by
schwaang
·
· Score: 1
...because they are more real-world than "create 1000 files in a single directory using touch", etc.
Plus the results are normalized against ext2 for quick comparison. You don't have to interpret fuzzy jpeg graphs. You can grok the results at a glance.
Skip the LinuxGazette article and read the parent link instead.
Re:They really should have benchmarked V4 not just
by
sakyamuni
·
· Score: 2, Insightful
They really should have benchmarked V4 not just V3
With all due respect, as your website states:
Reiser4 is in final testing, and will ship soon!
and (on the download page):
do not use reiser4 for production system, do not keep any important data on reiser4. It is experimental yet.
I would say benchmarks need to be performed with released products. It doesn't help most users if Vendor X claims his vaporware beats all competitors. Now, I know this isn't the case with ReiserFS here -- it isn't vaporware -- but it isn't production-ready either according to Namesys. You're just unfortunate in that this benchmark was performed just before the release of your next version which would have performed better.
On the other hand, any benchmarks published on the Web ought to be updated whenever a new version of a tested product is released -- add the results of the new version and keep the old one as well, for comparison purposes.
And here I was thinking that almost all of the current distributions (meaning not ones announced/released yesterday), like Red Hat 9/ RHEL , Fedora, Suse 9, Gentoo 2004.1, Debian... -- were shipping with default 2.4 kernel?
Although less hyped, JFS is doing pretty well so I see. I've been checking out other benchmarks as well. Some people mentioned it's even faster than XFS in some cases. I myself am using Reiser but I'm looking forward to checking out JFS in the future. It's been in the kernel long enough to have stabilized. XFS in kind of young in 2.4. Yes it has exsited before as a patch but I won't use anything on production systems until Linus accepts it in the mainstream kernel.
put your money where your mouth is
by
bani
·
· Score: 0, Flamebait
let's see you make a better one then.
Re:put your money where your mouth is
by
jusdisgi
·
· Score: 1
Hey, look, I never said I was a benchmark design expert. I just said this guy obviously wasn't. And there isn't anything wrong with that by itself...it just means you should use a tool designed by someone who is, instead of throwing your own bullshit metrics together by yourself and then having the balls to tell everyone that it's a better method than any of the real benchmarks out there. That was a damn lie, and acting like you can draw real conclusions about real-world performance from these numbers is really, really obtuse.
I'm not necessarily saying I can make a good filesystem performance comparison. I haven't ever even tried. All I'm saying is that I can tell a bullshit one when I see it. And I just did.
-- Given a choice between free speech and free beer, most people will take the beer.
Thats really interesting
by
mackermacker
·
· Score: 1
I didn't realize it wasn't case sensitive. It can be turned on in newer versions, so I take it it is off by default? How exactly does one enable that? I don't know enough about macs, only reason it was mentioned bc a friend on OSX burned me a dvd of all my files, only he screwed it up and (by default) the cd came out as HFS +. Apparently, I didnt have the kernel mod enabled by default and it caught me offguard ona busy day. Also didnt realize it was a journalized FS. Im considering going with a mac laptop, so all this info is useful.
So I wonder how the speed would compare to EXT2/3, or any other aspects as far as file systems are concerned. Or NTFS (which I also have unsecessfully tried to write to with shaky results).
Re:Thats really interesting
by
idiotnot
·
· Score: 1
Enabling case-sensitivity is an argument to newfs. I think there's a way that you can enable it on an existing volume, but I'd think that'd be more likely to seriously screw things up.
Theoretically, HFS+ should be faster than ext2/3, but there's no way to objectively compare them. I haven't noticed much disk speed difference on my macs between linux and OSX (well, with the exception of OSX FFS volumes, which are s-l-o-w).
As for buying an Apple notebook, I'm on my second one. I bought a toilet seat iBook used, then bought a G4 iBook in November. The old iBook played nicely with everything. The new iBook is great under OSX. Linux is still somewhat sketchy, because some of the hardware isn't well-supported (or supported at all, in the case of the Airport Extreme. Fuck Broadcom.). I will say that they've been worlds more reliable than any PC notebook that I've ever owned.
I don't think you'd be disappointed with one if you bought one.
Re:They really should have benchmarked V4 not just
by
Jagasian
·
· Score: 1
Is V4 in Kernel 2.6.x yet? I want to check V4 out for myself.
Just run this as root overnight ...
by
Anonymous Coward
·
· Score: 0
Trying to socially engineer a Linux virus?
Re:Just run this as root overnight ...
by
Error27
·
· Score: 1
Heh heh. You're right, of course.
It's pretty easy to audit the script.
There is a older version of the script included in the last couple LTP releases. If you'd prefer.
not a real-world test
by
jean-guy69
·
· Score: 2, Interesting
because no mount options where used.
if you really matter about filesytem performance you'll use some options like disabling access time updating.
ext2 should be mounted with noatime, reiserfs with noatime,notail,nodiratime etc..
not using the usual performance-oriented mount options (only the ones that don't compromise FS security) makes this benchmark a lot less meaningful:(
Is there any filesystem one can use to "mount" a directory (with gigs of ready to run applications) directly from Internet server (i.e. from his Internet Service Provider)?
No, that's why video modules are bad
by
iamacat
·
· Score: 1
How is open source prevented from overwritting kernel memory? All you need is mapped memory and port access in a user-level shared library, plus a daemon to switch back to text mode if the library's process dies without a clean shutdown.
ext2 for laptops, if battery life matters
by
Anonymous Coward
·
· Score: 0
ext3 keeps hitting the disk. you could just remount that ext3 as ext2, havent tried randomly going back. doing a "real" convertion is probably safer...
Re:So why does RedHat/Fedora continue to push EXT3
by
Billly+Gates
·
· Score: 1
I was thinking that myself. Running both Linux and FreeBSD it seems important to run UFS.
I've lost /sbin/init because of ext2 lameness
by
Admiral+Burrito
·
· Score: 1
Many of the ext2 filesystem errors are "easily fixable" by losing the affected file. I remember losing several system files due to unclean shutdown, and once even had a system that was rendered unbootable because/sbin/init was lost. I was very annoyed, having used FreeBSD before on really crappy hardware and never lost files unless they were open for write at or very near the time of the crash.
Nowadays I _always_ use journaling filesystems. In my experience, ext2 is an unreliable piece of crap unless your hardware, software, power source, and operator are all 100% reliable.
I've been using ReiserFS on my home box for several years now with no problems at all, though I've heard of serious problems with it so I've been reluctant to use it for servers. I've used ext3 on servers and my laptop and seen unclean shutdowns (mostly on servers not yet in production) with no problems either. I'll probably try XFS in the near future.
The Internet Archive Petabox seems to use ReiserFS. Interesting, to say the least. Even more interesting would be if one of the developers that helped make the call shares some insight.
-- Must-not-watch TV!
Re:So why does RedHat/Fedora continue to push EXT3
by
arcade
·
· Score: 1
Because ReiserFS is a pile of dung, designed to make sure you lose data, make your computer unreliable, and make people scratch their heads and swear of linux in general. Here's my scorebook with reiserfs so far:
- Laptop/home partition went to hell twice, at power failure.
- Two various machines at previous work got open files in/home partition smothered at power failure, had to rm -rf.kde for the system to get up'n running again.
- Mums computer. Had to travel 500km to fix a reiserfs fuckup due to repeated power failures.
- Dad's laptop got a partition trashed by reiserfs when he forgot to put in his power cord and the battery time were used up.
I've tried using ReiserFS on and off quite a bit during the last 3 years. I don't think I'll ever do so again, unless rumors says it's stable in 5 consecutive years or something like that. I've had no other filesystems cause me as much grief as ReiserFS. It's a pile of dung. I'm not grateful that the developers developed it. If I knew how shitty it was I would never have put data on it. I don't have time to travel 500km just to reinstall a linux distribution every two months, due to ReiserFS fucking things up badly.
The reason some distributions doesn't move to ReiserFS is quite simply that they've realized that ReiserFS is one unstable piece of horse dung.
Test 002 is meaningless: the times are too short to have any statistical significance whatsoever.
Some of the comments are foolish; for example, Test 009: "Surprisingly, ReiserFS wins". Why is that surprising? Perhaps it follows from the design of ReiserFS. It's as if the benchmarker does not realise that different algorithms and design goals are involved in each filesystem.
Finally, I agree completely about the graphs, they're illegible. It's indeed amazing nobody has pointed this out. The guy desperately needs to buy and read a set of Tufte's works.
For this to be a useful benchmark, at least twice as much intelligence and effort would need to be applied...
Whom should I sue for hurting my eyes with those microscopic legends by the charts?
yes I am lazy enough not to download the tarball, extract it and switch between the article and each of the images
FWIW, some results on my computer
by
SLi
·
· Score: 1
I just investigated the major players a few weeks ago for my own purposes, although I tested the (still-in-development) reiser4 instead of reiser3.
To me, the ability to both shrink and expand the filesystems is also essential. In brief, ext3 can be expanded and shrunk offline. XFS and JFS can only be expanded. ReiserFS supports both shrinking and expanding. IIRC, ReiserFS can be expanded, but not shrunk, online. XFS can probably only be expanded offline. I think JFS can only be expanded online (which I think is a bit weird, but OK:-).
On my computer (with enough CPU power for it to probably not be a bottleneck - Athlon XP 2600+), these are some timings for operations like extracting a huge.tar file (IIRC ~1 GB) containing enormous amounts of small files on a newly mkfs'd 20G partition, copying the extracted tree, running du -c on the tree and rm -rf:ing the tree. The partition was always unmounted and remounted between operations to invalidate caches, with the mount option noatime on all filesystems and data=ordered on ext3.
(this looks terrible because I couldn't get even the ecode tag to work nicely, so it's a hack)
From this it seems to me that overall reiser4 would be the clear winner when CPU is not the bottleneck. Unfortunately reiser4 didn't seem very stable although it was claimed "it's usable but still not recommended for production environments". Even during my tests I got repeatedly data loss, and after typically a couple of days of heavy reiser4 use top started to indicate that almost 100% of the CPU time was being spent in a syscall (and some processes became unkillable), a probable sign of a reiser4 operation in a syscall ending in an infinite loop (it didn't use disk in that loop though). I could not reproduce this kind of problems with any of the other filesystems.
I think reiser4 is definitely a promising filesystem with interesting concepts for systems with lots of CPU power, however as this is not the first time I've had problems with reiserfs (even production versions), it's going to be a while after it becomes stable after I'll be ready to even test it again and consider adopting it.
Perhaps you should check out this article (Journaled filesystems on Xeon) from Open, an e-zine covering open source and Linux. It takes a more scientific approach to benchmarking filesystems.
--
They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.
File Systems and Disks
by
Anonymous Coward
·
· Score: 0
It's a bit miss guided to assume that fast disks / file systems make that much difference to the speed of a "typical machine".
The most important bottle neck, for most machines is the I/O system itself. This is typically 100 times (or more) slower than main memory. All the file systems quoted are several orders of magnitude slower than direct memory access.
If you stop a machine writing to disk, or make it write as little as possible it will obviously go much faster. But then we have the problem of what happens if the machine crashes. How much data have you lost ?
File system (disk) writes are typically 5 seconds / 30 seconds behind in terms of actual data written. For a busy web server this is a lifetime.
The original article
I support the Center for Consumer Freedom
Dupe
Lars T.
To the guy who modded me down from perfect to terrible Karma - Apple haters still suck
tests on popular Linux filesystes
So did the tests come back positive or negative? Systes are nasty things, and early detection is important to increase chances of survivability.
Remember kids. Test early, and test often. You files will thank you.
Karma: Chameleon (mostly due to the fact that you come and go).
EXT2 has better throughput
EXT3 has better file handling capablities
Reiser has better search ablity
XFS has better delete capablities
JFS may be a better choice in regards to file manipulation Subject to debate of course...
This is good information to know, but for a project I'm working on I need to know which filesystem can take the most abuse. I'm talking about power-outages and hard-resets mostly. I know I should go journalled, but which one? What else should I keep in mind.
Maybe slashdot needs a filesystem update to one with more powerful meta-data support like something that can detect when the same URL has been used in more than one post within a certain time. Sheesh.
That is, before it melted.
"Overall, one should choose the best file system based upon the properties of the files they are dealing with for the best performance possible!"
There you have the results!
Duplicate, spelling errors, and nothing but the short submission. Google is relaunching its blogger service -- tell me again what slashdot provides over it?
I've finally had it: until slashdot gets article moderation, I am not coming back.
will be their bandwith bill after having their site posted on /.
In C++, friends can touch each others private parts.
....Will they be faster than WinFS
You're right, that was a total surprise.
"Avoid employing unlucky people - throw half of the pile of CVs in the bin without reading them." -- David Brent
The original article
Actually it is that much to ask. If you mirror anything without permission, you'll get some serious (deserved) copyright troubles. Let's hope CmdrTaco realy likes lawyers.
Well what ever distrubution they have running right now obviously failed the /. test......
"Over at Linux Gazette they ran some tests on popular Linux filesystes (ext2, ext3, jfs, reiserfs, xfs) and the results may surprise you."
The benchmark on spellcheckers surprises me as well...
--JC
I wish he'd make his mind up on whether to put his bars horizontal or vertical - I'm getting a seriously cricked neck.
And then a couple of 3d ones, just for fun. Sheesh.
He should read some of Edward Tufte's stuff.
And the reason is that you used jpegs. jpegs are for photographs; use gif for images such as this. The text won't end up unreadbly blurry and you'll save tons of disk space/bandwidth.
Do you have ESP?
The only thing that surprised me was that the author used jpeg for graph images. So not only are the colours in the legend not clear, and the text bearly readable, the images are actually much bigger than they would be with PNG or gif.
I mean, really. "Mad about You" was a fine TV show... but this good?
How long until we see McKellenFS?
http://209.81.41.149/~jpiszcz/index.html
:)
it's not slashdotted yet
i meant to say, but never could, that you are free to "borrow" back the XHTML-1.1 compatible stylesheets i made from yours, and you are also welcome to my image page's PHP and my blog setup (which will encoroprate your style nicely!). i noticed you needed those things from the entries on your webpage.
here is the winner. FAT 16
Site already /.'ed (when will slashdot ever learn to use a cache - either freecahce or make their own?)
Anyway, all rants aside, here's the conclusion from the tests (there were some graphs as well but I couldn't make sense of them anyway):
CONCLUSION
For those of you still reading, congrats! The conclusion is obvious by the "Total Time For All Benchmarks Test." The best journaling file system to choose based upon these results would be: JFS, ReiserFS or XFS depending on your needs and what types of files you are dealing with. I was quite surprised how slow ext3 was overall, as many distributions use this file system as their default file system. Overall, one should choose the best file system based upon the properties of the files they are dealing with for the best performance possible
See the whole article and a full range of hideously colored full sized graphs here before it gets slashdotted too. Speaking of which, there has got to be better graph making software out there in Linuxland......
I Am My Own Worst Enemy
Right now I'm running reiserfs under gentoo and I recently lost some rather important data, which has made me a little skeptical in using it in a production system. Therefore I'm asking you guys which filesystem do you think is good for a webserver that will be handling a medium sized database and a significant number of transacations each day.
Man, that site must have been running on the tester's machine (a P3-500). Slashdotted at 6 comments.
I managed to get the article, but by the time I had read through it all the site was completely gone.
Either that or the webserver was running ext3... slow as molasses by the test results.
perl -e 'print $i=pack(c5, (41*2), sqrt(7056), (unpack(c,H)-2), oct(115), 10);'
... Slashdotted!!!
;)
And that didn't surprise me at all
Privacy is terrorism.
I'm actually not surprised at the results, because the results, as usual, come down to: "the best filesystem is the one that is best for your needs". *sigh* I know that benchmarks can't determine things like that, but still a part of me just wants there to be a winner! I mean what good is a race where everyone wins?
Chaos is Divine *
Article with larger images (the site had the larger images separately in a tarball)...
http://theory.cs.iitm.ernet.in/~arvindn/mirror/lin uxfs/piszcz_large.html
Not a clickable link to avoid hammering my poor server.
While they do measure stuff like access times in ms, they don't mention recovery times (chkfs) that are mentioned in ms for reiserfs and mins for ext2. And they don't mention reinstallation times (measured in hours) which occurs for ext2 a lot more than the journalling filesystems :-)
Cyde Weys Musings - Scrutinizing the inscrutable
Personally I could care less which file system is fastest. The most important aspect to a file system is how stable it is with my important data. All the speed in the world means absolutely nothing if the file system is not stable. EXT 3 has never ever let me down so I intend to stick with it, at least until RedHat releases their version of GFS.
Got Code?
It would be nice to see an unbiased comparison with NTFS (though it would be difficult seeing as how you can't get it to run natively on *nix afaik)
I've been using ReiserFS _EXCLUSIVELY_ since about 2.4.11 and I've never had a single problem. It's important to format with the defaults and not specify 'special' arguments to mkreiserfs or you can run into trouble.
I've got three systems currently running reiser on Gentoo, from my PowerPC/SCSI/NFS/Samba file/print server to the ancient Compaq laptop with a 4GB drive. I've never had as much as a hiccup from ReiserFS.
Under what circumstances did you lose data?
"Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails
I've never understood why they don't move to ReiserFS, at least for new installations. With Fedora you have to use a kernel option to enable ReiserFS installation and with RHEL you can't install to a ReiserFS root, even the reiserfs kernel module is in their kernel-unsupported RPM which means don't call for help. I love RH but they need to get the ball rolling on this one!
What I'd like is a file system for which there is actually a defrag-tool. Sure, ext2/3 may try to reduce fragmentation as much as possible, but when it happens (as is likely when you have a near-full disk) you've got little or no way of fixing it. Or actually there is a defrag tool for ext2 (not ext3) but my experiences with it are not the best -- it took forever and I don't know that it actually did anything to the disk (fdisk didn't report a 0% fragmentation level afterwards anyway).
on a global scale FAT is becoming the top health problem.
Here's a mirror of the article:l
http://www.gutenpress.org/links/LG/102/piszcz.htm
RFC2119
I'd be curious to see how ext3 would fare in these tests (especially the "lotsa files"-tests) if you use mke2fs with the "-O dir_index" option.
There just might be a reason you can't find many unix filesystem defragmenters. Like they don't need it.
I'm guessing you started out on computers using DOS or pre-NT Windows.
... no pie charts?!? Line... Bar... 3D even... but no pie charts?!?
I've never understood why they don't move to ReiserFS, at least for new installations.
Because for most uses, it's not the best option. So, if you're going to junk ext2 compatibility, why would you go to Reiser?
"....mirror anything without permission..."
Who in their right mind would do that? Of course permission was implied, moron.
The link to this article was posted on Librenix earlier today so I got to read the whole thing before it got slashdotted. Is slashdot getting slow? Anyway I think I will switch to ReiserFS since that is what is recommended by Gentoo anyway.
My boy, my boy!
From FreeBSD, that is... Would be nice to see that compared to Linux' FS-es. As in this earlier benchmark (PDF).
In Soviet Washington the swamp drains you.
I've been going through similar benchmarking to try to figure out what filesystem to use for an NFS server. I don't have anything comprehensive yet, but it is frequently the case that a filesystem that appears the fastest locally is slower than others over NFS.
mkfs.jfs actually gives a warning that you might lose data on the partition?
What is the world coming to?
...making Linux just a little more fun!
/dev/zero. /dev/null.
Benchmarking Filesystems
By Justin Piszcz
INTRO
I recently purchased a Western Digital 250GB/8M/7200RPM drive and wondered which journaling file system I should use. I currently use ext2 on my other, smaller hard drives. Upon reboot or unclean shutdown, e2fsck takes a while on drives only 40 and 60 gigabytes. Therefore I knew using a journaling file system would be my best bet. The question is: which is the best? In order to determine this I used common operations that Linux users may perform on a regular basis instead of using benchmark tools such as Bonnie or Iozone. I wanted a "real life" benchmark analysis. A quick analogy: Just because the Ethernet-Over-Power-Lines may advertise 10mbps (1.25MB/s), in real world tests, peak speed is only 5mbps (625KB/s). This is why I chose to run my own tests versus using hard drive benchmarking tools.
SPECIFICATIONS
HARDWARE
COMPUTER: Dell Optiplex GX1
CPU: Pentium III 500MHZ
RAM: 768MB
SWAP: 1536MB
CONTROLLER: Promise ATA/100 TX - BIOS 14 - IN PCI SLOT #1
DRIVES USED: 1. Western Digital 250GB ATA/100 8MB CACHE 7200RPM
2. Maxtor 61.4GB ATA/66 2MB CACHE 5400RPM
DRIVE TESTED: The Western Digital 250GB.
SOFTWARE
LIBC VERSION: 2.3.2
KERNEL: linux-2.4.26
COMPILER USED: gcc-3.3.3
EXT2: e2fsprogs-1.35/sbin/mkfs.ext2
EXT3: e2fsprogs-1.35/sbin/mkfs.ext3
JFS: jfsutils-1.1.5/sbin/mkfs.jfs
REISERFS: reiserfsprogs-3.6.14/sbin/mkreiserfs
XFS: xfsprogs-2.5.6/sbin/mkfs.xfs
TESTS PERFORMED
001. Create 10,000 files with touch in a directory.
002. Run 'find' on that directory.
003. Remove the directory.
004. Create 10,000 directories with mkdir in a directory.
005. Run 'find' on that directory.
006. Remove the directory containing the 10,000 directories.
007. Copy kernel tarball from other disk to test disk.
008. Copy kernel tarball from test disk to other disk.
009. Untar kernel tarball on the same disk.
010. Tar kernel tarball on the same disk.
011. Remove kernel source tree.
012. Copy kernel tarball 10 times.
013. Create 1GB file from
014. Copy the 1GB file on the same disk.
015. Split a 10MB file into 1000 byte pieces.
016. Split a 10MB file into 1024 byte pieces.
017. Split a 10MB file into 2048 byte pieces.
018. Split a 10MB file into 4096 byte pieces.
019. Split a 10MB file into 8192 byte pieces.
020. Copy kernel source tree on the same disk.
021. Cat a 1GB file to
NOTE1: Between each test run, a 'sync' and 10 second sleep were performed.
NOTE2: Each file system was tested on a cleanly made file System.
NOTE3: All file systems were created using default options.
NOTE4: All tests were performed with the cron daemon killed and with 1 user logged in.
NOTE5: All tests were run 3 times and the average was taken, if any tests were questionable, they were re-run and checked with the previous average for consistency.
CREATING THE FILESYSTEMS
(snipped. too many junk characters0
BENCHMARK SET 1 OF 4
In the first test, ReiserFS takes the lead, possibly due to its balanced B-Trees. (If the images are hard to read on your screen, here's a tarball containing larger versions of them.)
All of the files systems faired fairly well when finding 10,000 files in a single directory, the only exception being XFS which took twice as long.
Both ext versions 2 and 3 seem to reap the benefits of removing large numbers of files faster than any other file system tested.
To make sure this graph was accurate; I re-benchmarked the ext2 file system again and got nearly the same results. I was surprised to find how much of a performance hit both ext2 and ext3 take during this test.
Finding 10,000 files seemed to be the same except for XFS; however directories are definitely handled dif
As he wanted a test of how people really use the file system, he should have included a simulation of when people forget to remove all the junk they've put on the disk.
What was the reason for the panic? I've been running my system HARD for years without any panics.
If your hardware or kernel has problems you can hardly blame a filesystem that's expressly designed for high-reliability hardware for data loss.
'journalling' is not any better than none when it comes to flaky hardware or a badly compiled kernel. All it means is that you don't have to wait an hour for fsck to run. The whole point of a journalling FS is that it 'knows' what files are suspect after a major outage and it quarantines them, it's not any better at preventing them from being corrupted.
All in all, I can say that Linux an other Unices are VERY sensitive to improper halts/panics/shutdowns. I've hosed several OS X machines by not exiting gracefully, and several Linux boxes too. Your number-one priority when setting up a system is to do what it takes to keep it from crashing, ever.
When I built my desktop I carefully selected components that were 100% Linux-compatible so I wouldn't have issues like the ones you described.
"Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails
I have been using XFS on a Laptop for 2+ years who's hardware was bleeding edge at the time of purchace.
Because of hardware/configuration issues, I have had to hard-reboot the laptop countless times during the months that hardware support in the kernel caught up. (It works pretty well now).
I have never borked my filesystem.
I'm using JFS on a really large volume (800GB, >15 mio files iirc, >300.000 dirs) for mission-critical data and it has recovered from the heaviest outages.
Performance is good (write performance is a bit weak, 1Gbit/s is not possible), and it does scale well (~30s after a unclean shutdown) with more and more data added.
A full fsck runs something between 30-60mins.
I use a seperate journaling volume on the native and fast raid1 disks of my server (my volumes are on an external RAID).
If you can sacrifice performance, ext3 with data=journal may be good for your "abusing".
Redhat 9 and Fedora Core 1 both ship with JFS support -- the graphical installer, however, does not offer it as an option.
So, what I usually do when installing a new copy of Fedora or Redhat is to drop to a console, and use fdisk + mkfs.jfs manually. Then, when I get to the right page in the installer, I can simply set it to not reformat the partition but to use it as the "/" mount point, and voila -- my computer has JFS.
There are options, or settings, that you can do for ext3, the default is slower, but it saves your data. Ext3 not only journals metadata, like XFS, etc... but it also journals data, which is the only filesystem that does that, if I understand this correctly.
/etc/fstab and reboot, no big deal.
"data=writeback" mode does no data journaling, only metadata journaling, and you would probably see better performance here. Although, you could lose data in the event of a power outage (no fun). Same thing applies to XFS, JFS - you could lose data because only metadata is being journaled, not real data.
"data=ordered" mode - inbetween, still no data journalling, but there are provisions that make it less likely to lose data in the case of a power problem. It has something to do with the way it journals the metadata and the way the filesystem interacts with the disk that makes is a little slower than data=writeback but also a little more secure than data=writeback if you get a power outage.
"data=journal" mode - this journals data and metadata, and with the exception of a few situations, is the slowest. The least likely to lose your data, but also much slower.
I am assuming, or at least it looks like, these tests were run with the default data=journal - so to be fair, they should have been run in data=writeback, or maybe even all three modes. Again, all you have to is specify in
It would probably be better to compare the ext3 in data=writeback mode.
Does anyone have any statistics for how HFS+ (testable with Darwin stacks up against these other filesystems?
mbbac
Am I the only one who still uses it?
Lynx.
It doesn't support GIF either though.
I use ReiserFS, because on average - it is a faster filesystem than EXT3 for most desktop purposes. I personally feel that EXT3, however, is a more reliable FS when it comes to recovering bad data on the hard disks. I recently had some failures due to a failing motherboard, which corrupted some data on my drive, but the reiserfsk tools have cryptic descriptions for failures and don't always seem to do the job right when it comes to recovering bad data. I've had reiserfsck work properly, but the few times that I have had hard drive failures, I've had little success in recovering bad data on a ReiserFS partition.
I must admit though, that any problems I've had on a ReiserFS system weren't necessarily the fault of the filesystem (instead were related to failing hardware). I've run several machines, with multiple drives, which all use ReiserFS. It's been quite reliable in that sense.
I guess that the only way you're going to get true reliability is to make redundant backups.
Why is it that every benchmarking article contains the words "The results may surprise you?"
Have any of you ever been surprised?
I don't much care about ReiserFS, but why don't they at least offer XFS as an *option*?
Well, the simplest answer is that Stephen Tweedie is their filesystem guru, so why not use his baby in their OS. However, that's not the real answer. SCT is a clever guy, and mature enough to not let pride get in the way of the best possible system. (a similar question: Why does sun still use UFS?) For Redhat, EXT3 is probably the best general purpose filesystem, particularly for the root drive. Redhat is interested in selling on servers, where the root filesystem is not the bottleneck. You install the OS onto EXT3, which has decent performance and is very mature. Then you install your database / exported directories / mail spool / whatever onto the filesystem that is best for that job.
Ext3 is a very close cousin to Ext2, which has been around for a very long time, and changes very slowly. Reiser has grown and changed a LOT in the last three years, including some metadata changes that effect on-disk structures. Though it has stabalized lately, Redhat is correct to be cautious. XFS and JFS, though very mature filesystems on other OSes, have only recently become tightly integrated with the Linux kernel. Though technically controlled by the linux kernel community, all three of these other filesystems are really controlled by little cabals of people within IBM/SGI/ and then Hans Reiser. While these groups try to be transparent in their development process, Ext3 is very transparent in its development and direction.
One other tremendous advantage that Ext3 inherits from Ext2 is a fast, versatile, and effective fsck program. Journals are great in the event of power failures. However, they do not protect against Windows, or a faulty fibre channel driver, or uninformed sysadmin who accidently writes over the first 1 MB of the disk. Fsck.Ext2 is one of the best around.
You know - if it works, don't fix it!
Ext3 is stable and there's a lot of useful available tools for it.
If, for the end user, the difference is marginal, why bother to make things more difficult than necessary for yourself?
Or maybe they've received unusually many bug reports for ReiserFS and thus concluded it's not stable enough for them to push it. After all, they want to be associated with (amongst other things) reliability.
Stop the brainwash
Sorry, but there are a few reasons these results are questionable. As one poster has already pointed out, ext3 by default journals both meta data (i.e. directory structure) AND data. The other three by default only journal meta data.
But more importantly than that is the fact that in linux, that IDE drive is responding immediately to fsync requests before it's actually done them. I.e. when the journaling file systems says "hey, did you get that stuff written out to the disks?" The drive says "yes sir!" Then writes it out whenever it gets a chance after that.
This means that you may well have a corrupted directory structure should the machine lose power in the middle of writing data, because the hard drive LIED to the OS, and the journaling file system flushed out it's journal when it wasn't actually written to the disk.
To get trustworthy results, you need to either 1: turn off the write cache on the IDE drive or 2: Use SCSI, which doesn't lie about such things.
As long as you're writing to an IDE drive with an enabled 8 meg cache, the results are worthless, because you don't actually have the reliability you think you have, and the numbers might change drastically when you start using drives (like SCSI) that actually fsync properly.
--- It is not the things we do which we regret the most, but the things which we don't do.
"Both ext versions 2 and 3 seem to reap the benefits of removing large numbers of files faster than any other file system tested." If that's not a joke, it should be.
What the heck is a 'sig'?
I think Reiser4 beats NTFS in pretty much any aspect, and, communti willing, will also beat WinFS, at least in performance.
Please correct me if I got my facts wrong.
it's not slashdotted yet :)
it's not slashdotted... yet. >:)
Live today, because you never know what tomorrow brings
I did a bunch of tests like this, but in 2.6 instead of 2.4. My conclusions:
* Ext2 is still overall the fastest but I think the margin is small enough that a journal is well worth it
* Ext3, ReiserFS, and XFS all perform similarly and almost up to ext2 except:
o XFS takes an abnormally long time to do a large rm even though it is very fast at a kernel `make clean`
o ReiserFS is significantly slower at the second make (from ccache)
* JFS is fairly slow overall
* Reiser4 is exceptionally fast at synthetic benchmarks like copying the system and untaring, but is very slow at the real-world debootstrap and kernel compiles.
* Though I didn't benchmark it, ReiserFS sometimes takes a second or two to mount and Reiser4 sometimes takes a second or two to unmount while all other filesystem's are instantaneous.
Whole thing available here
Seriously, all the time we see benchmarks like this that are just done on the same machine with the same setup. Who knows if there is some unseen problem or bottleneck (in this particular case the CPU is weak).
We need a large sample base. Different types of chipsets, CPU's, hard-drives, etc. Then we can better see the big picture or at least see how the filesystems might perform on a system similar to your own.
So I'm calling for a "filesystem benchmark" page were people can post their results from a standard set of benchmarks. Something where they can include their system specs/setup and everything.
Then maybe we'll get useful information.
The ratio of people to cake is too big
I would hope to think most people storing vast amounts of data aren't just using their hard drives as a scratch disk and actually want to STORE them for some amount of time. For that reason you'd think stability would be something important to look into instead of just raw unrelenting speed.
Is there such as thing as an ACID complete filesystem in the works? That's the name of the game for RDBMS reliability and the reason why MySQL blows and loses data all the time (it doesn't even TRY for ACID completeness, just speed).
Is version 4 of ReiserFS done yet and in the new kernel? I am interested in seeing benchmarks of that puppy. Reiser seems to be interested in revolutionary improvements for the filesystem.
A bunch of months ago I formatted several of my partitions with ReiserFS and I was happy with it, it was fast and more space efficient than ext3... until I was trying to get UT2003 working with my ATI Radeon... the system locked up hard and after the hard reset some files (my lilo.conf, which shouldn't have been written to at that time) were hosed. I'm back with ext3 as data integrity is important to me.
Judging from posts here, it appears that ReiserFS is still experimental and shouldn't be used by those that care about their data, hey?
... text on his graphs/charts very well. The text is a bit small, so I just skipped down to his conclusion. I'm glad to see that ReiserFS is one of the "performing" file systems because that was my choice.
Free Firefox news reader.
There is also some commentary and recommendations based on their results.
One more note about the tool... it's not well documented but works well when configured... note that you need a kernel that supports the filesystems to be tested (duh!), Use python 2.2, the database schema is somewhere in the comments.
the results may very well surprise me, if only i could read them, maybe indexed PNG would've been a better choice, but even then i'd probably still need the FireFox image zoom extension to make out the bloody legend.
Software Freedom Day!.
Maybe it's because they'd have to increase the support contract costs to cover a higher incidence of serious filesystem related problems?
ReiserFS is nice, but it's not even close to corporate production stability.
Datacorruption issues are what keeps people working extended rotating shifts for days until they get stressrelated breakdowns in corporate environments.
Performance issues are what keeps people working normal days mulling interesting issues and eventually deciding to throw hardware at the problem.
Performance just isnt as important in most cases.
Which one you should choose depends on your needs and etc.
"Would it kill you to put down the toilet seat?" -- Maya Angelou
I'm thinking a sample size of 1 isn't enough to reliabily comment on the overall usability of these file systems... just my 2 cents...
He benchmarked 2.4, which these days is a bit...pointless. Ext3 has a lot of improvements only in 2.6, just like the other FSs. 2.4 filesystems are in "mainteinance mode" where in 2.6 there's been a large amount of development. If he'd run 2.6 he could benchmark reiser4 too.
So, what I usually do when installing a new copy of Fedora or Redhat is to drop to a console, and use fdisk + mkfs.jfs manually
You're making things unnecessarily complicated. At the "boot:" prompt, just type "linux jfs". The graphical installer will then offer it as an option. Works with reiserfs, too.
You can see benchmarks of it at www.namesys.com/benchmarks.html
And the Ext2 debugfs is one heck of a powerful file system debugger. It is the Swiss Army Knife of file system tools. Most folks will never need to use it. But if one ever does need it, he can thank his lucky stars that it is available.
Although not a linux filesystem, OSX being based off BSD uses it, and is *nix based in a way. You can mount it from Linux (read only I think).
I no longer will even attempt to use EXT3 for a filesystem ~500GB or larger. Had problems repeatedly with a couple of 1.6TB filesystems and switched to Reiser3 and haven't looked back...
/ /boot /data /dev/shm /usr /var /raid1 /raid2
# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda6 4032092 548856 3278412 15%
/dev/sda1 505605 19171 460330 4%
/dev/sda7 41729164 31165820 8443572 79%
none 2000568 0 2000568 0%
/dev/sda3 10080520 6437952 3130500 68%
/dev/sda2 80636072 45306536 31233364 60%
/dev/sdb1 1600772128 1462009904 138762224 92%
/dev/sdc1 1600772128 760247416 840524712 48%
PS. No, it's not pr0n
Arg, I hate hate reiserfs. It has even with the latest incarnations of distros been crash-prone relative to other filesystems, and more painful to recover than other filesystems in the event of a crash (>90% of the time when the fs needs help, it needs to rebuild tree, and read-only mount *still* screws that up, so you have to boot rescue)....
XFS also I've hit numerous issues (seems not to track free space correctly in near-full conditions, and will panic when it tries to write as it suddenly realizes the fs is really full!). My test was in near-full 360 GB filesystem, make a 500 MB file, delete it, remake it, delete it. Now you should be at the same spot, but you magically have nealy 500MB extra free space according to du.. Really flaky...
I have good experience out of JFS and ext3 with respect to reliability, though ext3 has been a bit more sluggish.
I care about performance, but reliability takes priority.
XML is like violence. If it doesn't solve the problem, use more.
oh no, all those people running IE 3 can't see png, better not use it.
Snowden and Manning are heroes.
The results were what we knew already :
/usr and other such places, or a partition used for a lot of development work or website development.
-> reiser is really fast with small files but sucks when deleting/moving.
-> XFS is great at deleting, but slower than Reiser and it's not good at searching, but great with large files.
-> JFS seems to be great with large files too, but not much else.
So, in other words, ReiserFS would be great things like
XFS and JFS seem to tie when it comes to handling stuff like ISO images, large database backups...so you might want to use one of them for that, depending on your needs.
What I would have really liked to see is a benchmark with these against upcoming file systems like Reiser4 purely from a performance point of view. Now THAT would have been interesting.
As of now, the only interesting thing is that the results have not changed since early benchmarks on these file systems done more than a year ago. I wonder why.
Find a job you like and you will never work a day in your life.
....for all file system creation, default options were used.
Find a job you like and you will never work a day in your life.
I use JFS on servers that have netatalk (with bdb enabled) and samba because I can make a partition case insensitive. I think it was a feature developed for OS2 originally, but it works well. I use a -cO when formatting with makefs.jfs .. the O is for OS/2 (but makes the partition case insesitive). I had corruption problems with earlier versions, but ones that have shipped with 2.6 kernels and current 2.4 kernels are no problems. I have not tried it to see if it works on / partitions with linux system files. (Case insesitivity could cause problems with like named stuff)
Performance is good and reliability seems good as well. It was deff. faster than when I had it set up as ext3. My linux servers have had less problems then my OSX jaguar server with file corruption using HFS+ - the linux solution was a cheapo old Mac because we could not affored a Mac server at the time.
-Ron
It put every file on my PC into lost+found.
Less look fast, more go fast.
Gah! The charts are shrunk so that the labels are hard to read, and the order of the results and color assigned to each FS seems to have been picked randomly for each chart, so once you squint and decipher one of them...you have to start over on the next.
While I appreciate the information greatly I found it extremely difficult reading the graphs as the text was entirely too small and the bars, were proportionally too big. Am I the only one who has trouble reading this stuff?
TT
Here are some of the programs from
. info/
h ttp://rlplot.sourceforge.net/
the list I made:
http://pyx.sourceforge.net/
http://www.gnuplot
http://plasma-gate.weizmann.ac.il/Grace/
I've used gnuplot before, it's ok. I've
never used Pyx, but the output on their
website looks nice. (I've always had a bit
of a soft spot for the looks of Latex
output, so ymmv.)
You could also look at Guppi. OOo and KOffice
have to have some graph making ability in it,
too. Those may be better for the casual graph
maker.
Hm, just looked at Guppi's home page they
have a link on the left to other graphing
programs available, some of which I've missed
entirely. Anyway, there are a ton of them
out there, it would be tough to even make
a complete list.
J
A superior string of tests would be to simulate, to as close a degree as possible, a real, live high-use environment such as a scaled-up Perforce server, a supremely busy mail server, a giant busy database, or a massive web server.
A single process running through 10,000 files isn't particularly realistic: since when does a scaled-up server sit there and hammer the filesystem with just a single process? What about contention? Caching?
And what about recovery from errors? I didn't once see what happens if something blorts over random parts of the filesystems.. how does Reiser handle this? Ext3? XFS? Are there recovery tools in case of catastrophe?
What about these file systems stuffed into RAID volumes of various stripe sizes and configurations?
Straight deletes, creates, or modifications are useless because the only time you're going to be doing something like that is when you rm -rf * or building a new environment for.. something. Daily use, however, which eats up far more time (and thus would save the most user time if improved) is something which should been better accounted-for.
Just out of curiosity, why wouldn't one go for ext2 on root filing systems? Typically a root FS isnt that large anyway, I think I can live with a fsck for a few minutes.
All the extra overhead that journalled filing systems bring don't seem to be worth a little speedier error recovery..
I'm rapidly approaching the point where I need support for file sizes greater than 2GB. Quite frankly, most of what I've found about file sizes and file systems is 2 to 4 years old... Everyone's too concerned with speed!
I'd like to see a set of benchmarks regarding stability and fidelity of the various filesystems. Which ones are the most durable? Which ones get corruption the most, and what are their corruption/data-loss ratios? Performance isn't the end of the world for me....but losing data *is*.
Don't become a regular here, you will become retarded. -- Yoda the Retard
Did anyone else notice that the orientation of each graph was different than the preceding one? Was this done to deliberately make it harder to compare results?
I can't see what possible motivation there was in this decision. I'm also having a hard time imagining how much more WORK it was to arrange the graphs so.
I think that he could use a refresher with Edward Tufte's The Visual Display of Quantitative Information-- quite possibly the best book on graph theory every written.
The cure for cancer is coming: Reovirus
I stopped reading when it said he was usin a 2.4 kernel.
2.6 performance is that much better.
Get a clue, guy.
-- Note: If you don't agree with me, don't bother replying. I won't read it.
Might be useful to also mention which of these have support for large files. At one point I settled on XFS for my systems (which has worked without flaw for me so far), since it has large file support.
It seems to me that Linux filesystems are rather behind the times when it comes to this area.
The graphs wouldn't have looked so bad if they'd have kept the orientation and order in the graphs the same from one graph to the next.
In some xfs is on the top, others it's on the bottom. Thankfully in the l2r graphs XFS is always on the right and ext2 on the left. Also, they seem to abitrarily switch between 2d and 3d graphs. Plus the switch between bar and line graphs.
I'd start my focus not with the tools but with the ways in which the tools are used.
--JLockard - "Some mornings, it's just not worth chewing through the leather straps." - Emo Phillips
Journal size! By specifying a larger journal size at creation time (or late with tune2fs) you can gain significant speed. The default is 32megs. If you're pushing a lot of data into and off of disk rapidly (busy mailserver), increasing this to 128mb will help (along with things like mounting with "noatime" ).
Being able to tune your tools for a specific purpose is what makes all of these filesystems great. But you've got to learn to use them properly!
this test didn't cover random access, and incomplete information regarding blocksize and no benchmark program involved. besides, the results are very hard to been seen. this is just another newbiz test posted into Slashdot somehow, like the one couple months back comparing U320 and SATA.
Wow...I'm really surprised that I don't see anyone else around here bashing this "benchmarking" as totally ridiculous. Get it together, people! I mean, how does a group of folks that typically pride themselves on shredding the foolish articles that come by miss these beauties:
1) This guy goes out with the stated goal of evaluating real-world performance...so he starts by throwing out all real benchmarks. Of course, those tools are designed by experts to try to represent real-world performance, but who cares, right? Instead, our jackass throws together a bundle of random operations and times them. No thought is apparent in the choices of the operations, and no discussion is given as to why the choices were made.
2) The conclusions are drawn by simply adding the times of all the tests together. If you haven't figured out why this is dumb as a rock, let me explain: test #1 took 23-40 seconds, while test #2 took .02-.04 seconds. So, in his conclusion, test #1 was weighted 1000 times as heavily as test #2. I don't know about you all, but I for one don't feel that touching speed is 1000 times as important as finding speed.
3) Even if he had normalized all the times so that the mean in each test was the same and then added those, he would still be wrong...various tests ought to be weighed differently, because real-world usage doesn't do all of these things the same amount. That said, the weight given to the tests needs to be well thought out and planned, rather than arbitrarily assigned (accidentally) without paying any attention. Interestingly enough, this sort of purposeful weighing of tests is exactly the sort of thing done by the real benchmarking tools that this idiot threw away.
4) Perhaps this one isn't as important...but this guy can't make a graph to save his life. Half the bar graphs put time on X and the other half put time on Y. Graphs that obviously should be bar graphs are made into dot-line ones. The text is blurry and you can't tell the colors in the key.
Anyway, I still don't get why everybody around here seems to have missed all this...it was painfully obvious to me when I just took a cursory glance at it.
Given a choice between free speech and free beer, most people will take the beer.
Worst. Bargraphs. Evurrrrr!
-- Having a Creationist Museum is like having an Atheist place of worship
Ok, a bunch of us are talking about past experiences with catastrophic hardware failures, and losing data on Reiserfs filesystems. But we need to remember - it is not smart to draw conclusions from anecdotes!
/tftpboot directory (sob). During this copy, the hard drive crunched and snapped and ground like a dying beast, while my trusty old reiserfs kept slowly pulling off the files.
Do you really think you would NOT have lost the same data if you had been running ext3 when that hardware failure happened? It sounds to me like it was just a *coincidence* that you were running reiser.
My main server experienced a nasty-blue-smoke power supply failure this past January. I had all my precious 200G of data on a pair of linux-software-mirrored hard drives on Reiserfs. After replacing the power supply, I noticed that my mirrors were not successfully re-mirroring. One hard drive was completely dead. Soon it became apparent that the other one was half-dead as well. So I dug around for my trusty Knoppix CD and booted it up (Klaus - you da man!), an was able to copy the entire 200G of data off the remaining hard drive, with the sole exception of my
So, of course, now I've sworn to run nothing but reiserfs on my server till the end of time! I still run ext3 on my laptop because of the simplicity, but nothing but reiser will ever run on my server.
Still, I can NOT claim that reiser is any better than the other filesystems, because I've never experienced the same problem with an ext3 server or XFS or JFS, etc. I'm just sticking with what I know.
Not much more than 200 years ago, the scientific community fully believed and taught that rats spontaneously generated from garbage. Why? Because they observed that if you leave a pile of garbage in your basement overnight, you have rats in the morning. This was a severe lack of critical thought, and a widely accepted conclusion drawn from anecdotes. Please tell me our thinking has progressed at least somewhat since then!
Here's some real world information on the state of large file support in 2004. Filesystem driver support is the least of your worries -- almost any linux filesystem you can think of (except for maybe umsdos) supports over 2GB files at the kernel level. The Linux LFS page, dated April 2004, contains reasonably updated information on large file support in linux.
The bigger problem is that many userspace applications cannot yet read or write to the large files. This failure arises from non-use of the LFS API combined with just plain unfortunate use of a signed 32-bit int in the wrong place. So for instance mkisofs will reject all input files larger than 2GB in size, and cdrdao will simply abort at 2GB if you try to rip a DVD larger than 2GB in size. In some extreme cases there are programs that can't even handle large files off of the disk; one example is
wget http://mirror.linux.duke.edu/pub/fedora/linux/core /test/1.92/i386/iso/FC2-test3-i386-DVD.iso
which fails spectacularly on any x86 linux system (hint: the DVD is not really 84MB in size). In general, the "core" system utilities such as dd, cp, mv, cat are fully compatible with large files whereas third party applications are much more hit-or-miss.
Even today, by far the most practical solution to large file woes is to migrate to a 64-bit system, the most affordable of which is AMD64 by a long shot. I've been using an Athlon 64 system for the past few weeks and it has handled large files perfectly in all respects so far.
Sun uses UFS because it is still the best filesystem for a root filesystem.
A more interesting question is: Why do Linux zealots incessantly rag on UFS?
so what happens in this situation? will all v3 partitions need to have their data moved to another partition so that it can be reformatted or is there some sort of utility that namesys provides to ease migration?
Yes, I have RTFA. Yes, I have a girlfriend. Yes, I'm new here. And no, I don't want a free iPod.
So dual boot a kernel that isn't crippled by a lack of open-source file systems being ported to it. Don't blame a file system for FreeBSD's lack of support, blame the BSD developers.
I do not fail; I succeed at finding out what does not work.
...time to fsck, and recovery after a crash for the journaled file systems ? These are of greater importance to me than 10000 deletes. How long will it take to verify my file system of 300GB after the sysadmin killed power to the wrong server ? Did I lose any data ? you know the drill.
Plus the results are normalized against ext2 for quick comparison. You don't have to interpret fuzzy jpeg graphs. You can grok the results at a glance.
Skip the LinuxGazette article and read the parent link instead.
With all due respect, as your website states:
and (on the download page):I would say benchmarks need to be performed with released products. It doesn't help most users if Vendor X claims his vaporware beats all competitors. Now, I know this isn't the case with ReiserFS here -- it isn't vaporware -- but it isn't production-ready either according to Namesys. You're just unfortunate in that this benchmark was performed just before the release of your next version which would have performed better.
On the other hand, any benchmarks published on the Web ought to be updated whenever a new version of a tested product is released -- add the results of the new version and keep the old one as well, for comparison purposes.
CONCLUSION
For those of you still reading, congrats!
Am I the only one who just read the conclusion for these tests?
If you mod this up, your slashdot background will turn into a beautiful sunset!
Just some datapoints to counter yours:
We (ISP) had about 5 major data loss disasters with ext3, 3 with XFS and only 1 with reiserfs.
And we use far more reiserfs than ext3 or xfs. So from a reliability standpoint for us, reiserfs is by far more reliable than ext3 or xfs.
And here I was thinking that almost all of the current distributions (meaning not ones announced/released yesterday), like Red Hat 9/ RHEL , Fedora, Suse 9, Gentoo 2004.1, Debian... -- were shipping with default 2.4 kernel?
Although less hyped, JFS is doing pretty well so I see. I've been checking out other benchmarks as well. Some people mentioned it's even faster than XFS in some cases. I myself am using Reiser but I'm looking forward to checking out JFS in the future. It's been in the kernel long enough to have stabilized. XFS in kind of young in 2.4. Yes it has exsited before as a patch but I won't use anything on production systems until Linus accepts it in the mainstream kernel.
let's see you make a better one then.
I didn't realize it wasn't case sensitive. It can be turned on in newer versions, so I take it it is off by default? How exactly does one enable that? I don't know enough about macs, only reason it was mentioned bc a friend on OSX burned me a dvd of all my files, only he screwed it up and (by default) the cd came out as HFS +. Apparently, I didnt have the kernel mod enabled by default and it caught me offguard ona busy day. Also didnt realize it was a journalized FS. Im considering going with a mac laptop, so all this info is useful.
So I wonder how the speed would compare to EXT2/3, or any other aspects as far as file systems are concerned. Or NTFS (which I also have unsecessfully tried to write to with shaky results).
Is V4 in Kernel 2.6.x yet? I want to check V4 out for myself.
Trying to socially engineer a Linux virus?
if you really matter about filesytem performance you'll use some options like disabling access time updating.
ext2 should be mounted with noatime, reiserfs with noatime,notail,nodiratime etc..
not using the usual performance-oriented mount options (only the ones that don't compromise FS security) :(
makes this benchmark a lot less meaningful
Is there any alternative to NFS?
Is there any filesystem one can use to "mount" a directory (with gigs of ready to run applications) directly from Internet server (i.e. from his Internet Service Provider)?
How is open source prevented from overwritting kernel memory? All you need is mapped memory and port access in a user-level shared library, plus a daemon to switch back to text mode if the library's process dies without a clean shutdown.
ext3 keeps hitting the disk. you could just remount that ext3 as ext2, havent tried randomly going back. doing a "real" convertion is probably safer...
I was thinking that myself. Running both Linux and FreeBSD it seems important to run UFS.
Its more stable and solid then ext2 anyday.
http://saveie6.com/
Many of the ext2 filesystem errors are "easily fixable" by losing the affected file. I remember losing several system files due to unclean shutdown, and once even had a system that was rendered unbootable because /sbin/init was lost. I was very annoyed, having used FreeBSD before on really crappy hardware and never lost files unless they were open for write at or very near the time of the crash.
Nowadays I _always_ use journaling filesystems. In my experience, ext2 is an unreliable piece of crap unless your hardware, software, power source, and operator are all 100% reliable.
I've been using ReiserFS on my home box for several years now with no problems at all, though I've heard of serious problems with it so I've been reluctant to use it for servers. I've used ext3 on servers and my laptop and seen unclean shutdowns (mostly on servers not yet in production) with no problems either. I'll probably try XFS in the near future.
The Internet Archive Petabox seems to use ReiserFS. Interesting, to say the least. Even more interesting would be if one of the developers that helped make the call shares some insight.
Must-not-watch TV!
Because ReiserFS is a pile of dung, designed to make sure you lose data, make your computer unreliable, and make people scratch their heads and swear of linux in general. Here's my scorebook with reiserfs so far:
/home partition went to hell twice, at power failure. /home partition smothered at power failure, had to rm -rf .kde for the system to get up'n running again.
- Laptop
- Two various machines at previous work got open files in
- Mums computer. Had to travel 500km to fix a reiserfs fuckup due to repeated power failures.
- Dad's laptop got a partition trashed by reiserfs when he forgot to put in his power cord and the battery time were used up.
I've tried using ReiserFS on and off quite a bit during the last 3 years. I don't think I'll ever do so again, unless rumors says it's stable in 5 consecutive years or something like that. I've had no other filesystems cause me as much grief as ReiserFS. It's a pile of dung. I'm not grateful that the developers developed it. If I knew how shitty it was I would never have put data on it. I don't have time to travel 500km just to reinstall a linux distribution every two months, due to ReiserFS fucking things up badly.
The reason some distributions doesn't move to ReiserFS is quite simply that they've realized that ReiserFS is one unstable piece of horse dung.
"Rune Kristian Viken" - http://www.nwo.no - arca
Test 002 is meaningless: the times are too short to have any statistical significance whatsoever.
Some of the comments are foolish; for example, Test 009: "Surprisingly, ReiserFS wins". Why is that surprising? Perhaps it follows from the design of ReiserFS. It's as if the benchmarker does not realise that different algorithms and design goals are involved in each filesystem.
Finally, I agree completely about the graphs, they're illegible. It's indeed amazing nobody has pointed this out. The guy desperately needs to buy and read a set of Tufte's works.
For this to be a useful benchmark, at least twice as much intelligence and effort would need to be applied...
you had me at #!
OffTopic
Whom should I sue for hurting my eyes with those microscopic legends by the charts?
yes I am lazy enough not to download the tarball, extract it and switch between the article and each of the images
To me, the ability to both shrink and expand the filesystems is also essential. In brief, ext3 can be expanded and shrunk offline. XFS and JFS can only be expanded. ReiserFS supports both shrinking and expanding. IIRC, ReiserFS can be expanded, but not shrunk, online. XFS can probably only be expanded offline. I think JFS can only be expanded online (which I think is a bit weird, but OK
On my computer (with enough CPU power for it to probably not be a bottleneck - Athlon XP 2600+), these are some timings for operations like extracting a huge
(this looks terrible because I couldn't get even the ecode tag to work nicely, so it's a hack)From this it seems to me that overall reiser4 would be the clear winner when CPU is not the bottleneck. Unfortunately reiser4 didn't seem very stable although it was claimed "it's usable but still not recommended for production environments". Even during my tests I got repeatedly data loss, and after typically a couple of days of heavy reiser4 use top started to indicate that almost 100% of the CPU time was being spent in a syscall (and some processes became unkillable), a probable sign of a reiser4 operation in a syscall ending in an infinite loop (it didn't use disk in that loop though). I could not reproduce this kind of problems with any of the other filesystems.
I think reiser4 is definitely a promising filesystem with interesting concepts for systems with lots of CPU power, however as this is not the first time I've had problems with reiserfs (even production versions), it's going to be a while after it becomes stable after I'll be ready to even test it again and consider adopting it.
Perhaps you should check out this article (Journaled filesystems on Xeon) from Open, an e-zine covering open source and Linux. It takes a more scientific approach to benchmarking filesystems.
They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.
It's a bit miss guided to assume that fast disks / file systems make that much difference to the speed of a "typical machine".
The most important bottle neck, for most machines is the I/O system itself. This is typically 100 times (or more) slower than main memory. All the file systems quoted are several orders of magnitude slower than direct memory access.
If you stop a machine writing to disk, or make it write as little as possible it will obviously go much faster. But then we have the problem of what happens if the machine crashes. How much data have you lost ?
File system (disk) writes are typically 5 seconds / 30 seconds behind in terms of actual data written. For a busy web server this is a lifetime.