First Journaling FS for Linux
wendyW writes "LinuxPR has the press release from Namesys, announcing the stable release of the journaling version of ReiserFS. According to the press release, journaling wound up making it even faster than it already was. "
I know that ext2 has per-file attribute bits to support compression on a file-by-file basis, and there're patches out there to support that. afaik, there's no "whole filesystem" compression like Stacker/DriveSpace/etc. on DOS/Windows, however, and I don't know what the opinion is on doing it that way. (Probably not too good, unless I miss my guess.)
Sam: "That was needlessly cryptic."
Max: "I'd be peeing my pants if I wore any!"
Not that M$ has that much to brag about as far as NT's journalling filesystem... it only journals on the metadata. For them, it's basically just another "me-too" kind of thing, so they can say "Hey! Look! Enterprise people! See, we're reliable! We do journalling just like all those expensive UNIXen!"
Sam: "That was needlessly cryptic."
Max: "I'd be peeing my pants if I wore any!"
The result was long boring articles that sound like memos from management. They were, however, completely content free, in the same spirit as this example.
It's news because Linux has finally caught up with NT in this - so we can be proud.
Example 1:
p /interop.html
The link entitled:
"SGI freeware related to Interoperability"
On the page:
http://www.sgi.com/developers/technology/intero
Requires a $100 per year subscription to access!
Seriously though, I've worked with SGI equipment since 1988 and one thing I have learned: SGI wants your Money! This was OK when they did things no one else could, but those days are long over. Their new commitment to open source is just a dying company trying to ride the latest software-fashion wave to a comfortable beach to die on. XFS, GLX, OpenVault all anounced a 1/2 year ago or so and still nothing useable to show for it.
My organization is fleeing SGI as fast as we can. In it's place we are installing windows NT (thats where the apps are, thats where the apps are going), with a smattering of Linux/FreeBSD (great servers for small stuff) boxen.
We feel we've been burned by SGI's insane actions over the last year or so. Dropping tried and true Mips and commiting to Intel IA64 over a year before the product even ships. Buying then dumping CRAY. Hinting at the demise of IRIX and announcing LINUX as the heir apparent, years before critical features of IRIX (like xfs) will be available in Linux.
Our only conclusion is that SGI management spends most of their time high on CRACK.
So Long SGI!!!!!
XFS
Originally made by SGI for their IRIX OS, XFS is one awesome filesystem. Read this white paper (http://www.sgi.com/Technology/xfs -whitepaper.html). This white paper describes all of its cool features. The main features of XFS make it a super scalable, very reliable, ultra fast journalling filesystem utilizing many cool FS technologies like B-trees and other cool stuff.
Unfortunately, it seems that currently there are many problems with the Linux implementation of XFS. I don't know any details of this, but I guess it is safe to say that XFS will some day become available for Linux. This would be great.
ext3fs
I've only read about this in the linux mailing lists. ext3 appears to be a standard ext2fs implementation with journalling data, allowing backward compatibility with ext2, although one of the authors hinted that they may not make it backwards compatible in some later version. It is currently in super early alpha testing and definately not anywhere close to usable, stable and reliable.
In my opinion this project is very new, and holds much promise. From their README, they appear to be done basic journalling code, and what remains to be done is error handling contingencies, metadata only journalling, performance tuning and lots of other coding. As a result, it may take some time but this could hold much promise and give another viable option for a journalling FS for Linux. Choices are always good.
Ext3 Site - ftp://ftp.linux.org.uk/pub/linux/sct/f s/jfs/
Reiserfs - http://devlinux.com/namesys/
I've been following reiserfs for a few months now. Its actually been available for quite some time now as a very stable, reliable and quick filesystem for Linux, but it was only recently when journalling was added to the code. Apparently this new addition is supposed to make it faster.
In "releasing" reiserfs, SuSE doesn't mean that it is the first journalling filesystem for Linux. It is the first journalling FS for Linux to be dubbed reliable and suitable for normal use. This is great as journalling has long been a stumbling block for enterprise adoption of Linux. Alan Cox hinted that he may include reiserfs in the standard kernels soon. Excellent =)
Warren Togami
warren@togami.com
The three really usable linux browsers are netscape/mozilla, lynx, and KFM.
--
Man is most nearly himself when he achieves the seriousness of a child at play.
****Gfx Scrollbar Special case hit!!*****
why would you like pressing the power button? Your computer turns off when you do that, and then you can't use it :( Also, it can't run rc5des without power. :)
#define X(x,y) x##y
#define X(x,y) x##y
Peter Cordes ; e-mail: X(peter@cordes ,
Years of use. I run *BSD and Linux. ext2 is definitely faster.
No. I also run FreeBSD and Linux and I can tell you that FFS is definitely faster. That is FreeBSD and Linux servers with the same hardware (SCSI only).
It is not free at the moment but will be soon. I guess it is about as "free" as the GPL at the moment. FYI her is the link to the code with the copyright.
But I can see by your sarcasm that your insterest is not the truth, but spewing bullshit is.
This is not true. I've been using a dual boot FreeBSD (-current) and Linux system for half a year. I have a shared homedirectory on ext2fs which I access regularly from FreeBSD.
The only annoyance is that in case of a crash in FreeBSD, I have to boot into Linux to fsck the ext2fs filesystem. There is no fsck for ext2fs in FreeBSD yet.
While until last year SuSE has positioned itself as a rather conservative distibution, only impementing proven technology (no glibc2 for over a year, KDE instead of GNOME) their X-Server efforts being the only visible exception, RedHat has always been the "bleeding edge" choice among the standard distributions.
This seems to have changed dramatically during this year: after embracing ALSA (i.e. hireing the top-ALSA developer and making ALSA part of their distribution) and publishing their next version also on DVD, SuSE now also seems to be the first distib to include a working journaling FS and is actively funding its development. Considering their recent expansion efforts (esp. in the US and Eastern Europe) and their actually positive balance (instead of RedHat, they do make some money now), I can't wait for their IPO!
Can you give me a pointer to this or did Kirk tell you in private? :^)
Troll?
Well I'm ready to either change filesystems or increase the block size on my ext2 partition but there's one problem: I've got 15 gigs of data to migrate, a CD recorder, and no money to invest in 15 gigs of tape storage. What strategies are most often used to migrate filesystems?
Journalling is mentioned as one of the reasons you should buy NT over Linux on the FUD page:
/ LinuxMyths.asp
:-).
http://www.microsoft.com/ntserver/nts/news/msnw
They'll have to edit it again, now it appears Linux has 2 or 3 to choose from. At the current rate of progress MS will have to edit it almost daily
Donte Alistair Anderson Roberts - hi son!
Karma: Chameleon
we have lower scheduling latency now, so neener-neener. In case you didn't understand that, we can do realtime audio processing better. BeOS is only THE "media OS" compared to things like MacOS and Windows. from a pure capabilities standpoint, Linux would be just as good a choice, and IRIX beats the hell out of both of them.
Do you really think that Slashdot is the right forum for discussing things like this.
It will propably be more usefull for you to discuss it on the hackers mailing list and file a bug report. That is if you are really interested.
I can't imagine there are many developers reading Slashdot.
need ddd and visual slickedit. Already got gcc. but quite frankly, I prefer to use an OS I can tinker with.
flamebait? hey moderator, just because YOU don't understand why running a news spool off BFS would be a catasrophicly bad idea, doesn't make this AC any less correct. To ALL moderators: IF YOU DON'T UNDERSTAND THE SUBJECT, DON'T MODERATE THE COMMENTS!
Actually SGI DID release parts of the XFS source a while back (it was even mentioned on Slashdot). It was nowhere near complete, though, and mostly a demonstration of commitment from SGI.
One goal of ReiserFS is to make this practical even for small records by providing ways of efficiently storing hordes of tiny files.
But that's a separate issue; that requires that someone create something like a ReiserSQL, a database server that maps SQL queries onto file requests on a filesystem.
The journalling issue discussed in the top level posting implicitly regards journalling as being important for conventional RDBMSes like Oracle, Sybase, DB/2, PostgreSQL, where the model you are suggesting (and which probably is not too unlike what I outline above) does not apply.
If you're not part of the solution, you're part of the precipitate.
MiXViews (mxv) is a free wave editor written in C++ (source). It's fast, powerful, and runs on Linux (and other UNIX-style operating systems).
>I wouldn't call myself paranoid.
Paranoids never do.
The 2GB-limit only exist on 32bits systems like Intel, but you can patch the kernel and you can use files bigger then 2GB. But now back to your question. A journaling FS will log the actions taken on the FS between to checkpoints and when the systems stops hard when you have a powerfailure. You can bring your FS back to your last checkpoint and this takes a few seconds. For example Novell 5 can bring up 3TB in about 8 or 10 sec if I'm not mistaken. This development will give Linux a stronger grip on the servermarkt, specialy because NT doesn't support journaling on NTFS. The should support journaling on NTFS5, but who is going to use Windows on there critical systems?
Veritas is a logical volume manager, used for maintaining "logical volumes" (like partitions) that can be sread across RAID arrays or WAN systems or whatever. You can do things like have a giant drive array (or several small ones) "hand out" portions of space to several machines (even several at once!) and the machines don't know (or even care) where that actual data is located, as long as it is available.
ReiserFS is a filesystem, like ext2, NTFS, FAT (ugh!), FFS, UFS, etc....
McKusick's "Soft Updates" is a gussied up version of "lazy writes", nothing new really, just a tweak on an old concept. But the biggest drawback is that it is not free. Hobbyists can use it (with restrictions), but commercial users must pay a fee, or face prosecution by the courts. McKusick has requested that the net community report all violations of the "Soft Updates" license directly to him in order to expedite prosecution of violators.
Finally?/Hopefully?
:>
I can't wait to try this one out
Friends don't let friends buy Compaq's. (Dell/Gateway... same same) You want a good computer? Build it yourself.
I'll second the advice of the previous replier and recommend typing 'man patch'. If it's anything like any of the other kernel patches, you're going to cd to /usr/src and type 'patch -p(0 or 1)
--
keep acting shocked and move slowly towards the cake.
Please tell me you're kidding. You're using code that was SPECIFICALLY marked as early alpha, to be used on test filesystems only.... ON A SERVER? Is this server also running 2.3.35? Dangling over the kiddie pool by cat5?
I know living dangerously can be a thrill, but that is out of control.
For us slightly behind the curve folk, can someone please explain what a journaling filesystem, and what are the advantages?
I'd just be happy if it could handle large than 2GB files.
3+ ms scheduling latency is pretty bad for the so called "media OS." A simple patch to Linux, a general purpose OS, can beat that. And i don't get the source, so I can't fix this problem. Color me unimpressed.
Then you're just as ignorant as he is.
They're just OSes. If one offers a feature you need, use it. If not, stay with what you're using.
wow. some moderator is an absolute idiot. The request for a comment to get moderated up as funny gets moderated up as funny, while the origional comment doesn't. Perhaps the selection critera for moderator access needs to be tightened a bit.
Right now I have three fairly large "multidisks":
4X16GB IBM UDMA33 w. Promise Ultra33 controler
4X18GB WD UDMA66 Hard drives running in UDMA33 mode on a BX MB
4X25GB IBM UDMA66 Hard drives running in UDMA33 mode on a BX MB
All three "md" drives are exported using NFS for use by some of our SGIs.
Has anyone tried creating NFS servers using journaled ReiserFS, and similar hardware????
Thanks!
trikster2@hotmail.com
so what about sgi's xfs? i thought that was going to be linux's savior for a journaling file system. Are we to expect this bundled in any distro's any time soon? will it replace ext2fs?
No todo lo que es oro brilla
"semi-coherent output"?
I didn't think katz had *ANY* fans. I suppose this means he has at least one.
s/semi-/in/g for the slow ones out there.
>>If the commercial entities were willing to
>>redistribute the source for any changes they
>>made, there would be no problem.
Wrong. Since this FS is linked against the kernel, they would also have to make their kernel source code available under the GPL (unless they obtain the source under different licensing - see above).
Again, the BSD folks are happy to redistribute the source for even their entire kernel, but because of the GPL restrictions (or features, as RMS would say), they cannot use this source in their product.
Actually, no. All they need to do are put stubs in the kernel that will call an exteral filesystem module. Then rewrite the filesystem code as an external module. It'd be slower, but that's the price they pay for their anti-GPL decision.
The are controlling who can use the currently-available source code. In particular, BSD folks cannot use it,
As the other respondant said, BSD *can* use the code. The only thing stopping them is themselves.
The GPL ensures that the Linux kernel will always be open source if the BSD guys want to look at a new FS to see how it was done. The BSD license does not ensure that BSD and its derivatives will always be open source.
We're running out of axes perpendicular to "on-topic". I suggest that we jump into ***THE 4TH DIMENSION*** (cue music).
In addition to journalling XFS also provide support for huge multiprocessor systems, and guaranteed IO bandwidth (which is important for multimedia systems). This is features no other Linux filesystem has.
I see that some updates have required re-compile
:> Nice way to start the evening. *grin*)
and re-format of existing partitions to use now
source... *ouch*
Any ideas on how many more times this may happen before the beta-testing is done??
(Hmm... got first post earlier and didn't even try.
Friends don't let friends buy Compaq's. (Dell/Gateway... same same) You want a good computer? Build it yourself.
Does anyone remember the QoS patches for 2.0.36? /RT extensions in linux 2.6 ?
Will we see a QoS scheduler
That came out of left field... all the hype has been about xfs, and now this.
:))
I wonder, though, how GPL purists are going to react, since their business model is to be GPL but sell GPL-exceptions to some companies.
I suspect that the project will quickly fork into Reiser-FS-commercial and Reiser-FS-pureGPL as soon as a contributor refuses to license a GPL-exception.
I wonder if anyone here has heard of this before? Beta-tested it? Maybe I'll try it tomorrow. (I want to keep my machine running tonight, so I can't very well replace the fs.
--Parity
--Parity
'Card carrying' member of the EFF.
http://devlinux.com/pub/namesys
If you grab the sources from the site, the README.FIRST file says to:
The above is incorrect. When mounting the filesystem, the journal is replayed. When the filesystem is unmounted cleanly, there is nothing to replay. If the filesystem was not unmounted cleanly, then there is *something* in there to replay. So you do *not* need to boot off of an alternate root to repair it. Just mount it and let it do the journal replay, and you are ready to go. It seems the FAQ must be out of date.
A 10GB TR5 Tape drive would run about $279.95 (todays buy.com price for a Seagate tapestore 20).
However, tapes are BORING. You can get an IBM 15GP 15.2GB hard drive for about $116.95 (again, todays buy.com price, also this will probably format around 14GB so cut a CDR or two to make up the difference).
If your motherboard is old (like mine) and will not support drives greater than 8GB, then spend an extra $18.95 and get a promise ultra33. They are great, near-scsi performance, low CPU usage, and work swell with linux.
If your data was compressable you could get away with an even smaller hard drive and use "tar" with the option to compress and the option that will break up the archives into small 2GB chunks, ??, you could get away with a drive as small as 9 or 10GB.
There is some windoze software that will let you back up your 15GB hard drive to CDR:
http://www.powerquest.com/driveimage/didetail.h
Even so, the time it would take to make 20+ CD-R's could hardly justify the $100 you would be saving.
Good luck!
trikster2@hotmail.com
Sync three times and then shutdown -
/still/ find myself doing this, just out of habit :-)
I
AFAIK, the check is internal to the FS code
I spoke with the SGI guys at Linux Kongress. Currently XFS works on Linux/ia32, but the disks cannot be moved to a big endian (IRIX/MIPS) box because the version of XFS for Linux is little endian. Since we (the m68k and PPC guys) have quite some experience with bi-endianness in ext2 (originally ext2 was big endian on m68k and PPC), we were able to convince them that XFS has to be big endian on all platforms, just like ext2 is little endian on all platforms.
Best wishes, SGI!
If you built the journalling version, you should not even have gotten a reiserfsck. In fact, the README in the utils directory specifically says you should *NOT* fsck a jRFS filesystem. It sounds like you built plain reiserfs, and not the journalling version.
As far as fsck'ing an ext2 partition. I have to disagree. We have a machine at work with 4 17GB SCSI disks in it. When that machine resets, it takes between 10 and 20 minutes to fsck all of the disks, and mount the filesystems. Reiserfs with journalling would cut that down to a minute at most I would think...
JFS is not just a buzzword IMHO. Other OS's have had this for quite some time (XFS on SGI, VxFS on HP-UX etc..), and Linux has been quite lacking in this area. Just my
Sigh. NT "journalling" is MS's definition of journalling. It differs significantly from what SGI would call journalling. MS basically implement a subset of what a true JFS does, enough that their Marketing Droids could prate about it - not enough that your data is reasonably safe. That's why you have to _buy_ real JFSes separately for NT.
So it means that root partition has to be reformatted using one of the utils RieserFS offers in order to use RieserFS' jfs for / ? . If yes, does this mean that SuSE will be dropping ext2 in favour of RieserFS? If '/' is still to be remained ext2, so OS will still be performing fsck on '/' while regenerating data via jfs on partitions formatted with RieserFS. I've heard that ext3 will be out in 2.2.14, but I don't know if it will bear a jfs capability. I would like to see more clarification regarding RieserFS vs ext2(i.e., will this mean that if I were to implement RieserFS accross all partitions, that I have to reformat all of them using RieserFS ??) Thanks to everyone.
For those Amiga people who feel left out, there's an amiga JFS. It's very stable, and very fast.
The web site also includes a good, easy to understand graphical guide on the inner workings of the filesystem
Check out www.xs4all.nl/~hjohn/SFS/
Maybe I'm just a particularly unlucky fellow, but I certainly won't abandon ext2 again for next few years. Journaling FS's seems to me to be just another buzzword technology, and at most users won't ever need them.
I think you're refering to VxVM (Veritas Volume Manager). VxFS is Veritas's file system which, as far as I know, _is_ SGI's XFS.. but I could be wrong.
Lose only has one "o"
Just to clarify, McKusick has speculated about working on a commercial product, not free software. It is uncertain whether he will even do that. He has said that he is short on time and money, and the whole thing would be way off in the future, if it ever happens at all.
Heh, NTFS == journaled? When our NT servers crash they spend over 4 hours to run chkdsk on their 80GB volumes, this is not exactly what I would call journaling... unless you believe everything in Micro$oft's glossy NT product folders :)
but you shouldn't be proud by merely catching up with NT. That's my point. The news should be about the technology that makes reiser fs unique.
---
The are controlling who can use the currently-available source code. In particular, BSD folks cannot use it, and neither can commercial entities whose kernels are not GPL'd and who do not wish to buy a license.
Worse, since they are also making it available under alternative licensing schemes, they themselves are taking away other's rights to use and modify the code streams that are released in commercial systems. Now, I suppose it could be licensed to commercial entities in a way that requires all changes made to the code be assigned to the ReiserFS developers under their copyright, but I don't think they would be adamant about such a clause if the commercial entity didn't want it, and the ReiserFS folks stand to make a good bit of money from a deal.
Wrong. Since this FS is linked against the kernel, they would also have to make their kernel source code available under the GPL (unless they obtain the source under different licensing - see above).Again, the BSD folks are happy to redistribute the source for even their entire kernel, but because of the GPL restrictions (or features, as RMS would say), they cannot use this source in their product.
99 little bugs in the code, 99 bugs in the code,
fix one bug, compile it again...
I'm a leaf on the wind. Watch how I soar.
Does anyone use this code on a production machine? Is it stable? I've got a bunch of Linux boxes just itching for the performance improvement and security of reiserfs. Is it possible to use this as the root file system? Thanks.
STFU about slashdot bias.
I'm sorry to disagree, but you're very very wrong here. The fact that Reiserfs is fast (if the article is true) as a filesystem for manipulating ordinary files is not what's important (though it's a big plus in many configurations). Nor is how a database manipulates its data relevant. It's how quickly the filesystem is recovered after a failure that's the primary benefit. I've delt with many hundreds of customers over the last 4-5 years that have brought systems for the sole purpose of running databases on Journalling filesystems.
On multi system High Availability configurations of the type that run database application services designed to failover from one system to the next, a journaling filesystem is essential. Unless it's controlled by an administrator, when a service moves from one system to another it's because of some kind of system failure and in this situation the filesystem is not unmounted cleanly. With a journaling FS, recovery is quick, measured in seconds. For a non journaling filesystem recovery could take hours. I've even seen one (very stupidly configured) customer system (100+ GB's) where this took days. If it takes more than a few seconds to recover, then it's not High Availability.
It doesn't matter if the metadata is static or not. If the database sits on filesystem that isn't journalled it will have to be fsck'd regardless and will take almost as long to fsck as a filesystem that isn't as static.As you rightly pointed out, the only other option is not to have a filesystem at all and drop the database into a RAW partition. In this case all bets are off as the stability and recovery time of a database after a system failure is up to the implementation specific design of the database vendor.
Macka
I haven't heard of those tools...are they open-source? If you can tell me where to find them, maybe I can see if a port might be possible...
-lx
This patch will of course be included (if it isn't already) in the main kernel.
Can you patch BeOS?
Closed source software is doomed.
Basically, the sources can (must) be distributed, but you MUST compile your own kernel from those sources to get Soft Updates. Any distributed kernel with the code compiled in would be violating that license. Otherwise, I do not think he cares whether the application is commercial, hobbyist, or what-have-you.
Look at the file /usr/src/sys/contrib/softupdates/README for more details.
Ok... great.. we have journaling.. where are the ACL's??? ACL's are one of the biggest things setting linux behind commercial *nixes such as solaris and irix. (And don't tell me User Private Groups get around ACL's - because they don't.)
BeOS isn't a heavy server platform? No shit. I might point out, though, that the vast majority of computers spend their time being workstations, not servers.
What I asked for was a comparison between the different journaling filesystems, without saying that any of them was a cure-all.
-lx
Doesn't really matter since UFS has been superior to ext2 for many, many years (eg no 2 gig file limit, much, much less data losses etc). I really don't know how ISP's etc bothered at all with Linux given the fragility of ext2. Now though, it's a different story.. I might take out my old SuSE disks and reinstall it with the new FS and see whether it can replace my FreeBSD server.... A few "unscheduled power-outs" while the server is loaded should test it out nicely.. Linux has always failed these test, whilst FreeBSD has either not been affected, or easily recovered the data for me...
I applied it using a patch -p1 within /usr/src/linux and it applied without a problem. I got the 2.2.11 patch and applied it to 2.2.12 without any problems whatsoever.
If you let the log grow unbounded, then yes.
Thats why the log is recycled in a circular buffer fashion.
Cheers
Heh, almost funny but not quite. Did you use Scott Pakin's automatic complaint-letter generator?
BS: Soft Updates is about as "not free" as the entire Linux kernel. RTFL
-Chris
Linux has a lower scheduling latency than BeOS? AIR, under BeOS it's ~250ns, with Linux it's tens of milliseconds. What's Linux's equivalent of the MediaKit? Piping to /dev/dsp is hardly the same thing... C-YA Jon
When the time comes, some company or individual could release a distribution targeted specifically for musicians, with all the kernel mods they might need, and the sound utilities included and configured. Not a problem.
"It's overkill, of course. But you can never have too much overkill." - Anonymous Slashdot Coward
You have absolutely no idea what you are talking about.
;-)"
There is an old, deprecated "Log-Structured FS" in the FreeBSD source tree. Nobody's interested -- log structured FS'es generally have atrocious read performance, because they cannot lay out files for faster read performance like FFS (and I assume ext2fs) can. McKusick has nothing to do with this, and is not very interested in this approach either.
The related journalling filesystems add an extra disk write for every single update operation, making them somewhat slower than the normal filesystem that the journal augments. The journalling technique is, however, conceptually quite simple. Since the extra data structure (the journal) is only used during FS recovery, at least it only wastes disk bandwith during normal operation.
OTOH, soft updates makes a different trade-off: it saves the disk bandwidth, but takes up CPU time and memory. Since CPU's and memory systems are always going to be much faster than magnetic disks (for the forseeable future, anyway), I think this is a better tradeoff.
And SU *does* leave the filesystem safe to mount after a crash. The *only* inconsistencies that can occur are:
1) unused data blocks not marked free.
2) inodes with too high of a link count.
These can only result in wasted space, nothing more serious. McKusick is working on a background fsck (using NetApp-style FS snapshots) for FFS, so that fsck can basically be run at anytime during system operation (i.e. the FS doesn't have to be unmounted or r/o mounted).
Oh, well, not that it matters -- this is slashdot, and I fully expect any reply to be "Linux rulez!"
The bias I see running through this thread is that "Linux has it, so it must be great" and "BSD doesn't, therefore it must be necessary," so "let's bash BSD on technical grounds -- we can almost never do that
In reality, SU and journalling are radically different approaches to solving the same problem. They both add *extra* complexity to async writes -- that is, they are not performance tweaks! They are techniquest that try to retain *part* of the performance of async, while adding crash-resistance.
-Chris
Like you could fix the source asshole
umm BeOS has a 250 microsecond scheduling latency. That's us not ms.
---
./configure;make;make install
:)
-- Terry
Slower? by what benchmark?
;-)
Some System V advocates had created a "benchmark" that proved that FFS (with 4k blocks and 1k fragments) was faster than their 1k-blocksize filesystem. They would create a file, and grow it by 1k blocks. This cause FFS to grow the file's last fragment (which often involves a copy) on every update. Of course, it was the optimal case for their filesystem. It was this crooked benchmark that lead to the tunefs -o (space|time) option. '-o time' will upgrade a fragment to a full 4k block, wasting a bit of space, but saving time -- it is quite useful for constantly-growing smallish files, e.g. logfiles. (and, of course, for running crooked benchmarks
Also, logging filesystems and journalling filesystems are *very* different. Loggin filesystems pretty much have to leave file blocks scattered throughout the disk, or waste disk bandwidth relocating them (to the head of the log, of course). Journalling filesystems, however, can choose whatever file layout they please, so they can optimise this layout for good read performance. The FreeBSD LFS is not even alpha -- it's past that stage, nobody is working on it, and I think it might even be in the CVS attic... yep, no code there anymore. I think the LFS approach is pretty much dead -- journalling and soft updates give the same sort of reliability and write performance as LFS promised.
Also, having just read two papers on the soft updates technique, I feel the need to improve on your description of it: the behavior you describe is present on FFS/async, as well.
What soft updates does is mantain a list of updates for each in-memory metadata block. Before the block is written to disk, this list of updates is scanned, and any unsafe updates (i.e. ones that depend on other uncommitted updates) are rolled back. After the write completes, they are then rolled forward, to bring the block to its current state. In other words, the latest safe version of the metadata block is written to disk.
-Chris
Me too. I thought it looked familiar. How lame. And to avoid getting into trouble the loser doesn't even have the courage to refer to a real person.
BeOS: 250usec in theory, but audio apps seems not be able to go reliably under 3ms latency. With the Event Layla BeOS achieved 7ms input to output latency. With Linux + lowlatency patch ( http://www.gardena.net/benno/linux/audio ) I got 1ms audio latencies using a Celeron333 + cheap SB 128PCI. Not that bad eh ?. Linux will be THE MEDIAOS !
I've seen this before. It's a flame form letter. You can replace the word "Linux" with someone's name and it's a general piece of hatred for anyone. It's not even new.. I saw this many years ago.
It's great being able to hit the reset button and have the system shrug it off at boot. I've even invited people over to poke the button and watch how quickly the thing starts up as a test, with all sorts of disk activity going.
Besides, how can you possibly support a filesystem named after a guy who inserts his own stuff at the TOP of the message, includes EVERYTHING in the previous message BELOW it (you know, quoting), and changes the subject on every third posting? What a luser. There's a reason why he got both knees (legs? which was it?) broken... for annoying someone on the linux-kernel mailing list, no doubt.
Disclaimer: I have never looked at the ReiserFS code, nor am I significantly familiar with it or Ext2 internals. The following is rampant speculation of the worst kind and should be ignored.
/worse/ for small values of n, but much better as n grows larger. Try graphing x=log(y) to in gnuplot to get an idea of what this would look like.
Having said that, I can think of a couple of reasons why, given the stated design goals of rfs, it would not perform well on those tests. Basically, the performance ( O(n) = "big O" ) of an algorithm can be measured as it varies on the size of data points.
Now, let's suppose that ext2 uses sequential scans to get directory entries (I'm fairly sure it does). The O() of a sequential scan is O(n)=n. That is, the time required to perform the scan for n elements increases linearly.
The time for a B-tree based filesystem would increase according to O(log2(n)). The curve on this one is
In other words, you may not have had enough items in a single directory to experience the benefits of RFS. I would be interested in results with say 10,000 items in a single directory, or better yet 10,000 directories in a single directory with 10,000 one byte files.
That (as I understand it) is really the kind of grueling stuff that reiserfs is designed for. Nor is this without application. On one of the boxes where I work, we have > 70,000 elm email folders, each stored under "customer_name/email". A simple "ls" takes an hour! Granted this is a boneheaded design (that I didn't do), but the point remains.
-- Slashdot sucks.
I wasn't able to reach that site (no response) but it's pretty strange to expect musicians to go out of their way to install an unsupported patch.
---
Really? mp3.com? Why the hell are they sponsoring the developemnet? I thought Paul Reiser,everyone's favorite family funnyman, was.
... So you can perfectly integrate a GPL part into BSD. The only problem is that the whole thing then has to be distributed under the GPL. (If I understand properly).
Now people could still develop BSD under the Berkeley license, provide Reiser FS as an add-on, so that commercial types could rip off the BSD code, only without ReiserFS.
Something like every row in the db is a file and you can use the unix io primitives to access them.
It is amazing that all of the OSS'ers will complain about closed source, and not look at Be.
A small company wrote an extremely fast OS with many features Linux users would drool over. 10-15 minute effortless setup. The journaling file system (18 Exxabyte support). SMP. Fonts. Performance. Multimedia. UI.
Coming soon are better Samba/MS Network support. Better OpenGL support. Data and audio cd burning in the OS. More robust USB support. Many new professional and home user audio and video real time editing software packages.
By the way, Be does share a lot of the code. Just not the kernel and related stuff.
In a happy world we would all run Linux servers and Be workstations. Be happy.
Disclaimer: I've never used BeOS. What you read below is based off of inference :)
:)
:)
If you need sound mangling (not editing) tools, you should look into sox... Not sure of the URL, but if you're working directly with the dsp and audio devices this is probably the tool for you.
There are also Cool-Edit style sound editors out there, but they're done in Tcl/Tk, but working with large files is nearly impossible because interpreted languages are not exactly fast.
There are also a few mod trackers and 808 synths out there as well. You just have to look.
It *WOULD* be nice if someone wrote a nice fast asm/C Wave Editor though.
-Erik-
That's a "log-structured" filesystem, not a journalling filesystem. They're very slightly related (in that both of them are filesystems).
The difference is a journalling filesystem can maintain decent read performance, because journalling does not confine the layout of data on the disk, while log-structuring does. Log-structured filesystems cannot get past the file fragmentation problem, without wasting tons of disk bandwidth.
-Chris
Why don't you use 4 KB block size especially because you're using large files. It's about 10 times faster.
% ls -l bigfile
-rw-rw-r-- 1 root root 1843200000 Nov 7 17:04 bigfile
% time rm bigfile
0.00s usr, 0.28s sys, 4.94s real, 5% CPU
Ha!
:)
It's times like these when I wish I had that little moderation drop-down box in front of me that reads "Funny". Someone please do me a favor and moderate this up.
There is a clause in the license that states that if you contact them, they will let you use it under a different license. But I can't imagine them putting it under the BSD license. It sounds like they want to control who can use it, and they've decided that GNU projects and commercial entities who pay are their target market. If they ever release it under a BSD license, then commercial entities could just grab the BSD-released copy and work from there.
Will the BSD's simply miss out on this nice new filesystem?
99 little bugs in the code, 99 bugs in the code,
fix one bug, compile it again...
I'm a leaf on the wind. Watch how I soar.
No, the moderator has a sense of humor. Now, if your post gets mod up as funny. It will be really funny.
CY
Use netcraft and you'll see they use FreeBSD. :-)
-T
This would be a huge boon to those of us trying to truly break free of the commercial unices. I've had to put together quotes for enterprise quality database solutions before and there have always been a couple of hurdles to get past when considering an Intel/linux based system.
PostgreSQL works wonderfully with large data sets, but lacks the ability to do hot restores. I'm eagerly awaiting that one... Now that it does a much better job with concurrant locks, that's my only real hesitation at this point.
SMP has come a long way in a short time with linux, but is still a bit lacking. This makes it difficult to settle on Intel hardware - sometimes, you just need Raw Horsepower. I'd like to get there without having to buckle down and buy a Sun or HP box. I'm not worried about this one - things are coming along quite nicely...
Now, my last concern was journaling filesystems - and it looks like it's coming at long last! I was excited when the initial announcement was made, but now that the code is out (and Alan is even considering merging into the stable branch!), I'm all gushy inside! Let's hear it for our team!
I've watched this whole linux thing start out as a 'hobby OS' and develop through adolescence into what is becoming a damned serious contender with the big boys. Sure, they're baby steps at the moment, but at this pace, they add up right quick. God, I love this industry - never know what's gunna happen next. Who knows - maybe the government will sue Microsoft for anti-trust violations next. Oh... right...
Culture is more than commerce
I'm not the moderator responsible, but I do agree it's flamebait. Let's have a look, shall we?
Ooh, look! Flamebait! And now, apply Instant Flamebait-Away(tm):
It's saying the same thing (that BFS isn't appropriate for servers), but it's not so inflammatory any more.
"Flamebait" is about tone, not content.
I miss Meept.
You know what really pisses me off, is the fact that it's not hard to look at any message and tell if it has an actual point or is just intended to be a flame, despite the fact that you don't know the subject well.
:)
Some moderators need to visit a BBS or read some real flame wars so they know what decent flames are instead of moderating down "heated discussion".
Heated discussion is good for people, it provides them with a way to release stress on each other and at the same time have a discussion where honesty tends to be more prevalent.
Some of you guys need to spend more time downtown.
-Erik-
This is not the first time software has been released under this model. My understanding is that this is how RT Linux was released.
[The idea of RT Linux is to put a small real time kernel underneath Linux. This kernel handles the real time tasks, and schedules Linux when a real time task doesn't require it. It also provides a communication mechanism between Linux processes and real time tasks.]
So the RT linux kernel could, in theory, be used without Linux (perhaps with another OS instead) to provide real time services. The author has carefully retained the copyright to his code, so he can sell it under a non-GPL license if someone wishes to incorporate it into a commercial project.
I'm not aware of any non-GPL licenses for RT Linux, but the model is there.
The main thing that helps make this model work is that the copyright holder controls the distribution. That means that in order to get your changes into the official releases, you have to resolve any copyright issues. It only breaks down if there is a significant dispute and someone is willing to go to the effort to start a separate distribution. Of course, if they get the file system into the main Linux distribution, that action will trigger a fork in development.
Looks like there will be serval journaling filesystems competing with each other. I only see it positive to have 5-7 diffrent JFS to choice from. That means the best technology designed one will become the defaco standard. I can also be them focuses on diffrent segments, ext3 at homeusers. and SGI XFS to big corporate datawarehousing, others to midsize companys, etc. What do you think?
Journeling is something Linux badly needs. This can only be good news.
I've been dieing to get a journeled filesystem for my three servers. I design my servers so they will never have to be touched again. But I've always worried that we might get a power outage and the automatic-fsck Linux does might fail. Journeling would be a big help.
I'm still waiting for Sun's XFS though...
So basically FreeBSD with Soft Updates is under a GPL like license :)
If you were at the USENIX 1999 conference, you would have heard Kirk McKusick deliver a paper on soft-updates.
Licencing was one of the questions that arose and he said that Sun are currently interested in soft updates for Solaris, and about a year or so after their commercial introduction, the standard BSD licence would apply.
I don't know why this has arisen here -- soft updates is meant to eliminate synchronous writes from the filesystem, while keeping the standard FFS layout policies underneath. Anyhoo, 50 elite points to anyone who tells me how the ext2fs violates standard UNIX filesystem semantics.
Um... So, how's ext3fs doing?
It was my understanding that to go to Ext3FS journalling, you didn't need to reformat your partitions, since Ext3FS just uses empty Ext2FS inodes as journals?
What's xfs supposed to be doing? Is the line still
"the architecture is significantly different to linux, so we're working on merging linux's vm and file object layers before porting"
And isn't ReiserFS Russian made?
Hey, this looks like it was randomly generated.
automatic version control of files that I work with.
back-up copies of important system files
compress seldomly used files
reorder files on the disk by access patterns to save seek times
even delete unwanted files if running low on space (core dumps and editor backups more that a week old...)
This could be configured with special tools, and/or with a hidden file in each directory to tell what are the important things here. Most of this should happen automatically in the background, out of sight.
Has this been done already? where? Anyone working on this sort of things? Anyone willing to steal these ideas? Technically feasible?
In Murphy We Turst
Typical my ass. You have picked the one case where ext2 deletions are too slow-- huge files.
I believe that reiserfs is much faster in this case nevertheless, because of the tree structure. (huge files on ext2 require more metadata to be touched than on reiserfs; future ext2 will probably solve the problem by using extents)
get lots of crashes? :)
The 2GB limit never existed on 64-bit Linux systems, i.e. Alpha or UltraSparc.
It will be gone for good when Linux 2.4 comes out.
There are no long fscks required.
When an unclean journaled fs is mounted, the filesystem itself does a brief resync and is then ready for use. This check probably takes a second or less on any modern machine.
lol, what the hell are you talking about? For one thing, Linux is just an operating system, there is no need to personify it as Hitler. ;)
How does this new filesystem compare to ext2fs on deletion times. For starters here is what a typical deletion ext2fs takes:
heroine:/home/mov% l *.mov
-rw-r--r-- 1 root root 1958135327 Nov 6 17:49 xena1.mov
heroine:/home/mov% time rm xena1.mov
real 0m56.536s
user 0m0.000s
sys 0m0.920s
Even a 30 second deletion time would be great.
Kinda funny... but not really... a mind like that could have done a much better job... take a little more time before your next post
Friends don't let friends buy Compaq's. (Dell/Gateway... same same) You want a good computer? Build it yourself.
VxFS is not XFS. It is a distinct product, and a good one at that. Veritas announced last week that they will be porting VxFS to Linux.
Though benchmarks aren't everything, they're always nice to look at.
Here's the linkage:
http://devlinux.org/namesys/bens.html
--
oh good god. shut up. have a beer. stop acting like your life revolses around your warped philosophical viewpoints on the info age, and oh yeah, shut up
See the definition if you don't know what a sporgery is.
I really hope we won't be seeing more of these on slashdot.
if it's not Redhat, nobody cares. You're not going to get Windows and Mac musicians to come to yet another obscure underground linux distro.
---
...didn't they develop this?
I've been running ext3 on a couple of servers for a few weeks now. It's worked like a champ the one time I yanked the cord to test it.
Finally a AI slashdot poster....in a few months the writers will be getting ontopic first posts automatically :-)
Marriage is the "pseudo-ethics" that cloaks the messy truth of sexuality in the raiment of propriety -- it's "Don't Ask,
I don't disagree with reiser's observations about database semantics, and I definitely would like to see a journalling FS for Linux, and I like the idea of being able to store smaller files more efficiently, BUT... 1) Won't this create compatibility problems? I mean, really, what if there is no reiserfs for FreeBSD? for Slackware? I'm really not sure that the OS is the right place to force such a layer except for very specialized applications. What if I need a distributed filesystem in my environment (AFS, Coda) but the software I'm using requires more efficiency than the networked fs I'm using? Can I not use the networked FS? 2) To all GNOMEs reading this, DO NOT EVEN THINK ABOUT USING THIS FOR YOUR METADATA. Your metadata is already a piece of crap (URL files should have the actual URL if nothing else IN THE FILE, but don't), but making it incompatible by littering the filesystem with tons of tiny entries like a database will kill your project from user frustration with incompatibilities.
I don't disagree with reiser's observations about database semantics, and I definitely would like to see a journalling FS for Linux, and I like the idea of being able to store smaller files more efficiently, BUT...
1) Won't this create compatibility problems? I mean, really, what if there is no reiserfs for FreeBSD? for Slackware? I'm really not sure that the OS is the right place to force such a layer except for very specialized applications. What if I need a distributed filesystem in my environment (AFS, Coda) but the software I'm using requires more efficiency than the networked fs I'm using? Can I not use the networked FS?
2) To all GNOMEs reading this, DO NOT EVEN THINK ABOUT USING THIS FOR YOUR METADATA. Your metadata is already a piece of crap (URL files should have the actual URL if nothing else IN THE FILE, but don't), but making it incompatible by littering the filesystem with tons of tiny entries like a database will kill your project from user frustration with incompatibilities.
I've been enjoying Be's file system for months now. Once you start using a journaled fs you cannot go back to that other shit :)
The ext3 journaling filesystem has its first beta a few months ago. It does't require you to reformat your existing ext2 partitions to convert to ext3. And an ext3 filesystem can still be used as an ext2 filesystem, you just need to update the journaling information if you go back to ext3 after using it as ext2. Read more about it at Stephen Tweedie's ext3 site.
"Flamebait" is about tone, not content.
I strongly disagree with this. I don't believe we should moderate good content down just because we don't like the author's tone of voice. I totally agree that the author could have phrased his comment in a less inflammatory manner, but he did contribute a relevant point to the discussion. An article should be considered "flamebait" when it adds no (or repeated) content, and is obviously intended to provoke heated response. This article fails the first test, but passes the second.
Flamebait:
BeOS sucks.
Not Flamebait:
BeOS sucks because it's filesystem doesn't handle multiple users well.
-smw
eh?
I thought it was pretty funny. It does seem to be automatically generated (hopefully in an elisp routine run in emacs on linux ;-).
BarFS? Do you have an URL for that?
The only explanation I have about this moderated post is that it sounds like a servere case of schizophrenia.
Your stunning, brilliantly insightful rebuttal sure did an excellent job of countering the thesis of that essay! I commend you, GreyFunk, on a philosophical tretise that even the ancient Greek philosophers would be in envy of!
(i.e. Damn, you sure told him!!)
I looked at the page and even did a web search for it, but didn't find an actual definition.
Can someone tell me what "journaling file system" means and entails?
Thanks.
Alladin used to do that with Ghostscript. RMS had no problems with this business model, and I haven't heard of anyone who wanted to fork the project for this reason. It would also be silly, as you would have to remerge the enhancements from the trunk back to your branch.
With Ghostscript the GPL was not restrictive enough. Proprietary software would simply call the gs executable in a separate process. That is why Alladin eventually switched to a more restrictive license. Namesys should have no such problems, you can't run a filesystem stand-alone.
Isn't that what Veritas does? Please see: http://www.veritas.com/company/pressroom/1999/pr99 1102-2.html
Reiserfs is blazing fast for rm -rf. About ten times faster. than anything else available. Don't believe me? Check these benchmarks yourself.
This brings you one step closer to the power of BeOS ;) Seriously, though, it's a good thing. Journaling File Systems are pretty snazzy - stable, and speedy to boot. I'll be looking forward to a BSD port, or maybe a pure BSD implementation, as the core team probably wouldn't incorporate GPL'ed material into such a vital part of the OS.
Does anyone know the comparative advantages between XFS, ext3fs, ReiserFS, and maybe BFS? What's the likelihood of any of the 3 free unix JFS's being incorporated into any Linux distros?
-lx
Russia has awesome hackers. They grew up with
schools that targeted math and science. I work
with several immigrants (in Massachusetts),
and they are some of the best on our team.
Reiserfs is being managed by a German consultant.
His consulting work is enough to pay the salary
of several people in Russia.
BTW, the GNU database server is being done
in Russia. See a patern here? Math, math, math.
All of this code has a solid theoretical base.
Wait until you see what India can do. They are
just starting to become serious Linux users.
(no, I don't mean the starving non-hackers)
This is an excerpt from an article about I just read about microsoft.
Companies that use the Microsoft Windows NT 4.0 operating system may experience an internet connection slow down in the next few months. Without telling anyone Microsoft Corp. added in something new to their latest Service Pack. It's called 'kill_linux_at_any_cost.exe'. What is does is, it finds internet sites such as the slashdot, and posts psychotic articles about linux being the work of the devil, and how Hitler ran linux. Apparently Microsoft was fearing the worst in the DOJ Anti-Trust case, and needs all the PR support it can get. It runs as an NT service that you cant get rid of.
Look. I'll admit that the "Russian-made" line seems to have come from absolutely nowhere. But just because you don't immediately understand something is no reason to immediately and irrationally assume the author meant to defame anyone, much less an entire nation. This said, I'd like to know what he meant by it myself.
I posted something like this in an earlier story, so don't flame me for being lame. I just think the whole ficticious hidden programs in the service pack are funny. You can find it here.
Does this get rid of the 2GB file limit or is this a problem deeper in the kerenel?
I am about to combine backups onto 1 machine and it looks like Slowaris86 will have to do. Please someone rescue me from this. I have enough Slowaris experiance to avoid it if I can.
It's not the size of your stack that matters, it's how you push and pop
i think you mean SGI's XFS.
I'd like to respond to that post with this...
If you are stimulated by new ideas, and if you can think for yourself rather than simply accept what Microsoft dishes out, I think you will find this letter of interest. What follows is a call to action for those of us who care -- a large enough number to listen to others. It is difficult, if not impossible, for people to come up with an accurate conclusion if the only information Microsoft has given them is false. And if that seems like a modest claim, I disagree. It's the most radical claim of all. Microsoft says that newspapers should report only on items it agrees with. The inference is that children should get into cars with strangers who wave lots of yummy candy at them. I'm happy to report that I can't follow that logic.
Permitting slovenly kleptomaniacs to subvert time-tested societal norms is tantamount to suicide. Perception becomes reality if one is brainwashed for long enough. Out of the vast number of devastating evils for which gutless megalomaniacs are directly or indirectly responsible, I shall pick out only a single one which is most in keeping with the inner essence of Microsoft's revolting tracts: ethnocentrism. A large percentage of Microsoft's cronies can be termed beer-guzzling. I know because I have experienced that personally. Given the public appetite for more accountability, the first casualty of Microsoft's wheelings and dealings is justice. That being the case, we can infer that Microsoft's lackeys are unified under a common goal. That goal is to exhibit a deep disdain for all people who are not sinister insurrectionists.
What I am getting at is this: No one is more pathetic than Microsoft. I assume that Microsoft is unaware of its obligation not to present a false image to the world by hiding unpleasant but vitally important realities about its generalizations, as this unawareness would be consistent with its prior displays of ignorance. Microsoft have trouble living with itself, knowing that this kind of thing makes me wonder whether we've ever moved past gin-swilling Maoism at all? If you're still reading this letter, I wish to compliment you for being sufficiently open-minded to understand that Microsoft is not just stupid. It is unbelievably, astronomically stupid. Microsoft needs to calm down and realize that it will not be easy to break the spell of great expectations that now binds the most vile autocrats I've ever seen to Microsoft. Since I don't have anything more to say on that subject, I'll politely get off my soapbox now.
æeee!
I've tried applying the patch from /usr/src, /usr/src/linux, and /usr/src/linux/fs, but have no luck, all it does is spit random files everywhere and says `done` then I try to compile and it barfs
any help would be appreciated
Are you serious? Under SGI Irix I can have my root file system as XFS, then yank the power cord out while its live and, no problem, it will reboot cleanly without any need for an fsck. (yes I've done this many times... they're not servers...)
If ReiserFS is like you say I'll wait for XFS thanks.
At least, I think so :) There's no fsck at present for the journalling version of ReiserFS -- it apparently just replays the last log when it decides something has gone wrong. Really I don't think there's anything stopping it from being a usable root filesystem now, aside from its youthful age ;)
Read my stuff.
Does ReiserFS have the more flexible file permissions system which if I recall correcly is often called "capabilities"? Does Ext3fs? XFS?
So Redhat pays for Alan (and Gnome?), Corel supports WINE, and Suse pays for file systems.
Open Source has always been good at producing excellent, relatively small and self-contained components. We haven't been so great (with a few very notable exceptions, the kernel being one) at producing large projects. If it's a lot of effort with no quick return, the coders get tired of it.
Now the commercial companies are funding the big stuff in an attempt to gain mindshare ("we must know what we're doing, we've got Alan"). This really complements the existing strengths of Open Source.
It is tempting, if the only tool you have is a hammer, to treat everything as if it were a nail. - Abraham Maslow
1. This is not about porting ext2 to BSD, but a journaled fs. So comparisons to ext2 are meaningless.
2. Running linux binaries has nothing to do with this either, unless someone wants to make a user space version of RFS, and BSD can support it.
--
Infuriate left and right
3:56.82 -- call it four
Divide by 3:07 -- call it three
Both roundings favor resiserfs, yet the ratio is said to be 1.56. I don't think so.
Look at the rm -rf * stats -- ration is claimed to be 10.1, yet it's a lot closer to 7.
What hope is there for the numbers themselves?
--
Infuriate left and right
It does >2gb files and is free. ;-)
Beats the hell out of solaris
Sideways!
And even more Sideways!
Sideways posts are the best entertainment here. Very nice guys!
The part of the reiserfs faq that talks about it not being able to be remounted without an fsck only applies to the current, non-journaled version. The whole idea of a journaled FS is that you can mount it instantaneously (compared with ext2) after a crash. The faq you were looking at hasn't been updated to reflect this yet.
FAQ we're referring to: http://devlinux.org/namesys/faq.html
*sigh* Somebody got a new flame generator and has been posting these pointless multipage computer-generated diatribes for the past week or two. It gets old. Real old. Real fast.
Whoever you are: Grow up.
--anonymous, since I'm feeding the trolls
You could boot from an initrd RAM Disk, load the XFS module, and then remount your root partition from an XFS partition on your hard-drive. After all, this is how RedHat kernels allow you to have your root partition on a SCSI drive, yet still have all of the SCSI devices built as modules.
Indeed, just this sort of technique can also be used to handle a ReiserFS root partition that needs to be fsck'd, by having the boot routines in the RAM disk image do the fsck if necessary. Strikes me as a bit more fragile than what I'd care to deploy in a mission critical setting, but....
--Joe--
Program Intellivision!
This could in fact be a new begining for our wonderous OS Linux. And be it Reiser or SGI...jfs is going to provide one of the last things that separated linux from the other unix's. Fairwell ext2.. you served us well.
The Problem With The Gene Pool Is That There Is No Lifeguard.
I think you confuse some issues. Alladin has had _two_ business models. The old was to use GPL and sell exceptions. The new is to use a more restrictive license for new versions, sell exceptions, and release old versions under the GPL.
That some printer manufacturers didn't want to obey the GPL was not a problem for Alladin, it was a feature. It meant these manufactures would want to buy an exception from Alladin. When they buy an exception, the GPL become irrelevant to the customer. The problem was developers of "postscript enabled proprietary applications" who _hadn't_ any problem with the GPL, because they didn't link with gs, they just used it as a standalone program. They would not pay Alladin, instead they would distribute the source to gs. The new Alladin license was designed to prevent this.
Namesys will not need to change their license, because their potential customers will not be able to use a similar loophole.
Oh boy, are you the same AC of yesterday ? Why do I have to allways catch your comments ( and so late in the night ) ?
Stop dreaming, stop smoking, and above all, please stop criticizing if you have no idea what you're talking about.
sheessh, I have so many experiments to run and I'm wasting my time on you ( bad, bad boy ).
Isn't it somewhat interesting that no more than a year ago, Linux had no journalling filesystems. Then everyone complained. Now we're going to have three journalling filesystems! (XFS, ReiserFS, and ext3) If anyone cares to complain about the lack of responsiveness of the free software community, I suggest you take a look at this. ;-)
I guess good things come in threes?
Heh, I just happened to think, there's a few other places the "good things come in threes" applies:
Anyone else have some favorite 'threes' to add?
--Joe--
Program Intellivision!
kdb, for live debugging
the crashdump stuff
glx
helping with linux's DRI interface
coming up with gl in the first place
throwing their name behind linux and free software
telling them to kiss your ass is a bit myopic
and such comments tend to speak only of the posters immaturity.
the more the merrier.
So let's say I have added this reiserfs code to my system. Now I move all but my root partition over to it and run the system as I usually would. If, one day, the power goes out and my system is killed and boots back up, is there any need to run some kind of consistency check (even a very fast one of some sort) or can I simply remount my reiserfs partitions as if nothing had happened? I ask because it isn't all that clear in the documentation.
Point taken. Thank you for the clarification on this part. I'm more familiar with their current business model than with their previous.
I'm not sure I buy the "Postscript-enabled Proprietary Applications" argument, though. What's to stop these app developers from providing support for some other common interface (say PPM) and saying to people, "Hey, you can get Postscript support really easy by doing this:..."
I'm not sure I follow. What happens when Mfgr X builds up some proprietary system which needs the reliability of ReiserFS, and ships it along with a Linux kernel source tarball containing ReiserFS? If the ReiserFS itself is an integral part of the product (say, for reliability reasons or whatever), then how is this any different from the Ghostscript case you mention? If Namesys is counting on charging all commercial customers, then this doesn't work. I doubt they are, though.
One possible application I can think of that falls in this category is a Point-of-Sale system. I can imagine the folks implementing these systems needing reliability as well as the recovery aspects that ReiserFS provides. At the same time, the POS software itself is highly proprietary, and is using the filesystem as a client. Say WhizBang POS Systems starts shipping their proprietary, binary-only POS software on a CD with the Linux kernel and ReiserFS patches installed. For GPL compliance, they have a big source tarball containing Linux+ReiserFS. How is this different from the Ghostscript scenario you described?
The availability of GPL exceptions is more likely to affect people with closed OSes, or OSes whose license is not GPL compatible. (eg. QNX, the BSDs, other embeddeded and commercial OSes.) For instance, suppose I want to integrate ReiserFS into a DSP design running SPOX. I would need to license ReiserFS for that application. I suspect that is the crowd that these license exceptions are aimed at -- it's not the same story as for Ghostscript.
Or did I miss something?
(PS. I'm not trying to be antagonistic or anything. I find this to be an interesting and enlightening discussion, and I'm truly trying to understand the subtleties.)
--Joe--
Program Intellivision!
My friend, there is a huge difference between this post and a Jon Katz rant. This post was clearly a simple global search/replace operation on an existing piece of text.
Jon Katz's rants, on the other hand, are generated from scratch by a program. The program scans a database of "hot" words (i.e. "internet", "cyber-*", "freedom"), runs the words through a complex language-rules algorithm, and produces semi-coherent output.
Damn, people!
Can't anybody see that someone just took an article and replaced every occurance of someone's name with the word "Linux"? Personally, I found it funny, but I am intrigued - I'd sure like to know what that name *was*!
Too bad it was off-topic and got modded down, I enjoyed it more than a lot of Jon Katz' rants.
Actually, I hear that he's not thrilled with it. Indeed, one of the biggest problems that I can see is that there is very little incentive for people to improve the existing GPL version of Ghostscript when they know that Aladdin has (a) already improved Ghostscript in the current commercial version, and (b) will be releasing their changes 'soon' (after one year). This interview with Ghostscript's author Peter Deutsch sheds more light on the situation, including Stallman's thoughts.
One result is that the GPL community is almost guaranteed to always be one year behind the latest in Ghostscript technology, unless someone gets up enough nerve to fork Ghostscript development and try to get ahead of Aladdin.
Part of the problem here is that the Aladdin folks try to license their code to printer manufacturers, etc. The printer folks aren't too keen on having to ship Ghostscript on demand to anyone who buys a printer. Also, if the printer folks make any platform specific changes (which undoubtedly they will, such as specific driver technology for running the print engine), they'd have to distribute those changes, and most aren't willing to do so.
Also, more importantly, Peter Deutsch doesn't seem too keen on having people ship Postscript-enabled printers by using his work for free (as in gratis).
The upshot: Aladdin offers their latest and greatest Ghostscript with a commercial license.
With ReiserFS, I'm sure a similar but not identical set of considerations exist. People building embedded or mission critical systems on an otherwise proprietary base might license ReiserFS for their application without introducing any questions as to the effects of GPL. At the same time, a GPL version is available for everyone.
The difference here is a bit subtle but important. Namesys appears to be releasing the latest and greatest ReiserFS under GPL, rather than imposing an artificial delay. (Whether or not this changes in the future is unclear, but for now it is an important distinction.) In this case, the commercial license seems to be a means for companies to buy an "unencumbered" version of ReiserFS for their own purposes. (By "unencumbered", I mean free of the implications of GPL.) I see this potentially as a way to keep both camps happy. Maybe. (Except, of course, RMS.)
--Joe--
Program Intellivision!
use sed to replace all occurance of Linux with something else , (e.q. X) and see what comes up.
I think it's pretty close to Katz tho.
I know the basic idea behind journaling, but I don't understand the implementation - I know that it helps prevent fsck'ing by writing the data to the disk immediately, but how is this different than simply turning off disk caching? How is the performance better with journaling rather than running without caching?
"Software is like sex- the best is for free"
-Linus Torvalds
As I understand it, jouraling functionality +more is going to be added to FFS/Softupdates by Kirk McKusick. I read that on a mailinglist. I also read that there are some hope that SGI is releasing their XFS under a free enough licence so it can be used in BSD, but that may be a long shot.
We already have a very stable fs and with softupdates we get both speed and safety. As I understand it, journaling would only buy us some fsck time. Am I right?
you're dreaming
Well i just installed RH6.1 and i am having a problem which i cant resolve so i am looking for some help . This is not my first time using linux but its the first time using linux for the purpose of learning it as the main os , well anyways on to the problem . I am trying to setup access permision for a user for the X with xauth and ive tried reading all the related mans and howtos on the web and i havent had any luck finding a detailed howto/man on this topic , so would anyone be kind enough to point me to the right one .
The main effect of journalling, the thing that is really important about it, is that it guarantees that metadata updates are kept consistent. That is, journalling is primarily supportive of making sure that filenames, directory structures, permissions, and such are kept consistent even when moderately catastrophic things happen.
This is a really good thing when supporting file serving activities, as that indeed tends to involve lots of manipulations of files as users shift them around.
I've been on the ReiserFS mailing list since '97; have been running a personal news spool on a small ReiserFS partition for probably 6 months. I can't tell for sure if the journalling now available is metadata-only, or if it also journals normal data updates. It looks rather more like metadata-only, which is useful for file-server work, but not so much for RDBMSes.
Databases behave in quite different ways from file servers in terms of the way they do file access.
If you look at most RDBMSes, they create a few files, and do lots of manipulations on top of them. Informix SE is a counterexample, basically using Informix C-ISAM underneath, but is unusual in that regard. If you look at the database partitions, you get one of two things:
Note that for these, the metadata is very static which means that journalling of metadata is of relatively little importance.
Don't just believe me; I am not the ultimate authority on this. Transaction Processing : Concepts and Techniques is a rather definitive reference; it discusses methods of managing transactions in the context of database management systems, and goes into considerable detail discussing transaction logging, which bears striking (and not merely coincidental) resemblance to journalling.
The critical point here is that it is the database manager that wants to manage the logging/journalling; Oracle and Sybase and IBM and Informix will be loathe to pass on responsibility for this to Hans Reiser, wonderful guy though he is.
Conclusions
What will be of fundamental importance will be when Stephen Tweedy's Raw Device Support gets integrated into the "production" kernels. That is what Oracle is looking for (consider: Oracle has pumped some funds into RHAT, and RHAT is paying Stephen Tweedie... Could there be some connection?)
Even if this isn't such a boon to those doing serious RDBMS work, it can still be a boon to lots of other folks...
If you're not part of the solution, you're part of the precipitate.
"Who was first" isn't all that important; it should be noted that there is considerable communication between the development groups, and there are conscious efforts ongoing to make sure they build facilities that will be useful across the board:
- VFS
- Buffer management
- Cache management
It often enough turns out that what one group needs another finds that they also need.If you're not part of the solution, you're part of the precipitate.
You haven't seen a release; based on the discussions at ALS involving the developers, it would be surprising to see a "beta" before the end of 1999.
A "beta" is not production code, and doesn't include integration into the "regular" kernel. I would be entirely unsurprised to hear that this hasn't yet occurred by the middle of next year.
Not likely any time soon...If you're not part of the solution, you're part of the precipitate.
As for the possibility of forking, that was intended as a way of raising funding to support the free version. Now that SuSE is funding ReiserFS, it is rather less likely that Hans Reiser will be feeling the need to bang on Sun's door looking for money.
The hype may have been about XFS, but note that no code for XFS has been publicly released. And note that ReiserFS has been under active development since at least July 1997, which means that while silly people that watch fads may have been off hyping XFS, ReiserFS is hardly new and hardly surprising.
Note, all of these developments in filesystems move us towards having a choice of filesystems, and the ability to tune systems for one kind of behaviour or another. None are likely to supplant ext2 for our root partitions any time soon, in much the same way that commercial UNIXes' "advanced" filesystems have not largely supplanted "traditional UFS" for root partitions.
Plus ca change, plus ca reste meme.
If you're not part of the solution, you're part of the precipitate.
That bottleneck is not resolved by changes to filesystem functionality.
This means that ReiserFS does not fix the problem; this means that XFS does not fix the problem.
At present, your choices for resolving the 2GB file size limit are two:
If you're not part of the solution, you're part of the precipitate.
Sigh, so sad to see people not use Be. Well, at least he bought it.
Please everyone go to Reiser home page where the official anouncement is...
http://devlinux.com/namesys/
MP3.com is sponsoring a large part of the Reiserfs development...
Or should these exist only in user-land? The new version of NTFS has these as built in features (of course they only _now_ getting quota support...)
Compression is one thing I would like to see in a filesystem, although encryption seems like a marketing feature only. I'm not sure how much value you would get for the extra bloat. Anyone know if compression is on the Linux fs roadmap?
Sig (appended to the end of comments you post, 120 chars)
NTFS was 64 bit and journaling for quite a while-I don't see what the big deal is here. On the other hand those benchmarks look good (ok benchmarks are just benchmarks but still)
---
This is why I also use the BeOS. A fully journaled 64-bit file system. Eight-way SMP support. Anti-aliased fonts. Apache 2.0 Etc..
I hope Linux can catch up...
My drive has just two partitions, 10 MB /boot and ~4 GB / ... after hitting the power button reboot happens with no delay.
Judging by the documentation, ext3 has quite a long way to go but hey, it does work. Reiserfs looks ready for prime-time.
I'm sure reiserfs and ext3 with both have their niche and I for one am very excited at this news!