24637 UFS vs EXT3 vs EXT4 vs HAMMER vs NTFS vs zfs - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > Storage

Storage Place to ask questions about partitioning, labelling, filesystems, encryption or anything else related to storage area.

Reply
 
Thread Tools Display Modes
  #1  
Old February 5th, 2009, 18:29
alie's Avatar
alie alie is offline
Member
 
Join Date: Dec 2008
Location: Somewhere in the world
Posts: 549
Thanks: 173
Thanked 41 Times in 34 Posts
Default UFS vs EXT3 vs EXT4 vs HAMMER vs NTFS vs zfs

hi guys,

which one is better ?
which one is faster and more stable ? is there any link that have comparisons for these file systems ?
Reply With Quote
  #2  
Old February 6th, 2009, 03:37
Pushrod's Avatar
Pushrod Pushrod is offline
Member
 
Join Date: Dec 2008
Posts: 257
Thanks: 5
Thanked 19 Times in 16 Posts
Default

It depends what the application is.

UFS has some features which were tacked on after the fact, like ACLs and journaling.

I'd bet that NTFS and ZFS are the best of your list, but I can't prove it.
Reply With Quote
  #3  
Old February 6th, 2009, 04:15
brd@'s Avatar
brd@ brd@ is offline
FreeBSD Developer
 
Join Date: Oct 2007
Location: Denver, CO, USA
Posts: 277
Thanks: 0
Thanked 50 Times in 29 Posts
Default

It is very difficult to compare these side by side since they cannot all be used on one OS.
Reply With Quote
  #4  
Old February 6th, 2009, 06:56
graudeejs's Avatar
graudeejs graudeejs is offline
Style(9) Addict
 
Join Date: Nov 2008
Location: Riga, Latvia
Posts: 4,523
Thanks: 422
Thanked 607 Times in 475 Posts
Default

Use the right tool for the right job ==> Use the right fs for right job.
Reply With Quote
  #5  
Old February 6th, 2009, 13:42
alie's Avatar
alie alie is offline
Member
 
Join Date: Dec 2008
Location: Somewhere in the world
Posts: 549
Thanks: 173
Thanked 41 Times in 34 Posts
Default

if i want use FreeBSD for Load balancing which one is good ?
if i want use FreeBSD for Desktop and do some programming which FS is good for this ?
Reply With Quote
  #6  
Old February 6th, 2009, 14:26
hydra hydra is offline
Member
 
Join Date: Nov 2008
Location: Slovakia
Posts: 272
Thanks: 18
Thanked 24 Times in 21 Posts
Default

If you want a desktop, you can safely go with any of these, UFS for example, no problems in 4 years of daily usage
Reply With Quote
  #7  
Old February 6th, 2009, 15:34
z0ran's Avatar
z0ran z0ran is offline
Junior Member
 
Join Date: Nov 2008
Location: Kovacica, Serbia
Posts: 49
Thanks: 26
Thanked 1 Time in 1 Post
Default

i'm using zfs on fbsd-7.1-stable, great fs, you just need to talk to it, and is so simple, i love it..zfs is future, i'm so glad i can use it..thanks freebsd )
Reply With Quote
  #8  
Old February 6th, 2009, 15:41
alie's Avatar
alie alie is offline
Member
 
Join Date: Dec 2008
Location: Somewhere in the world
Posts: 549
Thanks: 173
Thanked 41 Times in 34 Posts
Default

but i heard there's UFS2, is it correct ? is zfs fully implemented for FreeBSD ?
__________________
www.alielee.com
FreeBSD FreeBSD 9.1-PRERELEASE #0 r243320 /usr/obj/usr/src/sys/EZYCLIE amd64
Reply With Quote
  #9  
Old February 6th, 2009, 15:59
graudeejs's Avatar
graudeejs graudeejs is offline
Style(9) Addict
 
Join Date: Nov 2008
Location: Riga, Latvia
Posts: 4,523
Thanks: 422
Thanked 607 Times in 475 Posts
Default

UFS2 is default FreeBSD system.
I use it and it satisfies me.
Reply With Quote
The Following User Says Thank You to graudeejs For This Useful Post:
alie (February 6th, 2009)
  #10  
Old February 7th, 2009, 11:33
Graaf_van_Vlaanderen Graaf_van_Vlaanderen is offline
Member
 
Join Date: Feb 2009
Location: Halle, Belgium
Posts: 198
Thanks: 16
Thanked 8 Times in 6 Posts
Default

I've been working for some time now with ZFS on OpenSolaris and I'm quite impressed by its performance and ease of use.
It's also excellent for making a cheap mirrored file server at home.
On the other hand for a daily user like me UFS performs fine.
Reply With Quote
The Following User Says Thank You to Graaf_van_Vlaanderen For This Useful Post:
alie (February 22nd, 2009)
  #11  
Old November 10th, 2011, 20:36
RafaelAdorman RafaelAdorman is offline
Junior Member
 
Join Date: Nov 2011
Location: Cave
Posts: 10
Thanks: 1
Thanked 1 Time in 1 Post
Default

http://en.wikipedia.org/wiki/Comparison_of_file_systems
Reply With Quote
The Following User Says Thank You to RafaelAdorman For This Useful Post:
Maredelamer (November 17th, 2011)
  #12  
Old November 10th, 2011, 20:41
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,849
Thanks: 30
Thanked 1,892 Times in 1,335 Posts
Default

This topic ended 2,5 years ago ..
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Administrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
  #13  
Old November 11th, 2011, 11:03
RafaelAdorman RafaelAdorman is offline
Junior Member
 
Join Date: Nov 2011
Location: Cave
Posts: 10
Thanks: 1
Thanked 1 Time in 1 Post
Default

You're right, but I think it ended without a clear answer. You know what, basically the question is so fundamental that it will never be outdated. Today, the discussion about ZFS and other filesystems is very heated; this is because of the new generation of SSDs.

Last edited by DutchDaemon; November 12th, 2011 at 04:10. Reason: Mind your writing style: http://forums.freebsd.org/showthread.php?t=18043
Reply With Quote
  #14  
Old November 11th, 2011, 11:33
fluca1978 fluca1978 is online now
Member
 
Join Date: May 2010
Posts: 671
Thanks: 27
Thanked 62 Times in 59 Posts
Default

You have to understand that there is no answer to this question. Is it better <yourdistro>Linux, FreeBSD, NetBSD, OpenBSD, OpenSolaris, OpenIndiana, Nexenta, Solaris, Darwin, .... ? It is the same question. There is no one-size-fits-all. At least this is my opinion.
Now, if you are using a pure FreeBSD environment, UFS2 or ZFS are the choice. The latter is really promising and is a good choice if you need it and have enough ram. The former is rock solid and combined with GEOM gives you a lot of power and control.
If you need to exchange data with other system, than a filesystem that is enough supported on both ends is the right choice (of course, if you cannot export a native filesystem with a networking one - CIFS or NFS mainly).
You have to consider what are your needs first, then what are your resources, and then you can choose the best filesystem.
I use UFS2 and ZFS day by day and I'm happy with both. I have also machines with ext3/ext4 and some USB media with ext2 and I'm happy also with those. My favourite remains ZFS, and I use whenever it is possible. NTFS is a forced choice for those media that are mounted also from Windows machine, but I don't consider it for anything else due to the license.
By the way, someone with much more experience than me can give you better hints.

Last edited by DutchDaemon; November 12th, 2011 at 04:10.
Reply With Quote
  #15  
Old November 12th, 2011, 15:26
RafaelAdorman RafaelAdorman is offline
Junior Member
 
Join Date: Nov 2011
Location: Cave
Posts: 10
Thanks: 1
Thanked 1 Time in 1 Post
Default

Hi Fluca1978
You're relatively right but we are comparing file system with file system.
Of course we can.For instance Hammer is DragonflyBSD native file system.Hammer is very powerfull at infinite NFS-exportable snapshots, master-multislave operation, configurable history retention, fsckless-mount, and checksums to deal with data corruption.Also ZFS has same mechanism for data corruption that can be compaired and explaining all of it is beyond of this forum scope.
Every file system's have limitation's that must be consider.For example IOPS performance of a ZFS storage pool can suffer if the ZFS raid is not appropriately configured and this is not good for SSD fan's.A non-geek user doesn't care this feature's but everybody care about read/write speed and other visible factor's.
There is a very solid benchmark that may be useful:
http://www.phoronix.com/scan.php?pag...y_hammer&num=2
Reply With Quote
  #16  
Old November 14th, 2011, 14:04
fluca1978 fluca1978 is online now
Member
 
Join Date: May 2010
Posts: 671
Thanks: 27
Thanked 62 Times in 59 Posts
Default

Quote:
Originally Posted by RafaelAdorman View Post
Hi Fluca1978
You're relatively right but we are comparing file system with file system.
Of course we can.
I'm not saying that it is not correct to compare file systems. But to my extent it is not so useful, since we are talking about a comparisong between ntfs and ufs, ext3 and hammer. Now, as an example, ext3 is not native on freebsd, so it does not mean to me if it has a better design than ufs, since it will perform much more bad than the latter. The same is true for other comparisons.
Moreover, please consider that almost every filesystem of this thread subject has been deployed in server environment. Despite the final result, this means at least that the filesystem is performing not so badly, and therefore the right choice should depend on the environment itself. What are your purposes? What is your license? How are you going to exchange data? Which hardware are you using?
Is it very difficult to choose the right file system without having an application scenario. That is my idea.
Besides this, if you are running FreeBSD, go for both ZFS and UFS.
Reply With Quote
  #17  
Old November 16th, 2011, 01:22
olav's Avatar
olav olav is offline
Member
 
Join Date: Apr 2010
Location: Norway, Stavanger
Posts: 344
Thanks: 27
Thanked 23 Times in 22 Posts
Default

I think Hammer is a very interesting file system. It's a pity it doesn't have a volume manager.
The great advantage with Hammer is that it can rewrite data blocks. And that should in theory give a massive speedup using deduplication.
Reply With Quote
The Following User Says Thank You to olav For This Useful Post:
RafaelAdorman (November 16th, 2011)
  #18  
Old November 16th, 2011, 13:03
Sebulon's Avatar
Sebulon Sebulon is offline
Member
 
Join Date: Nov 2010
Location: Uppsala, Sweden
Posts: 559
Thanks: 24
Thanked 93 Times in 78 Posts
Default

Quote:
Originally Posted by RafaelAdorman View Post
Hi Fluca1978
You're relatively right but we are comparing file system with file system.
Of course we can.For instance Hammer is DragonflyBSD native file system.Hammer is very powerfull at infinite NFS-exportable snapshots, master-multislave operation, configurable history retention, fsckless-mount, and checksums to deal with data corruption.Also ZFS has same mechanism for data corruption that can be compaired and explaining all of it is beyond of this forum scope.
Every file system's have limitation's that must be consider.For example IOPS performance of a ZFS storage pool can suffer if the ZFS raid is not appropriately configured and this is not good for SSD fan's.A non-geek user doesn't care this feature's but everybody care about read/write speed and other visible factor's.
There is a very solid benchmark that may be useful:
http://www.phoronix.com/scan.php?pag...y_hammer&num=2
A RAID10 is always going to be best for IOPS regardless of what type of RAID you deploy. Has very little to do with the filesystem in question.

/Sebulon
Reply With Quote
  #19  
Old November 16th, 2011, 13:36
RafaelAdorman RafaelAdorman is offline
Junior Member
 
Join Date: Nov 2011
Location: Cave
Posts: 10
Thanks: 1
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by Sebulon View Post
A RAID10 is always going to be best for IOPS regardless of what type of RAID you deploy. Has very little to do with the filesystem in question.

/Sebulon
Take a look at "limitations":
http://en.wikipedia.org/wiki/ZFS
If wiki is wrong?
__________________
-ra
Reply With Quote
  #20  
Old November 16th, 2011, 15:43
AndyUKG AndyUKG is offline
Member
 
Join Date: Apr 2010
Posts: 387
Thanks: 17
Thanked 17 Times in 17 Posts
Default

Quote:
Originally Posted by RafaelAdorman View Post
Take a look at "limitations":
http://en.wikipedia.org/wiki/ZFS
If wiki is wrong?
Sorry I don't understand your question/statement. The wiki supports what Sebulon said, RAID10 (or 1+0 however you want to write it) is best for IO for ZFS and as a general rule for any RAID system.

thanks Andy.
Reply With Quote
  #21  
Old November 16th, 2011, 18:04
RafaelAdorman RafaelAdorman is offline
Junior Member
 
Join Date: Nov 2011
Location: Cave
Posts: 10
Thanks: 1
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by AndyUKG View Post
Sorry I don't understand your question/statement. The wiki supports what Sebulon said, RAID10 (or 1+0 however you want to write it) is best for IO for ZFS and as a general rule for any RAID system.

thanks Andy.
Recently (post #15) i wrote something that was completely based on wiki.
Sebulon wrote something strange and based on something else(i think).
So i sent wiki's link as a proof.It's no brainer.
Beside if wiki support's what sebulon said then support's what i said.
So the question is: Which statement of wiki's link can prove your claim ?
__________________
-ra
Reply With Quote
  #22  
Old November 16th, 2011, 18:21
AndyUKG AndyUKG is offline
Member
 
Join Date: Apr 2010
Posts: 387
Thanks: 17
Thanked 17 Times in 17 Posts
Default

Quote:
Originally Posted by RafaelAdorman View Post
So the question is: Which statement of wiki's link can prove your claim ?
Well I'm still not sure I understand you, are you referring to:

Quote:
ZFS storage pool can suffer if the ZFS raid is not appropriately configured
vs Sebulon and my assertion that on any RAID, RAID10 will always be faster?

The point is ZFS isn't just a file system, its a RAID system, volume manager and file system rolled into one. A file system that doesn't provide RAID has the same issues (performance depends on RAID configuration) when installed on top of a hardware or software RAID.
So, you can't put as a negative of Hammer or UFS, that the RAID has to be correctly configured, because Hammer and UFS don't provide RAID.

In reality if you want to compare like with like then you must compare ZFS vs Hammer on top of some RAID system.

thanks Andy.
Reply With Quote
  #23  
Old November 16th, 2011, 20:39
RafaelAdorman RafaelAdorman is offline
Junior Member
 
Join Date: Nov 2011
Location: Cave
Posts: 10
Thanks: 1
Thanked 1 Time in 1 Post
Default

No you can't compare ZFS vs Hammer on top of some raid system but you can compare same mechanism in both.Because ZFS has some capabilities that doesn't exist in Hammer and vice versa.
Technically;same category but not same philosophy.
For example you can compare "Backups and history" mechanism on both.
Reply With Quote
  #24  
Old November 16th, 2011, 20:51
AndyUKG AndyUKG is offline
Member
 
Join Date: Apr 2010
Posts: 387
Thanks: 17
Thanked 17 Times in 17 Posts
Default

Well yes, yes you can compare them.

Anyway, I was trying to respond to your question, but as I suspected I don't seem to have understood it. If you can put it more clearly maybe I can answer it, but you are jumping around alot and not being specific in what you write in your posts...

My main point was that the wiki and Sebulon are in agreement, and I see no contradictory info in the wiki article...

thanks Andy.
Reply With Quote
  #25  
Old November 16th, 2011, 21:25
RafaelAdorman RafaelAdorman is offline
Junior Member
 
Join Date: Nov 2011
Location: Cave
Posts: 10
Thanks: 1
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by AndyUKG View Post
Well yes, yes you can compare them.

Anyway, I was trying to respond to your question, but as I suspected I don't seem to have understood it. If you can put it more clearly maybe I can answer it, but you are jumping around alot and not being specific in what you write in your posts...

My main point was that the wiki and Sebulon are in agreement, and I see no contradictory info in the wiki article...

thanks Andy.
I think you and sebulon are in agreement(or you are same) my friend.
My post's are same but from different perspectives.
I know this is hard to accept but remember this is not about me and you.this is a concept and if you think you're true go ahead and modify wiki.
12 thanks in less than 11 minutes(every minute one hit) !!!
As i said billion times:"when you want to compare filesystem's you have to compare same mechanism's and same solutions and implementations for one problem"
__________________
-ra
Reply With Quote
Reply

Thread Tools
Display Modes

Posting 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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
NTFS file system Ang31 Installing & Upgrading 10 February 8th, 2009 16:13
Undelete for UFS Fuzzball General 8 December 13th, 2008 12:51
Mounting SATA drive (NTFS) mesee General 9 December 13th, 2008 07:59
How to mount msdos and ext3? zeiz General 9 November 26th, 2008 00:17
Sound stops when I mount NTFS partition. heliar Multimedia 2 November 24th, 2008 16:13


All times are GMT +1. The time now is 09:09.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0