A bit of a technical post, since my other diary is currently broken (yay for computers).
Reiserfs is terrible. I don't know much about the design, but the style of the code leaves much to be desired.
You remember how doing fread() and fwrite() of structures to disk is a bad idea? Well, that's exactly how the reiserfs superblock is written, including a bunch of pointer members. Wow, stylin'.
The journal flushing algorithm is recursive. Recursive. In the kernel. It has a 4k stack now. Running out of stack will make it panic. Hope you don't have too many transaction piling up between two scheduling of the reiserfs journal flushing thread (people who know me also know what I think of threads).
Is this serious? Jebus, I need a drink.
Reiserfs is terrible. I don't know much about the design, but the style of the code leaves much to be desired.
You remember how doing fread() and fwrite() of structures to disk is a bad idea? Well, that's exactly how the reiserfs superblock is written, including a bunch of pointer members. Wow, stylin'.
The journal flushing algorithm is recursive. Recursive. In the kernel. It has a 4k stack now. Running out of stack will make it panic. Hope you don't have too many transaction piling up between two scheduling of the reiserfs journal flushing thread (people who know me also know what I think of threads).
Is this serious? Jebus, I need a drink.
no subject
Date: 2005-06-30 07:42 am (UTC)Now I'm suddenly wondering if I should find a way to migrate to XFS.
no subject
Date: 2005-06-30 07:59 am (UTC)We didn't test a wide range of filesystems, though, only reiserfs, ext3 and vfat. Unsurprisingly, vfat was very resilient to crap (normal, considering the way it was historically used), but ext3 did rather well.
Reiserfs never smelled good to me. Froze my system on high disk I/O load in my SuSE 7.x. Would randomly replace the content of files with the content of deleted files in the SuSE 8.x era when my system crashed (this was on a laptop, running out of battery happens, and I wasn't too impressed by my XF86Config being replaced with some GIF from my browser cache).
I like the old, stable and very much tested codebase of ext2, with super-simple (as in "hard to get wrong") journaling at the block device layer added in ext3. Not the fastest (but *almost*), and not the fanciest (but the *workingest*).
I've also met Stephen Tweedie in person, and before learning who he was, I found myself amazed at how massively smart and reasonable that person was.
no subject
Date: 2005-06-30 01:49 pm (UTC)no subject
Date: 2005-06-30 06:26 pm (UTC)no subject
Date: 2005-06-30 01:51 pm (UTC)Sometime I wonder if he is not right.
no subject
Date: 2005-06-30 04:08 pm (UTC)no subject
Date: 2005-06-30 06:33 pm (UTC)BTW, those tags didn't get expanded there.
no subject
Date: 2005-06-30 09:47 pm (UTC)no subject
Date: 2005-06-30 09:59 pm (UTC)If you did the same with reiserfs, you'd probably randomly corrupt your filesystem anyway. Reiserfs' fsck usually makes things worse. They don't run it because it's a bad idea.
no subject
Date: 2005-06-30 10:12 pm (UTC)It's interesting that you claim reiserfsck is more sensitive to problems... in my experience running reiserfs for a few years, I've only had to boot off a CD to run reiserfsck --rebuild-tree twice. One of those times was because a drive was dying (which I discovered soon after), and the other seemed to be random death due to power failure (it worked perfectly after).
On the other hand, I've had ext3 eat itself several times on me, and I don't even usually have a computer running ext3 (guess why). Disclaimer: this anecdotal evidence may be tainted by the fact that at least some of those times the hardware was later deemed bad. I don't remember if I had an example of good hardware resulting in ext3 eating itself. Still, it's made me wary of ext3, even if it's not a fair test.
Actually, I think one of the times that ext3 was failing on me was when I was trying to get poke (my p150 answering machine) to work in January. I eventually gave up on the drive and went to NFS root. Worked perfectly after that! Maybe I should just give up on old and/or cheap hard drives entirely.
no subject
Date: 2005-07-01 06:52 am (UTC)no subject
Date: 2005-07-01 02:21 pm (UTC)