New Ext3 vs ReiserFS benchmarks
An anonymous reader writes "Saw this new benchmark on the linux-kernel mailing list. Although NAMESYS, the developers of ReiserFS has many benchmarks on their site, they only have one Ext3 benchmark. The new benchmark tests Ext3 in ordered and writeback mode versus ReiserFS with and without the notail mount option. Better than expected results for Ext3. Big difference between ordered and writeback modes."
Granted, you can get some stuff from benchmarks, but I don't really believe them anymore. I mean, you can make a benchmark look good for you by simply using programs that run well w/ it. Don't take this as Linux bashing, because it isn't. I'm just saying that I don't trust benchmarks that much anymore.
My other sig is an import.
I think I know what writeback is (like with cache?), but can anyone explain ordered mode?
jred
I'm not a mechanic but I play one in my garage...
I know that I'm stupid for saying this, but after the past few years, a benchmark isn't sexy unless it has scenes of flying dragons or a copied scene from the Matrix on the screen. I must have sold my soul to the devil for saying that.
I am just sticking to reiserfs, and ext2. why?
I really do not know!
If you want journeled ext3 data vs, reiserfs with tails and without tails check out:
http://labs.zianet.com
There are some decent benchmarks there that compare the two as well as extensive NFS tests.
A hash collision in a ReiserFS directory (where two filenames hash out to the same value) causes the older file to BE OVERWRITTEN without so much as a warning. This is a huge design error, and I can't believe they're pushing Reiser as a production-use filesystem. The only way to ensure you never lose data to hash collisions is to use the 'slowest' hash setting; the faster the hash function, the more likely it is to create collisions and leak data. I had a large project lost to a
"The problem with the French is that they don't have a word for 'entrepeneur'." -George W. Bush
Well you should like
http://labs.zianet.com
then, iozone benchmarks at least
Slashdot cut off my comment! Anyway, you get the idea; don't use ReiserFS unless you don't mind occasionally having files disappear.
"The problem with the French is that they don't have a word for 'entrepeneur'." -George W. Bush
Why do you troll so much? Are you really that bored? I won't even bother sending you benchmarks.
Well fsckface, it just so happens that images consume bandwidth. Jeesh.
So, did you not read the article? Or did you just fail to notice the nice bar graphs in the result section?
One thing in these benchmarks surprised me just a bit:
;0)
that reiser would do so well on the heavy-throughput/large file test.
I've been laboring under the perception that reiser was good for randomly accessing small files, but paid a performance penalty when going after large ones.
Guess I'm still waiting to prove that no one can be wrong about everything!
Cheers.
My decision isn't based on performance. They both are "fast enough" for me. I used to use ReiserFS a while back and it was great. Then I installed Redhat 7.3 on a machine and used ext3 so I didn't have to mess with anything. Yes tinkering is fun... but when I feel like it. Sometimes its nice to have stuff Just Work. Haven't had any problems since and have had a few random power outages.
Also I like the idea that I can read the drive with an ext2 driver from an older kernel or from FreeBSD just in case. In case of what? I don't know, but somehow it makes me feel better.
You forgot the part about how there are several *BSD distros, not to mention the fact that OS X's MICRO kernel is slower than the Linux Kernel.
No kidding, use pisspaste.
Aw, fuck it. Let's go bowling. - The Big Lebowski
Offtopic, but seems to me that the picture that gurulabs is using as background for their web page is ripped from the cover artwork of the album "Rally of Love" by the Finnish band 22-Pistepirkko. Wonder if they have permission for that?
Of course, could be that the album cover is a copy of something that is in the public domain...
Personally I'd rather have this one:
3:14pm up 321 days, 22:23, 124 users, load average: 0.84, 0.37, 0.56
*ANY* journally filesystem can recover from an unexpected power loss. With an ext3 system, if you're seeing a check taking place (and you want to prevent such), disable them - in general, they are a holdover from ext2:
tune2fs -c 0 -C 0
However, you should also read this, from the tune2fs man page:
You should strongly consider the consequences of disabling mount-count-dependent checking entirely. Bad disk drives, cables, memory, and kernel bugs could all corrupt a filesystem without marking the filesystem dirty or in error. If you are using journaling on your filesystem, your filesystem will never be marked dirty, so it will not normally be checked. A filesystem error detected by the kernel will still force an fsck on the next reboot, but it may already be too late to prevent data loss at that point.
I cannot speak to the inode issue - I've never run into it myself.
We who were living are now dying
With a little patience
so what's the point of running ext3 in writeback if (as the faq says) it's exactly equivalent to ext2 "with a very fast fsck"? So is the _only_ gain the fsck time?
ummm I think you are thinking of ext2. ext3 recovers just fine.
Just the other night I was trying to program during a thunderstorm. My pc was reset by powerspikes at least ten times (no I do not learn), and ever time my pc came right back up without having to scan the entire partition.
My linux box (not quite as many files) recovers its ext3 journal seemingly instantly after any crash (oh wait, it doesn't crash) or forced reboot (I'll admit that sometimes it's just easier to reboot the machine than try to restart X when the screensaver won't power my monitor back up)
Do you really need reason for beer? Wingman Brewers
Can you document the claim that hash collisions cause silent data corruption? Or even that they cause a failure of any sort?
If this is true, surely it must be documented somewhere, or have been discussed in a credible forum? I did a little searching, and didn't find anything. Please post a URL to elevate your comment from unsubstantiated rumor to informative information.
In most hash-based indexing algorithms I know of, hash collisions incur a perfomance penalty, but not a data loss.
Actually, NTFS is slower than FAT. We all know even ext2 outperforms the ancient FAT, but NTFS is slower than FAT!
a ge/ntfs-p reinstall.asp
o peratin g-sys/win2kpro/files.shtml
From:
http://www.microsoft.com/hwdev/tech/stor
"Disk subsystem performance is a critically important factor in overall system performance, and NTFS is generally believed to be slower than FAT."
And from:
http://www.activewin.com/reviews/software/
I quote: "NTFS is reliable, but it is slower than FAT 32 format."
Mod the parent down. Hash collide only cause performance hit. Author full of shit
Rather difficult to tell considering that you cannot run Qmail or Postfix under Windows. If you have any benchmarks of, say, Microsoft Exchange (ha!) outperforming Postfix, we would love to see them.
No mindcraft, please.
Computer Science is no more about computers than astronomy is about telescopes. --E. W. Dijkstra
Just the other night I was trying to program during a thunderstorm. My pc was reset by powerspikes at least ten times (no I do not learn), and ever time my pc came right back up without having to scan the entire partition.
Next time, I suggest standing outside with a golf club outstretched to the sky.
Aw, fuck it. Let's go bowling. - The Big Lebowski
to informative information.
Informative information? I really ought to use "Preview" before "Submit".
I would have wanted to also see a non-journalling filesystem compared against these. Since I'm not currently using a journalled filesystem, it would be nice to see the difference between what I use now (ext2) and the journalled fs's.
all you naysayers who continually bash Redhat for the sake of bashing..
"Why are they using ext3??"
Because it's stable. Because it's backwards compatible. And now, we know it can be fast.
Tell that to my missing /usr/local tree.
"The problem with the French is that they don't have a word for 'entrepeneur'." -George W. Bush
Ok, these benchmarks only make real world sense if EXT3 were DONE. It's not.
Don't give me the "oh I've been using it and haven't had any problems" crap. Go into the kernel configuration and see for yourself: ReiserFS is stable, EXT3 is still marked EXPERIMENTAL. There is no way in hell I'd put EXT3 on a server, much less a desktop machine.
Wake me up when EXT3 is done. Until then, Reiser is the only stable journalling filesystem for Linux. (And i can play the game too: I've never had a single problem with Reiserfs..makes me wonder why the hell the Debian Installer makes the false claim that Reiser is younger and less tested than EXT3.)
...of these guys. They saved the benchmark graphs as JPEG images when a passing glance would make the use of PNG or GIF.
Computer Science is no more about computers than astronomy is about telescopes. --E. W. Dijkstra
Any benchmarks on XFS vs. ext3/ReiserFS?
NTFS is a journaled file system (similar to ext3 writeback mode, I believe). It shouldn't even be running a chkdsk on bootup for an NTFS volume, unless perhaps it detects something really wacky with the file system..
FAT32, on the other hand, will always run a chkdsk whenever it wasn't unmounted cleanly. For a disk with that many small files, it would likely take even longer than a full NTFS chkdsk (whatever the reason is that that's even running), not to mention the horrific slack waste..
Actually we know we should not try to mislead when one quotes from seemingly authoritative sources. The entire paragraph from whence you quoted stated:
"Disk subsystem performance is a critically important factor in overall system performance, and NTFS is generally believed to be slower than FAT. However, with a correctly created NTFS volume, NTFS performance optimizations, and improved disk defragmentation, NTFS performance (including the extra "journaling") is equivalent to FAT on small disks and is faster than FAT on large disks."
The rest of the article will help one understand what they mean by "correctly created NTFS volume", etc.
-Me, not U
I'm using soft updates on my BSD system.
It's fast, stable, no fscking after a
dirty reboot. Anyone know of benchmarks
comparing this to ext3 or riser?
...as long as you're not using it to store anything you plan on keeping for more than a week at a time.
When that bitch crashes, she crashes HARD(and often). Kiss everything you hold dear goodbye.
"Adequacy.org: Where congenital stupidity is not an option, but a requirement."
If you take the time to read the paragraph, you will notice that this reviewer contradicts himself. First he states:
"NTFS 5 also comes in the box: it?s a brand new NT file system that adds some security enhancements (losing data is very difficult with this high secure file system) and it's more faster than the FAT32."
A few sentences later he states:
"NTFS is reliable, but it is slower than FAT 32 format."
The reviewer seems very confused. Is it faster or slower than FAT32?
There is no veracity to your claims. At least from these sources.
-Me, not U
I don't know how accurate this is because its a bit beyond my technical knowledge. However I know that following a hash collision while using RFS, my /usr/local directory vanished. So there is some truth to the parent post.
Last night I shot an elephant in my pajamas. How he got in my pajamas I'll never know.
so what doesn't suck?
... that's why you lost your data. It annoys me to no end when people assume a cause for a problem and begin to state it as fact without verification or fact.
/.
Is it possible that there is a bug in reiserfs? Sure. I just don't trust anecdotal evidence from some dood on
You can never equivocate too much.
Why doesn't anyone compare UFS/FFS w/softupdates enabled to the Linux filesystems?
Better yet, why did EXT get to be the defacto Linux filesystem, rather than UFS? It outperforms, and supports much large files/filesystems.
A comparison of UFS from a platform other than FreeBSD might be in order.
Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
Here is what you are missing. Soft updates is a method of ensuring that disk metadata is recoverably consistent without the normal speed penalty imposed by synchronous mounting. The only guarantee that softupdates makes is that your file system can be recovered to a consistent state by running fsck. Soft updates is designed to aid the running of fsck, but does not eliminate the need.
Better get out your Palm add running fsck to your "to-do" list.
We benchmark ReiserFS versus all other Linux filesystems about once every 6 months or so, and the last one from about 3 months ago still places Reiser in the "significantly faster" category for our workloads, specifically web caching with Squid.
ext3 is a nice filesystem, and I use it on my home machine and my laptop. But for some high performance environments, ReiserFS is still superior by a large margin. It is also worth mentioning that I could crash a machine running ext3 at will the last time we ran some Squid benchmarks (this was on 2.4.9-31 kernel RPM from Red Hat, so things have probably been fixed by now).
All that said, I'll be giving ext3 vs. ReiserFS another run real soon now, since there does seem to be some serious performance and stability work going into ext3.
Actually my original post was supposed to be sarcastic, but when i put in the tags "sarcasm" and "/sarcasm" it filtered them out due to my own stupidity.
Live and learn I suppose.
Methinks that you need to crack the books.
I like reiserfs because I can trust it to perform well on any file system load. I can put it on a server and know it will be fast and efficient regardless of what the users do. Ext3 gives ext2 journaling, but does not add efficient large directories or small files, two features that reiserfs has.
Sure ext3 may benchmark slightly faster in certain scenarios. But unless you know ahead of time that those are the only scenarios you are going to put on the file system, I recommend reiserfs.
I can't say much about ReiserFS. We use it on a server in one of the computer labs I admin at school, but that's the extent of my experience.
But ext3.. I've been using it since the day RH7.3 was released, during which time I'll bet power to my machine has been cut at least 150 times (we had a bad circuit breaker that would randomly flip. I replaced it a few days ago). Often power was repeatedly lost many times in a short period of time (if that would matter), and in the middle of big disk write operations.
Every single time I have been able to immediately reboot without any apparent data loss (except for the data being written at that very second) or filesystem corruption (a couple of times I forced a check just to make sure nothing was wrong, and nothing ever was).
I can't testify to the relative quality of ext3 compared to ReiserFS, but I can certainly say I have been quite pleased with the stability of ext3.
-Alan
I saw that back in 1995 or earlier.
It was a common X background image.
I think I remember it from 1994 even.
blah then you'd waste all of that energy previewing a post intended for a troll or idiot
When you benchmarked, what mode (ordered, writeback, journalled) did you use ext3 in?
Hell you can get blazing speed out of FAT, but do you want to use it? EXT3 turned me off the second I founoutit it's journeling was a 'bolt on' addition. (Metadata is kept is a private file...very ugly)
ReiserFS has eaten more megabytes then I would have liked...but that was 2 years ago. Comparing Resier which is a mature, next generation FS to EXT3, a revamp which isn't even done yet, is a bad idea.
Does anyone have info on which of these file systems might be the better one for glitch-free playback of multitrack uncompressed audio? (I'm thinking of up to 16 simultaneous streams, so effiicent throughput would be the priority -- BeOS's BFS was optimized for this sort of thing, but I don't know who in Linux-land has been focused on that aspect of performance)
I don't care if it's 90,000 hectares. That lake was not my doing.
Comment removed based on user account deletion
I use ext3 in ordered mode for my "/" and "/usr" partitions for its data journaling, and reiserfs with -notail for my /tmp and /pub partitions (pub is an FTP/SMB fileserver, lots of activity). I think this is a good compromise between performance and non-corrupability (sp?)
Jeremy
Ctrl-Alt-Backspace will kill and restart X.
Or you could just hit Ctrl-Alt-F1 to toggle to tty1 and wake up the monitor, then Ctrl-Alt-F7 to go back to X.
Reboots are only for kernel and hardware upgrades.
Who gives a fuck how fast NTFS is compared to fat? Fat32 has a stupid max file length of 2^32 bytes, rendering it all but useless for video work.
If you're stuck doing video work on an NT kernel, (and many people are, since linux is definately behind in this area), do you really want no files bigger than 4gig?
graspee
...what do all those angry spacemen have to do with any of this?
Ask Slashdot: Where bad ideas meet poor googling skills.
Can we see results against ufs+softdeps? Or are the linnex kiddies scared?
Comment removed based on user account deletion
Why not just use ext2?? I'm wondering why the ext3 and reiserfs exist? since they aren't faster.
Isn't the MB/S graph from page 1 and page 2 switched?
Completely true. I've filed a bug to the slashdot bug report page in sourceforge to add some semantic tags to the ones we are allowed to use. I'd like to use , , etc. The bug was deleted as quick as it was posible, with no explanation.
Besides, not only the HTML code doesn't validate. but also Slashdot has blocked the W3C validator!. That's very stupid, as anyone can just download and validate the page uploading it to the validator. Here is the validation result.
I'm curious, how can a script (software) reboot a a server that has already halted?
I don't like the fact that ext3 is now included as a module. The default filesystem driver should be compiled as part of the kernel.
SGI's version of Red Hat is far preferable to Red Hat's own release for this reason.
Now, I must create and maintain an initrd on my IDE system (which was never required before), and I've also been in a crazy situation where attempting to mount an installed filesystem under ext3 caused and Oops, but changing fstab to ext2 was fine.
Down with Red Hat's use of ext3 as a module! Red Hat has never handled journaling in a reasonable manner.
"Who gives a fuck how fast NTFS is compared to fat?"
Didn't post said that NTFS can beat both ext3 and ReiserFS? "NTFS can beat both of them!" he said. That's why I posted some proof that NTFS is slower?
Obviously, HE cares, and I was replying to him.
Now, can anybody explain me how that was "offtopic"? The original poster was talking about NTFS's speed, and so was I.
I noticed these guys have some dandy SCSI drives in their system. Anybody know how these benchmarks would go for IDE systems? Would they show more or less differences?
Just curious. Reiserfs seems to work fine for me, although I did lose almost a gigabyte of mp3s using in the early days of Reiserfs.
Try Bynari as an Exchange alternative...
I regret using reiserfs on my box due to the ugly hack for bad block handling, see here.
Oh dear God man, I would never want that! Is it really possible for that to happen to my Linux box with ext3? I'm switching to ReiserFS right away!
Thanks for the warning!
Sticking feathers up your butt does not make you a chicken - Tyler Durden
I love that band!
Bare bone nest is one of 5 records that keeps the LP player hooked up to the stereo.
Comment removed based on user account deletion
If your UPS fails, it helps a lot. Besides, a lot of machines run software that isn't a transaction-capable database (for example, Slashdot's servers). It just makes more sense to have this kind of transaction-like functionality at a lower level so it is available to all applications, instead of stuffing it into all your user-level applications seperately.
Friends don't let friends use multiple inheritance.