BeOS and BFS
Low End Mac Reader Specials
Memory To Go Special: New 2008 iMac 2GB $42 / iMac Intel Core2 DUO & MacBook Pro 2GB $36 - 1GB $20. MacPro 8 Core Memory 4GB kit $154 / 2GB kit $94 -- Free shipping available.
Download Typestyler, still the Ultimate Styling Tool for Internet, Print and Video Graphics. Works great in Classic with a Native OS X Version on the way. Free Tryout: www.typestyler.com
LA Computer Company: Specials on AppleCare, iMac's, Apple Batteries and Apple A/C Adapters. Also Great prices on Used Apple Computers. Call 1-800-941-7654 Click Here.
OWC: Top Quality Memory for Faster Mac Performance 1GB/2GB/4GB Kits from $23.99/$47.99/$94.99 Expert Support, Free Installation Videos & Guides, Lifetime Advance Replacement Warranty - www.MacSales.com
Mac users can finally play Party Poker for Mac. Not only that, they can also learn how to play PokerStars for Mac.
Laptop Hardware Provided by TechRestore - Overnight Mac & iPod Repairs.
Compare products like desktop computers, laptops, and LCD TVs side by side! All the information and reviews to make the best purchasing decision for a new cell phone GPS products or MP3 players. The Ciao network makes searching products easy for you.
New MacPro Memory 800Mhz With Apple Spec Heat Sink 2GB $88 / 4GB $138 / 8GB $274 - Click to Maximize your Macs...
Jonathan Ploudre - 2001.04.20
I'm glad that my article has generated some interest and that David Puett (BeOS or NeXT: The right choice) took the time to clarify some points that I skimmed over. I agree that I oversimplified things in my article. Still, I think some of my ideas were generally correct, even if they were oversimplified.
As far as I know, no file system completely avoids fragmentation. The example in David Puett article points to exactly the kind of situation that can lead to fragmentation - a file that grows is more likely to get fragmented. But the BFS BeOS Filing System) does several things to reduce the likelihood of fragmentation. It's more fragmentation-resistant than fragmentation-proof.
When I use my PowerBook with the Mac OS, it will write a file in the available free space, but it seems to ignore whether there is contiguous free space. I've had a file written into 200 fragments even though there was a single chunk of free space available. If that file is a QuickTime movie, the fragmentation will result in skips or dropped frames, since the hard drive can not keep up as it is searching for the next fragment.
BeOS does things a bit differently than the Mac OS or some other OSes. When it writes a file, it tries to write it as a contiguous file. It does something called "preallocation," where it gives files room to grow and still stay contiguous. It tries to write files in 64 KB segments, because you get better throughput rates as your block size gets bigger. For example, disk benchmarking will always show random reads as slower than 1 KB reads - and those are slower than 4 KB, and so on. Be chose 64 KB to provide a balance of size and performance. This may be the reason that the BFS can be considered high-performance. Its typical activity (reads and writes) is at a high percentage of the hardware's theoretical speed. In contrast, the classic Mac OS works at a much lower percentage - Finder copies are much slower than my benchmark results on the same computer.
BFS also avoids the problem that HFS had of block sizes growing with the size of hard drives. On my hard drive, a 340 byte file takes up 21 KB of space. That's more than 20 KB of wasted space. Apple fixed that problem with HFS+. Like HFS+, the BFS can have a smaller block size - it's 1 KB in the BeOS. I don't understand how the BFS can have 64 KB preallocation and a minimum block size of 1 KB - but I'm not a programmer, so I'll just assume it's magic. The designer of the BFS explains some of these issues in a presentation he made in 1998.
In my article, I said that BeOS protects against corruption. David Puett responded that journaling will not prevent corruption. I suspect we are both overstating our points. The journaling provided in BeOS does not prevent all corruption in the BFS, but it does protect against some types of damage. When my Mac freezes while writing to the disk, it's easy for the file system to get corrupted and cause me grief.
This is one reason why people started using a RAM disk for their Netscape cache. By using a RAM disk, it decreases the chance that a Netscape crash could result in file system corruption from a partially written file. Cache files are ephemeral and frequently changing; it was safer to put them on another partition or a RAM disk to separate them from the rest of the hard drive. And RAM disks provided a lot more zip, too.
BFS can still lose information when it hits a snag. If, for example, NetPositive has three cache files in memory waiting to write when the power went out, those files would be gone. But by keeping a journal of intended reads and writes, BeOS would know if a file had not finished writing during the power outage. I still think this provides an extra level of safety or security.
As for David Puett's points about BeOS not having any applications, that sounds like the opposite side of a common Window's complaint about the Mac. PC users say that we have no applications when we have loads of programs that are real gems. No programs? Hah, I've got iCab which doesn't run on Windows. If you head over to BeBits, you'll see that there are indeed many programs for the BeOS.
But, and this is important, there are not many large commercial-grade applications. That's a function of market size. The BeOS market isn't big enough to warrant the investment. Of course, I've heard that same comment dozens of times from PC game companies when talking about the Mac. Doubtless, if Apple had bought Be, there would be many more programs than there are today because the Mac market is much bigger.
I'm not against NeXT, as you'll see in my future articles. NeXT had some great technologies long before any other OS. Still, it's taken four years for Apple to bring their next generation OS to the market. I suspect they could have brought the BeOS to market much more quickly, since they had to port NeXT to the PPC before they even got started on Rhapsody.
We'll never know what would have happened if Apple had bought Be
instead. Based on the competing technologies and the intervening
history, I still consider it a fair question: Did Apple make the
wrong choice?
Links
- BeOS or NeXT: Did Apple make the wrong choice?, 2001.04.16. Did Be really have the better operating system for the PowerPC?
- BeOS or NeXT: The right choice, David Puett, 2001.04.18. Another look at BeOS - and why Apple did right to choose NeXT instead.
- User Interface: Mac vs. BeOS, 2001.04.23. Be had the opportunity to make a better interface than Apple.
- Using BeOS on a Power Mac, 2001.04.30. BeOS is inexpensive and easy to install. Why you might want to try it.
- NeXT: Apple's right choice, 2001.05.07. Why choosing NeXT instead of Be was the right move for Apple.
- BeForever and BeNews, two BeOS Web sites.
Recent Content on Low End Mac
- Anticipation: New iPods Now, New Macs Later, Kev Kitchens, Kitchens Sync, 09.05. The season of new iPods is at hand, but new Macs may wait until 2009.
- Buy a MacBook Now or Wait?, MacBook touch Patents, Samsung X360 Takes on MBA, and More, The 'Book Review, 09.05. Also 20 years of portable Macs, data backup and preservation, universal U-Charge battery charger for Mac 'Books, bargain 'Books from $150 to $2,699, and more.
- Listen to Just the Music with the V-Moda Vibe Earbuds, Tommy Thomas, Welcome to Macintosh, 09.05. Well built, the noise canceling earbuds will let you hear all the nuances of your music without letting through background noise.
- Source of iPhone 3G Problems, Army Uses iPods as Field Translators, Gains with Business, and More, iNews Review, 09.05. Also UK bans iPhone ad as 'misleading', iPhone password easy to bypass, GM to offer radios with USB in 2009 models, weather tracking software, and more.
- Macs Gain Ground in August, Consumers Most Likely to Buy Macs, LaCie USB Speakers, and More, Mac News Review, 09.05. Also migrating Time Machine to a new drive and two new keyboards from Logitech.
- Overclocking a Mac mini Got Me Hooked on Souping Up Macs, Adam Geller, My First Mac, 09.04. Stories of hot rodding iBooks, G3 iMacs, and PCI Power Macs on the cheap.
- Apple Will Not Abandon Optical Drives, the Mac Drought, Purposeful Mac Acquisition, and More, Dan Knight, Low End Mac Mailbag, 09.04. Also Mac OS X 10.5 on a G4-upgraded Blue & White G3 and problems using a flat panel display with a Quadra 700.
- Only Leopard Runs Routine Maintenance Tasks after Startup or Waking from Sleep, Charles W. Moore, Miscellaneous Ramblings, 09.04. Mac OS X 10.5 runs routine system maintenance scripts as soon as possible after starting up or waking up your Mac. Earlier versions of OS X do not do this.
- Tomorrow's Solid State Drives and Notebooks, Dan Knight, Mac Musings, 09.04. Flash drives are great but have some shortcomings. Some thoughts on building better SSDs and notebooks to use them.
Latest Deals on Low End Mac
- Best iPod touch Deals, 09.05. Refurb 8 GB, $199; new, $284; refurb 16 GB, $299; new, $370; refurb 32 GB, $399; new, $453.
- Best 15" MacBook Pro Deals, 09.05. Used 1.83 GHz Core Duo, $999; 2.16, $1,125; new, 2.2, $1,450 after rebate; refurb 2.4, $1,699; 2.5, $1,999; 2.6 Santa Rosa, $1,849; rebates on new.
- Best iMac G4 Deals, 09.05. Used 15" 700 MHz CD-RW, $279; 800 Combo, $300; 1 GHz $390; 17" 800 MHz SD, $439; 1.25 GHz, $449; 20", $569.
- Best Mac mini Deals, 09.04. Used 1.25 GHz G4 SD, $549; 1.42 Combo, $409; new 1.83 Core2 Combo, $569 after rebate; 2.0 SD, $769 after rebate.
- Best 12" PowerBook G4 Deals, 09.04. Used 867 MHz Combo, no APX, $490; 1 GHz, $550; SuperDrive, $625; 1.5 GHz w/o APX, $660; w/APX, $675.
- Best 17" PowerBook G4 Deals, 09.04. Used 1 GHz, $779; 1.33 GHz, $799; 1.5 GHz, $859; 1.67 GHz, $910.
- More links in our archive.
About LEM | Support | Usage | Privacy | Contacts
