Mac OS X to Get Journaling FS
overunderunderdone writes "According to eWeek, Apple Computer is planning to introduce a new journaling file system code-named 'Elvis' with the 10.2.2 release. Supposedly it will run on top of HFS+ and will be turned off by default. Though it will cost you 10% to 15% performance penalty the article says it is more extensive than NTFS and is on par with BeOS's 64-bit journaling file system. Not surprising since it is being developed by the same person - Dominic Giampaolo." I've been super impressed by OS X having used it as my primary laptop for the last couple weeks. It really is a great unix box- and this is one of the important missing puzzle pieces.
...when you pry HFS+ from my cold, dead hands.
No, wait. Give me that.
But what do I know. I'm just looking for anonymous gay sex.
Is this an entirely new journaling system or one based on an existing (BeOS) journaling system? Won't there be performance and stability impacts from basing it on HFS+ instead of a more modern framework? Is is possible to compile one of the existing *BSD journaling systems on OSX/Darwin (I haven't heard of anyone with success in this matter)?
what other important features has OSX that Linux has not. I am thinking about getting a Laptop with OSX so I was wondering how OXS compares to Linux.
Ok, so being I'm not the highest on there terminology totem pole, can somebody expain to me why journaling matters to me, and why its worth 10-15% of my system resources?
Mod point free since 2001
...to Switch! This was about the last major gripe I had with Mac OS X. We already have an encrypted file system. However, no matter how I have abused my Macs in the past, I have never had filesystem corruption with HFS+. I constantly forget to unmount my iPod and yank it off the firewire cable. Mac OS X grips about the possibility of filesystem corruption but so far, so good. Others mileage may vary and I wouldn't do it during a write.
Strange women lying in ponds distributing swords is no basis for a system of government.
i wish it would have been explained that way...
the writer of the eWeek article is Nick De Plumme (or something) - he's the guy from ThinkSecret....
hardly a "journalistic" website.
guns kill people like spoons make Rosie O'Donnell fat.
Though it will cost you 10% to 15% performance penalty
This refers to hard disk access time penalties, not an overall 10-15% reduction in the performance of your computer. You wouldn't notice the difference.
Pish. I have a Pismo (500MHz G3 PowerBook) and a 933 G4. While the G4 is a lot faster, the Pismo is a delight to use and leaves me with no complaints.
There should be a moratorium on the use of the apostrophe.
Max V.
NeXTMail/MIME Mail welcome
I wonder if that stated 10-15% performance hit
is with or without journal on a separate disk.
I'm surprised no one has brought this up yet.
Ben "You have your mind on computers, it seems."
At least this shows Apple's serious with courting the tech-savvy audience. Before, the reason to go with Apple was out of preference for the UI... and that was it. OS9 was ungainly and unstable. With OSX there're now true geeky reasons to want a Mac. No more being ashamed of coveting the rainbow apple! I want protected memory/journalling fs/unix multiuser/process stability/gnu tools/etc ... and an interface that looks like i can eat it for dessert!
I predict that it will become faster with time.
Just looking at how OS X itself has progressed in speed from Public Beta (slug with brick tied to it), to 10.0 (slug), to 10.1 (average lazy human), to 10.2 (average lazy human drinking strong coffee), I expect that by 10.3 this technology will not give nearly such a performance hit.
And heck. Don't like the speed hit? Turn it off.
But what do I know. I'm just looking for anonymous gay sex.
OS X doesn't really need a fast G4, any G4 is good as long as you have a shedload of RAM. That's the real OS X bottleneck, which is easily solved by a quick trip to Crucial.com.
do you get an "Elvis has left the building" message?
A new and cool feature would be a file system that maintained a Weblog...
Today I stored my user's tax return...what a piece of crap...he actually expects the IRS to believe that he donated 40,000 to the MDA?...I think I'll just switch a few numbers around and drop a hint to the audit hotline
Yeah, that could be good...where's the SourceForge project for this?
I use FAT32.
The diskspace used by the journal file in NTFS and this new filesystem can be put to much better use.
Ya, like all of the fucking backups you need to keep your data safe. On that 80Gig disk, no less.
Fuck
All
There
is what we used to call the FAT filesystem, and for good reason. No security, no recovery. You work for Peter Norton, any chance?
Get a clue, bud - journaling file systems were integrated with _all_ modern OSes for a reason. Namely, big gain, near zero cost.
Soko
"Depression is merely anger without enthusiasm." - Anonymous
"The diskspace used by the journal file in NTFS and this new filesystem can be put to much better use."
You mean like empty cluster tips?
NTFS might use a good amount of space, but you make up for allot of that just based on the smaller cluster sizes. Take a large directory (20,000+ files, 10GB+), put it on a Win2k machine with NTFS, then another with FAT32. Right click -> properties. Size on Disk says it all.
-- "Government is the great fiction through which everybody endeavors to live at the expense of everybody else."
If it takes a 10-15% performace hit that is significant on older hardware. 10.2 is faster than 10.1 but on a G3 333 it's still dog slow. It works out my G4 733 too.
That being said I'll try it but hopefully there will be a way to disable it as well.
Disk Read Failure: The King is dead.
-----
jonathan barket
The critical differences for me are that Apple stuff Just Works, Really Really Well, OS X is a Unix, and Apple seems to be philosophically opposed to Digital Rights Restrictions.
Whether or not they'd be like this if they were in a monopoly position is up to debate, but Apple is currently a far less evil company than Microsoft. Instead of putting roadblocks up for me, the Mac makes most things I want to do far easier.
Blockquoth the poster:
When Apple has retaken 95% of the market and starts using its 100 MWatt master Airport transmitters to force-download 3 GB trailers for 'Toy Story 5' onto my desktop, then I'll worry...
He already did. Looks like he likes it, for the most part.
Oops, they have!
Well, we all know Apple's just "embracing and extending", they don't ever submit any of their extensions to the IETF and release that code, right?
wrong, and wrong again!
I'd rather have a plain old UFS filesystem that IS case sensitive than HFS+journaling+whatever.
Then... use one. You can create and mount UFS filesystems with OS X. You can even install the OS on a UFS filesystem, but legacy software often depends on features of HFS/HFS+. So if you don't have any legacy apps, you can run an entire OS X system on UFS.
I write in my journal
A huge fraction of technical (and high-spending) PC users who might switch know exactly what Slashdot is.
It would be awesome: "... I'm Rob Malda, and I run Slashdot.org"
Do I see an Apple "switcher" ad featuring CmdrTaco in the near future?
There are 01 kinds of cars in the world. The General Lee, and everything else.
Unless Apple is caching its graphics to disc before displaying them, it wouldn't make a different in your "eye-candy processing power".
Thats a 15% hit in disk performance, not system performance.
A week with a Mac laptop, running OS X?
We are all doomed! Once you go Mac, you never go back!
Next he'll be dressing up in black, sporting a goatee, and drinking pretentious coffee drinks...
Like him!
GPL Deconstructed
A journaling filesystem does not "provide corporate Mac sites with a new, historical view of their data"; all it does is increase reliability.
On servers, despite its popularity, journaling makes much less sense: there are better ways to recover from failures, and the performance hit really does matter.
Imagine that you have a library, and a librarian is filing away new books. When she is done filing them, she puts entries into the card catalog downstairs for the new books. The card catalog represents a filesystem's metadata.
Now imagine that the librarian falls out of a 2nd story window into a dumpster and is carted away before she finishes filing the books and updating the catalog. You have no idea what books were filed; you have to perform an exhaustive search of the library to ensure that the card catalog is correct, which takes a long time. This was fsck before journaling.
Servers with large amounts of disk space cannot afford extensive fsck times after a crash. It can take hours.
Now imagine that the librarian keeps a small notepad of the books that she is filing, and when she meets her sticky end, the new librarian can read the notepad, check and verify the new entries, then update the card catalog to a consistent state. We assume that the notepad is updated before the book is filed, so if we have an incomplete notepad entry, the librarian died and the entry can be disregarded. The notepad corresponds to the journal in a journaling file system.
It takes time to write a journal, so journaling filesystems will always be at least a little slower than non-journaling equivalents, design improvements aside.
Most journaling filesystems will only guard the card catalog (metadata). Some, such as VxFS and ext3, can also be made to journal the books (data), but performance goes down because so much more goes through the log.
Another feature to look for in journaling filesystems is dynamic inode creation. ext3 does not have this feature - you can only have so many card catalog entries, and when you exceed them, you can't add any more new books. XFS, for example, can create new inodes on the fly as long as you have disk space.
For Sun people, it is always a surprise to find that Sun's UFS does journaling (you don't have to buy Veritas VxFS), but you have to turn it on with an option in /etc/vfstab.
I assume that this rumor means that the new FS will be "more extensive" in its journaling capabilities, not features.
NTFS supports DACLs (Discretionary Access Control Lists. Grant rights specifically on files, folders, or both for any specific combination of rights. Yes, even includes things like execute, though most users don't get THAT granular.) It also supports Auditing via an ACL-like mechanism. Wanna see if user sally01 read file X? Add her with READ to the audit list. Who is renaming files in c:\docs? add Everyone with rename/modify to the Audit list.
NTFS does quotas, junction points (links), and reparse points. Reparse points allow things like EFS to work without the app being aware of it. If I wanted to replace the word "microsoft" with BORK BORK BORK on the disk, I could write a parsing driver and install it. Then, any file with my driver's signature in its reparse point list would be handed off to my driver for processing before being saved to disk or read from disk to an application.
There are plenty of other features as well, but the point is that to be a better filesystem than NTFS would take a huge amount of work on the filesystem itself, plus getting the OS to support it. However it is relatively easy to attack a specific point of NTFS (its journaling) and make your filesystem do that specific thing better.
Natural != (nontoxic || beneficial)
Nazi SYS5 init architect:
Mein Furher! Ve needen maken startup of system harrrrrder to administrrrrate. Ist too eazy now. Even girly non-blue eyed non-Aryans can administrate serrrrvers now.
SVR4 Nazi Furher:
Ja wohl!!! How can we skrrrrrrew de administrrrrators?
Nazi SYS5 init architect:
split ze starrrrtup scripts, makingkt dem more komplicated.
Umm, I don't think that happened. I find SVR4 style easier. Every service in it's own seperate file. Ever try to start a system server on BSD by hand? It's harder than you think. In SV$ land, I can take any server down by running a kill script and restart it by running its startup script. hell, even FreeBSD has a SVR4 style init directory (granted, only for a single run level now). And if it's all that hard, just make
Hmm, Berkeleyness of Berkeley software, who knew?
FreeBSD (maybe all {Free,Net,Open}BSDs) uses SoftUpdates, which in some ways is better than journalling, depending on what you want.
It turns out that what people really want is a non-MS desktop that actually works. Most people over the age of 14 don't give a rat's ass about the ideological aspects at all.
Boobies never hurt anyone. - Sherry Glaser.
I know of one AOL Grandma who has only one troubleshooting strategy: she power cycles her iMac whenever she has a computer problem.
Doug Moen
I have written a truly remarkable program which this sig is too small to contain.