Summary: UFS Vs Vxfs

From: himanshukhona <himanshukhona_at_indiatimes.com>
Date: Sat Feb 15 2003 - 06:00:39 EST
Hey all, Here is the summary of what the group's opinion is: 


 
UFS vs VxFS







UFS     

VXFS
 


UFS is a derivative of the                          
Berkeley fast                                            
filesystem and is allocated             
in cylinder groups. Clusters of data 
are grouped together in blocks
using pointers of indirection called inodes.
The allocation is random based on free space availability.
 

VxFS is an extent based, logging filesystem. Files are allocated as
one or more adjacent blocks on disk. The larger the file, the bigger
the advantage to this because the entire file can be allocated
contiguously (assuming there is space available) which makes for very
fast access on read. VxFS is typically faster in real usage and
faster during a crash recovery. VxFS requires periodic defragmentation
(depending on frequency and type of usage).


Can be grown on the fly

Can be grown as well as shrunk on the fly


Logging can be enabled on the UFS

Intent logging minimizes system downtime after abnormal shutdowns by logging filesystem transactions. Intent logging is a circular logging scheme that records pending changes to the filesystem structure.


sync-on-close option not available

Sync-on-close option available(i.e. the data is flushed on the disk as soon as file is closed)


Disk space overhead for inodes

Uses vector algorithm to keep the starting block number &amp; number of blocks allocated thus no need of tracking each block allocation.


Fragmentation overheads are minimal

Fragmentation overhead are quite high. In the newest version a better algorithm minimizes the same


Only one logging option

Multiple logging options. You can choose them to suit your system/application availability.
 If you don't have to spend then use UFS with logging. But VxFS is quite flexible &amp; better overall as compared to UFS.
Regards
Himanshu
  
Get Your Private, Free E-mail from Indiatimes at  http://email.indiatimes.com
Buy the best in Movies at http://www.videos.indiatimes.com
Bid for Air Tickets @ Re.1 on Air Sahara Flights. Just log on to http://airsahara.indiatimes.com and Bid Now !
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Sat Feb 15 06:12:32 2003

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:03 EST