Reiserfs Released 107
Kewlname writes "Namesys released Reiserfs for GNU/Linux. The specs and the press release " To think - we get this and beta journaling code in the same week (I hope!). Anyway, I don't know how applicable it is to Reiserfs, but
Theodore Ts'o has a paper in the 1998 Linux Expo proceedings about how one might go about introducing B-trees into ext2. It might be
interesting to compare this to the design of Reiserfs.
Re:What to make out of this? (Score:1)
at the UK Linux Dev conference last weekend.
The filesystems coming out now are pretty well tested
and it is unlikely that they will cause filesystem
corruption. There will certainly be bugs to be ironed out
but these code releases come AFTER an enormous amount
of debugging.
It is likely that a fully stable filesystem will be ready within 6 months.
Xia Filesytem (Score:1)
Frank Xia remains an unsung hero of Linux developement. His filesystem overcame the size and field limitations of the Minix FS, and it also overcame the severe speed limitations of the Ext filesystem. He deserves a place in the Linux Hall of Fame. He bought time for Linux while a more sophisticated Ext2 filesystem was under development. Linux luminaries such as H.J. Lu swore by the nimble Xia system, and others might have abandonded Linux altogether if they would have had to use the problematic alternatives.
no. (Score:1)
Re:It's simple. (Score:1)
A license is specific allowance to do something, it extends the rights of the licensee. If a license gives the ability to alter someones code then this can be done. Those changes are under the copyright of the write, not the original. If the license specifically said any changes you make fall within my rights that would be different - this is the case with the NPL.
You cannot extend copyright in the way you are suggesting. You *can* do what you are suggeting wiht a license. If you want to comment on this very *important* area for Free Software (and you should want to) please, please, please read an intro book on IP/licenses
Concurrency control (Score:1)
can take the form of:
1. Lock the whole system during your transaction. Safe but
inefficient!
2. Lock each BTREE node as you use it. Got to watch out for
"deadly embraces", where two processes are waiting for what
the other has locked.
3. Optimistic concurrency control, something I read about
at least 15 years ago. You "check out" nodes as you do
the transaction, then "verify" when you're done. The
"verify" fails if another process modified one of the nodes
during your transaction, in which case you start over. I
don't know if this has ever been proven useful.
B-Tree definitely not a binary tree. (Score:2)
like this (increasing order to the right, cant get less than to work...)
k1 k2 k3 k4
There's a child node between every key (and before the first and last keys) and the value of every key in that child node (suppose the node is between keys K1 and K2) is between K1 and K2. In a binary tree we can cut out 1/2 of the unsearched keys per node, in a B-tree we can cut out N/(N+1) keys. The rationale is that searching a node with multiple keys linearly is a lot faster than reading another node from disk.
In addition this fs uses a B*-tree which has some additional constraints (I can't remember exactly, was it that every node has to be 75% full at all times)...
Re:Stupid name? (Score:2)
First paragraph from acknowledgments: "Hans Reiser was the project initiator, primary architect, supplier of funding, and one of the programmers. Some folks at times remark that naming the filesystem Reiserfs was egotistic. It was so named after a potential investor hired all of my employees away from me, then tried to negotiate better terms for his possible investment, and suggested that he could arrange for 100 researchers to swear in Russian Court that I had had nothing to do with this project. That business partnership did not work out.
"
Re:Stupid name? (Score:1)
I personally could care less...
Re: who cares? (Score:1)
Dear Mr AC (no, not you Natedog!):
It's a long paper, so just skip all that boring file system stuff, and go here [devlinux.com].
--
Re:XFS _not_ an option (Score:1)
(I'M KIDDING....don't flame me)
On a serious note....should we rename the 'xfs' that runs in the cron on my Red Hat box? I think newbies are going to get very confused when there are two completedly unrelated LInux terms "xfs" in their manuals.
Re:An man...this is gonna be way too confusing! (Score:1)
An man...this is gonna be way too confusing! (Score:2)
Geez, I can barely remember where everything is
now. cd
cd
;)
Re:Benchmarks? (Score:1)
Re:Stupid name? (Score:1)
Re:GPL vs. funding; usability in kernel releases? (Score:1)
2) Namesys wants money from distributers of proprietary Unixen for whom the GPL is unacceptable, I very much doubt they also expect money from distributers of free operating systems.
Both GPL and proprietary (Score:1)
the konami code!!! (Score:1)
ahh nintendo...my ONLY memory of childhood
Re:Stupid name? (Score:1)
Reiserfs released? (Score:1)
Re:Does reiserfs address other ext2 problems? (Score:1)
Last time it was discussed (that is, just some months ago), the answer was : in (almost ?) all cases where someone could wish for user-defined attributes, they can be emulated with directories, and directories have the advantage of not breaking existing applications.
That's another reason to use reiserfs btw.
Re:Does reiserfs address other ext2 problems? (Score:1)
What to make out of this? (Score:1)
Could someone clearly give a nonbiased look at what the good and bad points of these are?
I know I'm using a machine with a b-tree based file system right now and occasionally when it crashes, things can get very hairy. I'd take redundancy over speed any day, so I guess I'm for XFS?
Re:B-tree: as in binary-tree??? (Score:1)
Unprofessional press release (Score:1)
Re:Stupid name? (Score:1)
Features? (Score:1)
Do you need a file system that exists today? (Score:1)
It is vaporware, which is not to say it won't ever be real, but.... we are shipping now, and we aren't using obsolete forms of B-trees. When they ship, we will be even farther ahead by then....
All that said, XFS is a very nice, respectable, mature technology.
Re:Does reiserfs help me? (Score:1)
I am afraid you have little alternative to us for this particular application.
fast at small files doesn't make us slow at large (Score:1)
We hope to do a lot more extensive benchmarking, but at the moment it seems that once they fix the networking code enough that the FS is the bottleneck, we will be able to help.
Re:B-Tree definitely not a binary tree. (Score:1)
B*Trees are really cool because instead of splitting a page in half when it overflows, it gives some nodes to it's neighboring sibling. If the neighbor is also full, then the two pages split into three. When it underflows, it's combined with it's two siblings and the three become two... thus the pages are ALWAYS at least 2/3rds full!
This concept could of course be extended to do a 3-for-4 page split and merge, but the routines become painfully complex at this point...
Re: AFS name (Score:1)
Re:Large files, XFS, etc. (Score:1)
XFS looks more appropriate for large databases with huge disk sizes and file sizes (and stringent time-to-recover requirements), as well as for huge multimedia files (which SGI of course is traditionally focused on).
I don't think a merger of reiserfs and XFS is practical or desirable. What might be very useful is a tool that takes performance logs (e.g. sar(1) output on disk I/O) and scans your filesystems, then recommends which files should be on which filesystems.
One more blue-sky idea is based on the observation that you have to move the file to a different part of the filesystem tree to change it from (say) ext2 to reiserfs. It would be very handy if some user-level daemons could automagically migrate files to different filesystems based on sizes and usage patterns - just as hierarchical storage systems move files from disk to tape etc, this would change the underlying implementation without the user having to worry about this.
However, this would require you to separate the filesystem namespace entirely from the actual underlying filesystem, on a per file basis perhaps, which introduces all sorts of complications. On a much coarser level of granularity, this is somewhat analogous to having a logical volume implemented on top of various physical disks. But this is probably a feature for Linux 5.1
UFiness++ (Score:1)
It dramatically decreases different technical details, doesn't it? Must be more user friendly then. Like mice with less buttons and parameters hidden behind multitudes of dialogs.
:P
[dicklamer: i like macs too]
GPL vs. funding; usability in kernel releases? (Score:1)
This project is GPL'd, but I sell exceptions to the GPL to commercial OS vendors and file server vendors.
Seems like you'd have to derive your own version of GPL in order to not break the original by yourself - unless it already makes this possible. Well, I guess I should read it myself before making comments like this
An interesting situation will arise if reiserfs or major parts of it will be applied in Linus' kernel releases or optionally patched into distributions. Namesys' effort to fund itself with its GPL'd code might fail, if their product gets provided implicitly. Practically and hopefully this might be solved by RedHat et al striking a deal with Namesys. However it's a stretch of the spirit of GPL to assume a reward although the code is free. This kind of self-funding free development should be supported, but is it really? Or am I so mislead that I should just bury my nose to the dear old source of GPL?
Anyone shed some light on this fundability vs. GPL issue?
s/provided/distributed/ (Score:1)
On a side note, I found Namesys' technical introduction well written.
Sounds likely. (Score:1)
1 - Well, bringing community changes from under GPL to the proprietary version sounds still like breaking the rules
2 - This sounds very reasonable. So they expect 'real' unices as paying customers. In a world somewhat fair, I can figure them getting funds from several big-time distributors, opensores or not.
Deals not needed, but money is. (Score:1)
Distributions can include the GPL version. No deals are needed at all. I have no idea where you got that idea from, since GPL is spelled all over it.
Question was not about deals or no deals, but where to make money from. That problem arises when they try to make a (/some) living out of their fs. But actually it's just that 'ages old' opensores business model: A good piece of code will be supported by those who find it useful. Even with cash, where that's appropriate.
Misunderstanding is natural considered the hazy nature of my wonderings above.
Code forking between the different licenses might become a problem. Then again, problems are just something to solve.
Does reiserfs help me? (Score:1)
Re:Does reiserfs help me? (Score:1)
Re:Unprofessional press release (Score:1)
Yurtlefs (Score:1)
Re:It's simple. (Score:1)
Re:Stupid name? (Score:1)
who cares? (Score:1)
In OSS, you may not get as much $$ as those that charge for their work, but one of the main motivations is exposure. Just as Linux was named after Linus giving him credit for what he started, let Mr.Reiser have credit for what he has done. sheesh!
BTW - if you had gone to Mr.Reiser's web page and actually read it you would have seen that he addressed this at the bottom of the paper.
Re:Stupid name? (Score:1)
Not without precedent -- look into some older kernels for xiafs. IIRC, named after its creator, Francis(?) Xia.
Besides, it's not like anybody ever refused to submit filesystem patches to old Bob Ext or his son (Bob Ext II)
I like this concept... only one problem.. (Score:1)
Only problem is that you depending on the legal system to defend your interests, which could be an expensive and difficult task.
Anyone got any ideas about how to solve this?
Re:Exceptions to the GPL? (Score:1)
There are other packages that are released under multiple licenses. Ghostscript is one... in fact, ghostscript is released under a more restrictive license first, and under the GPL later (with a delay of about a year, I think).
Re:Does reiserfs help me? (Score:1)
Re:XFS _not_ an option (Score:1)
Re:B-tree: as in binary-tree??? (Score:1)
Linux named after, not by, Linus? (Score:1)
Anybody else can confirm this?
----------
Re:An man...this is gonna be way too confusing! (Score:1)
> cd
You are confusing binary trees with B-trees (which are quite different from each other). It was funny, though...
Lars FJ
XFS on the desktop (Score:1)
Disclaimer: I work for SGI. SGI created XFS.
I've been running XFS on my IRIX desktop since 1995. There is one fairly good reason to use XFS on the desktop, which I haven't seen mentioned: you never ever have to fsck.
K<bob>Re: AFS name (Score:1)
Just a guess, though.
Benchmarks? (Score:1)
have any dramatic impact on the 'MindShaft'
Benchmarking results?
No.. I"m not quite THAT hip to exactly
what this would accomplish.
I am curious though.
Re:An man...this is gonna be way too confusing! (Score:1)
The Cool Part (Score:1)
Look at the rm -rf * comparison--
Ext2: 0:02.63
Reiserfs: 0:00.16
Ratio:16
The Cool Part (Score:1)
Look at the rm -rf * comparison--
Ext2: 0:02.63
Reiserfs: 0:00.16
Ratio:16
Wow, now a new user logged in as root can wipe out his/her system 16 times faster than ever!
Seriously, though, a
--JZ
Probably, but treat it as a beta version at best (Score:1)
However, its results are still quite good for medium-large files and the author admits that he's done virtually no optimizing for larger files. I suspect that, if Reiserfs catches on, we'll quickly see these optimizations in the next few months. Thus, I'd wait a little while and see how things pan out before putting it into use.
Re:New Filesystem for Linux????? (Score:1)
Does reiserfs address other ext2 problems? (Score:1)
1. access control lists
2. capabilities (keep them out of ELF -- yuck)
3. compression
4. undeletability
Re:Stupid name? (Score:1)
> pronounciation to a more popular one!
No, he just got an american accent. The "leen-oox" finnish pronounciation that Linus gives on that sound file is different in accent only. That pronouciation uses the finnish short "i", just as "lynn-uhcks" uses the american short "i".
Re:Exceptions to the GPL? (Score:1)
BTW perl is under two licenses also, the GPL and the rather less restrictive Artistic License. The GPL is somewhat viral in nature (which is the point of the GPL - so no surprise there), but that is not acceptable to everybody.
Re:Linux named after, not by, Linus? (Score:1)
Linux IS faster: New Benchmarks Here (Score:1)
c't/heise Linux/NT benchmarks [heise.de]
It's good. Read it!
Summary:
- NT is faster in one unrealistic test.
- Linux is much faster in one somewhat unrealistic test (CGI on NT).
- Linux is much faster in a more realistic test (many files).
- Linux is slightly faster in all other tests.
I still wonder why the Linux guys accepted the unrealistic test for the PC Week benchmark ("Mindcraft 3") and didn't insist on additional realistic benchmarks.
Did I miss this one on the Slashdot front page?
Or weren't they posted?
If they weren't, please someone kick Rob...
Re:What to make out of this? (Score:1)
I'd really like to see transaction logging on a file system like this, but its an interesting step.
Re:Large files, XFS, etc. (Score:1)
I think there is a lot of application for something like this in applications that track lots of text files (document management, source code control, etc). Just think of how much simpler a lot of your tasks become. For one thing you get all the great UNIX file and text utilities like "find" and "grep" prebuilt and ready to use with your data. For security, you get creation and modification information, and can specify permissions on individual objects within a database like rows or fields, as opposed to entire collections like database tables.
I think a filesystem like this could become very popular in web applications, both for efficiency and because of ease of programming. I could easily see something like slashdot implemented on it.
reminiscent of nintendo (Score:1)
Re:Deals not needed, but money is. (Score:1)
And of course people or organizations might pay for support, or to have Reiser and his team implement certain features.
I don't know how easy or difficult it will be to make a living out of reiserfs.
Re:I like this concept... only one problem.. (Score:1)
At the moment there's just one reiserfs. If people start using it, this will change. The community only has to deal with the GPL'd version, but Reiser must maintain both and save his legal butt.
It's simple. (Score:3)
If reiserfs gets included in the kernel, and the kernel developers modify it, these modifications are applied to the GPL'd release, so fall under the GPL again. Reiser won't be able to include these patches in his commercial version (unless he explicitly asks for and gets permission).
Distributions can include the GPL version. No deals are needed at all. I have no idea where you got that idea from, since GPL is spelled all over it.
Anyway, just to reiterate, since you're not the only one who doesn't understand (I'm thinking of a certain BSD advocate who recently tried to crush the GPL using very false arguments): if you release your code under the GPL, the GPL only applies to that release. You are still the owner of your code, and you can do with it whatever you want. (But of course you can't retract the release itself.)
Exceptions to the GPL? (Score:1)
Reiserfs is GPL'd, with exceptions to the GPL available for sale.
I didn't quite get that bit. Is Namesys selling derivatives of GPL'd software with a commercial license? Isn't this supposed to be the big no-no in the GPL? I checked the website linked to in the press release but couldn't find any other mention of this. Does anyone know any details?
Re:Stupid name? (Score:1)
-awc
Re:woopty do shit, i can rm -rf real fast (Score:1)
Also, some important programs need to do lots of unlinks occasionly. Take squid (web server cache) for example. So don't crap on about something you know nothing about.
Hopefully, unpacking tar files will be faster too, helping me when i download programs too.
Large files, XFS, etc. (Score:2)
Reiserfs and XFS both being released so close together might divide the rather small pool of Linux filesystem hackers who are qualified to merge all these ideas into something workable. Plus, I haven't grasped either to the extent that I can tell if they're able to be merged.
To some up, I don't know what I'm talking about, but I'm nervous nonetheless.