Slashdot Mirror


Reiser4 Benchmarks

unmadindu writes "Hans Reiser has benchmarked Reiser4 against ext3 and Reiserfs 3. Reiser4 turns out to be way faster than V3, and for ext3, why don't you check out the results yourself ? Hans Reiser states, "these benchmarks mean to me that our performance is now good enough to ship V4 to users", and he will be probably sending in a patch within the next couple of weeks to be included in the 2.6/2.5 kernel."

414 comments

  1. Reliability by prestwich · · Score: 5, Interesting

    My one concern is reliability and recovery from failure; I've had a few cases where my belief in ReiserFS has been questioned; however I can't get Ext3 to build on larger than 500GB arrays.

    At this point I'd happily choose based on reliability/recoverability/stability not raw speed.

    1. Re:Reliability by globalar · · Score: 5, Insightful

      Exactly. RAM, CPU, and storage space are ever increasing. Now we need better ways to organize data, access it, protect it, and back it up.

      The fact of the matter is, it is easier to make a fast system than a stable, reliable one.

    2. Re:Reliability by SaDan · · Score: 5, Informative

      ReiserFS has worked pretty good on 1.2TB RAID-5 array I helped build. We're running RedHat 7.2 on a box with a Promise SX6000 RAID controller.

      The drivers are crap, and the box dies about every week or so. Haven't lost a single file yet, and we're at 91% filesystem useage (millions of files).

      The / filesystem is ext3. It's about 20gigs, and has had to have files restored several times.

      I have a lot of confidence in ReiserFS, after seeing the incredible amount of abuse on this one particular machine. I have run ReiserFS for quite a while now (ever since it was part of the kernel) for all of my home systems, and have never had a single issue with those filesystems.

      Looking forward to what ReiserFS4 will bring.

    3. Re:Reliability by Anonymous Coward · · Score: 0

      If these file systems only break on large sizes like 500 GB, then I have nothing to worry =) I have and endless supply of 3 GB drives =) ReiserFS has been reliable on small drivers, and also, I have always seen ReiserFS's speed as an advantage.

    4. Re:Reliability by cvd6262 · · Score: 5, Interesting

      We had a massive failure of our primary database server while I was out of the country. (Trust me, nothing puts a damper on your day more than having one of your techs call you at midnight from 7,000 miles away.) I blame Reiser. Not because it caused the outage (it was hardware), but because it was so good, it made us a bit lax.

      We're just a small grant lab at a university, so it's not like this was a corporate system or anything, and there had been hardware problems before. Given that most of the people are not techies, they did not know how to ssh in and shutdown -r now, so they would just hit the reset button whenever they thought something was wrong and I wasn't around.

      Anyway, because of Reiser's journalling, the system would come right back up after a forced reboot. I think that the guys in the lab cut the power a couple of times to many and the hard drive just gave out.

      By the way, I just had a tech install a new drive, and Debian base with ssh. I knew the password he would use for root, and I was able to rebuild the entire system and restored 250,000 records in half a day.... From North Africa.

      Try that with a non-*nix.

      --

      I'd rather have someone respond than be modded up.

    5. Re:Reliability by FyRE666 · · Score: 5, Funny

      Given that most of the people are not techies, they did not know how to ssh in and shutdown -r now, so they would just hit the reset button whenever they thought something was wrong and I wasn't around.

      I've found users doing that to my servers before now. I find that hitting them on the nose with a rolled up newspaper and shouting "No! Bad monkey!" in a stern voice tends to stop this behaviour...

    6. Re:Reliability by Just+Some+Guy · · Score: 1, Insightful
      You have admins running a 1.2TB array and they've made a 20GB root partition? As in, you're storing a huge amount of stuff in the partition that will keep the computer from booting if it gets corrupted?

      Nice.

      --
      Dewey, what part of this looks like authorities should be involved?
    7. Re:Reliability by Zerbey · · Score: 3, Funny

      I find putting my servers in a locked room where the users cannot get at them even more effective. Just an observation :-)

    8. Re:Reliability by Anonymous Coward · · Score: 0

      I find putting my servers in a locked room where the users cannot get at them even more effective. Just an observation :-)

      Assuming they have a locked room available. If not, then what?

    9. Re:Reliability by 91degrees · · Score: 3, Funny

      Most admins I know would rip off all the user's limbs, execute their family, and say a firm "No". Your way is a little more user friendly.

    10. Re:Reliability by dotgain · · Score: 1
      6v Electric Fence with nasty bit stripped cable stickin out here and there.

      don't run the h.v. electric fence near your scsi, ethernet or video!

    11. Re:Reliability by Cynic+1.0 · · Score: 1, Funny

      Who the fuck keeps a 20gb root partition!?! It's probably all the admin's porn.

    12. Re:Reliability by Anonymous Coward · · Score: 0

      Show them how to type 'reboot'.

    13. Re:Reliability by Anonymous Coward · · Score: 3, Informative

      Troll.

      First I don't get what you mean by "huge amount of stuff in the partition"... In no place does he actually say that _anything_ is being stored on the root partition (we can assume it's an OS only partition).

      It's probably a server with an internal 20GB drive connected to the 1TB raid. If you're suggesting the 20GB is a partition off the raid, well then you have no clue how these things work.

    14. Re:Reliability by Anonymous Coward · · Score: 0
      Why the fuck would you make a 20GB partition if you only wanted to store 200 megs on it?

      In no place does your parent say _anything_ about making a 20GB partition from the raid.

      Troll.

    15. Re:Reliability by Billings · · Score: 5, Interesting

      Yeah, you won't lose files, but you'll lose data. It's been noted elsewhere in this article's comments in more technical jargon, but it is a known flaw in ReiserFS that blocks of data can be written to flat out wrong areas. As an example, I had an outage while I was working with my config files and running an apt-get update;apt-get dist-upgrade. Reiser then managed to write the middle of a debian package file to whatever config file I was working with.

      Had me confused to hell until I saw a newsgroup discussion that mentioned the exact problem I was having. Does Hans Reiser know about this problem? Oh, yeah. He does. Is he concerned about it? No, he's not. In his own words he's not. And ReiserFS fails silently; you'll never know until you find it.

      When I setup ReiserFS on my machine, I was aware of similar complaints, but I dismissed them as fear of trying something unproven. And I was happy with ReiserFS for quite awhile, because I never saw anything wrong (unlike ext2/3). But I really can't support a FS that has these kinds of data integrity issues if the team has that kind of attitude towards them.

    16. Re:Reliability by hankaholic · · Score: 4, Informative

      You obviously know nothing about ReiserFS.

      ReiserFS does have speed as a goal; however, with ReiserFS 4, all filesystem operations are now atomic, which is functionally equivalent to having full data (not just metadata) journalling.

      In addition, having the fastest CPU in the world won't make ext[23] better at things for which ReiserFS is fast.

      CPU speeds are increasing. Storage space is increasing. RAM is cheap.

      However, none of that equates to "disks are fast". Having a fast CPU with a slow filesystem is like having a gigabit LAN connected to the Internet via dialup. Sure, internally you're quite good, but throughput will still suck eggs.

      The fact of the matter is, it is easier to have no clue what you're talking about than to read a little bit before posting.

      --
      Somebody get that guy an ambulance!
    17. Re:Reliability by jd · · Score: 3, Funny

      Given that techs are supposed to... well, use high-tech, I sugest using a high-tech version of the newspaper. Now, what high-tech device can you read the news on? Hmmmm. How about this 21" monitor?

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    18. Re:Reliability by haoto · · Score: 2, Funny

      Hey man, you're talking just like my boss!

    19. Re:Reliability by justsomebody · · Score: 1

      I'm just using 2TB LVM ext3 partition (8 250GB disks)

      What would be the problem

      --
      Signature Pro version 1.13.2-3 release 83.5 beta3try7 after-breakfast edition
    20. Re:Reliability by SaDan · · Score: 2, Interesting

      The root partition is on a 20gig drive that is not part of the RAID array. It ONLY has the operating system stored on it.

      I'll say it another way... We don't boot from the array, and we don't store any operating system information on the array.

      Guess I should have mentioned that earlier, although I didn't consider that my decisions on how to lay out the filesystems would come under fire here.

    21. Re:Reliability by RoLi · · Score: 1

      Well, the main goal of Reiser4 is to improve reliability.

    22. Re:Reliability by TCM · · Score: 1

      A 2TB partition made of exactly 8 250G disks and you don't see the problem? ..

      --
      Of course it runs NetBSD. BTC: 1NT7QvbetmANwaMzhpVL6
    23. Re:Reliability by SaDan · · Score: 1

      Our machine has taken quite a beating. It is in production, and if there were any issues with data integrity, we would have seen it by now.

    24. Re:Reliability by RoLi · · Score: 2, Funny
      From North Africa.

      Try that with a non-*nix.

      Aw, that's a non-issue. MCSEs are so cheap that it's no problem to always keep at least one MCSE within a 200 meter radius (300 meters if the MCSE is not overweight and under 30) from the system for 99.9% uptime.

    25. Re:Reliability by SaDan · · Score: 1

      Thank you. Nice to meet someone on Slashdot who knows how this kind of stuff works! :-)

      20gig root partition on 20gig drive that is not part of the array in any way.

    26. Re:Reliability by shokk · · Score: 2, Interesting

      When you're talking about that much data, backups become something you're only going to pull out for catastrophic recovery. Something like snapshots become more and more important. Are any of the upcoming Linux filesystems going to address this? I imagine that something like that would begin to take customers away from EMC and Network Appliance, and would put high reliability in the hands of smaller organizations.

      --
      "Beware of he who would deny you access to information, for in his heart, he dreams himself your master."
    27. Re:Reliability by shokk · · Score: 1

      Famous last words. Please tell us what business you are in so we can avoid the products/services that will collapse without notice like a house of cards.

      --
      "Beware of he who would deny you access to information, for in his heart, he dreams himself your master."
    28. Re:Reliability by jeremyp · · Score: 1

      People who cannot be taught to shut down a server properly must be kept away from them under all circumstances. It's crazy to let people just switch off a production server no matter how convenient it might seem to be or how many times it might have worked in the past.

      Frankly, you deserved what you got.

      --
      All I want is a secure system where it's easy to do anything I want. Is that too much to ask ~~ Randall Munroe
    29. Re:Reliability by Spy+Hunter · · Score: 1

      I'm not sure what to say about ReiserFS's reliability. I've been using it at home for a year or so now. Soon after I started using it, I had a system crash (bad video drivers). When I shut off the power and turned it back on, ReiserFS did its journal replay thing, but I was left with a corrupt directory full of files that I couldn't open or delete. At the time, I couldn't find any ReiserFS filesystem fixer tool that didn't have huge disclaimers all over it about how it would probably destroy all your data, so I couldn't really fix it. But since then, I haven't had a single problem. The corrupt directory is still there with its phantom files. I keep meaning to do something about it, but since I'm not having any problems I really don't have any motivation to fix it. I use the system as my main desktop and I have filled up the ReiserFS partition with stuff and cleaned it out several times since then. So on the one hand, I have a slightly corrupted ReiserFS filesystem; on the other hand, ReiserFS has dealt with it perfectly for a year now.

      --
      main(c,r){for(r=32;r;) printf(++c>31?c=!r--,"\n":c<r?" ":~c&r?" `":" #");}
    30. Re:Reliability by shokk · · Score: 1

      A terror campaign through the office works wonders to convince people that Fscking around with your systems is not encouraged. I imagine that my hero, the BOFH, would do no different. You have your choice of chainsaw, stick with impaled head, or flamethrower.

      I remember when we finally got the systems in a locked room at our current place. Someone tried to slip in the door behind me as I was rushing out. Turned around, slammed it shut as they about to step across, and told them "I don't f*cking think so." Guy never tried it again.

      --
      "Beware of he who would deny you access to information, for in his heart, he dreams himself your master."
    31. Re:Reliability by justsomebody · · Score: 1

      /dev/VolGroup/LVM_Volume
      1929197992 948811608 921587816 51% /mnt/LVM

      nope, and this is what du says.

      Why do you ask

      8*250=2000GB=2TB (make it as cca), LVM just takes 5% of every drive I insert in volume

      --
      Signature Pro version 1.13.2-3 release 83.5 beta3try7 after-breakfast edition
    32. Re:Reliability by Anonymous Coward · · Score: 0

      It is hard to buy drives that are less than 40GB. I am suprised they were able to find a 20GB drive. That is likely the smallest capacity drive that could be found. I use 200MB and 2GB drives in some of my computers, but those drives are all 5+ years old.

    33. Re:Reliability by SaDan · · Score: 1

      What does it matter to you? The data is in multiple locations, and is also backed up regularly.

      And yes, I'm part of the group who will be getting this situation taken care of. There are new drivers for the RAID card, and we also have some 3Ware cards we could try if the new Promise drivers don't do the trick.

    34. Re:Reliability by GigsVT · · Score: 2, Interesting

      I'm using ext3 on a 1.2 TB array, a 2.0 TB array, a 1.9TB array, a 550GB array, another 2.0 TB array, and a 1.0 TB array (If I remembered them all right). They are all ATA or SATA arrays, some straight 3ware, some 3ware with software RAID on top to bind multiple cards together, and some are AC&C ATA-SCSI boxes.

      Anyway, haven't had any trouble, which is more than I can say for when I last tried Reiser. It couldn't handle files larger than 2GB about a year ago, that's since been fixed. It also caused some strange stability problems.

      The 1.9 TB and the 1.0TB array had XFS on it for a while, I'm not sure if I ever got around to changing the 1.9 to ext3, but XFS (linux) has also performed flawlessly. Of course our IRIX boxes also run XFS flawlessly on some smaller legacy SCSI-only arrays.

      --
      I've had enough abrasive sigs. Kittens are cute and fuzzy.
    35. Re:Reliability by sirsnork · · Score: 1

      I'm thinking his point may have been the lack of redundance in you 2TB partition. Hopefully all that data is backed up somewhere, although restoring it from tape might take a while if one of the drives ever fails.

      --

      Normal people worry me!
    36. Re:Reliability by GigsVT · · Score: 1

      While not a consistant snapshot, you can come kinda close to snapshot functions with rsync-incrementals or rdiff-backup.

      I know this doesn't give you the sort of perfect shot in time that a real snapshot gives, it's more of a smearshot, but it might be good enough for some uses.

      I use it in lieu of tapes, and backup things that need real snapshots, like databases, on an application by application basis by running periodic exports to ASCII.

      --
      I've had enough abrasive sigs. Kittens are cute and fuzzy.
    37. Re:Reliability by cymen · · Score: 1

      ...we also have some 3Ware cards we could try if the new Promise drivers don't do the trick.

      What are you waiting for! You'll be trying the 3ware cards in a couple weeks almost guaranteed ;).

    38. Re:Reliability by Anonymous Coward · · Score: 0

      I still make my / as small as can be, even when i have extra space. Usually this means that / is about 100 or 200 mb (for 30-60mb data). This way, when 10mb gets added to that partition, i will notice it a lot easier than it 10mb were added to a 20gb partition. My / should *never* grow by 10+mb without me knowing it.

    39. Re:Reliability by Anonymous Coward · · Score: 0
      Guess I should have mentioned that earlier, although I didn't consider that my decisions on how to lay out the filesystems would come under fire here.

      Some of us are of the mantra that / should never grow, / should be as small as possible, / should be separated from partitions that have differing purposes (e.g. added binaries, data, logs, dir's writable by other users (/tmp)) and we should be able to tell at a glance when size has changed on /. Having a 20gb / pains our ears at a very base level, like saying you're running a production webserver on Win95.

    40. Re:Reliability by Anonymous Coward · · Score: 0

      I thought there were vendor solutions for snapshots on linux. Also, i seem to recall that snapshots was on the roadmap for Reiserfs or ext3, but can't find that link anymore.

      Fwiw, FreeBSD has mksnap_ffs.

      Not really sure why you're not going to use those snaps to facilitate backups.

    41. Re:Reliability by nathanh · · Score: 2, Funny
      It's probably a server with an internal 20GB drive connected to the 1TB raid. If you're suggesting the 20GB is a partition off the raid, well then you have no clue how these things work.

      Wow, that's a neat technique. He said nothing even remotely like your first sentence, but you claimed that's what he said so you could easily "destroy" his argument. Let me try:

      If you're saying that Queen Elizabeth and her band of merry men is responsible for the block size on his RAID array then you have no clue how these things work.

      How's that? Please teach me, O Master.

    42. Re:Reliability by Anonymous Coward · · Score: 0

      The moral being: whether the file system is crap or not, you'd better have a backup.

    43. Re:Reliability by Josh+Booth · · Score: 1

      I complained about this before, and someone (admittedly on /.) told me to mount ReiserFS with the notail option, to basically stop it from using parts of blocks for different files (I think). I haven't had a problem yet, but I haven't really tested it. Time to open 100+ test files and cycle power a few times, hehehe. :->

    44. Re:Reliability by Anonymous Coward · · Score: 0

      Locking vented server cabinet.

      ala:
      http://www.startech.com/ststore/itemdetail .cfm?Pro ductID=7230CABINET&topbar=topbars.htm

    45. Re:Reliability by JLester · · Score: 3, Informative

      His point is that if you have a 2TB partition made of 8 250GB drives, you have no data protection at all. That's known as striping. If one drive fails, you lose the entire array with no way to rebuild it without a professional data recovery service (and even that might be iffy with Reiser).

      RAID5 would give you a 1.75TB partition with the equivalent space of one drive reserved for fault tolerance. My preference would be RAID5+Spare with that much space which would give you a 1.5TB partition with 250GB reserved for fault tolerance and one hot spare drive in case one of the others fails. With that setup, you're okay until you lose three drives.

      Jason

      --
      "FORMAT C:" - Kills bugs dead!
    46. Re:Reliability by Anonymous Coward · · Score: 0

      Are two failures in quick succession really that much more likely than three failures? If I have not just one but two failures before I can be notified and replace the drives, it almost has to be a systemic problem (heat? vibration? karma?) that spells doom for the survivors, and probably the replacements too.

      BTW, you may still screwed by just two failures, unless there was enough time to reconstruct on the hot spare (that is, enough time to read all 250 GB off each of the six remaining drives) after the first failure but before the second.

    47. Re:Reliability by JLester · · Score: 1

      That's true, but it is still much better than not having that option ;)

      I've had two IDE drives fail at the same time a few years ago, probably from heat. That was a generic box that wasn't really made to be a server. We use all Compaq Proliants now with hardware SCSI raid, redundant fans, etc. I've never had more than one fail since then, and only then because we had the server shut off for an extended period.

      Jason

      --
      "FORMAT C:" - Kills bugs dead!
    48. Re:Reliability by SaDan · · Score: 1

      Oh, I know others in my group really like those 3Ware cards over the Promise cards.

      There are other machines in production using the 3Ware cards. 3Ware seems to have pretty good Linux support, and I don't believe any of the machines running 3Ware controllers have had any issues.

      I'm willing to give Promise one more chance. I'll probably upgrade the machine to RH 7.3, and compile the driver for the SX6000 myself. That way I won't be tied to one RH kernel revision (or RH at all, if it turns out to be an issue with the OS).

    49. Re:Reliability by shokk · · Score: 1

      Yes, of course you use snapshots to facilitate backups, which is what Network Appliances does. Snapshots are just an easier way for users to pull their own data out of their butts when they delete it, leaving the tapes to suffer less wear and tear for the real restore emergencies.

      --
      "Beware of he who would deny you access to information, for in his heart, he dreams himself your master."
    50. Re:Reliability by justsomebody · · Score: 1

      RAID5 would give me 2/3 of 2TB not 1.75TB, RAID5 contains 2/3 for data and one 1/3 for XOR image.

      I never said there's no data protection at all. There's the same volume on the second computer that backs up data in cron in daily basis.

      I don't believe in RAID5, second computer and separate volume is much better solution. Thrird backup is on separate location and runs backup on weekends. As we already suffered from more than 1 disk loss and guess what RAID5 meant that time (capital shit).

      Secondary RAID5 is not really a secure option without separated backup. If you suffer corruption of controller that goes undetected for day or two, if you suffer virus you momentarily lose data on all drives, etc.

      RAID5 might be a good way for preventing data loss but I can afford to loose one disk anytime. Most of the data is already on the second volume and a copy stored on local computers.

      --
      Signature Pro version 1.13.2-3 release 83.5 beta3try7 after-breakfast edition
    51. Re:Reliability by justsomebody · · Score: 1

      Backup is on same volume on second computer, YES.

      Try to restore 2TB of data on tape. Do you even imagine how long does that take?

      --
      Signature Pro version 1.13.2-3 release 83.5 beta3try7 after-breakfast edition
    52. Re:Reliability by globalar · · Score: 2, Insightful

      "You obviously know nothing about ReiserFS."

      I didn't say one thing about ReiserFS. Not being an expert (and this being /.), I purposely avoided making any judgements.

      On the record, the only opinion in my entire post was that it is easier to make something fast than it is to make something stable.

      Perhaps I was too plain. This was not a judgement of ReiserFS. It was an opinion formulated by observation.

    53. Re:Reliability by Anonymous Coward · · Score: 0

      Stick to v3 then if you're so scared losing your 500gb worth of pron ;D

    54. Re:Reliability by RustyTaco · · Score: 1

      Not filesystems, but LVM has done this for a while. Leave a bit of space in your VG to store the data you change (so you still have it around) and you can create snapshots of the block device. Then you just mount those snapshots somewhere and do what you need to do. Works great for making consistant backups. XFS lets you take it a step farther with xfs_freeze, which will put the filesystem in a consistant state before to take the snapshot. That means you don't have to make the snapshot RW to do a log replay or fsck, and that things like writes arn't half done.

      LVM snapshots know nothing about files, it's just a simple Copy-On-Write action, storing backup copies of any data blocks that are changed. There is probably more space overhead then NetApps but it gets the job done.

    55. Re:Reliability by hankaholic · · Score: 1

      Then try making a general implementation of the travelling salesman problem fast.

      Not all problems can be made fast, at least at present -- that's the point of research into new algorithms.

      --
      Somebody get that guy an ambulance!
    56. Re:Reliability by Anonymous Coward · · Score: 2, Informative

      RAID5 stores N drives' worth of data on N + 1 drives, for any N >= 2. For each range of sectors, one of the N + 1 drives is used for parity of the other drives' data (this is equivalent to reserving one drive for parity, but produces less contention).

      Your spare machine is more resistant to drive failure (you don't lose data unless corresponding drives in each machine fail) but you're paying for N * 2 drives (like RAID1) plus another computer and enough bandwidth to keep them in sync.

      Broken controller? Viruses? If your computers are broken, nothing can save you, certainly not buying more of them.

    57. Re:Reliability by jdew · · Score: 2, Interesting

      ick, 3ware... gotta hate raid cards with no onboard cache, and do retarded tricks with the drives cache for performance :(

    58. Re:Reliability by Anonymous Coward · · Score: 0

      You claim someone else knows nothing about ReiserFS and then go on to say next to NOTHING about it? All you did was quote one feature of the filesystem. The original question still remains, and you didn't answer it.

      Next time, take your own advise and and think before posting.

    59. Re:Reliability by oohp · · Score: 1

      You can do snapshots with the Enterprise Logical Volume Management from IBM.

    60. Re:Reliability by hansreiser · · Score: 4, Informative

      If you are using metadata journaling, then a file that you are in the middle of writing to when it crashes can have garbage added to it. Note that Unix filesystems have had this feature since the days of FFS and UFS. Use data-journaling if you find that unacceptable. ReiserFS V3 supports both data-journaling and meta-data journaling now.

      Be warned though, that all fixed location journals double the transfer time cost of performing writes because the data must first be written to the journal, and then written somewhere else. This is why we don't make data journaling the default in v3. Trust me, full data journaling would have been far easier to code first than meta data journaling, but it isn't in the interest of the 'average' user.

      Now V4 is an atomic filesystem, which is much better than data journaling, because it means that all filesystem operations are performed fully atomically. Your write syscall either fully happens or it does not. Applications can have multiple filesystem operations performed atomically. We do this without writing the data twice through use of a technique called wandering logs, which I describe in a posting below (and on our website).

    61. Re:Reliability by Anonymous Coward · · Score: 1, Interesting

      Sorry, but: a) which options to use to also add data journaling to reiserfs v3, and since when this feature is avalable? b) you said that if one is writing in a middle of crash the file can contains garbage, but I wonder, why that also happens in file which aren't written at all. E.g. /etc/modules.conf, is not a file generally under writing, unless user is editing it by hand. So why it contained garbage (but garbage taken from system log files) after a power-loss (it was not edited/touched since months)? And ditto sometimes happened for other system files (at least files you find because of system malfunctioning). Thanks. Bye.

    62. Re:Reliability by Anonymous Coward · · Score: 0

      Yes, but / is on a seperate drive. How many hard drives can you find that are 20Gb these days? Its a 20Gb / because that is the smallest available single drive he could get.

    63. Re:Reliability by Anonymous Coward · · Score: 0
      Yes, but / is on a seperate drive. How many hard drives can you find that are 20Gb these days? Its a 20Gb / because that is the smallest available single drive he could get.

      You realise you can partition drives, right? On a 20 gb drive you can make a 200mb partition for / and leave the rest unused if you've another spot for /var /usr /tmp and the rest.

    64. Re:Reliability by SaDan · · Score: 1

      RAID setups don't always need cache. ReiserFS actually runs faster on some of my smaller (~100GB) arrays when I disable cache on the drives and the controllers (those that have cache).

      Plus, 3Ware seems to have much better software support for Linux.

    65. Re:Reliability by richie2000 · · Score: 1
      You can select striping or contiguous data storage when you setup the LVM volume. If you're doing contiguous, you only lose what's on the dead drive, the rest of the data is (should be, anyway) recoverable.

      My main gripe with RAID5 is that there's no reliable mechanism for growing the array unless you buy really, really expensive hardware for it. I have a cheap JBOD with LVM for storing my camcorder clips, photos, MP3 collection and stuff (almost no pr0n, sadly) and sometimes I throw a new disk in there.

      --
      Money for nothing, pix for free
    66. Re:Reliability by justsomebody · · Score: 1

      Your spare machine is more resistant to drive failure (you don't lose data unless corresponding drives in each machine fail) but you're paying for N * 2 drives (like RAID1) plus another computer and enough bandwidth to keep them in sync.

      Yep, I said we already had a major RAID5 failure, once with DAC960 bios and once with one disk to many. There's no way any kind of RAID would be acceptable. N*2+PC is acceptable very cost, if fact is cheaper to buy IDE drives for two LVMs than on SCSI RAID field

      Broken controller?
      Plain IDE only, no more BIOS ones after DAC BIOS problem:) Controller costs how much??? You can easy buy 10 spare of them

      Viruses?

      I guess they could be a problem, and not. Backup Field is at least 2.5 big so it can cover daily and weekly basis, and not mounted on network, also not mounted on system, util called. Linux server.

      If your computers are broken, nothing can save you, certainly not buying more of them.

      Well infact you're wrong, I can buy any computer I want and fill the hole. But being prepared on that one spare machine just same as needed is already waiting:)

      To conclude, buying 4 PCs with WHOLE LOT of space was WAY cheaper than buying one big server. And after two BIG server failures where's the POINT? Besides I feel much more secure now then those days. And much less careless. And there's also a great option for your backup machine to be powered off and autopower on schedule.

      --
      Signature Pro version 1.13.2-3 release 83.5 beta3try7 after-breakfast edition
  2. It's really good that filesystems are maturing too by 192939495969798999 · · Score: 2, Insightful

    With all of the focus on the latest hardware and graphics, it's good to know that improvements are being made across the board like this. It gives me faith that Moore's law is a long way from failing!

    --
    stuff |
  3. Conversion? by avalys · · Score: 4, Interesting

    Does anyone know if there will be a conversion utility available - i.e, to convert ReiserFS v3 partitions to v4?

    --
    This space intentionally left blank.
    1. Re:Conversion? by mlg9000 · · Score: 3, Informative

      ReiserFS v4 is backward compatible with v3. So if there isn't a conversion tool yet (don't know) you'll still be able use your v3 filesystems along side any new v4 filesystems you might add.

    2. Re:Conversion? by Anonymous Coward · · Score: 0

      They are a LOT different so I really doubt it. It would take way too much work to make it worth it.

    3. Re:Conversion? by Anonymous Coward · · Score: 0

      Try 'cp -Rp'

    4. Re:Conversion? by Anonymous Coward · · Score: 2, Informative

      No, Reiser4 (not reiserfs4) is not backwards compatible with ReiserFS 3. The filesystem structure has been built from ground up, and one of the reasons why I partitioned my new hard drive to only half its full capacity, for the cp -aR command.

    5. Re:Conversion? by Anonymous Coward · · Score: 0

      cp -aR

      That will preserve your symlinks.

    6. Re:Conversion? by hansreiser · · Score: 5, Informative

      No, V4 is not backward compatible with V3. V3 and V4 are kept as separate codebases so that the new V4 features don't destabilize V3. We are very serious about avoiding adding new features to V3, so that it can become a zero defect product.

      However, there is a tool called convertfs (as well as tar) which can convert V3 to V4. It can also convert ext2 to V3 or V4 or V3 or V4 to ext2. It is pretty clever (and written by someone outside our team), in that it creates a loop back mounted target filesystem inside a file inside the source filesystem, copies everything from the source to the target, and then reshuffles the blocks of the file so that they are at the offsets on the device that they were at within the file.

    7. Re:Conversion? by Anonymous Coward · · Score: 5, Funny

      C'mon folks, can't we find someone more authoritative than this guy. I mean, what would someone whose nick is "hansreiser" know about this stuff.

    8. Re:Conversion? by Anonymous Coward · · Score: 0

      Fastest way to convert is 'rm -rf /*'. Try it right now, go get a coke, and when you come back it will be reiser4.

    9. Re:Conversion? by Vlad_the_Inhaler · · Score: 1

      cd source
      tar cf - . | (cd /target; tar xf - )

      sometimes I add an l-option, as it: tar cfl

      --
      Mielipiteet omiani - Opinions personal, facts suspect.
    10. Re:Conversion? by Jah-Wren+Ryel · · Score: 3, Interesting

      Hans - How is scalability? SGI seems to think that ReiserFS doesn't scale at all with multiple CPUs, unlike ext2. At least according to the paper they presented at the Ottawa linux symposium last month:

      (see page 9 of this PDF for the graph)

      The implication is a lack of fine-grain locking. Does this new all-atomic, all-the-time implementation automagically bring better locking too?

      --
      When information is power, privacy is freedom.
    11. Re:Conversion? by Anonymous Coward · · Score: 1, Interesting

      it creates a loop back mounted target filesystem inside a file inside the source filesystem

      It sure sounds like a nice idea, but it sounds like something that would require the source filesystem to support sparse files as well as the FIBMAP ioctl. With those features in place, and enough free space for extra metadata, it should be possible. I'm curious to how they actually reshufle the sectors, I believe they will need extra metadata beyond what is used by the filesystems to do it in a safe way.

    12. Re:Conversion? by tzanger · · Score: 1

      tar cf - . | (cd /target; tar xf - )

      Hope you didn't have any symlinks you wanted...

    13. Re:Conversion? by cpeterso · · Score: 1


      You failed to mention that the paper also demonstrates that ext3 does not scale with the number of processors. I bet the bottleneck is the (single?) journal file.

    14. Re:Conversion? by Jah-Wren+Ryel · · Score: 2, Informative

      I didn't "fail" - I chose not to. It isn't a competition with ext*, it is a question about implementation.

      --
      When information is power, privacy is freedom.
    15. Re:Conversion? by Anonymous Coward · · Score: 0

      You failed to mention that the paper also demonstrates that ext3 does not scale with the number of processors. I bet the bottleneck is the (single?) journal file.

      The bottleneck is that ext3 uses the big kernel lock instead of fine-grained locking.

    16. Re:Conversion? by Vlad_the_Inhaler · · Score: 1

      ?? - that sequence copies everything across except sockets. I have moved the /usr tree around with that command and all of the symlinks were fine.

      The first time I ran it, I checked /usr/X11 and /usr/src/linux but now I take it on trust.

      --
      Mielipiteet omiani - Opinions personal, facts suspect.
    17. Re:Conversion? by pe1chl · · Score: 1

      You need a second disk for that.
      The proposed utility would do it in-place.

      As I have all my filesystems mirrored using kernel raid-1, it should be possible to temporarily break the mirror, do the conversion from disk1 to disk2, and then re-establish the mirror copying disk2 to disk1.
      However, I would prefer to have some tested script for that. It did not find that, there is a description in the raid howto that things like this are possible in theory, but there are warnings about things that I don't understand and would require further study of the raid implementation.

      It would be nice when tools for purposes like this are written when new filesystem releases that require conversion are released. So not every user has to re-invent the wheel.

  4. ok by HanzoSan · · Score: 1

    how can I install this into Redhat9?

    --
    If you use Linux, please help development of Autopac
    1. Re:ok by ElGuapoGolf · · Score: 3, Interesting

      You'll probably have to compile it in yourself for now.

      RH probably will include it in the future, but probably won't give you the option to install on it without jumping thru major hoops.

      RH seems to suffer from a big case of "not-invented-here-itis", and RH users sometimes suffer for it. Not having ReiserFS is one way in which they do.

    2. Re:ok by AllUsernamesAreGone · · Score: 1

      Simple - install Mandrake.

    3. Re:ok by silvaran · · Score: 4, Informative

      I'm not sure about the exact reasons why they don't support various other filesystems. The default bootup sequence of a RH system uses an initial ramdisk, and actually scans each partition available to find out where they should be mounted (they created nash, NAno SHell, which is just simple support for shell commands as well as fs label scanning). That's why you see the LABEL=/ in your /etc/fstab on a RH system. ResiserFS didn't support filesystem labels until 3.6, so using this setup could mess things up (with 3.5 or older), and justifies your point about having to "jump through hoops" to get reiserfs working. The simplest way I found to move to reiserfs was to change all the LABEL=??? specifications to actual device files, boot from a recovery disk, move everything around while reformatting the partitions as another filesystem, then finally rebooting.

    4. Re:ok by Anonymous Coward · · Score: 3, Informative

      that may be true for existing systems, but in the case of running an install from cd, instead of taking the default, add either "reiserfs" or "reiser" (don't remember which - think the "fs" one) to the boot options at the prompt when booting from the cd. it then adds reiserfs to the list of filesysems you can choose to format new filesystems with in the partitioning tool. pre-existing reiser filesystems will be handled correctly if you don't format them.

      rh supports reiser just fine - they simply hide the option, probably because they feel ext3 is a safer choice.

    5. Re:ok by Anonymous Coward · · Score: 0
      re: how can I install this into Redhat9?

      It's been a while, but I have rhl9 running on reiserfs 3.6.

      During the graphical install, choose the partitions that you wish to install the stuff on. before you begin, ctrl-alt-F? out and reformat those partitions into reiserfs's. Then install as usual. The install automatically detects the partition type and creates the appropriate initrd image for you.

    6. Re:ok by DarkVein · · Score: 1
      rh supports reiser just fine - they simply hide the option, probably because they feel ext3 is a safer choice.

      And it is.

      --

      I'm as mimsy as the next borogove but your mome raths are completely outgrabe.

    7. Re:ok by Isldeur · · Score: 2, Funny

      The simplest way I found to move to reiserfs was to change all the LABEL=??? specifications to actual device files, boot from a recovery disk, move everything around while reformatting the partitions as another filesystem, then finally rebooting.


      Really? The simplest way I found to move to reiserfs was to use Suse.

    8. Re:ok by jgardn · · Score: 1

      Exactly. Redhat has been cutting fat from its distro for quite some time now. They only include fat where users demand it and it is almost as reliable as the original. They are aiming towards a minimalist, stable linux system that can be installed anywhere.

      --
      The radical sect of Islam would either see you dead or "reverted" to Islam.
    9. Re:ok by Anonymous Coward · · Score: 0

      Put the RedHat CD in and type "linux reiserfs" or "linux text reiserfs" at the bootloader prompt. Works for some older versions too.

    10. Re:ok by Kynde · · Score: 1

      The simplest way I found to move to reiserfs was to change all the LABEL=??? specifications to actual device files, boot from a recovery disk, move everything around while reformatting the partitions as another filesystem, then finally rebooting.

      That is a very sensible thing to do on a RedHat box even when not running reiserfs. Otherwise adding an hd containing another RedHat installation messes up the RH initscripts completely (i.e. or whenever the labels collide). Say, when you're building a new box and you want to plug the old distro somewhere and later on copy certain files to the new system.

      --
      1 Earth is warming, 2 It's us, 3 it's royally bad, 4 we need to take action NOW
  5. wait! by BigBadDude · · Score: 5, Insightful


    hey, I can live with an unstable gnome or Kicq, but a beta filesystem?? no thanks dude!

    1. Re:wait! by Anonymous Coward · · Score: 0

      come one!

      it works just fine if you backup your data every 2736 seconds

    2. Re:wait! by justsomebody · · Score: 2

      you could if you have spare machine:)

      As it goes for me I can do that with no pain. Seeing what r4 provides migrating my things to r4 would be good. But first place for beta fs is spare machine that is just used to crash test this filesystem.

      --
      Signature Pro version 1.13.2-3 release 83.5 beta3try7 after-breakfast edition
    3. Re:wait! by quasi_steller · · Score: 2, Informative

      Yep. Testing a beta filesystem is something you do on a spare machine that you are not using at the moment. It would be really cool to help test ReiserFS out, but I only have one machine and can't risk losing all of my work!

      --
      ...interesting if true.
    4. Re:wait! by Anonymous Coward · · Score: 0

      Well then, don't test it. Wait for a stable release. I don't see what the problem is.

    5. Re:wait! by Omnifarious · · Score: 1

      Why every 45 minutes, 36 seconds?

    6. Re:wait! by Anonymous Coward · · Score: 0

      It corresponds to how often han plays with himself

  6. Reiser4? Competition? by GreyWolf3000 · · Score: 4, Insightful

    After reiser4, what filesystems are actually decent competition for it? It'd be nice for OSS to claim not only the best web server (apache), best kernel, and best filesystem.

    --
    Slashdot: Where people pretend to be twice as smart as they really are by behaving like children.
    1. Re:Reiser4? Competition? by 1s44c · · Score: 5, Funny

      After reiser4, what filesystems are actually decent competition for it? It'd be nice for OSS to claim not only the best web server (apache), best kernel, and best filesystem.
      --

      Sick of gentoo zealots throwing plugs in completely unrelated topics? Me too!


      Not to mention the best software installation system ( portage ).

    2. Re:Reiser4? Competition? by Anonymous Coward · · Score: 0

      Not to troll, but "best" kernel is almost impossible to measure. If you believe Linux is the be-all and end-all of kernels, it's a good sign you know very little about how kernels work.

    3. Re:Reiser4? Competition? by Anonymous Coward · · Score: 0

      Besides ext3, there is JFS developed by IBM and XFS developed by SGI. However these are more aimed towards servers.

    4. Re:Reiser4? Competition? by Doktor+Memory · · Score: 2, Informative

      Reiser's competition is, in order: SGI XFS and IBM JFS. Oh, and I guess VxFS.

      --

      News for Nerds. Stuff that Matters? Like hell.

    5. Re:Reiser4? Competition? by mrvis · · Score: 1

      Honestly, when I used BFS it was pure tits.

      >It was fast (I don't have numbers, just experience)
      >It never lost data
      It handled crashes (or pulling the plug accidentally as was more common) without a hiccup
      >You could search for things and find them in 1/100th of the time it takes Windows to find things
      >All that metadata was cool even though I never got around to using it much.

      It's sad that BFS is at least 5 years old and I think it's better than anything else out there.

    6. Re:Reiser4? Competition? by Omnifarious · · Score: 1

      It's not like Reiser4 isn't aimed towards servers. XFS is actually the only real competition with Reiser.

    7. Re:Reiser4? Competition? by Anonymous Coward · · Score: 0

      True. But we can say that the Linux kernel is very good. :-) It supports a lot of hardware, and now with 2.6, it is very enterprise-friendly. What's more, it's getting better every day.

      Of course, there are a lot of things on say Solaris that Linux has yet to catch up with. And there are a lot of ways that Linux does things that is somewhat inelegant. Also, and I know I'll get laughed at for saying this, but a lot of the theoretical things that HURD people are talking about doing kind of make me drool, and Linux will probably never be able to do these things. Oh well.

    8. Re:Reiser4? Competition? by Znork · · Score: 2, Insightful

      Most of them?

      Dont get me wrong, reiserfs has impressive performance, but the recurring problems with bugs causing crashes when using reiserfs makes me extremely reluctant to use it on any production system.

      A filesystem can have incredible performance, great features and impressive data consistency, but if it crashes the machine it's unusable.

      Currently I dont see the developers of reiserfs paying nearly enough attention to stability, nor do they seem particularly interested in the subject, preferring features and performance over stability.

      Laudable goals, but goals that puts the safe use of reiserfs into a small niche of high-performance failure tolerant systems.

    9. Re:Reiser4? Competition? by jd · · Score: 5, Insightful
      Actually, OSS claims several of the best filing systems! :)


      XFS is probably one of the fastest journalling filesystems out there, all-round, and probably offers the best competition to Reiser4. I'm actually surprised not to see some benchmarks against it, as XFS has gathered quite a following in places.


      The port of the Plan9 filing system is said to be one of the fastest filing systems out there - enough so that it's a part of a Government research program called "Pink", run by some mad scientists at Los Alamos. Yes, that Los Alamos. Again, this would be an excellent FS to have some benchmarks against.


      Last, but not least, Reiser4 didn't do spectacularly well against Ext3 in the benchmarks. I saw plenty of results both ways. Reading vs. Deleting, for example, shows a definite penalty whichever FS you choose, depending on the operations you're performing.


      In the end, if you truly want the fastest system, you should format partitions according to the type of workload they'll be doing. You want fast deletes on a /tmp partition, for example, but you will likely care much more about reading times on your application binaries, and modification times on your data files.


      (Unless you're using the suspend patch a lot, you probably won't want journalling on the /tmp partition, either.)


      A truly optimized system, therefore, isn't about picking your "one true love" of the filesystems. It's about deciding what criteria apply, and then looking to see what filesystem best meets that criteria.


      A mixed-fs machine should be capable of out-performing ANY homogenous-fs machine, no matter what fs the homogenous-fs machine has picked, because a homogenous system will always be a compromise. A mixed-fs system need compromise nothing. (Other than your sanity. Which, being a geek, is just a hinderence anyway.)

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    10. Re:Reiser4? Competition? by Anonymous Coward · · Score: 0

      It's been five hours now and I am still waiting for Gentoo to finish compiling things. This is a joke. I could have installed FreeBSD in 1 hour or less.

    11. Re:Reiser4? Competition? by Anonymous Coward · · Score: 0

      Will Hurd ever be able to do them? What was the largest disc partition-size it will support?

    12. Re:Reiser4? Competition? by Anonymous Coward · · Score: 0

      That works well, assuming you never (or rarely) have to move data between the mixed partitions. Moving data between different filesytems incurs large performance penalties. That cannot be ignored when planning for running mixed systems (i.e. even more care has to be taken in appropriate distribution of tasks and partitions).

    13. Re:Reiser4? Competition? by Pflipp · · Score: 1

      You're hired!

      --
      "We can confirm that Debian does *not* ship the version with the trojan horse. Our version predates it." [CA-2002-28]
    14. Re:Reiser4? Competition? by Gherald · · Score: 1

      Well you wouldn't be compiling FreeBSD in 1 hour or less, would you? Gentoo is for people who like compiling and want it done automatically.

      If thats not your cup of tea, don't use Gentoo!

    15. Re:Reiser4? Competition? by Wesley+Felter · · Score: 2, Informative

      The port of the Plan9 filing system is said to be one of the fastest filing systems out there - enough so that it's a part of a Government research program called "Pink", run by some mad scientists at Los Alamos.

      I think they are using the Plan 9 network filesystem protocol (9P2000), not the Plan 9 local filesystem (which isn't anything special AFAIK).

    16. Re:Reiser4? Competition? by Skeme · · Score: 1
      In the end, if you truly want the fastest system, you should format partitions according to the type of workload they'll be doing. You want fast deletes on a /tmp partition, for example, but you will likely care much more about reading times on your application binaries, and modification times on your data files.
      Even though deleting in ext3 takes 87% of the time on R4, the amount of creating, writing, and copying (even on /var/tmp) will outweigh the speed increase from deletion, and when file creation is 3x faster on R4, deletion is moot. Also you have to stat each file before deleting it, and that is 1.5x faster on R4. So unless all you are doing is deleting files, be sure to weigh all the statistics.
    17. Re:Reiser4? Competition? by Anonymous Coward · · Score: 0

      I thought the best installation system was OSX?

      Step 1. Drag application where you want it to live on your hard drive. Probably somewhere in /Applications.

      Step 2. Use program.

    18. Re:Reiser4? Competition? by lewp · · Score: 0

      Gentoo is for people who like compiling

      So, idiots?

      --
      Game... blouses.
    19. Re:Reiser4? Competition? by Anonymous Coward · · Score: 0

      I actually think Hurd has a better chance of doing some things than Linux. At some point you have to depart slightly from the original Unix design and do something new. That's how you make progress.

      RMS has wanted GNU to surpass the Unix design since 1984. The only thing holding that back right now is the Linux kernel. It is a more conventional kernel, with all of the weaknesses of a conventional operating system. Unix is good and nice model for an operating system, but it ain't perfect. Linux does an acceptable job being Unix (though it is not perfect at that, either), but we must move on.

      I think at one point Hurd was limited to very small partitions due to the way they wrote filesystem servers. Last I heard they were rewriting this. One great thing about Hurd is that you can rewrite lots of major components like this without effecting the kernel at large.

    20. Re:Reiser4? Competition? by Gherald · · Score: 1

      If you prefer binaries then so be it. There's no need for childish insults.

    21. Re:Reiser4? Competition? by lewp · · Score: 2

      I disagree.

      --
      Game... blouses.
    22. Re:Reiser4? Competition? by ProtonMotiveForce · · Score: 1

      "Best" web server? Questionable. It depends on what you're using it for. Enterprise application development is far easier in the IIS world. Performance isn't everything.

      Best kernel is even more questionable. Solaris is much more mature, and has a better threading model. The WinXP kernel is quite advanced whether you people like the rest of the OS or not.

      And NTFS is a very nice filesystem. Better ACL management, decent to good performance, journaling, etc...

    23. Re:Reiser4? Competition? by Jonner · · Score: 1

      You're absolutely right that choice is the strength of Free Software and in this case, Linux. I use Reiser3 for most of my filesystems, but tmpfs for /tmp. I figure that it's probably good for what it's named for. ;) Well, really, it's that I never have very many or large files in /tmp and it doesn't need to persist over reboots.

    24. Re:Reiser4? Competition? by siliconminded · · Score: 1

      For the record, the best kernel is QNX's, which is not OSS.

  7. Honest Portability Question by jstockdale · · Score: 5, Interesting

    I am curious as to whether there are any projects to port Reiser4 to *BSD, particularly FreeBSD 5.x. Does anyone have any thoughts on how difficult a port might be? Can somone more versed in filesystems on *nix enlighten me as to the implimentation differences?

    --
    **AA: a bunch of mindless jerks who'll be the first against the wall when the revolution comes
    1. Re:Honest Portability Question by Kaladis+Nefarian · · Score: 1, Informative

      None that I know of. However if you're just looking for a journalled filesystem for BSD, there is an effort to port JFS to FreeBSD, however their page has "moved". Used to be here.

      --
      * Several monkeys are here, playing banjos and wearing small hats.
    2. Re:Honest Portability Question by Anonymous Coward · · Score: 0

      Well, the powers who be in BSD think that any sort of journaling is a crude band-aid slapped on by foolish Linux users and their UFS 'Soft Updates' are the cure for the worlds' ills, so they won't be helping you.

    3. Re:Honest Portability Question by Anonymous Coward · · Score: 0

      Pretty difficult, seeing as how ResierFS is GPL'd and thus can't be included with any of the BSD kernels.

    4. Re:Honest Portability Question by Just+Some+Guy · · Score: 1

      One of the ex-powers who be just forked his own BSD. Feel free to do the same if it's important to you.

      --
      Dewey, what part of this looks like authorities should be involved?
    5. Re:Honest Portability Question by dinotrac · · Score: 1, Insightful

      Pretty difficult, seeing as how ResierFS is GPL'd and thus can't be included with any of the BSD kernels.

      And why would that be?
      I don't see anything in the GPL that would prevent including ReiserFS with a BSD kernel.

    6. Re:Honest Portability Question by tedu · · Score: 1

      because then the bsd kernel becomes a gpl kernel.

    7. Re:Honest Portability Question by tedu · · Score: 1

      you can't count as high as what? four? five? and if i wanted to understand this unified linux effort better, should i install redhat, debian, madrake, gentoo, slackware, trustix, or immunix?

    8. Re:Honest Portability Question by tedu · · Score: 1

      i think the attitude is better described as, "we have a file system that works, and we like it. we don't need to import a new file system every six months."

    9. Re:Honest Portability Question by Anonymous Coward · · Score: 0

      Stability is nice and all, but sometimes we like features too...

    10. Re:Honest Portability Question by Anonymous Coward · · Score: 0

      You just reminded me of something very important in why I like BSD. Userland and kernel are consistent, and maintained together.

      The reason you have so many goddamned Linux distros is because Linux userland is loosely connected and ill defined.

      Take for instance one utility that is on my Debian box, "ipmasq." ipmasq was a tool from the 2.0.x days to abstract kernel support at the time, "ipfwadm". Then IP masquerading was rewritten in 2.2.x and ipmasq, the ugly user-space tool that doesn't have much of a purpose, was rewritten to support ipchains. Same deal with iptables in 2.4.x.

      What you have here is an over-engineered userland utility to make up for the kernel's inconsistency. You can write rules for ipmasq and they might work on 2.*.x kernels. But try taking those rules to another distribution without ipmasq. Won't work. Eh, it gets messier than this, I don't even want to think about it.

      OTOH, the userland configuration for the BSD equivalent is much simpler. You write your rules to 2 very simple files in /etc. There are very simple utilities that parse these rules and pass them to the kernel using a very well-defined interface in /dev. This is how a Unix should be, people.

      Another example: boot scripts. I'm not just talking about what a horrible hack sysvinit is, which it most definitely, without a doubt, is. I'm talking about boot scripts in general, and how they are maintined, or not maintained. I have a Debian box that has been running Debian since kernel 2.0.x. It's been dist-upgraded quite a lot. It's seen its share of kernels, currently, 2.6-test. However, the boot messages aren't quite as clean as they were when I ran the original 2.0.x it came with. The boot scripts complain about a lot of random crap from 2.0 and 2.2 days, even some of the earlier 2.4 things that have changed, and I am usually too lazy to get to the bottom of this. Sometimes, if things are broken enough, I do end up changing configuration files and rewriting shell scripts to pick up Debian's slack. But I shouldn't have to. I think part of the problem here is that the kernel and the boot scripts are maintained separately. I can't just swap kernels (or even multiple configurations of the same damn kernel) without changing a zillion things in /etc that the Debian people aren't keen on just yet.

      And Debian is supposed to be one of the hacker-friendly distros.

      With BSD, kernel and userland are maintained together. When something in the kernel requires a change in boot scripts, or the libc, or whatever, they get changed right away, not as soon as a vendor or a C library maintainer can figure out what's going on. (They are usually, by the way, much better at telling you when such a change is required, and few of these changes ever happen in the first place.) Kernel and userland are integrated much more tightly. It is a wholistic approach. Packages are not just slopped together. It works well, better than I can imagine Linux working.

      Now, there are without a doubt things in Linux that BSD lacks. That's why I am typing this in Debian.

    11. Re:Honest Portability Question by coene · · Score: 1

      Nononono...

      By adding a GPL component, it does NOT make the entire project GPL.

      BSD kernels do have GPL components. They also have Publid Domain and Apache licensed components. I know off the top of my head that OpenBSD's floating point emulation is GPL (although they'd surely prefer it not to be).

      It could be an option, given people want to work it in.

    12. Re:Honest Portability Question by Pflipp · · Score: 1

      Well that's odd. I was just setting up ipchains on my Sparc-based Debian box (kernel 2.2) to finally replace my proxy setup. (Did this before, but every time I installed the steenking ipmasq package, which screwed up everything, refusing packages for the entire campus LAN and adding +/- 20 random rules to my ipchains.)

      Anyway, as you said: the core userspace OS (GNU) is sometimes too loosely connected from the kernel (Linux). Hey, maybe we should promote a name change to make people more aware that the OS is a combination of the core userspace and the kernel ...oh wait. Not here. Not on Slashdot ;-)

      --
      "We can confirm that Debian does *not* ship the version with the trojan horse. Our version predates it." [CA-2002-28]
    13. Re:Honest Portability Question by tedu · · Score: 1

      linking a gpl file system into the kernel certainly makes that kernel gpl. that's fine for something optional like fp emulation, because you can rip it out. it's not fine for a file system, where you lose significant functionality, and it can't be a module if you want root on reiserfs. saying "yeah, the kernel is bsd-licensed, except for this, that, and the other thing, which are gpl" starts a bad trend. anyway, people seem to focus on the license without considering that differences in vfs layers alone are major technical hurdle.

    14. Re:Honest Portability Question by Homology · · Score: 1
      I don't see anything in the GPL that would prevent including ReiserFS with a BSD kernel.

      OpenBSD has issues with including GPL'ed code. Theo de Raadt gave a very short initial answer.

      OpenBSD are very keen on keeping their code untainted.

    15. Re:Honest Portability Question by Anonymous Coward · · Score: 0

      you can't count as high as what? four? five?

      That sounds about right for a Linux zealot.

  8. The Paul Reiser filesystem... by Anonymous Coward · · Score: 2, Funny

    ...is mostly funny, but is too much of a company filesystem to trust completely.

  9. Re:Don't trust ReiserFS! by Raagshinnah · · Score: 1

    "Because there was a requirement to get rid of all these known issues" then you're admitting that they're gone, so why the hell are you bitching about it? something was wrong, it was fixed. wow...that makes it...bad...guess ill change my 60gb partition to ext2 cause of that!

  10. Computer's names translation by vadim_t · · Score: 5, Informative

    In case anybody cares, "strelka" means "arrow", and "belca" means "squirrel"

    Wonder what naming system they're using. I use names from Alice in Wonderland.

    1. Re:Computer's names translation by kliklik · · Score: 5, Informative

      Strelka and Belka are the names of the dogs that were sent into space.

      Quote from first google search result: "Belka("Squirrel")and Strelka("Little Arrow") were launched into space on board Sputnik 5 on August 19, 1960. They were accompanied on their historic flight by 40 mice, 2 rats and a number of plants. Belka and Strelka were safely recovered after spending a day in orbit. Strelka eventually gave birth to a litter of 6 healthy puppies, one of which was given to President Kennedy as a gift."

      --
      guru in training
    2. Re:Computer's names translation by Anonymous Coward · · Score: 0

      Maybe Hans will switch to astronauts' names once they run out of animals. You know, Gagarin, Aldrin, Armstrong... once they run out of the oldtimers, they can just start calling the machines toast1, toast2, toast3...

    3. Re:Computer's names translation by AntiOrganic · · Score: 1

      So what means "moose"?

    4. Re:Computer's names translation by Maimun · · Score: 1

      So what means "moose"?
      Los.
    5. Re:Computer's names translation by hansreiser · · Score: 4, Interesting

      These are the names of the two dogs that were sent into outerspace by Russia.

    6. Re:Computer's names translation by vsprintf · · Score: 1

      So what means "moose"?

      It's the stuff Darl McBride puts in his hair to give it that edgey, spikey, hip look.

    7. Re:Computer's names translation by cygnus · · Score: 2, Funny
      Strelka eventually gave birth to a litter of 6 healthy puppies, one of which was given to President Kennedy as a gift.
      are you serious?? those dogs had sex in space!??

      ;)

      --
      Just raise the taxes on crack.
    8. Re:Computer's names translation by waferbuster · · Score: 2, Funny

      That makes the mile high club seem downright inadequate.

      --
      I'm an individual! Just like everyone else!
    9. Re:Computer's names translation by voblia · · Score: 1

      Actualy they bothh died. But would soviet union tell anyone about their failure ... no they just replaced them and now we have two dogs that came back from space and even gave birth ...

  11. So how much better is this really? by Man+In+Black · · Score: 2, Insightful

    All these numbers are nice, but I can't make heads or tails of them. Since these are times, I assume lower numbers are better? If so, they why are they usually in red in the report?

    Would this increase the speed of a normal system by any noticable amount? Is it worth my time to switch over my EXT3 filesystem to reiser4? Are there programs that can perform the filesystem change for me?

    --
    -"One machine can do the work of fifty ordinary men. No machine can do the work of one extraordinary man." -EH
    1. Re:So how much better is this really? by gumpish · · Score: 3, Informative
      Since these are times, I assume lower numbers are better? If so, they why are they usually in red in the report?

      The columns marked B/A and C/A are the performance ratios of ext3 data journaling and ext3 to reiserV4 respectively. A ratio greater than 1 means more time was needed for the operation than reiserV4 while a ratio less than 1 means faster performance.
    2. Re:So how much better is this really? by Anonymous Coward · · Score: 0

      Notice the convention they are using
      They start with a single quantity (A) and devide the second quantity by it (ie B/A)
      so if you see a score over 1 then that result is actually slower than the original, less than 1 shows a (100-*value*) percent increase in performance

    3. Re:So how much better is this really? by |<amikaze · · Score: 1

      Ahh... Thank you very much :). That had me pretty confused too.

  12. I don't understand the statistics by 0x0d0a · · Score: 4, Insightful

    The statistics on that page are measured in seconds, no? So larger numbers are worse.

    The comparisons are done with [foreign filesystem] divided by reiser4.

    One would think that numbers greater than one, where the foreign filesystem has a long running time and reiser4 a short one, would be the ones that benefit reiser4.

    Yet the numbers *less* than one are green, where Hans says reiser4 is considered better.

    What's going on?

    (Incidently, after having a friend lose a filesystem to buggy reiser code, I'm a bit inclined to wait until people have *seriously* hammered on this).

    1. Re:I don't understand the statistics by BabyDave · · Score: 1

      Part way through the document, he switches to ReiserV4/ReiserV3, in which case numbers less than one are better.

      Oh, and while I remember:

      I'm red/green colour-blind you insensitive clod!
    2. Re:I don't understand the statistics by silvaran · · Score: 3, Informative

      A. reiser4
      B. ext3 data journalling
      C. ext3


      That's how the filesystems are lettered. In the column headers, you see this:

      A B/A C/A

      So it looks like the first column is the actual time for reiser4 (A), the second column is the ratio between ext3-j (B) and reiser4 (A) which is B divided by A, and the third is ext3 divided by reiser4. So if the number is > 1 (red), it means reiser4 took less time and might be "better". If the number is 0 (green) it means reiser took MORE time.

      I think.

    3. Re:I don't understand the statistics by Feztaa · · Score: 1

      That's what I thought, too, but what's with the color choices? Normally, red means bad and green means good. But in this case, it's the opposite.

      Or am I missing something?

    4. Re:I don't understand the statistics by hansreiser · · Score: 5, Informative

      The script that creates the comparison tables divides the other filesystems by the base filesystem. The problem is that Reiser4 was used as the base filesystem in one of the benchmarks, but not the other. So in one benchmark, green is good, and the other benchmark, red is good.

      I would have fixed this before posting to lkml, but I had to catch a plane, sorry about that.

    5. Re:I don't understand the statistics by hankaholic · · Score: 1

      Was it buggy Reiser code, or buggy kernel code?

      Many 2.4 kernels before 2.4.17 had bugs which could affect filesystems, Reiser or not.

      --
      Somebody get that guy an ambulance!
    6. Re:I don't understand the statistics by DaCool42 · · Score: 1

      OT, but in commercial lighting systems, green means off and red means on. I've never figured why they chose to do that. Confuses the heck out of a lot of people.

      --

      ----
      All of whose base are belong to the what-now?
    7. Re:I don't understand the statistics by Bakaneko · · Score: 1

      Yeah, if this was back in the days of me grading undergrad lab reports, there'd be some points taken off for lack of clarity on that page.

    8. Re:I don't understand the statistics by Anonymous Coward · · Score: 0

      Often green/red -> on/off mapping is replaced with not in use/in use, safe/not safe, unlocked/locked, etc, depending on desired context. And sometimes, a color is just a color.

    9. Re:I don't understand the statistics by Anonymous Coward · · Score: 0

      Oh yeah, to elaborate on the context bit a little more...

      Take the unlocked/locked mapping. In some cases, the reverse might be true. So green may mean locked, if locked is the normal or safe condition, like on a space station. Then red would mean, unlocked, unsafe, abnormal, dangerous. Often that's how the meaning of the lights is arranged, so you have to know the context to interpret them correctly.

  13. Bugs by Kaladis+Nefarian · · Score: 4, Insightful

    While great, this announcement/benchmark/statement does not mean that ReiserFS V4 is ready for production use, just that it is fast. It needs a lot more bug testing before then, so don't rush out and mass-convert to V4 just yet! See here for the full thread, rather than just the first post...

    --
    * Several monkeys are here, playing banjos and wearing small hats.
    1. Re:Bugs by Anonymous Coward · · Score: 1

      Thanks! You truly are a master of the obvious!

  14. Comparison by Anonymous Coward · · Score: 0

    How does this compare against say AIX or HPUX's implementation of journaled filesystems?

    1. Re:Comparison by Anonymous Coward · · Score: 3, Funny

      Like "Three Dogs Playing Poker" to the Mona Lisa.

  15. Which to choose for DBs? by Openadvocate · · Score: 4, Interesting

    I realise that it is a bit early to adopt V4, but stable issues aside, which filesystem would YOU choose to for database volumes for fx. Oracle or MySQL?

    --
    my sig
    1. Re:Which to choose for DBs? by Anonymous Coward · · Score: 0, Insightful

      Why the hell would you want to place Oracle data files on a journalled filesystem? Get a clue!

    2. Re:Which to choose for DBs? by Anonymous Coward · · Score: 0

      I have used both ext3 and Reiser3.6 for heavily hit Oracle databases. No problems to report with either.

    3. Re:Which to choose for DBs? by GameMaster · · Score: 1

      You know, I think he might have actually been asking the question because he didn't know the answer. I know this might be a shock to you, but some people may not have learned the exact same things as you have and that doesn't make them deserve your attitude.

      Why is this "Insightful"? Its a one line comment with a derogatory statement and no actual content.

      --

      Rules of Conduct:
      #1 - The DM is always right.
      #2 - If the DM is wrong, see rule #1
    4. Re:Which to choose for DBs? by Anonymous Coward · · Score: 0

      So how about explaining why you don't want to place oracle data on top of a journalled filesystem? Or anybody else for that matter. (I've never heard this before, but I'm not a dba either.)

    5. Re:Which to choose for DBs? by OneEyedApe · · Score: 0, Offtopic

      This, good sir, is "random moderation" in action.

      --
      Life sucks, but death doesn't put out at all....
      --Thomas J. Kopp
    6. Re:Which to choose for DBs? by CoolMoDee · · Score: 1

      I use XFS for my mysql server, granted it is just a home LAMP (Linux Apache MySQL PHP)/Samba server, it has been running great for 287 days. My guess is that most filesystems would work just fine for a database, minus ext2 (mainly because if the power goes out a few times, you are pretty much screwed)

      --
      Jisho - A Japanese English German Russian French Dictionary for the rest of us.
    7. Re:Which to choose for DBs? by Just+Some+Guy · · Score: 4, Informative

      The database is already massively journaled. There's little advantage in passing every byte through two seperate journal, and plenty of disadvantages (speed, resources, etc.).

      --
      Dewey, what part of this looks like authorities should be involved?
    8. Re:Which to choose for DBs? by Openadvocate · · Score: 1

      First of all, as some one else have pointed out, I don't know much about optimizing DBs for speed, which is why I asked. Second, I have seen lots of Redhat boxes using ReiserFS and ext3 for their database volumes and I was wondering why they were using them instead of fx. raw volumes.

      --
      my sig
    9. Re:Which to choose for DBs? by DarkVein · · Score: 2, Interesting

      I'd go with XFS. I've never heard of corruption from regular use, while I've heard far too many horror stories about ReiserFS. Aside from the ineptitude at reliability, Reiser's one of the most unpleasant characters I've ever run into in Free/Open software. Stallman at least has reason for what he does. Reiser sends off flames to dev mailing lists (sometimes legally) threatening people for removing the kernel message and command line commercials from his code. Usually, he fires off fiction about "the next version of GPL" that someone from the FSF invariable shoots down. Bleh.

      If you ever get a soap commercial in the output of dmesg, you'll know who to blame.

      --

      I'm as mimsy as the next borogove but your mome raths are completely outgrabe.

    10. Re:Which to choose for DBs? by Anonymous Coward · · Score: 0

      They are databases. So ultimately you would want them on a raw block device. Oracle even comes with its own scheduler so it'll bypass Linux as much as possible. Databases are competing on several functions with the operating system. They have their own journalling, disk structures, schedulers and stuff. Using one journalling on top of the other only increases the risk of errors.

    11. Re:Which to choose for DBs? by Anonymous Coward · · Score: 0

      Raw devices are your friend :)

    12. Re:Which to choose for DBs? by Alien+Being · · Score: 1

      Well, some would ask why anyone would put oracle on an fs of any type. But if you do put it on an fs, as many do, where's the problem in using metadata journaling?

      As for a full data journal, yeah it's a big waste for oracle. But simpler databases which don't keep transaction journals could benefit from the fact that reiserfs4 not only journals data, but (via a userspace api) can guarantee atomicity.

    13. Re:Which to choose for DBs? by Anonymous Coward · · Score: 0

      FAT 16. This advice brought to you by Your Competitors.

    14. Re:Which to choose for DBs? by Znork · · Score: 1

      Journalling metadata is still needed. While Oracle will deal with its own datafiles, you'd still have to fix the filesystem/wait for fsck/restore it all from tape if you use a completely unjournalled filesystem and Bad Stuff happens.

    15. Re:Which to choose for DBs? by julesh · · Score: 2, Informative

      There's little advantage in passing every byte through two seperate journal

      1. If you're using a filesystem for databases, then the chances are you're keeping other stuff besides the database on them. Otherwise, you'd use a raw partition.

      2. I believe that by default data changes to files aren't journalled in either of the systems that were being compared; only filesystem metadata changes. This doesn't cost much in terms of resources, particularly if the metadata rarely changes (as I suspect it doesn't on oracle data files, which I assume are fixed size allocations that are opened when the server is started and never closed...).

    16. Re:Which to choose for DBs? by Anonymous Coward · · Score: 0

      I would reccomend that your tables be InnoDB, and that you just take advantage of InnoDB's ability to create it's tablespace in an empty partition with it's own filesystem.

    17. Re:Which to choose for DBs? by Znork · · Score: 1

      Well, to answer your first question; for backups, monitoring, simplicity, ease of use, datafile copying, etc.

      The performance reasons for using raw partitions arent as compelling these days, and in my opinion, the advantages of placing the datafiles in a filesystem by far outweighs the slight performance advantage of using raw partitions.

    18. Re:Which to choose for DBs? by catenos · · Score: 1
      I believe that by default data changes to files aren't journalled in either of the systems that were being compared; only filesystem metadata changes.

      That's incorrect. "data" journalling mode of ext3 does journal data. As does reiser4, which I take from this comment of the referenced benchmark:
      Reiser4 is an atomic filesystem, so the comparison with data journalling mode of ext3 is the fairest.
      So yes, the systems being compared all supported journalling of data. ext3 with only meta-data journalling was included,
      since most users use ext3 with only meta-data journaling for performance reasons, we compare against that also....

      --
      Keep an eye on which arguments are silently dropped in replies. Not always, but often times it's very telling.
  16. Re:Ummm... by Anonymous Coward · · Score: 0

    In addition what apps is he running in the background? Is this while he's ripping and encoding CDs?

  17. XFS? by leoboiko · · Score: 4, Interesting

    How does it compare against everyone's favorite, XFS?

    --
    Prescriptive grammar:linguistics :: alchemy:chemistry. Stop being a nazi and learn some science.
    1. Re:XFS? by lvdrproject · · Score: 2, Insightful
      Yeah, really. Currently i'm a big XFS fan, but i've heard a lot of great things about Reiser. That said, i'm not going to switch over to Reiser until i see some good information that suggests that it's worth it. What the advantages are, what the disadvantages are, what happens if you do this or that, numbers about speed or whatever, et cetera, et cetera. I've seen a few good comparisons, but they're either all numbers, or all conjecture. :/

      I'd also like to see it compared to JFS and maybe ext2 (if not just for reference).

    2. Re:XFS? by Anonymous Coward · · Score: 0

      Historically (sorry, been a looooong time since dealing with fs's), XFS has been outstanding for a few large files (take what you think of as large and increase it by 2 orcers of magnitude), but not so good with many files (think /home on a NIS server, or maybe a news server). When I was involved with this stuff (2+ years ago), Reiser excelled with many files, and was pretty poor in handling large files.

      So, the descision on either of these two would be based on which extreme you were most concerned about (large files vs. many files). If you were somewhere between these two extremes, it amounts to a typical pissing contest YMMV, etc. etc.

  18. but will it make it by DemiKnute · · Score: 4, Interesting

    So he's submitting it to 2.6, but what are the chances it'll get submitted? Isn't this what caused all of Reiser's bitching a couple of years ago? He waited to long to get RFS into the kernel and ran into the feature freeze, and then pitched a hissy fit.

    --
    .
    1. Re:but will it make it by Nothinman · · Score: 1

      Pretty much, but as you see he got his way last time so what's to say it won't work again?

    2. Re:but will it make it by thayner · · Score: 1

      It's a near certainty mostly for the simple reason that it doesn't effect the kernel as a whole much. If you're using ext3 (or even Reiserfs3) , you're not going to be affected. I think at worst they'd label it EXPERIMENTAL.

    3. Re:but will it make it by anthonyrcalgary · · Score: 1

      Most people that would run a beta filesystem or a pre kernel can apply the damn patch. They know how, for the most part.

      As for it's use in production systems, not many people are going to use 2.6.0, and I'm sure V4 will make it into 2.6.1. The wait will be what, like a month?

      --
      When someone might yell at me, it has to be OpenBSD.
    4. Re:but will it make it by Nothinman · · Score: 3, Interesting
      not many people are going to use 2.6.0, and I'm sure V4 will make it into 2.6.1. The wait will be what, like a month?

      The point is that unless reiser4 is 100% self contained and stable it shouldn't make it into 2.6 at all now because there's been a feature freeze and a new filesystem and anything else it adds to the kernel are features. Hans waited too long, again, and technically reiser4 shouldn't be included in the standard/Linus kernel until 2.7 now.

      XFS wasn't allowed to be included in 2.4 officially because of those reasons but the SGI developers didn't cry about it, they just kept their patches up to date and waited for 2.5 to start so they could get included.

      If the filesystem is actually stable and has real benefits over ext3, XFS, JFS, etc it'll probably be patched into distros like RedHat anyway so it's not a huge deal.

    5. Re:but will it make it by anthonyrcalgary · · Score: 1

      Meh. If I respond with something other than a non-response, this is going to turn into an il-informed debate. I don't care enough to become informed, so I'm not going to bother.

      --
      When someone might yell at me, it has to be OpenBSD.
    6. Re:but will it make it by cpeterso · · Score: 1


      except XFS required major changes to non-FS kernel code that would affect all file systems. If the ReiserFS V4 patch is completely self-contained, then I doubt Linus will have a problem adding it as an "experimental" feature.

    7. Re:but will it make it by MuParadigm · · Score: 1

      Umm, isn't this ultimately Linus's decision?

      Throwing a hissy might have got Linus to take a look at the code after the feature freeze, but when he included it I assume it was because of the technology.

    8. Re:but will it make it by mohaine · · Score: 1

      I could be wrong but IIRC, all ReiserV4 kernel changes outside of Reiser itself are already in the kernel. They made it in right at the last feature freeze.

      Also, I believe Linus mentioned at the the time that he was only accepting completely new features from people he trusts, like Hans.

      I would bet it's in.

      --
      (appended to the end of comments you post, 120 chars)
    9. Re:but will it make it by Nothinman · · Score: 1

      Well looking at the patch it makes changes to a number of files outside of fs/reiser4:

      fs/buffer.c
      fs/filesystems.c
      fs/inode.c
      fs/jb d/transaction.c
      fs/sysfs/inode.c
      include/linux/f s.h
      include/linux/init_task.h
      include/linux/jbd. h
      include/linux/sched.h
      kernel/ksyms.c
      mm/filem ap.c

  19. Filesystems for the laptop user? by niko9 · · Score: 4, Interesting

    Anybody know what, if any, features are being added for the laptop user? Last time a checked, journaled filesystems, like ext3, were generally a no-no if you wanted you battery to last.

    Maybe a filesystem just for laptop/tablet pc users?

    1. Re:Filesystems for the laptop user? by Anonymous Coward · · Score: 0

      Anybody know what, if any, features are being added for the laptop user? Last time a checked, journaled filesystems, like ext3, were generally a no-no if you wanted you battery to last.

      ext3 can store it journal outside of the filesystem
      ("mke2fs -O journal_dev [external-journal]", or "tune2fs -J device=[external-journal]"). If you put the journal on external solid-state media, your hard drive could spin down even while the journal is being used (I don't know how this would affect reliability).

      Reiser4 has wandering logs, which will result in less disk seeking, and should help battery life (at least slightly).

      Encryption will be a good feature for laptops. It's not in reiser4 yet, but a plugin has been talked about.

    2. Re:Filesystems for the laptop user? by hankaholic · · Score: 3, Insightful

      Operations are journalled in such a way that instead of updating the directory entries (or the file allocation table, or whatever applies to that specific FS) and then writing the new file contents, ReiserFS writes the new contents, and _then_ updates the directory information.

      From the impression I have after having read the V4 design docs, in most cases it's a matter of just writing the new data without touching the old, then updating the bookkeeping entries and marking the old information as unneeded. In theory, this method gives journalling and crash safety "for free".

      In practice, there's the matter of increased code complexity, which means that you'll take a hit on CPU usage, at least until the developers can stop their mad rush to get V4 into Linux 2.6 and work on code-level optimization (as opposed to optimizing the algorithms), but with Reiser's tree algorithms you're probably spinning the disk less while waiting for the filesystem code to find the data you need.

      At any rate, full data journalling comes without the burden of "log what I'm going to do, complete with data, then perform the operations, then mark the pending operation as completed in the journal." Basically you get around having to write twice in nearly all cases.

      (If ReiserFS decides that it's a really really good idea to leave the data where it's at, it will write new contents to free space on the disk, update the tree to reflect the changes, write the new contents to the original file's location on the disk, and again update the tree. However, this only occurs in rare circumstances, and is the exception rather than the norm.)

      --
      Somebody get that guy an ambulance!
  20. unfair - but true for me at least in the past by fiddlesticks · · Score: 3, Funny

    DELETE (time in secs to perform action)

    40.13(R4) 0.797 (ext3 journal) 0.837 (ext3)

    woo-hoo! now it corrupts my data even quicker :(

    1. Re:unfair - but true for me at least in the past by Anonymous Coward · · Score: 0

      Eh... corruption inferrs that the data is still there but wrong. Deleting means it isn't there. So Reiser FS would probably be better at those "rm -rf" moments.

    2. Re:unfair - but true for me at least in the past by khuber · · Score: 1

      By quicker you must mean slower.

    3. Re:unfair - but true for me at least in the past by khuber · · Score: 1

      Oh nevermind, I've gone insane again.

    4. Re:unfair - but true for me at least in the past by Anonymous Coward · · Score: 0

      Actually, worse.

    5. Re:unfair - but true for me at least in the past by DaCool42 · · Score: 1

      That depends on if the rm -rf was unintentional and you want to ^C it....

      --

      ----
      All of whose base are belong to the what-now?
  21. Which is best? by Dodge+This · · Score: 3, Interesting
    OK so there seems to have been a lot of Reiser flaming going on here, so what would people recommend? Taking into account Speed, Reliability and Compatability.

    I know a lot of people will pull their hair out when they hear this, but: Speed is my primary concern. On long compiles of new programs or kernels for example the speed difference on a good FS can be important. I'm not saying that I'm willing to have a FS that corrupts every last file and directory, only that given two FSs which both have seemingly similar stability I would prefer the speed boost.

    I have tried one or two of the FSs but I haven't used them for any length of time to be able to compare one against another.

    1. Re:Which is best? by FlyingDragon · · Score: 2, Informative
      If speed is king, consider a tmpfs filesystem periodically rsync'd back to a drive.

      If that's a little extreme, XFS is probably the way to go. Ext3 is good for /, since you still have an ext2 way out, if you need it. ReiserFS works well with small files -- it makes a great proxy cache. XFS is good all around.

    2. Re:Which is best? by Sloppy · · Score: 1
      so what would people recommend?
      For some reason, I'm reminded of a scene in "Married With Children." Jefferson is talking about how great his car is. Al asks where it is, and Jefferson replies: "It's in the shop." But all the people on the bus to whom Jefferson has shown photos of his car, agree that it's a beauty.

      Let somebody else be the guineapig. Wait until you hear that hundreds (or thousands) of non-beta-testers are using Reiser4 without incident, before you use it yourself for anything important. Hans Reiser is a brilliant guy, but that doesn't change the fact that the code is fairly new. The first time you have to restore from a backup, you lose all the accumulated speedup, and then some.

      If speed is important to you, then you don't have time to screw around with "issues."

      --
      As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
  22. "but you won't need to fsck" by Anonymous Coward · · Score: 2, Informative

    In this note, Hans Reiser clearly states his position: you trade off filesystem metadata performance against data integrity.

    Once you realize that this maintains your filesystem structure but turns your files into Swiss cheese (this happened to me several times) you'll switch to ext3 or XFS.

    Since reiserfs continuously rebalances the block tree, files that are only open for reading can be trashed by having a block exchanged with the last file written before a crash.

    Hans is recklessly pursuing optimization of one aspect of filesystem performance. I honestly believe DARPA should reconsider funding his current track of work.

    1. Re:"but you won't need to fsck" by IamTheRealMike · · Score: 1
      Once you realize that this maintains your filesystem structure but turns your files into Swiss cheese (this happened to me several times) you'll switch to ext3 or XFS.

      That note just says what is common knowledge already, that if you want an actual crash proof system you need data journalling. I know very, very few people who use this, because it effectively means writing everything twice, which kills performance. That doesn't reflect upon ReiserFS at all, many filing systems don't support data journalling because it is actually quite a niche feature.

      It's also wrong to assume that data journalling == no problems in the event of a crash. That's not the way it works.

      Hans is recklessly pursuing optimization of one aspect of filesystem performance. I honestly believe DARPA should reconsider funding his current track of work.

      I think you should wait and see how it actually behaves in the real world, before slamming him or his work (as an anonymous cowards, I might add).

    2. Re:"but you won't need to fsck" by Anonymous Coward · · Score: 0

      I believe he already stated what his real world observations were when he mentioned swiss cheese.

    3. Re:"but you won't need to fsck" by hansreiser · · Score: 5, Informative

      That was V3. V4 is an atomic filesystem, which means that every filesystem operation is performed as a fully atomic transaction. This is more secure than the guarantees of data journaling, as data journaling doesn't necessarily guarantee that the write will complete.



      The reason we are able to do this in V4 but not in V3 is that V4 uses what I call wandering logs. With wandering logs, instead of copying data first to the journal, and then after commit copying it from the journal to the rest of the filesystem, (thereby writing the data twice), we just change our definition of where the journal is. I don't think that data journaling is worth going half-speed for most users. With V4, we not only don't go half-speed, we go faster than V3 ever went.



      For more details, please take a look at http:www.namesys.com/v4/v4.html

    4. Re:"but you won't need to fsck" by Anonymous Coward · · Score: 0

      Yes, but most of us don't know what swiss cheese has to do with file systems... One is a rotted milk product and the other is computer related.

      Perhaps if he could explain what his specific issue is then we could understand his objections.

      Personally I have ran reiserfs for years now and never lost any files, even on my laptop which accidently dies a lot.

    5. Re:"but you won't need to fsck" by Anonymous Coward · · Score: 0


      new algorithms
      research breakthroughs
      filesystem faster than anything else out there.
      radically new tree algorithms


      Sorry, the first 4 paragraphs overloaded my snake oil detectors.

      (No offense really, v3 was ok and this is probably better no matter how sensationally worded articles there are)

    6. Re:"but you won't need to fsck" by Anonymous Coward · · Score: 0

      The reason we are able to do this in V4 but not in V3 is that V4 uses what I call wandering logs. With wandering logs, instead of copying data first to the journal, and then after commit copying it from the journal to the rest of the filesystem, (thereby writing the data twice)

      This sounds a lot like what LFS (Log-Structured Filesystem) does - http://www.hhhh.org/perseant/lfs.html, what differences are between this and LFS's approach? It seems to me that only the name of the conception was changed.

    7. Re:"but you won't need to fsck" by Thing+1 · · Score: 1
      Hans, your link doesn't work (it's got an extra "http://slashdot.org/" in front); here's the correct link.

      Btw, what's up with the soft-porn? The chick clearly has a nipple...

      --
      I feel fantastic, and I'm still alive.
  23. Re:It's really good that filesystems are maturing by smittyoneeach · · Score: 1
    Insightful?
    Moore observed an exponential growth in the number of transistors per integrated circuit and predicted that this trend would continue.

    I can see where your stated "faith that Moore's law is a long way from failing" is "kind of" in keeping with Moore's law...
    --
    Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
  24. ReiserFS == BrokenFS by Anonymous Coward · · Score: 1, Informative

    I once used ReiserFS since then never trusted it anymore. ReiserFS looses data, corrupts the filesystem, causes no good things. And if something goes wrong then your binary data in first view looks ok but usually is filled with trash. Even files that are not touched, read, written during 'the bad condition' will be trashed.

    If you want to use some serious FileSystem for Linux then continue using EXT2/EXT3 or switch to XFS. everything else is simply a risk.

    You may think that I may some standart troll or something but then you should ask yourself why there was a need to rewrite ReiserFS at all. Because there was a requirement to get rid of all these known issues.

    1. Re:ReiserFS == BrokenFS by Anonymous Coward · · Score: 1, Insightful

      Well, according to your logic, what was the need to rewrite large portions of the kernel as well, during the 2.5 series? Is that a sure sign that 2.4 was total and über crap? Please, get a clue.

      Ever heard of the concept of evolution?

    2. Re:ReiserFS == BrokenFS by Anonymous Coward · · Score: 0
      I once used ReiserFS since then never trusted it anymore. ReiserFS looses data, corrupts the filesystem, causes no good things. And if something goes wrong then your binary data in first view looks ok but usually is filled with trash. Even files that are not touched, read, written during 'the bad condition' will be trashed.

      Blanket statements like this prove that you are a troll. I've used ext3 and lost data. I now use Reiser and have endured several power outages recently and everything survived wthout a hiccup. Does that make Reiser better just because I had a better experience with it? No. Just as your experience does not mean that Reiser is total crap. How about some real proof before you go off calling it crap.

    3. Re:ReiserFS == BrokenFS by Anonymous Coward · · Score: 0

      >> ask yourself why there was a need to rewrite ReiserFS at all.

      Errr, a new feature set that was incompatible with the layout of the old API's?

    4. Re:ReiserFS == BrokenFS by Anonymous Coward · · Score: 0

      The simple fact that ext3 is a much safer file system then Reiser. Go onto any mailing list and fourm and see the reports of disk curroption with Reiser. There isn't nearly as much with ext3 or xfs.

      ext3 and xfs are proven file systems. Reiser is one mans little toy with fast file system access. This toy breaks often

    5. Re:ReiserFS == BrokenFS by dtfinch · · Score: 1

      How long ago was this one time you used it? Which version? I believe I've run across many pages stating that ReiserFS is still undergoing major development and is intended mostly for people who either need or wish to test such a filesystem. I could be wrong though.

      Since near total reliability is one of the major goals of ReiserFS, at least on RAIDs, I expect that any bugs resulting in data loss, regardless of the physical circumstances leading up to it, are taken very seriously.

      I haven't adopted ReiserFS yet, but I plan to within the next year or so. I'm still at the stage where I'm trying to gain experience in the field of rapid cross platform development so that I can eventually break free from the bonds of Microsoft software. For now I'm still running Windows on my main PC.

    6. Re:ReiserFS == BrokenFS by mickwd · · Score: 1

      From the Gentoo Linux Installation Guide:

      ReiserFS is the filesystem we recommend by default for all non-boot partitions.

      Now, I'm a little surprised at the strength of this statement, and the various Linux filesystems all seem to have their strengths and weaknesses in different scenarios. But who do I trust most - the people who created Gentoo Linux, or an Anonymous Coward on Slashdot ?

    7. Re:ReiserFS == BrokenFS by Anonymous Coward · · Score: 0

      .. maybe you start googling or listen to the other comments made by people here ...

      ReiserFS Data Corrupt.

      But yeah if you ignore all these people then please listen to the shit the gentoo people recommend.

    8. Re:ReiserFS == BrokenFS by Anonymous Coward · · Score: 0

      Reiserfs Data Corrutption - 9010 articles

      ext3 Data Corruption - 10,000 articles

      Amd since ReiserFS has been around a lot longer than ext3, I think this (according to your logic) proves that ext3 has a lot more bugs than reiserfs.

    9. Re:ReiserFS == BrokenFS by pe1chl · · Score: 1

      I once used ReiserFS since then never trusted it anymore. ReiserFS looses data, corrupts the filesystem, causes no good things.

      I have run it on production machines ever since it was fixed (2.4.8 kernel? somewhere around that) and I have never lost a byte of data.

      It performs well, except for the wellknown issue that after a lot of filewriting at some moment it starts to write back a lot of cached data and the system gets starved because reads are not getting through.

    10. Re:ReiserFS == BrokenFS by Anonymous Coward · · Score: 0

      You should have looked closer to your ext3 google.

      Ext3 / Reiser data corruption.

      Means it refers to ReiserFS!

    11. Re:ReiserFS == BrokenFS by Anonymous Coward · · Score: 0
      Actually I switched to FreeBSD. Specifically of what you mentioned sarcastically in your post.

      Linux and Reiser both have some sloppy code in them. I wish XFS would be ported to FreeBSD since the default UFS2 filesystem is all synchronozied. This makes it more stable but alot slower.
      Bad code that goes into a so called stable product means the developers do not care or have major developmental issues. Linux included.

    12. Re:ReiserFS == BrokenFS by minion · · Score: 1

      If you want to use some serious FileSystem for Linux then continue using EXT2/EXT3 or switch to XFS. everything else is simply a risk.

      Where does JFS fit into the picture? I've read tons of comments from people regarding this article so far, and have seen almost nothing about JFS.

      --

      -- If we don't stand up for our rights, now, there will be no right to stand up for them later.
  25. About reiser4 by Fefe · · Score: 5, Informative

    I attended Hans' presentation at Linuxtag.

    Basically, reiser4 is optimized for the case where you unpack a large tarball, say the Linux kernel, and have enough memory to hold it all in cache, which is true for most of us these days. reiser4 will then choose the optimal disk layout for these files and flush them to disk.

    Hans also has aspects of a log structured file system in reiser4, which means you don't write to the file, you write to a log file which basically encompasses the whole disk. The up side is that you mostly write linearly, the down side is that the files get badly fragmented if they are updated at all. Most files are not updated, just written once at installation of the package. The files that are updated frequently tend to be source code from CVS, which are small enough to fit in memory completely and have reiser4 choose an optimal disk layout again.

    The case where this model completely sucks is the case where you update many portions of a large file. For example, running an SQL database with files on a reiser4 file system as backend, or maybe a DNS server with DDNS, or a berkeley db backend for Postfix or qmail to keep the SMTP AUTH users or something. Also, log files will probably be badly fragmented.

    Hans proposes to have something like a transparent defragmenter running in the background, which he calls "repacker". This would run in the kernel space, as part of the file system, and defragment badly fragmented files that are accessed frequently. This would solve most of the down sides of his approach, but this repacker is not finished yet.

    My personal view of reiser4 is: it looks like it is optimized to perform well in benchmarks. It tries to be fastest for updating databases, but buys the performance by being slower when reading the data afterwards. The critical question is whether the repacker can alleviate these concerns, and as long as it is not finished, reiser4 is basically out of the question except for a little testing here and there. I reckon reiser4 would be a great filesystem for keeping your mozilla and gcc CVS checkout handy. But until the repacker is done, I will not even use it for testing, because the repacker really is the crucial component that makes or breaks this.

    By the way: my previous experiences with reiserfs were less than stellar. Some people call it shredderfs instead. The main complaint with reiserfs is and always was that the fsck is not nearly as trustworthy or stable as the one from ext2/ext3. So even if I use reiserfs at all, it's only for data I can afford to lose completely, like my CVS checkouts or the squid cache directories or something like that.

    The benchmarks do look good though, and I am glad that at least someone is still trying major innovations in this area. Since most Unix vendors or divisions are no longer profit centers, file system innovations have largely stalled or moved to specialized companies who regard them as proprietary (Veritas) instead of releasing them as free software like IBM and SGI did.

    1. Re:About reiser4 by Anonymous Coward · · Score: 0

      Thanks for your well-written, thought-out post. Everyone else seems to express their one-sided opinion, but you've presented a balanced and fact-based comment.

    2. Re:About reiser4 by Anonymous Coward · · Score: 0

      >The benchmarks do look good though, and I am glad that at least someone is still trying major innovations in this area. Since most Unix vendors or divisions are no longer profit centers, file system innovations have largely stalled or moved to specialized companies who regard them as proprietary (Veritas) instead of releasing them as free software like IBM and SGI did.
      >
      >

      You sir, are an utter and complete *MORON*

    3. Re:About reiser4 by Anonymous Coward · · Score: 0

      If this is true, then it is uber-funny.

      "Hans proposes to have something like a transparent defragmenter running in the background, which he calls "repacker". This would run in the kernel space, as part of the file system, and defragment badly fragmented files that are accessed frequently. This would solve most of the down sides of his approach, but this repacker is not finished yet."

      First, let's add some extra shit in kernel space.

      Second, the 'defragmenter' of those log-structured fs are always the problem. Looks great on the paper, looks a bit worse when coding, and eat I/O at production.

      What I find funny is that LSFs were supposed to be the "file system for the 90's" (in late 80's) http://citeseer.nj.nec.com/rosenblum91design.html. There was a LSF in stock FreeBSD (dropped because it wasn't really better than true and tried FFS with soft update at the end). "Plus ca change, plus c'est la meme chose"...

      As the original LFS conceptor admit themselves, LFS is great in micro-benchmark. No wonder reiser4 is great at benchmark, and wait for other problems to be fixed by the cleaner. Yeah...

      One major positive point about FS with 'cleaners/garbage collectors' is that they are usually easy to enlarge shrink. This can be a real plus when dealing with raid paritions...

    4. Re:About reiser4 by Anonymous Coward · · Score: 0

      Everyone's opinion is one-sided. Some are just more extreme than others. Being balanced doesn't make you more accurate.

    5. Re:About reiser4 by Anonymous Coward · · Score: 0

      Heh, no sorry, that honor belongs to you, and the funny thing is that you nominated and elected it upon yourself.

    6. Re:About reiser4 by hansreiser · · Score: 5, Informative


      The difference between us and an LSF is that we perform well BEFORE you run the repacker, and we merely perform even better after you run it. LSF's required that you run the repacker to get good read performance, we don't. V4 kicks V3's butt without the repacker by a lot (due to dancing trees, allocate on flush, extents, and ending the use of BLOBS, among other things). With the repacker, it will just kick it harder.




      Our approach synthesizes a lot of approaches, rather than considering one technique to be the answer to everything. This makes our performance more robust, as the different approaches each cover over each other's lackings. There are some situations in which using a repacker is higher performance than making lots of little changes while constantly maintaining optimal allocation of files.



      The repacker will be ready in a few weeks.

    7. Re:About reiser4 by Daniel+Phillips · · Score: 1

      The difference between us and an LSF is that we perform well BEFORE you run the repacker, and we merely perform even better after you run it. LSF's required that you run the repacker to get good read performance, we don't. V4 kicks V3's butt without the repacker by a lot (due to dancing trees, allocate on flush, extents, and ending the use of BLOBS, among other things). With the repacker, it will just kick it harder.

      Hi Hans! Congratulations on your release and your latest achievements. You really are leading the field in filesystem innovation.

      --
      Have you got your LWN subscription yet?
    8. Re:About reiser4 by SanityInAnarchy · · Score: 1

      I've never had data loss with ReiserFS. If your kernel was 2.4.16 or less, that would explain it -- Reiser is stable on 2.4.18.

      They now have a bug database & troubleshooting page that are mostly devoted to hardware bugs.

      Reiser4, though, looks to be better than any other fs so far. First of all, forget the large file getting updated all the time -- like a SQL database. Reiser4 is a first step to _replace_ SQL databases. Hans is moving towards a unified namespace.

      How many times do you have a large amount of information that you are constantly updating anyway? I think the SQL database is the only sane answer -- and it could be implemented as lots of small files, even flat text!

      Also, since it is lazy (keeps things in RAM until it has to write), you wouldn't usually get too much fragmentation. If your SQL database is split up into 128 meg fragments, that's not bad at all.

      You could also turn the journalling off, or maybe by degrees. (At least I hope you can.) This would let writes go straight onto the file, or be written twice -- first to a log, then to the file -- slow down writes but spead up reads.

      And I'm not sure why unlinking is supposedly slower in Reiser, but here's something which _may_ be in XFS, but I guarentee is not anywhere else -- when you delete a file before it has to be flushed to disk, it never is flushed to disk. This mostly eliminates the need for tmpfs. You have /tmp as Reiser4, and if you are rapidly creating and deleting files, the actual disk may never be touched. If you are rapidly overwriting the same data, it eventually goes to disk -- but no more than is neccessary.

      Also, Reiser4 is going to be the only filesystem so far that implements transactions, so you should trust it more than ext3. Imagine something as simple as overwriting an AbiWord document (or pick your favorite word proccessor) and power fails halfway through. Now, the last successful call to write() might have been the last XML tag, leaving your document in an unusable state no matter how good the data log is. With Reiser4, it can roll back to the last usable state of your document, as defined by the program that wrote it.

      It's true that this requires people to start accepting Reiser, and programs to start supporting it. But if it really is as good as I hear it is, this won't be a problem.

      --
      Don't thank God, thank a doctor!
  26. ext2? by Coneasfast · · Score: 3, Interesting

    I know ext2 isn't a journal fs, but it would still be interesting to see a direct comparison again reiser4.

    --
    Marge, get me your address book, 4 beers, and my conversation hat.
  27. If I'm reading these right.... by Anonymous Coward · · Score: 4, Insightful

    It's still not time to swap it for ext3 for general use.

    The first table with the mixed file sizes is the most compelling. The fact that reiser4's Create and Copy times are less than a third of the ext3s in real_time is impressive.

    But the fact that the CPU consumption on Read is double that for R4 as it is for ext3 is a serious problem. On a 1.3 Ghz machine saturating a generic UDMA 100 60G bus on RH 9.0 it's about 10% of the CPU, so the home user might not care. For a system capable of delivering serious data (like a 4 drive, 15k rpm SCSI RAID array @~3 times the read throughput) going from 30% CPU to 60% CPU usage is a definite problem. Even with a 2.6 Ghz cpu it would still move from chewing up 15% to 30%. I know these numbers don't scale exactly, but they could in fact scale ugly depending on how much CPU is dedicated to communicating with the hardware and how much is in fiddling with the filesystem. My production boxes spend > 80% of their disk activity reading, so I'm not yet inspired to go out and spend the time running benchmarks on highperf. systems just yet.

    Nevertheless, I always admire it when a new version of software comes out and it's noticeably faster than the old

    1. Re:If I'm reading these right.... by hankaholic · · Score: 1

      That's a great point, and definitely a valid concern.

      To address that, I seem to recall Hans having said that the current implementation will eventually be streamlined in terms of CPU usage. The important thing is that the algorithms scale well, and don't take exponentially longer (in fact, it's probably quite sublinear time) as you store more files.

      The development team is aware of the CPU load, and will be working to lighten the load. Judging by how good these guys seem to be, I'd expect dramatic improvements by the time the rest of the 2.6 series matures.

      --
      Somebody get that guy an ambulance!
  28. Real comparison? by Quixote · · Score: 3, Insightful
    I'd like to see someone (i.e., not me) do a comparison of ReiserV4 with other heavy hitters like XFS and JFS

    That would be interesting.

  29. Re:It's really good that filesystems are maturing by numonic · · Score: 1

    Not only that, but this 'Han' guy has even achieved getting his 'Reiser' to promote his FS' performance on Slashdot.

    Silly apostrophes...
  30. Re:It may be interesting to know... by botzi · · Score: 2, Informative

    ..but however remember that both have different strong points:

    XFS is especially good in dealing with large(and when I say large I mean *LARGE*) files, and IIRC, the all idea behind the Reiser filesystem is to deal with small data objects.

    Anyway, it'd be interesting to see such a benchmark as XFS has the reputation of one of the best(the best???) fs to be used with high hard-disk I/O-s and even higher system loads.....

    --
    1. No sig. 2. ???? 3. Profit!!!
  31. Re:*BSD is dying by Anonymous Coward · · Score: 0

    Netcraft says there are 2 million websites using freebsd.

    Could you do the math for that too.

  32. In other news... by wirelessbuzzers · · Score: 4, Interesting

    Apple benchmarked their new G6 processor against the latest 10 GHz Pentium V. They say that despite its lower clock speed, it runs their suite of PhotoShop 8 filters almost four time faster than the Pentium.

    Seriously, Hans Reiser is benchmarking his own file system, and he's using benchmarks that make his system look good. Like the SpriteLFS, his filesystem has a log structure for sequential writing, which makes it look really good in tests like he performed where you write the files once.

    Compare a database load, where you write small chunks of big files all the time. Without the repacker (like the cleaner in LFS), the disk becomes horribly fragmented. With the repacker, you have to include the slowdown of this background process defragging your hard disk. Ick.

    I'll trust his benchmarks when he presents a final, stable release, with the repacker on, and tests it under workloads such as would be encountered on a server. I might use it on my homebox even if it sucks on a server, but it would be nice to know that he considers his structure's impact on other workloads.

    --
    I hereby place the above post in the public domain.
    1. Re:In other news... by Anonymous Coward · · Score: 0
      They say that despite its lower clock speed, it runs their suite of PhotoShop 8 filters almost four time faster than the Pentium

      Well I hope you don't think clock speed is the end-all be-all of performance. The structure of the P4 and the G5 are completely and utterly different. Nevermind the fact that one is CISC and the other is RISC. I'm not trolling either because I run a pentium machine but I'm looking into buying a G5 laptop when they start making them. I also have an UltraSparc on the way. CISC should have been killed a long time ago. This damn P3 in my laptop gets so hot it has already eaten two fans. It took about 3-4 months for it to destroy the latest fan. What good is the processor if it gets too hot to run?

    2. Re:In other news... by Anonymous Coward · · Score: 0

      Any real database will use a raw partition and manage everything itself. It will use it's own optimized cache and it's own journalling system for full data reliability.

  33. linus by austad · · Score: 2, Interesting

    Didn't linus say no more new features at this point? Didn't Reiser try this same damn thing last time, fighting with the kernel people to get his stuff in after the feature freeze?

    --
    Need Free Juniper/NetScreen Support? JuniperForum
    1. Re:linus by Anonymous Coward · · Score: 2, Informative

      No. Linus stated very clearly that new drivers or filesystems or whatnot weren't affected by the feature freeze. He just didnt want any code going in that touched large portions of the core kernel code.

  34. ReiserFS recovery tools? by Anonymous Coward · · Score: 0

    ReiserFS is very fast at writing large numbers sub-blocksize files, granted, but has anyone out there ever gotten its filesystem recovery tools to run 1) faster than ~1 hour/GB/1000BogoMIPS and 2) without crashing near the very end? In other words, in the (ostensibly unlikely) event that ReiserFS screws up and you do have to check its consistency, is there any way to do it? My experience has been to the contrary several times now, and I end up having to rebuild the entire FS. Fortunately I'm fanatical about keeping backups, so I can afford to do this; I certainly wouldn't recommend it to anyone who wants to maintain filesystem integrity, but the speed is breathtaking.

  35. I'm going to disagree with you by lamontg · · Score: 1
    When you have a thousand machines, if you're constantly losing filesystems then you spend way too much SA time rebuilding them.

    of course if you've got a cluster of 100 machines that are all doing the same things and you can even make the app go 5% faster by a different filesystem, that can be a saving of $20,000 or so.

  36. Re:Don't trust ReiserFS! by Anonymous Coward · · Score: 0

    Yes, praise the Lord Jeebus Almighty for our good, wholesome, heterosexual FileSystems! Hallelujah!

  37. Re:Warning by rdean400 · · Score: 1

    I've been running ReiserFS for 36 months without issue. Can't say the same for JFS, XFS, ext2, or ext3.

  38. Re:Warning by Anonymous Coward · · Score: 0

    That may be true, but your statement would still be true even if you never tried any of the other filesystems...

  39. Should I bother? by anthony_dipierro · · Score: 2, Interesting

    I'm not putting thousands of files in a single directory. I'm not using tons of small files, and my hard drives are more than big enough to hold my data. Is there any reason to use reiserfs instead of ext3?

    1. Re:Should I bother? by Anonymous Coward · · Score: 2, Informative
      If you look at the website, then you will see that their goal is to redefine the role of a filesystem. Some of the new features in version 4:
      • plugin-based architecture
      • new semantics that allow files to also be directories
      When was the last time you remember hearing about new features in a filesystem? Journaling was the last one I can remember and that's a few years old now.
    2. Re:Should I bother? by Anonymous Coward · · Score: 0

      Maybe you would if the filesystem actually supported these uses. Perhaps your mail box would keep each seperate piece of mail as a seperate file, all 100,000 pieces of it. And meta data could be stored in each file about the subject, the to and from to allow you to use standard tools like grep and awk to work with your mail.

    3. Re:Should I bother? by anthony_dipierro · · Score: 1

      If you look at the website, then you will see that their goal is to redefine the role of a filesystem.

      Yeah, but that part seems dumb to me. You're not going to get many programmers to write software utilizing a filesystem which requires the software users to install a kernel modules. Maybe if they come out with a reiserfs shared library. That would be cool.

      plugin-based architecture

      new semantics that allow files to also be directories

      Yeah but what does this do for me? I'm not even sure what it means to allow files to also be directories. Is this something actually useful?

      When was the last time you remember hearing about new features in a filesystem?

      I think the fact that filesystems haven't changed is a good thing. The main reason that filesystems are useful in the first place is because they make command line administration easy. Secondarily, a hierarchical folder system is currently the best widely implemented organizational system for documents, but a whole lot of work still needs to be done in this regard, and reiserfs isn't helping anything in that area.

      Journaling was the last one I can remember and that's a few years old now.

      A few years old for linux. Many years old for unix. And journaling has been a great improvement. I really hated those constant fsck's every time I would be forced to turn off my computer without shutting down properly.

      I don't mean to disparage reiserfs. I'm sure it's great for certain types of servers, most likely those with tons of user accounts. But I'm thinking of it from more the typical single-user (maybe a small family at the most) perspective.

    4. Re:Should I bother? by anthony_dipierro · · Score: 1

      Maybe you would if the filesystem actually supported these uses.

      No. I wouldn't. Having 10,000 files in a single directory is not useful to me.

      Perhaps your mail box would keep each seperate piece of mail as a seperate file, all 100,000 pieces of it.

      Why would I want my mail box to do that? This is a software programming issue. It makes no sense for someone to write a mail program which only works on a single filesystem. If you want to solve the problem once instead of having each program solve it separately, write a dynamic library, not a kernel module.

    5. Re:Should I bother? by Anonymous Coward · · Score: 0

      Yeah but what does this do for me? I'm not even sure what it means to allow files to also be directories. Is this something actually useful?

      It's useful because of two things: fine-grained permissions and the ability to store arbitary metadata for any file.

      The best example of permissions is their scenerio where thay show what can be done with /etc/passwd, where each field can have seperate permissions and modification times, yet still be completely backwards compatable.

      If a file can also be a directory, then you can store any metadata you want by just creating a file. You can create and use new types of metadata without needing special tools.

    6. Re:Should I bother? by Anonymous Coward · · Score: 0

      The point is, this is the way all filesystems should have been handling metadata. Reiserfs is the first one to do this the "Right Way". Now, any type of metadata for any type of file can be stored and accessed in a consistant (and backwards compatable) format.

    7. Re:Should I bother? by anthony_dipierro · · Score: 1

      It's useful because of two things: fine-grained permissions and the ability to store arbitary metadata for any file.

      I don't need fine-grained permissions. My computer has one user on it: me.

      Storing metadata for any file. It isn't clear to me how that is useful.

      The best example of permissions is their scenerio where thay show what can be done with /etc/passwd, where each field can have seperate permissions and modification times, yet still be completely backwards compatable.

      I fail to see how that is useful to me.

      If a file can also be a directory, then you can store any metadata you want by just creating a file. You can create and use new types of metadata without needing special tools.

      Can you give me an example? I'm not sure I understand. What tools would I use, vi? And what kind of metadata would this be useful for? I tend to let my special tools handle my data and my metadata. This seems like just another tool for software programmers who want to create software which will only work on a single filesystem.

    8. Re:Should I bother? by hankaholic · · Score: 1

      Do you ever do, say, "ls /usr/share/doc"?

      ReiserFS is quick in many day-to-day operations, not just benchmark test cases.

      The only real response I can give to this is, try it and decide for yourself.

      Or, is there any reason to use ext3 instead of reiserfs?

      --
      Somebody get that guy an ambulance!
    9. Re:Should I bother? by Anonymous Coward · · Score: 0

      You could use vi, or cat or emacs or shell scripts. The point is that you don't need special tools, and programs do not need to be rewritten to take advantage of new types of metadata.

      One example: id3 tags in mp3 files. They are very useful, but what if you have a different type of metadata you want to include with each file? You can't without changing the file format specification.

      With reiser4, you can store the metadata in the filesystem where any program can access it. Instead of using a special program to read the id3 tag, you could type something like "cat foo.mp3/author". If you want to add a new type of metadata, then it is as easy "echo something > foo.mp3/some_new_type_of_metadata"

    10. Re:Should I bother? by pe1chl · · Score: 1

      No. I wouldn't. Having 10,000 files in a single directory is not useful to me.

      Maybe not you yourself, but some programs will certainly do that. E.g. a cache directory of a browser or proxy server.
      Programs have to be handling the deficiencies in filesystem directories by adding extra directory levels, which complicates them more than necessary.

      Why would I want my mail box to do that?

      Because it is more efficient when deleting mail messages or moving them between folders.

      It makes no sense for someone to write a mail program which only works on a single filesystem.

      It works on all filesystems, but performs better on some than on others.
      And it already has been written.

    11. Re:Should I bother? by anthony_dipierro · · Score: 1

      The point is, this is the way all filesystems should have been handling metadata.

      If you say so. In any case, they didn't.

      Personally I don't think there should be filesystems in the first place. The "Right Way" is for all that nonsense to be in libraries. But it's too late for that, too.

      Now, any type of metadata for any type of file can be stored and accessed in a consistant (and backwards compatable) format.

      It's not really backwards compatable though. If you use the software with a non-reiserfs filesystem it'll be slow as shit.

    12. Re:Should I bother? by Anonymous Coward · · Score: 0

      It's not really backwards compatable though. If you use the software with a non-reiserfs filesystem it'll be slow as shit.

      It will be slow, but it will still work.

    13. Re:Should I bother? by anthony_dipierro · · Score: 1

      Do you ever do, say, "ls /usr/share/doc"?

      No. I don't even think I have a /usr/share/doc.

      ReiserFS is quick in many day-to-day operations, not just benchmark test cases.

      So what does that do for me? Save me 1 second on a kernel compile? Actually, kernel compile would be a bad example, because adding reiserfs is going to increase my kernel compile time.

      The only real response I can give to this is, try it and decide for yourself.

      I can't afford wasting all that time reinstalling my entire linux system without some promise of an actual benefit. I'm not even sure I could do it, since I don't have any install CDs which support reiserfs.

      Or, is there any reason to use ext3 instead of reiserfs?

      Sure. It's what my install CD supported. I'm not even sure how I'd go about installing reiserfs. I'd have to shrink my ext3 partition, create a second partition, move all the stuff over there, boot off that second partition, install a reiserfs root on the first partition, install linux there, boot off that, copy everything over, delete the second partition, and extend the first back to the whole hard drive. I'm not even sure there are even tools available to do all that.

    14. Re:Should I bother? by anthony_dipierro · · Score: 1

      With reiser4, you can store the metadata in the filesystem where any program can access it. Instead of using a special program to read the id3 tag, you could type something like "cat foo.mp3/author". If you want to add a new type of metadata, then it is as easy "echo something > foo.mp3/some_new_type_of_metadata"

      Good point. I'm switching.

    15. Re:Should I bother? by Anonymous Coward · · Score: 0

      Is that sarcasm I detect? :)

    16. Re:Should I bother? by anthony_dipierro · · Score: 1

      Maybe not you yourself, but some programs will certainly do that. E.g. a cache directory of a browser or proxy server.

      That's poor design. There's no reason to use more than a single file for the cache.

      Programs have to be handling the deficiencies in filesystem directories by adding extra directory levels, which complicates them more than necessary.

      That's where shared libraries come into place. I'm sure there are already libraries written to handle such databases.

      Because it is more efficient [to use separate files] when deleting mail messages or moving them between folders.

      Not if your program is written properly.

      It works on all filesystems, but performs better on some than on others.

      If it's slow as hell, I wouldn't say it works.

    17. Re:Should I bother? by anthony_dipierro · · Score: 1

      No. I'm serious. You convinced me. The ability to use standard tools like vi and ls on what are essentially general-purpose databases is a good thing.

      Hmm... There is one problem though. Every single file access requires a separate system call. That seems like it would be a problem if you were trying to access many files at once. "grep Metallica /mp3/*/artist" is nice to type, but it's a hell of a lot less efficient than if you were using a database file, say /mp3/artist.db.

      OK, I'm not convinced yet. But I'm getting there.

    18. Re:Should I bother? by anthony_dipierro · · Score: 1

      Oops that should be "find /mp3 -name Metallica", of course. Maybe that would be less than one system call per file...

    19. Re:Should I bother? by Anonymous Coward · · Score: 0

      From what I can tell from reading the documenation on their web site, reiserfs is going to keep introducing new features that make the filesystem more and more like a database. Besides the metadata thing, I think the namespace integration will eventually be the "killer app" for reiserfs.

    20. Re:Should I bother? by hankaholic · · Score: 1

      Then it sounds like you've already made the decision, or the distribution makers have made it for you.

      I don't know what distro you use, but I do know that a friend was recently unable to get Debian to install onto a Reiser root (I'd have offered to help, except for the 240-mile trip it would have involved), and from what the comments say here, Redhat doesn't visibly include the option in the default install.

      I have converted machines from ext2 to reiser, using tar and going partition by partition.

      Is it worth it for you? Only you can make that decision. It has been worth it for me.

      --
      Somebody get that guy an ambulance!
    21. Re:Should I bother? by anthony_dipierro · · Score: 1

      I have converted machines from ext2 to reiser, using tar and going partition by partition.

      Well, I only have one partition so it would be significantly more difficult than that in my situation...

      Is it worth it for you? Only you can make that decision. It has been worth it for me.

      So far the only real benefit I would receive immediately is slightly better performance. If that's all I'm going to get, is a few milliseconds here and there, it's certainly not worth it.

      I probably will start playing around with it at some point. It would be nice to be able to use vi and grep on everything.

    22. Re:Should I bother? by Anonymous Coward · · Score: 0

      Hans didn't write the filesystem for you, fscktard. Nobody cares what filesystem you use.

    23. Re:Should I bother? by Anonymous Coward · · Score: 0

      Dear Mr. Counterrevolutionary -- wouldn't you agree the correct design depends highly on the infrastructure available? ie. the filesystem. You seem to be taking the backassward approach, where the OS should be defined by the applicaitons. That's a common attitude among Unix types, but still inexcusable.

    24. Re:Should I bother? by pe1chl · · Score: 1

      Apparently your belief is that every program should be on its own to do all its data management.

      Others, including me, believe that the operating system should be there to help perform these tasks by providing suitable services. Like well-performing services to store and remove arbitrarily sized pieces of data in an entity that can be referred to by a name, and without unnecessary restrictions on the number of such entities.

      When you put the burden of everything on the user program, and blame everything on bad design of that program, you may just as well use MS-DOS.

    25. Re:Should I bother? by anthony_dipierro · · Score: 1

      Apparently your belief is that every program should be on its own to do all its data management.

      Sort of. Data management should be done in shared libraries, in user space, not in the kernel.

      Others, including me, believe that the operating system should be there to help perform these tasks by providing suitable services.

      I agree. But shared libraries are part of the operating system too, you know. Just because something should be in the OS doesn't mean it should be in the kernel.

    26. Re:Should I bother? by Scott+Wood · · Score: 1
      Sort of. Data management should be done in shared libraries, in user space, not in the kernel.

      That's an argument for putting the filesystem itself in userspace, not for the ugly filesystem-in-a-filesystem hacks that you seem to want. If the system provides a filesystem that doesn't suck, whatever the state of the supervisor bit may be when its code executes, why not use it?

      As for shared libraries, as opposed to some sort of server task, that removes the ability to have reasonable concurrent access to the data in question by multiple processes, and increases the odds of corruption if the app crashes.

    27. Re:Should I bother? by Scott+Wood · · Score: 1
      That's poor design. There's no reason to use more than a single file for the cache

      There's no reason to not use separate files, unless you're working around a crappy filesystem.

      As for reasons to use it, besides cleanliness, you wouldn't have issues of fragmented sub-files within the file as objects are removed from the cache and objects of other sizes are added. By using individual files, you'd get to deal with fragmentation on the level of the whole filesystem, making it much more likely something will exist that will fit. Plus, due to maintaining separate codebases for both the outer and inner filesystems, both are likely to be worse due to not having whatever enhancements were made to the other.

      If it's slow as hell, I wouldn't say it works.

      You're right; I wouldn't say such filesystems work.

    28. Re:Should I bother? by pe1chl · · Score: 1

      Sort of. Data management should be done in shared libraries, in user space, not in the kernel.

      I disagree with that. In fact I think that the lack of decent data management in the Unix (and later Linux) kernel has always severely hampered the development of a consistent and good method of storage of configuration data.

      Just because something should be in the OS doesn't mean it should be in the kernel.

      That argument has been used against many developments. Often without reason.
      We don't have a microkernel, so there will always be things in there that purists don't like to have in the kernel. But "we should not put a good filesystem in the kernel because we already have a worse one there, put your good filesystem in a shared library instead" is just a conservatist statement against any change, not constructive.
      Along those lines you may just as well argue that the kernel should only provide access to block devices, and that a filesystem does not belong in the kernel because it can be done in a shared library.

    29. Re:Should I bother? by anthony_dipierro · · Score: 1

      There's no reason to not use separate files, unless you're working around a crappy filesystem.

      Isn't that reason enough?

    30. Re:Should I bother? by anthony_dipierro · · Score: 1

      But "we should not put a good filesystem in the kernel because we already have a worse one there, put your good filesystem in a shared library instead" is just a conservatist statement against any change, not constructive.

      I've never said that we shouldn't put a good filesystem in the kernel.

      Along those lines you may just as well argue that the kernel should only provide access to block devices, and that a filesystem does not belong in the kernel because it can be done in a shared library.

      Well, there are permissions issues which can only be done in the kernel. But other than that, I agree with that statement. The filesystem should be a shared library to the extent that is possible.

    31. Re:Should I bother? by anthony_dipierro · · Score: 1

      That's an argument for putting the filesystem itself in userspace, not for the ugly filesystem-in-a-filesystem hacks that you seem to want.

      I don't want a filesystem in a filesystem. I just think that general purpose databases are different from filesystems.

      If the system provides a filesystem that doesn't suck, whatever the state of the supervisor bit may be when its code executes, why not use it?

      Ext3 doesn't suck, and I do use it.

      As for shared libraries, as opposed to some sort of server task, that removes the ability to have reasonable concurrent access to the data in question by multiple processes, and increases the odds of corruption if the app crashes.

      There could still be locking at any level you want, block, file, row, whatever. That would obviously have to involve a system call, at least on SMP.

  40. use Pavlovian Conditioning by jonadab · · Score: 3, Insightful

    > > they would just hit the reset button
    >
    > I've found users doing that to my servers before now. I find
    > that hitting them on the nose with a rolled up newspaper and
    > shouting "No! Bad monkey!" in a stern voice tends to stop this
    > behaviour...

    Even better: configure the services that the users use so that
    they don't start up at system start. Write a short script that
    starts them all, and whenever you restart the server ssh in and
    run it. That way, if users cold-reset the server, nothing will
    work until you fix it anyway, so you might be able to break them
    of that habbit then. (Otherwise, they'll just do it behind your
    back and not tell you; this way, they HAVE to come to you.) The
    only internet service that needs to start at system start in such
    a setup is sshd, and with that you can start up everything else
    from anywhere easily.

    If you have any coworkers (or underlings) clueful enough to handle
    a shell prompt, you can train them to ssh in and do a _proper_
    restart, and tell them how to start up all the services by running
    your start-services script.

    One more option: you can disconnect the reset switch. However,
    that won't stop them from just unplugging it, which I've found
    myself doing to Win9x systems when the reset switch does nothing,
    or on some Linux systems when shutdown -h doesn't turn off the
    power when it's finished, if there's no real power switch other
    than the on-only kind a lot of newer cases sport.

    So, just fix it so that doing Bad Things (like power-cycling)
    doesn't achieve perceived positive results.

    --
    Cut that out, or I will ship you to Norilsk in a box.
    1. Re:use Pavlovian Conditioning by dtfinch · · Score: 2, Insightful

      That's a good way to increase job security too, if they don't suspect anything.

      As for the "on only" power switches, most of the computers have bios settings for that, and if not, holding them down for about 4 seconds usually works.

    2. Re:use Pavlovian Conditioning by Anonymous Coward · · Score: 0

      ACPI meets kernel

      Joking, as you probably know that, but the soft-off buttons are usually able to perform hard-offs by pressing them longer (say 4-6 seconds).

    3. Re:use Pavlovian Conditioning by mystran · · Score: 2, Insightful
      Actually, at couldn't you just disconnect the reset switch and hook the power button such that it runs proper shutdown..

      Windows 2000 and XP do this. No reason why Linux couldn't.

      --
      Software should be free as in speech, but if we also get some free beer, all the better.
    4. Re:use Pavlovian Conditioning by Anonymous Coward · · Score: 0

      Linux does do this if you have ACPI configured and you are running acpid. However most servers don't have it enabled for various reasons.

    5. Re:use Pavlovian Conditioning by friscolr · · Score: 1
      One more option: you can disconnect the reset switch.

      Take a hint from fire alarms and hook up the power switch to a squirt gun full of a staining dye. Now you know who to chase around with the rolled up newspaper.

    6. Re:use Pavlovian Conditioning by jonadab · · Score: 2, Insightful

      > Actually, at couldn't you just disconnect the reset switch
      > and hook the power button such that it runs proper shutdown..

      You could, but that doesn't stop users from unplugging the AC power
      cord and plugging it back in, which is what they'll do if the reset
      switch doesn't work. You want things set up so that if they do that
      once, they have no motivation to do it again next time (because it
      didn't accomplish what they want, just like you said it wouldn't).

      The problem is, common but unreliable operating systems have people
      conditioned to solve problems by power cycling, because that's often
      the only way and even more often will work. If you want them to not
      do it, it has to not work.

      Another way to accomplish this is to set things up so that fsck will
      require significant (and, to a user, scary) user interaction if the
      filesystem was not cleanly unmounted. That used to be the default,
      but these days the default is probably journaling and no fsck at
      all, or at least for fsck to run with no user interaction. For a
      system end users don't have physical access to, that's good, but if
      end users are present, it tends to give them the wrong idea (namely,
      that unclean shutdowns are no problem).

      This is an axiom every IT person should learn well: what's good for
      a system end users touch directly and what's good for a system whose
      users are powerusers or admins or developers are two different
      things. A server can be in the latter category, but only if end
      users can't walk up to it and use it directly. Lock it in a server
      room and change the lock so that only the IT staff can get in (no
      janitors, no non-IT managers, nobody but IT staff), or colocate it
      in a datacenter, and you can treat it as an admin-type system.
      Set it on a desk in the open office area where Joe Secretary can
      touch it, and you have to treat it differently.

      Though, I have a cgi server in an open office area... but I've
      evaluated the risk. The power switches and stuff are toward a
      wall (and it can't be slid out without being lifted, I'm the one
      all my coworkers call to lift things), and it's headless, and it's
      not the least bit mission-critical, and it backs up everything
      that matters at all over the network daily on a cron job, and even
      so I know what fire I'm playing with, having it where it is. I've
      considered the possibilities, and the most worrisome one is the
      power bar it's plugged into (under the credenza) getting bumped
      inadvertently by someone reaching for a trashcan. I'm prepared
      for the possibility that could happen at any time. The fact that
      it's not the least bit mission-critical is significant to my
      decision to leave it there, rather than trying to make space for
      it in the closet with the T1 router.

      --
      Cut that out, or I will ship you to Norilsk in a box.
    7. Re:use Pavlovian Conditioning by grmoc · · Score: 1

      I believe its more like 6 seconds.

    8. Re:use Pavlovian Conditioning by Anonymous Coward · · Score: 0

      It's configurable sometimes. It's usually 3-5 seconds before power cuts out. I think it's a good idea, how often do you power down a machine, and how often did you used to kick, poke or press the power button by accident?

    9. Re:use Pavlovian Conditioning by dtfinch · · Score: 1

      I have a niece who went through a phase from the moment she could crawl until she was 3 where she liked to press any button she could reach.

    10. Re:use Pavlovian Conditioning by oohp · · Score: 1

      The best way to do it is to physically lock your server away from filthy reboter hands. Really. See any security tutorial -- physical security is mentioned everywhere.

    11. Re:use Pavlovian Conditioning by SnowZero · · Score: 1

      No, I think you should use a vented locked server box not for the servers, but to punish the users who power cycle the machines. Make sure to keep them locked in the box for at least 8 hours. Then you can put the servers wherever you want!

    12. Re:use Pavlovian Conditioning by richie2000 · · Score: 1

      The specs say 4 seconds, but I admit that it feels more like 10 when you're standing there, waiting for the box to die.

      --
      Money for nothing, pix for free
  41. Gee Re:Reliability by WolfWithoutAClause · · Score: 1
    But he didn't know that, on his particular setup, that a journalled disk operating systems (ext3) would turn out to be less reliable than another journalled disk operating system (reiserfs); when he installed it.

    Actually, come to think of it, he still doesn't know that until he switches the root across- a journalled disk operating system doesn't usually guarantee the contents of the files, only the metadata (although you can sometimes configure it), so it may very well be that it doesn't make much difference.

    --

    -WolfWithoutAClause

    "Gravity is only a theory, not a fact!"
    1. Re:Gee Re:Reliability by Just+Some+Guy · · Score: 2, Informative

      Yep. Root is a prime candidate for a small (100MB should do it) ext2 system mounted "sync". You don't need decent write performance on root; in fact, many sysadmins make it read-only. Journalling is pointless if you're only writing to the filesystem once every 6 months to add a new user.

      --
      Dewey, what part of this looks like authorities should be involved?
    2. Re:Gee Re:Reliability by Daniel+Phillips · · Score: 4, Insightful

      Root is a prime candidate for a small (100MB should do it) ext2 system mounted "sync". You don't need decent write performance on root; in fact, many sysadmins make it read-only. Journalling is pointless if you're only writing to the filesystem once every 6 months to add a new user.

      On the contrary, that's exactly the case where you should always journal, and with full data journalling. You don't care about write performance, since you hardly ever do it, but you do care at lot about keeping your root filesystem consistent.

      --
      Have you got your LWN subscription yet?
    3. Re:Gee Re:Reliability by SaDan · · Score: 3, Insightful

      It's nice to have your log files mostly intact after a hard reboot, too.

    4. Re:Gee Re:Reliability by Anonymous Coward · · Score: 0
      It's nice to have your log files mostly intact after a hard reboot, too.

      Log files in / ? Where?? All my logfiles go to /var/log, which is of course a separate partition (depending on the purpose of the server, there may be a /var and a /var/log, but always at least a /var).

    5. Re:Gee Re:Reliability by Anonymous Coward · · Score: 0

      The previous poster specified that it was mounted "sync". This is even more stringent than a journalling filesystem with full data journalling, and so your post is totally bogus.

    6. Re:Gee Re:Reliability by SnowZero · · Score: 2, Informative

      Yeah, who is the guy anyway. Oh wait, he's a kernel developer who has worked on journaling file systems (Tux2,ext3). Your parent was not bogus, he was right. Just because you flush things to disk aggressively doesn't mean they are always consistent. There are still short times where things would mess up if the machine lost power. With full journaling the file system is *never* inconsistant. The only thing you'd want sync for is the push the latest cache versions out to disk; but it would be best to do that on a journaling FS.

  42. Me too� by DarkVein · · Score: 3, Funny
    ...he will be probably sending in a patch within the next couple of weeks to be included in the 2.6/2.5 kernel.

    The first thing that popped into my head when I read that was "uh... feature freeze two weeks ago." I'm sure Reiser's going to have another of his babyish hissy fits. I see another slashdot story in the near future.

    <Reiser> Oh, what about my sponsors! Why are you all playa hat'n on me?

    <EveryoneNotOnTheReiserCheerleadingSquad> You don't get special treatment. You waited too long, and we're not putting your untested code into a frozen code base.

    <Reiser> You're oppressing me! The GPLv3 will fix you all!

    <SomeoneFromFSF> Please shut up, Reiser. You still don't know what the fuck you're talking about.

    <Reiser> Wahh!! My sponsors!

    <Everyone> SHUT UP REISER.

    --

    I'm as mimsy as the next borogove but your mome raths are completely outgrabe.

  43. Upgrading... by SealBeater · · Score: 2, Interesting

    What about upgradablity? The nice thing about ext3 is that upgrading to a new
    version is a reboot away. With ReiserFS, you had to re-format the drive, in
    order to upgrade. Has this changed?

    SealBeater

    --
    -- Its survival of the fittest...and we got the fucking guns!!!
  44. no way reiserfs by Anonymous Coward · · Score: 0

    I used Reiserfs several times since it got advertised over and over as a good os.

    But sadly, ReiserFS didn't recover my files to a working state after my disk half way crashed.
    I could do nothing to get the data back. damn i was happy to have some backup of the living data, so i just needed to reinstall my linux.

    but this time i decided for XFS. And for some strange reason, the disk crahsed again. but thanks to the recovery tool of xsf, i just ran it once, and all my data were back up working.

    so i'm sceptical about reiserfs, but might be reiserfs4 will be better!?

    reg.
    Anonymous Coward

  45. Re:Warning by hansreiser · · Score: 4, Insightful


    It is important that you use a distro that bases their kernel on 2.4.18, or later, when using ReiserFS. There exists a distro that bases their enterprise server kernel on 2.4.9, and intentionally declines to add any reiserfs bugfixes since then. (This is the same distro that once shipped their kernel with the ReiserFS debugging code turned on so that we would go slow.) Do NOT use their kernel with ReiserFS. Generally when someone reports that they are having really bad experiences with ReiserFS, it turns out they are using that kernel.



    I generally recommend using the latest official kernel from Marcelo, and not any distro kernels, but the SuSE kernels tend to have effective ReiserFS support also, and not everyone out there shares my non-technical preference for a common community developed kernel.

  46. SCO dose it again...with an excellent Unix feature by Anonymous Coward · · Score: 0

    It nice to see that SCO is planning to relase an excellent feature for Unix. This should allow Unix to make better in roads with large companies like IBM. Looking forward to buying an license to run Reiser4.

    Keep up the good work SCO, and keep those new invoations comming.

  47. XFS by Kludge · · Score: 1

    XFS is good. We've used it for years and years on SGIs without fail.

  48. what about low latency performance??? by Anonymous Coward · · Score: 0

    file system performance under soft realtime constraints is of major importance for the linux audio users crowd... how does RFS4 stack up in this regard? is it a priority for the development team?

    1. Re:what about low latency performance??? by ScSurferDude · · Score: 1

      We tested latency with a complex soft real time system (~150 sched_fifo procs at various priorities, w/ rml & akpm sched/latency patches) and found ext3 to be poor, reiserfs 50% better, but jfs the best. Never tried xfs since jfs worked so well and was already in the kernel. JFS is regarded as slower, but in our tests for latencies in soft real time situations, it is far beyond ext3 or reiserfs. BTW, ext2 worked very well, too, but we need the journaling for fast recovery.

  49. Why... by Poofat · · Score: 1

    Why must we make nouns into verbs. "Benchmark" is not a verb. Instead, the person could have used 'compared' or 'tested against.'

    Remeber kids, verbing wierds language.

    1. Re:Why... by Homology · · Score: 1
      Why must we make nouns into verbs.

      Google has become a verb, and that not the first time or the last this will happen. Language evolve over time : old words disappear and new one appears.

  50. Re:Warning by gweihir · · Score: 1

    Pretty conclusive. 2.4.9 is also pretty ancient by now. Are these people afraid of new kernels?

    I always do my own kernel from the sources at the
    end of an installation. It avoids just so many problems and you can do thinks like monolithic kernels.

    --
    Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  51. Colors by Jacek+Poplawski · · Score: 1

    I don't understand it. In first table there is comparision between reiser4(A) and ext3(C). Big numbers in C/A are red, small numbers in C/A are green. Small C/A means that ext3 is faster than reiser4. So green color is bad for reiser4.

    But in next table A is reiser, and B is reiser4. So B/A is small and green when B is faster. So this time green is better for reiser4.

    Am I only person confused?

    1. Re:Colors by DashEvil · · Score: 1, Informative

      Hans has already addressed this point:
      The script that creates the comparison tables divides the other filesystems by the base filesystem. The problem is that Reiser4 was used as the base filesystem in one of the benchmarks, but not the other. So in one benchmark, green is good, and the other benchmark, red is good. I would have fixed this before posting to lkml, but I had to catch a plane, sorry about that.

      --
      -If God wanted people to be better than me, he would have made them that way.
  52. Are hash collisions still fatal? by Anonymous Coward · · Score: 0

    Just wondering :)

  53. Because? by Pflipp · · Score: 0, Offtopic

    Your statement is missing arguments...

    --
    "We can confirm that Debian does *not* ship the version with the trojan horse. Our version predates it." [CA-2002-28]
  54. I much prefer XFS; should be part of comparison by Zeio · · Score: 1, Insightful

    I have done filesystem testing and find that when comparing Reiser and EXT3, it is unacceptable to omit XFS and somewhat JFS (which is robust, but a little slow.) Most people forgo in both EXT3 and Reiser the features that slow things down a bit but are more durable in a failure situation. With XFS I get the full protection of the filesystem while enjoying great performance.

    XFS is by far the most durable, mature [given a long history inside IRIX] and featured of the Linux filesystems. I also am quite annoyed that RedHat doesn't make it easy to facilitate XFS right out of the box (rootfs support). They merged everything else in there, but somehow seem to favor ext3.

    About the only thing I miss when using FreeBSD is XFS. While UFS2+S is robust and very quick, XFS is still my favorite.

    I am also offended by RedHat that baits and switches a community by having popular (5.2/6.2/7.1-7.3) versions for free, then they start charging for this Advanced Server product on the same order of magnitude as Microsoft software [RH-AS is over $1000]. RH 8 and 9 are embarrassing. I obtained a copy of RH-AS, and the up2date feature doest work without a subscription, and the RPMS are not distributed in binaries. I'm glad there are several projects to replace up2date server for RedHat. All these problems on an OS that cant even be bothered to support XFS root filesystem.

    FreeBSD is still Free. Thank goodness.

    --
    Legalize the constitution. Think for yourself question authority.
    1. Re:I much prefer XFS; should be part of comparison by ultrabot · · Score: 1

      I also am quite annoyed that RedHat doesn't make it easy to facilitate XFS right out of the box (rootfs support).

      Now that RH has switched to a more community oriented development model, perhaps you can help?

      I am also offended by RedHat that baits and switches a community by having popular (5.2/6.2/7.1-7.3) versions for free, then they start charging for this Advanced Server product on the same order of magnitude as Microsoft software [RH-AS is over $1000].

      RHAS is great once you have to convince your boss to switch some critical piece over to Linux, an he is troubled by the rapid development (i.e. short lifespan) of Linux distros in general (and no, Debian can't usually be utilized in this space, due to proprietary application support).

      --
      Save your wrists today - switch to Dvorak
    2. Re:I much prefer XFS; should be part of comparison by Anonymous Coward · · Score: 0

      FreeBSD is a community mode. And its free.

      The only things that makes RHAS interesting vs. something like FreeBSD is that marketing retards know the word "linux" and big companies chose to support "linux" - hahahaha. whatever that means.

      What is linux? Even the LSB now has conflicts with POSIX. Its not Unix. Its not Posix. Its own standard defies other standards. What c library version? What kernel versions? What userland? Its all shit of the day in every distro, and RedHat is one of the worst at extorting customers. Hree its FREE- ---- PSYCHE, HAHAHA YOU BELIEVED US.

      Nice guys.

    3. Re:I much prefer XFS; should be part of comparison by lpq · · Score: 1

      Your problem (and one of SGI's) is your reliance on Red Hat.

      Just as you are annoyed that XFS isn't part of Hans's FS benchmarks, I'm a minorly annoyed that people don't realize there are better alternatives to Red Hat. SuSE Pro, comes with 2 DVD's and 5 CD's now, which can be had for less than $100. Upgrades are running in the 40-50$ range I think. Even Mandrake is still chugging along on the smell of the money they used to have.

      I 1st tried Red Hat, then seduced by Mandrake's superior UI, turned off a bit by Mandrake's Pentium-optimized code that runs slower on x686 (Pentium Pro, P-II, P-III, even P4) (according to the gnu C-library people). Then tried SuSE -- impressed with number of pre-loadable packages (though their maintenance and install procedure is still flakey and their 'installation support' doesn't even include a laptop with external monitor...lame. Still like the wider coverage enough to stay w/SuSE. When I bought it, it was 5 CD's for the base product -- about $40 at the time -- compared to RH and Mandrake's 1-3 CD's at the time.

      When SuSE went to DVD distribution, I was stoked! No more "CD-shuffle" -- and DVD xfer rates were quite a bit above CD xfer rates. I'm a little worried -- haven't had a chance to look over their new release yet -- but now they have 2 DVD's....I don't wanna play DVD shuffle....

      SuSE will format the rootFS as XFS and does have the support to do it. (and has had such support for about 2 years now).

      I tend to agree with your sentiment about XFS being left out of the comparisons, but if RH doesn't give lip service to XFS, maybe it's not a high enough priority for Hans to run the tests, for the extra time it would take. If you only had the time/resources to compare against 1 fs, which would you choose? Market leader supported ext3, or performance leader, xfs (assuming it is)?

      You might be able to contact Hans (maybe it is on the website) for the disk performance tests he is running and run the same tests on Rieser and XFS on your system. I'd be interested in seeing such results... :-)).

      While XFS has spectacular performance on IRIX as it was developed to handle real-time video streaming and terabyte filesystems, 5-6 years ago (and improved on since then), you can't really use that as a reliability/stability/ performance base, since IRIX had multi-threaded/pre-emptable/ and direct I/O features for years that Linux is just now beginning to get. There was alot of framework provided by the IRIX OS that linux just couldn't do. While upgrades of Linux features have been coming to support such a framework, adding such upgrades and getting them accepted into the main base has been less than easy.

      There has been considerable sentiment in the Linux upper echelons against modularization, granularity and verification of correct functioning (micro kernels are bad; all drivers should be able to overwrite anything; resistance to capabilities or increasing the number; resistance to modular / configurable, "truly generic", security system (no, LSM isn't close -- and even that's been an uphill battle); no ability to do run-time validation logging of all security relevant transactions; etc.

      The last implementation SGI did trying to use LSM had fundamental security flaws that would invalidate any attempt to have it evaluated for CAPP compliance under Common Criteria (even knowing this, the security manager there managed to pull the wool over his superiors eyes to tell them that it would work -- but then he was also one to hide known bugs from 3rd party validators and create elaborate tests to dissuade running them where they might uncover known bugs; and stress the point that performance is never an issue unless a big enough customer complains and that a bug isn't a bug until a customer reports it.

      This is very much like Microsoft's practices where MS has incentive to *NOT* ship working products (for each support call on a bug, they can pull in up to $100/call or more). Why spend money testing an

  55. some questions abou ReiserFS by Pflipp · · Score: 2, Interesting

    I have some questions abou ReiserFS and was wondering whether someone out there would be able to answer them.

    First off, there's this stuff with ReiserFS storing fine-grained data. Does this imply that using ReiserFS (v3 or v4) directly as a database would be efficient? I know RFS doesn't have Relational features, but these might very easily be implemented in userspace if you can store e.g.: .../customers/0001/name .../customers/0001/phone .../customers/0001/agent -> .../personnel/0021
    (...etc.)

    Am I losing this or getting this???

    My other question was about this metadata-as-file thing. Hans can implement whatever he wants, but it just so appears that Linux behaves like Unix. I've just made a ReiserFS partition to check, and there's no way I can "touch foo; ls foo/" to see e.g. permissions etc.

    Now I'm aware that this might be v4 stuff, but I wonder if anything of this is ever to be seen back in Linux userland? E.g., will it be possible for projects to use ReiserFS to change the paradigm used for metadata using a straight Linux kernel?

    See, from time to time I just happen to be quite impressed with the "everything is a file" applied to metadata, and I hope we can make the shift to this future one day, and finally get rid of file extensions, MIME guesses and app association registries in Linux, and store this stuff in metadata space.

    --
    "We can confirm that Debian does *not* ship the version with the trojan horse. Our version predates it." [CA-2002-28]
    1. Re:some questions abou ReiserFS by Wonko+the+Sane · · Score: 1

      The "files are also directories" feature is only on version 4.
      As I understand it, there will be no need to change userland programs at all to work with this feature. If you try to access something.ogg then you get the sound, if you type ls something.ogg/ then you get the metadata

    2. Re:some questions abou ReiserFS by Pflipp · · Score: 1

      Tnx. If that's the way it will be indeed, it would really rock.

      --
      "We can confirm that Debian does *not* ship the version with the trojan horse. Our version predates it." [CA-2002-28]
    3. Re:some questions abou ReiserFS by hansreiser · · Score: 4, Interesting

      I get reports (not verified by me) that ReiserFS V3 is an order of magnitude faster when used as a backend for an XML database than relational databases that were tried. So, if your data happens to have a hierarchical structure, or, you can put it into one, then you are likely to get a performance gain. If your data does not have a hierarchical structure, then you need to wait for V6 where we plan to expand the semantics.

      If you want to be able to "cat filenameX/..owner" to see who owns "filenameX", you need to use V4.

  56. URL? by Julian+Morrison · · Score: 1

    You wouldn't happen to have a URL from which one can obtain "convertfs", would you? Google is stumped.

    1. Re:URL? by Anonymous Coward · · Score: 1, Informative

      Google isn't entirely stumped:

      http://tzukanov.narod.ru/convertfs/

      But it looks outdated compared to what Mr. Reiser has described.

  57. Vanity filesystem - named after the author by Anonymous Coward · · Score: 0

    That's why you don't like it deep down.

    If it was called abc3 or ext4 you would be an avid supporter, too.

  58. Chill dude... by wirelessbuzzers · · Score: 1

    Heh. Don't worry, I'm not an antimac troll. I have an eMac at college, and my family might get a G5. I believe that their benchmarks are at least close to reasonable this time around.

    Their past ones, for the later G3 and the G4, were total bullshit. The computers were good, but fast they were not. And Apple kept pulling all these specialized benchmarks out to make them look faster. Clock speed may not be the be-all and end-all, but it is still important, and the G3-G4 were sorely lacking.

    Now, on RISC vs CISC, you are just plain wrong. Both architectures have their advantages and disadvantages. CISC is not inherently slower or hotter. Just look at the Transmeta Crusoe proc. It used VLIW, which can be viewed sort of like CISC to the extreme, and it was really efficient and pretty fast too. (This is sort of a stretch; VLIW shares some of the benefits of both RISC and CISC, but still, CISC does some things very well). I personally prefer RISC because it's easier to code for, but that only matters if you're writing compilers or firmware.

    In terms of laptops, while the G5 runs cooler than a Pentium, it still runs quite a bit hotter than the G4 and especially the G3. You most likely don't need that sort of power in a laptop, unless you're gonna replace your desktop with it. I doubt Apple will come out with G5 laptops for some time. The best proc to get in a medium-fast laptop would be the Crusoe for its high efficiency, but consider a G3 or a VIA cool-running X86.

    I wonder how cool and power-efficient Intel or IBM could make a laptop proc if they didn't push for insane clock speeds. I'd be perfectly happy with a cheap, power-efficent laptop running at 500 MHz x86, or even less with a G5-like system. The keywords being cheap and power-efficient; I'd just use it for email, programming and web anyway.

    --
    I hereby place the above post in the public domain.
  59. Right. by haraldm · · Score: 2, Informative

    Having used and tested about every file system, I have been using XFS exclusively even for my customers. Ext2 is solid but not good for production machines which need to be able to reboot without a manual fsck (this is why we started discussing journaling file systems in 1997 after all). ReiserFS managed to shred some of my files on root filesystems. Ever had a file which you could not delete without the rm command going haywire? Since then, I've been using XFS even on the largest RAIDs without any problem.

    But let's wait and see how fast and stable reiser4 is once it matures into the stock kernel.

    --
    open (SIG, "</dev/zero"); $sig = <SIG>; close SIG;
  60. In that case... by twoslice · · Score: 2, Funny

    The drivers are crap, and the box dies about every week or so

    You should call the server "Kenny"!

    As in Southpark: Oh my God you killed Kenny!

    --

    From excellent karma to terible karma with a single +5 funny post...
  61. Nuh uh by Julian+Morrison · · Score: 1

    It would be a very, very silly idea to put your journal on flash. It's a small block of space that gets repeatedly written and rewritten by lots of small changes, pretty much every time any file changes. Precisely the usage pattern that would wear down a flash chip in the shortest time.

    The only sensible places to put a journal are (1) on (fast) magnetic media (2) on battery backed RAM.

  62. data points by bani · · Score: 0

    I work at an ISP and I can give you our data points.

    ext2/ext3 filesystems trashed beyond repair : 4-6 per year
    XFS filesystems trashed beyond repair : 3 (100% failure rate at which point we stopped using it altogether)
    reiserfs filesystems trashed at all : zero
    NTFS filesystems trashed at all : zero

    At this point we have 90% of our systems on reiserfs and have zero trashed data or filesystems.

    Shrug.

    1. Re:data points by catenos · · Score: 1

      ext2/ext3 filesystems trashed beyond repair : 4-6 per year

      Wow, I never seen ext2 getting beyond repair (except on hardware failure, of course). Mind sharing on how much systems these numbers are based (i.e. 4-6 for 10 system is huge, for 10000, not that much ;)?

      --
      Keep an eye on which arguments are silently dropped in replies. Not always, but often times it's very telling.
  63. Re:Warning by rdean400 · · Score: 1

    I tried all of the different filesystems, under different kernel versions. They either weren't soup yet, caused stability problems, or performance bottlenecks.

  64. XFS is not mature... not in linux anyway by bani · · Score: 2, Informative

    The core XFS might have been mature in IRIX but it most definitely is not in Linux.

    XFS is still not a fully linux-native fs, it is IRIX code pasted into Linux through a special translation layer. And thats where most of the problems arise, as it has to translate IRIX-isms to Linux-isms.

    1. Re:XFS is not mature... not in linux anyway by Anonymous Coward · · Score: 1, Interesting

      For my usage patterns/needs and in my experience; I have found it far more difficult to produce catastrophic failure in XFS.

      Anything referred to as Irix-isms is Irix has a proper implementation, and Linux needs to do catch up.

      As far as problems go, I have seen from time to time a few errata/bugs associated with release code, but I also see quite a bit of bizarre errata/bugs for Reiser and EXT3. Some of which are not corner cases but foolish oversights.

      I have to say being multidextrous with various *nix, and being agnostic towards OSes - my encounters with FreeBSD shows that filesystems don't have to be a kludged mess.

      I'm looking forward to 2.6 for a number or reasons (and hope to see a lot of thrashing eliminated that has become linux's trademark on even bigmem systems), but for XFS being bolted in as part of the kernel.

      Read the EXT3 mailing lists or check out a few newsgroups. Its not without problems. And as far as Reiser goes, it may be faster in some cases, but I dont take R3 very seriously, especially after all the whining hans has done towards the linux kernel and towards compilers. Sure, Linux has flaws and RedHat's compilers produced suspect code, but filesystem code isnt a place to be messing around with code that is easily mangled.

      XFS and somewhat JFS are in my estimation the only serious filesystems for Linux.

  65. My only question by Vilim · · Score: 1

    The real question is if linux will accept this into the 2.6.0 kernel or not. I thought that a feature freeze had already been set, although if it is for something as siginificant as reiserfs which obviously has been put through extensive tests, then he may reconsider. If not I guess we could patch it ourselves or wait for 2.6.1

    --
    History will be kind to me, for I intend to write it - Sir Winston Churchill
  66. NTFS by Anonymous Coward · · Score: 0

    Being a Windows dork, all this talk of multiple filesystems and how you lost this and that on ext3 and how reiser corrupts your data, and formatting many different FS's on one box to balance/optimize these risks, I have to wonder, are these file systems really significantly faster than say NTFSv5?

    I've not had any corruption or loss issues on NTFS even with hard powering off the system during a write (except for the particular file in write or the particular change not completed) but it's not writing my WMA over my NTOSKERNEL.EXE or anything funky like that...

    The most i've done with FS though is change my block size on my video editing drive for better large file streaming...

    For a file system, what is considered the most stable/reliable FS out there that doesn't suck horridly performance wise?

    1. Re:NTFS by BigGerman · · Score: 1

      NTFS appears to be remarkably stable.
      Of course, Msoft had long time of real-user experience to perfect crash-resistant file system ;-)

  67. Re:Warning by Homology · · Score: 1
    but the SuSE kernels tend to have effective ReiserFS support also

    I certainly hope so, since I'm using SuSE myself, and ReiserFS is the default filesystem.

    As a side issue, it'll be interesting to see how the plugin-part of ReiserFS V4 will be used. Do you know of any concrete plans to use this feature?

  68. Re:Warning by Anonymous Coward · · Score: 2, Informative

    No Red Hat isn't afraid of kernel upgrades.

    Red Hat is providing an ABI guarantee that Linux normally doesn't provide though.

    Specifically, other vendors (Oracle, Veritas, IBM, etc) have kernel modules compiled specifically for the Red Hat enterprise 2.4.9 kernel.

    Red Hat has committed to keeping the source and binary interfaces stable and compatible for the duration of the 5 year life cycle of Red Hat Linux.

    Updating the kernel would break all of that.

    BTW, yesterday Red Hat released a beta of the RHEL 3.0

  69. Out of the server world.... by darth_silliarse · · Score: 1

    ....live us hobbyist home linux users. I've read "million files this" "lost that" and other grandiose comments but what benefits/pitfalls are there for us home users? As an OS choice I use SuSE with an ext3 filesystem and I've had no problems (touch wood) yet but I am interested to know what benefits, if any at all, exist for single machine users of Linux and the Reiser filesystem?

    --
    I've noticed that everyone who is for abortion has already been born - Ronald Reagan
    1. Re:Out of the server world.... by Ziviyr · · Score: 1

      All I know it that the new feature of ext3 I hate is the one where if you delete a file then the filesystem wipes out any way for you to conveniently relocate the file's associated blocks and get the file back.

      At least with the advanced Amiga filesystems theres a low overhead last-so-many-files-deleted dir that such mistakes can be undone with.

      --

      Someone set us up the bomb, so shine we are!
    2. Re:Out of the server world.... by ScSurferDude · · Score: 2, Informative

      For the most part, ext3 should work fine for individual users. If your were doing a lot of sound or video, you might see a performance improvement with reiserfs. The big issue with jounalling is fast reboots after unclean shutdowns. This might happen a lot at home if you have small children (future sysadmins!). ext3 and reiserfs-v3 only journal the meta-data, ie, the structure of the FS, not the actual file data itself. But that is huge, since it essentially prevents an unrecoverable disk, and eliminates the need to completely walk the structure tree when mounting an unclean disk (fsck), very time consuming. But you can lose data on open files.

  70. Re:Warning by Anonymous Coward · · Score: 0

    > There exists a distro that bases their enterprise server kernel on 2.4.9,
    > and intentionally declines to add any reiserfs bugfixes since then.

    Seeing that they don't ship or support ReiserFS, that's understandable.

    Enterprise customers are not interested in toy filesystems (ie. V3). I'm sure
    that will change when V4 is stable.

  71. Always a jerk? by Anonymous Coward · · Score: 0

    or just sometimes...?

    most of us weren't born w/ cat500 up our butts..

    1. Re:Always a jerk? by Anonymous Coward · · Score: 0

      He can't help it. He's addicted to hankahol.

  72. He's at it again by Anonymous Coward · · Score: 0

    So, Hans is doing it again. Why does he have to push a new ReiserFS release every time a new stable kernel series is about to begin?

    I predict ReiserFS v5 will be out about at the same time 2.8 or 3.0 ships.

  73. Re:Warning by Anonymous Coward · · Score: 0

    "There exists a distro that bases their enterprise server kernel on 2.4.9, and intentionally declines to add any reiserfs bugfixes since then."

    Redhat AS 2.4.9 kernel mustdie :-)

    http://www.excom.ru/~andrey/windowze.html
    http: //www.rootshell.be/~krang/

  74. F**k Pavlov, use Skinnerian Conditioning by duck_prime · · Score: 2, Funny
    So, just fix it so that doing Bad Things (like power-cycling) doesn't achieve perceived positive results.
    None of this namby-pamby "fail to reward unpositive behavior" stuff. You are the sysadmin, and it is better to be feared than loved.

    User: Um, I rebooted the box. Er, was that, like, okay?
    You: Und so... Ve haff earned ourzelfs ein timeout in "The Box", hein?
    User: Aiiieieieieeeie!
    You: Mua-ha-ha!
    [Fade to black]
  75. Re:Patch for FreeBSD request?? by Billly+Gates · · Score: 3, Interesting
    Hans. Thanks for all your cool fs work. I have a request. Would you be interested in porting Reiser to other os's and maybe creating a bsd licensed version for them?

    I like the UFS2 FS for FreeBSD. Its stable but a little sluggish. I think it would be cool to have internal competition but the MS GPL == viral crap has made a dent into the BSD developers. They fear linking to anything gpl would make their kernel gpl as well.

    Anyway this is just a pretty please with a cherry on top. Especially since you are being paid for by grants from DARPA who use Solaris, Linux, FreeBSD, and every Unix os under the sun.

  76. Apologies, couldn't resist by Linux_ho · · Score: 2, Funny

    >> ...we also have some 3Ware cards we could try if the new Promise drivers don't do the trick.
    >>
    >
    > What are you waiting for! You'll be trying the 3ware cards in a couple weeks almost guaranteed ;).


    Is that a promise?

    --
    include $sig;
    1;
  77. Features by einhverfr · · Score: 2, Interesting

    ReiserFS is really good at some things (and I actually recommend it for some things) but for my main system filesystems, I find that Reiserfs lacks some of the things that EXT2/3 has that are very useful--

    File attributes including things like "Append Only" although these can also be ways of screwing up your system (who'da thunk Qmail doesn't like append-only log files?).... See man chattr for more info....

    So I am happy to use it for directories where I don't have special needs for the filesystem, but for others, I have to still use ext3.

    --

    LedgerSMB: Open source Accounting/ERP
    1. Re:Features by hankaholic · · Score: 3, Informative

      I'm interested.

      Are there features other than attributes provided by ext[23] which ReiserFS can't provide?

      Regarding the attributes, ReiserFS can't do the following "useful" things:

      - Excluding a single file from access-time logging.

      - Append-only would be useful in certain cases.

      - 'c' (compress file contents) -- Ext[23] doesn't do this yet, and ReiserFS doesn't either, but they both will support it later.

      - 'D' (dirsync) attribute -- Other than ensuring that filesystem metadata operations are completed successfully before proceeding, I can't imagine a beneficial use of this attribute. ReiserFS already journals all metadata, and V4 journals everything (and does it faster).

      - 'd' (do not back up using dump) -- AFAIK you can't use dump to back up a ReiserFS partition anyways, but tar still exists, and I'm sure there are wrapper scripts for the die-hard dump users.

      - 'E' (error in compression) doesn't seem to apply to general (current) use of ext[23], and doesn't have an analogue in ReiserFS.

      - 'I' (hash-indexed directory) -- ReiserFS' directory algorithms are much (much!) faster than ext[23]. ReiserFS will eventually support directory plugins, which allow one to set a per-directory hashing scheme. I note that ext[23] doesn't allow modification of this attribute, so I'm not sure if/how it allows you to choose a hashing scheme.

      - Immutable ('i') bit -- This might be useful in some circumstances, such as a setuid binary. Not supported by ReiserFS.

      - The 'j' option is meant to get around the fact that ext[23] only journals metadata unless mounted with "data=journal". As mentioned elsewhere, ReiserFS' long-term goal is to provide fully atomic file operations, which provides the benefits of data journalling with none of the burdens. Thus, ReiserFS V3 doesn't support this attribute, as the time spent in adding this feature would have been better spent working on V4. Note that with V4 all operations are atomic, which has the effect of turning this flag on for every file.

      - 's' (zero file contents upon delete) -- ReiserFS doesn't support this.

      - 'S' (write file synchronously) is likely used in cases where preserving file integrity is important. ReiserFS' journalling (especially in V4) provides this "for free".

      - 'T' (top of directory heirarchy) is used to get around an ext[23] weakness. I don't recall details, but I believe it's something related to preventing fragmentation and grouping similar files together for enhanced performance. ReiserFS (especially V4) is already quite fast, and with code-level optimizations will likely get faster.

      - 't' (don't merge tails) does not apply to current ext3 code, as tails aren't yet merged anyways. This will be used as a flag to write the file to disk in such a way as to be compatible with LILO and other boot loaders. At present I'm not aware of any special issues with ReiserFS' tail packing (which does exist, by the way) with respect to LILO. Note that a ReiserFS partition can be mounted with the "notail" option if you want, which is feature-wise equal to ext[23], which don't seem to provide tail packing at all right now (and if they do, someone needs to update the chattr man page).

      - 'u' (back up upon deletion) -- ReiserFS doesn't support this.

      - 'X' and 'Z' relate to compression, and do not apply to ext[23] or ReiserFS at the moment. ReiserFS will eventually support compression plugins, as well as encryption plugins.

      So of the attributes, the only ones which might actually be of some use in the context of ReiserFS would be exclusion from atime logging, append-only, the immutable bit, zero-contents-upon-delete (although future crypto plugins will destroy the need for this feature), and back up upon deletion.

      Anything I've missed?

      --
      Somebody get that guy an ambulance!
  78. Not completely true.. by CooCooCaChoo · · Score: 1

    With FreeBSD for example, GNU Floating Point emulation is available, however, to comply with the GPL terms and conditions, they don't distribute it precompiled into the default kerne, thus, one needs to manually compile it into the kernel if one needs it.

    If there were to be a move by FreeBSD, they would have to firstly make a ported module then an application which would convert the filesystem from UFS to ReiserFS. Being a complicated and risky process, I can't see it happening.

    The last question would be, of what benefit would it bring to FreeBSD when there is already and adequate solution, UFS2, sitting there ready to be used.

    With that being said, there is nothing stopping the FreeBSD community from making a clean room implementation of ReiserFS 4 using brand new, original code, simply based on the ReiserFS documentation and specifications.

    --

    "The difference between pornography and erotica is the lighting" - Woody Allen

    1. Re:Not completely true.. by __past__ · · Score: 1
      The last question would be, of what benefit would it bring to FreeBSD when there is already and adequate solution, UFS2, sitting there ready to be used.
      Even if it isn't used for production systems, being able to read and write ReiserFS partitions would be useful for FreeBSD. Just like supporting NTFS is useful, without anybody using it for the root partition.

      I don't really see the licensing problem, however. It doesn't really have to be part of the default FreeBSD kernel. Someone could just write a ko (i.e. a loadable kernel module) and give it a good home in the ports tree. There is already a port for pf, the OpenBSD packet filter, that works that way, and I doubt that adding a filesystem dynamically would be that much harder.

  79. reiserfs 3.6 is also very fast by oohp · · Score: 1

    I've done some benchmarks and reiser won in terms of speed against ext3 and jfs. Haven't tested with ext2 or xfs yet. Here are the reiser vs jfs results for writing data onto a reiser/jfs partition:

    # jfs write
    real 7m51.178s
    user 0m1.980s
    sys 0m57.710s

    # reiserfs write
    real 6m7.302s
    user 0m1.780s
    sys 1m16.590s

    Also I haven't had problems with it but then again, I'm not using reiserfs on RAID arrays in heavily loaded mission critical environments or anything like that.

    1. Re:reiserfs 3.6 is also very fast by javamutt · · Score: 2, Informative

      This would be a much mre useful posting if you specified what command was behind that `time` output.

      I've been doing similar testing and have seen significant differences in numbers based on the io load / pattern. Each FS has its own strengths + weaknesses.

      Was it: random or sequential? big files or small files? consecutive io or single reader/writer?

      This stuff makes a BIG difference in the relvance of those numbers. Yuo probably know that if yu're doing testing, but it'w worth psting for those wh may not.

  80. reiserfs & metadata & junks by Anonymous Coward · · Score: 0

    I hope that reiserfs4 would allow data integrity checking and not only metadata. Also allowing to have the journal hold on a separated partition. IMHO current reiserfs3 is very dangerous, as in case of system blackout you get files corrupted, and the system doesn't boot anymore. I sometimes got junks into system files in this situation. E.g. junks coming from log files goes sometimes into system files like /etc/modules.conf, and so the system doesn't boot anymore with the proper drivers... (imagine it doesn't insert the ethernet driver). Who cares about having a fast filesystem if you get junks even in file readonly file? Bye.

  81. Reiser4 for cheap ba5tards? by strangemoose · · Score: 1

    I'm wondering if this would be a benifit for me.. I like to play with video, but I'm not rich, all I have to play with is a mediocre 900Mhz processor, 512MB ram, 3x80GB+1x40GB (241GB used...) drives LVMed into one large ext3 volume. I mainly use it to store video sequences, many (thousands) ranging in size from 100MB to 600MB (with some >1GB files now and then).

    I was using ext2 previously till I had to sit through one to many fsck's ;).

    So, will Reiser4 be any more useful than ext3 in my case?

    --
    Sig? What sig?
    1. Re:Reiser4 for cheap ba5tards? by witts · · Score: 1

      >>I mainly use it to store video sequences
      OK, clever wording. I call it "gentlemen's cinema" or perhaps the alternate spelling "sinema",
      but I think we all know your "video sequences" are just pr0n. C'mon, fess up...

      --
      pot.kettle(black);
    2. Re:Reiser4 for cheap ba5tards? by strangemoose · · Score: 1

      yuh.. Really, I play with transcode, a video camera, some video editing tools... Anyhow, that much porn is just insane.

      --
      Sig? What sig?
  82. Rock solid with SuSE 8.0 by msobkow · · Score: 1

    I've been beating my SuSE box mercilessly with software development, web servers, print serving, Oracle, Sybase, DB/2, and Postgres for about a year now. Absolutely no problems with any of the ReiserFS data partitions.

    Ext3? No thanks -- it just doesn't strike me as a clean design. Maybe XFS on the next box, but not for any reason other than trying it out.

    --
    I do not fail; I succeed at finding out what does not work.
  83. To securely delete data on journaling file system? by Anonymous Coward · · Score: 0



    I've seen the warnings on ReiserFS, about using shred to delete.

    So how do you securely delete data using ReiserFS, or Reiser4, or any other journaling filesystem, whether it is meta-data only, or all data?

  84. Reboot requirement? by Anonymous Coward · · Score: 1, Interesting



    An argument has been going on at one of the distro mailing lists. It basically boils down to this:

    ReiserFS, currently, requires a reboot after the filesystem is installed, but prior to completion of the installation of the distro, does it not?

    I know that this was a requirement earlier. Whether this was "fixed", or the reboot requirement was removed in a subsequent update, I do not know. But I do remember reading this at the Reiser site, and elsewhere. I also remember reading that the reboot requirement would be removed with Reiser4. Whether this reboot requirement has been removed somewhere in the 3. series, I do not know.

    The distro authors have justified their non-reboot installation by saying that it is not required under Suse either. I remember reading elsewhere, though I can't remember where, that Suse had developed specific patches to Reiser 3. series to eliminate the reboot requirement, and a comment was made as to a hat tipping or something similar, to the coding abilities of Suse.

    Since I can't find the above information, and can't remember where I read it, the concerns have been dismissed. But the reboot issue has cropped up again on the list.

    Other than Suse, does the current, ReiserFS, the versions prior to Reiser4, require a reboot? If not, starting at which dot release has the reboot requirement been removed?

    And thanks for a great filesystem! I use it for everything.

    As a side note, one or several distros require to dump everything into /, without separate partitions. I attempted to use the tools to check and repair the filesystem. If you must mount / to run the computer, how do you check the / filesystem if you can't unmount it while running it? Other partitions are easy to unmount and check. How do you do it with / ?

  85. Can we get a guideline or recommendations on by Anonymous Coward · · Score: 0



    what the settings should be, tail, no tail, byte size, etc., when using raid 5 across disks? Or other raid numbers?

    Is there a guide for newbies? I've read all the documentation on the Reiser site. And the man pages. But I can't figure out what should be the correct settings when installing the filesystem.

    I'm using adaptec's card, the ide version capable of raid 5. I'm sure others would be interested in their own cards.

    I know that there are different recommendations depending upon implementation, so how about a short guide, or man page, that lists, file server, raid 5, file server raid 0, web server raid 5, web server raid 0, heavy video editing raid 5, heavy video editing raid 0, etc., use tail, no tail, byte size:, and any other options I can't remember right now.

    That would help a great deal!

    Thanks again for a superb filesystem!

  86. Re:some questions about ReiserFS by Pflipp · · Score: 1

    Thanks. Now I can consider writing a filesystem-based backend to my PHP-based object data storage thingy.

    Not to be nitpicking, but I was wondering whether the "filenameX/..owner" syntax already has been decided upon. I just happen to think it's not all that beautiful (really just a matter of taste) to have all these metadata files together with other dotfiles in every directory. Although the common solutions for HFS/ AppleTalk on UNIX systems don't really seem to suggest anything better. The OSX approach is dubious because it's actualy two approaches in one (reserving the "rsrc" filename and the "..namedsource" filename for just about the same purpose). One advantage is that at most you're faced with these two special files inside a normal directory(?), and not e.g. 20 different ones ("..user", "..group", "..access", etc.).

    In an ideal world, you should be able to open a file or directory with a mode ("data", "metadata", and maybe even "directory"), and have the accompanying command line utils for this. But this of course doesn't fit in well with the current UNIX/ ANSI C approach of things. Of course, treating normal files as directories is a nice alternative, but the problem lies within the metadata for directories, which will still be visible as any other normal (hidden) file.

    Hey, I realize that you have probably already given this stuff some thought, but anyway ;-)

    --
    "We can confirm that Debian does *not* ship the version with the trojan horse. Our version predates it." [CA-2002-28]
  87. restoring shot reiserfs partition? by Anonymous Coward · · Score: 0

    just some days ago a xx Gb reiserfs partition with
    ~4 million files decided to be partly unaccessible,
    the disc reads first 1/3, however last 2/3 of
    part is sectors unreadable - hardware fault

    a way to get at least the good data back?

  88. Bastard Operator from Hell by Tokerat · · Score: 1


    ...Yes, there is more than one of him.

    --
    CAn'T CompreHend SARcaSm?
  89. Re:some questions about ReiserFS by QuantumG · · Score: 1

    all the psuedo-files like ..user and ..access are hidden, so you're not going to see them in an ls -la, even if you wanted to. To get a list of all the psuedo-files for a particular object (directory or file) you just cat objectX/..psuedo

    Have a look at the docs.

    --
    How we know is more important than what we know.
  90. Re:some questions about ReiserFS by Pflipp · · Score: 1

    very informative, thanks.

    --
    "We can confirm that Debian does *not* ship the version with the trojan horse. Our version predates it." [CA-2002-28]
  91. Re:Reiser4 for cheap ba5tards? [offtopic] by lpq · · Score: 1

    Yeah and it'll make you go blind too!

  92. When it's all 0's by heroine · · Score: 1

    It's fast when it's all 0's. Real data is a bit slower than ext3.

  93. Q: Plugins? by 4of12 · · Score: 1
    Expect lots of plug-ins soon.

    What are plug-ins for a filesystem?

    Why are they such a great thing?

    --
    "Provided by the management for your protection."