Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > What OS X is installed on top of ...

What OS X is installed on top of ...
Thread Tools
Forum Regular
Join Date: Aug 2002
Status: Offline
Reply With Quote
Mar 15, 2003, 06:06 PM
 
I was wondering, because I know that a few people in this board have deleted classic, if anyone has OS X installed on top of the Unix file system instead of the HFS extended system. I beleive when you initialize the HD to do the install that you have the option to choose the standard Unix file system directory to install on top of, but you can't run OS 9 if you don't use HFS extended. My main question is that is OS X any faster, more stable, or any different performance wise if installed this way? just curious
20", 2gigs ram, 500gig HD, 2.16ghz core 2 duo iMac
iBook 700 Combo/14.1
OS X
     
Senior User
Join Date: Dec 2001
Status: Offline
Reply With Quote
Mar 15, 2003, 06:18 PM
 
UFS (UNIX File System) is implemented only for compatibility reasons. It is slower, buggier, and supports fewer features than HFS+. The only reason to use it is if you *must* have a case-sensitivie filesystem (ie you cannot have makefile, Makefile, and MAKEFILE in the same directory with HFS+). Unless you are positive that you need case sensitivity for your filesystems, use HFS+ (Mac OS Extended).
"Think Different. Like The Rest Of Us."

iBook G4/1.2GHz | 1.25GB | 60GB | Mac OS X 10.4.2
Athlon XP 2500+/1.83GHz | 1GB PC3200 | 120GB | Windows XP
     
Mac Enthusiast
Join Date: Oct 2001
Location: Edmonton, AB
Status: Offline
Reply With Quote
Mar 16, 2003, 12:49 AM
 
I believe UFS can't become fragmented, and is somewhat slower than HFS+.
     
Senior User
Join Date: Dec 2001
Status: Offline
Reply With Quote
Mar 16, 2003, 10:46 AM
 
Originally posted by Fallout:
I believe UFS can't become fragmented...
This is an urban legend. Think about the repercusions if it were true. Say you had 1.1 GB of space left on your hard drive, and went to copy a 1 GB file to it. Now say that the largest free contiguous space was 200 MB. The filesystem would have to move all of the other 700 MB of data around before writing anything else to the disk, in order to avoid fragmentation. Furthermore, all subsequent write requests would simply have to block (since there is no way to guarantee enough RAM to store the information without hitting swap (hard drive) space). This would include any request for swapped-out memory or memory-mapped files (which *nix makes heavy use of for performance reasons). Such a filesystem would be practically unusable, and would actually forgoe almost all the benefits of preemptive multitasking.

Also, when a disk is formatted, all filesystems write the directory to the first available blocks. Imagine what would happen if the filesystem had to append something to the directory, fragmentation was not allowed, and the first block after the directory was occupied by a file 500 MB in size. In order to be able to find the directory, it has to exist (at least partially) at the beginning of a partition. In order to avoid fragmentation, the whole directory must be contiguous. Once again, in order to avoid fragmentation, the 500 MB file needs to be moved elsewhere (which may also result in other files being moved), simply so that you can append the name of a new folder to the directory.

Seriously, fragmentation is a *good* thing. Hard drives have ridiculously low seek times nowadays. If you are actually noticing a slowdown from a fragmented drive, you either have other (much more serious) hardware problems, or should consider leaving a little bit of free space on your hard drive.

As a general rule: Under normal use, as long as you always have enough free space to make two copies of the largest file on your hard drive, fragmentation should never get so bad as to be actually be detrimental to performance.
"Think Different. Like The Rest Of Us."

iBook G4/1.2GHz | 1.25GB | 60GB | Mac OS X 10.4.2
Athlon XP 2500+/1.83GHz | 1GB PC3200 | 120GB | Windows XP
     
Forum Regular
Join Date: Jul 2002
Status: Offline
Reply With Quote
Mar 16, 2003, 09:06 PM
 
HFS and HFS+ are very fragmentation-proof, if a file system can be said to have such an attribute.
Commander ~Coxy of the 68kMLA
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:49 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2