LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-09-2010, 05:12 PM   #1
fedoralinuxjunkie
Member
 
Registered: Jun 2008
Location: NC
Distribution: Slackware64 15.0
Posts: 154

Rep: Reputation: 21
ext3 vs xfs vs reiserfs 3.6


Hey guys. I'm going to be installing some new Linux distros onto my computer, and I'm wondering: what's the best journaling filesystem among these: ext3, xfs, or reiserfs 3.6? I've heard that XFS is very fast, but it's also very prone to corruption if the power goes out unexpectedly. I've also heard that ReiserFS is very fast, but it suffers from the same problem that XFS does, and that ext3 is the best all around filesystem. Does it matter which one I use? Thanks guys
 
Old 04-09-2010, 05:16 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
In my limited experience, I like ext3 for the / filesystem (especially /boot as some distros couldn't boot from xfs - that may have changed). However, if you have a filesystem that will have large files on it, xfs or jfs seems better. ext3 was very slow to delete large files (>2GB) on my mythtv storage partition. But xfs deletes them right away. I've never messed with Reiserfs. I'm excited to see if ext4 works better for large files just because I've always been happy with it as an all around file system.
 
Old 04-09-2010, 05:24 PM   #3
fedoralinuxjunkie
Member
 
Registered: Jun 2008
Location: NC
Distribution: Slackware64 15.0
Posts: 154

Original Poster
Rep: Reputation: 21
So what your saying, pljvaldez, is that it may be best to use ext3 or ext2 for my boot drive, and then use like xfs, jfs, reiserfs or otherwise for my /home disk?
 
Old 04-09-2010, 05:36 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
That's my strategy, for whatever it's worth. If you're not planning on any large files, ext3 is fine for everything. But it took like 35 seconds to delete a 2GB file, which happens a lot when you run Mythtv and delete old recordings.
 
Old 04-09-2010, 05:52 PM   #5
fedoralinuxjunkie
Member
 
Registered: Jun 2008
Location: NC
Distribution: Slackware64 15.0
Posts: 154

Original Poster
Rep: Reputation: 21
I'd be doing things with a lot of large files on my /home disk...I rip the DVD's I buy to back them up so I can watch them without wearing out my DVD's or my drive. Those usually weigh in at about 700MB-1000MB depending on length, quality, size and codec used, but I also rip the VOB's to my /home partition too, and those weigh in at about 4.3GB-8GB...
 
Old 04-09-2010, 08:13 PM   #6
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by fedoralinuxjunkie View Post
...what's the best journaling filesystem among these: ext3, xfs, or reiserfs 3.6?.. Does it matter which one I use?
Yes, it does, but there is no right answer. Different FSs do best in different circumstances (predominantly large files, predominantly small files, a mix of the two...) and there isn't a 'best at everything' filesystem.

Quote:
...very prone to corruption...
Well, there is a trade off there. See this for details on ext3 optimisation, but the principle is generally applicable: In the safest and slowest mode, it is likely to be a bit safe and slow, in the fastest and most 'on the bleeding edge mode' its likely to be fast and on the bleeding edge. And that means, if someone tells you 'system x is fast, but on the bleeding edge' and they don't tell you the setup details, or 'system y is slow, but safe', they haven't really told you anything. It is also worth noting that, in general, the more 'advanced' a filesystem is, the more potential there is for fiddling with the characteristics to improve behaviour (eg, write barriers).

Quote:
it may be best to use ext3 or ext2 for my boot drive, and then use like xfs, jfs, reiserfs or otherwise for my /home disk?
to be a teensy bit pedantic
  • you don't set up the filesystem characteristics, disk-by-disk, but partition-by-partition,
  • you can, therefore, have different characteristics (totally different filesystems, or just the same filesystems with different options) on each partition, so whether you can 'tune' this specifically for /home depends totally on whether /home is a separate partition, or not
  • for some applications - a mailserver would be a typical example, but there are others - it makes sense to say 'this box has this work profile, we'll take that into account in the partitioning/tuning'; for most general desktop usage, that doesn't really apply, and you might as well go for a 'one size fits all' kind of solution
  • if you mean that you have a /boot partition, I've never seen the use of having that be journalled, so would set that up as ext2
  • if /boot is just part of a larger / partition, then it has to have what / has
Currently, I am tending to use ext2 for /boot (if a separate partition) and ext3 for everything else. I previously tended to use reiser, and I have the clear impression that reiser was faster, in general use (and on slow hardware, which is why every last bit of speed was important), but it was more likely to lose data on crashes...but maybe this was just an artefact of being tuned for speed and not for safety (and the fact that reiser is good on lots of small files).

For applications in which you are predominantly dealing with a few large files, there may be better choices then the ext series (and there are almost certainly better choices than reiser).

Ext4 is, I'm sure, good, but will BTRFS be better? I'm not clear about that, but there is a clear upgrade path from ext3 to btrfs and not (currently?) from ext4. So, I am not clear whether going to ext4 makes any sense for me, or whether I should stick to ext3 until I am convinced that btrfs is really ready.
 
Old 04-10-2010, 12:38 AM   #7
fedoralinuxjunkie
Member
 
Registered: Jun 2008
Location: NC
Distribution: Slackware64 15.0
Posts: 154

Original Poster
Rep: Reputation: 21
Well guys, I gave XFS a try...and well...it was a huge pile of suck. It was too slow, too resource intensive, and I don't see what all the hype is about, so XFS is OFFICIALLY CUT from this discussion. I'm using ReiserFS for now...
 
Old 04-11-2010, 10:30 AM   #8
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by fedoralinuxjunkie View Post
Hey guys. I'm going to be installing some new Linux distros onto my computer, and I'm wondering: what's the best journaling filesystem among these: ext3, xfs, or reiserfs 3.6?
FS's are just like football teams, everyone thinks the one s/he uses is the best. Ext3 is usually considered the standard Linux FS for many reasons. It's also considered to be stable and perform adequately under any kind of work load.

Quote:
I've heard that XFS is very fast, but it's also very prone to corruption if the power goes out unexpectedly.
Can't comment on speed. Really, I never ever felt the need to research about that aspect of FS's. I can confirm it's not the best FS if you cannot guarantee a constant power supply. XFS is often regarded as the FS to choose if you deal with big files. What most people don't know is that when XFS says "big" it means to say files in the range of many hundred GBs or even TBs, and not just a few DVD movie files. Any FS can easily handle that without any problem.

However, with the coming of modern FS's like Ext4 and Btrfs this strong point of XFS becomes less and less relevant.

Quote:
I've also heard that ReiserFS is very fast, but it suffers from the same problem that XFS does, and that ext3 is the best all around filesystem. Does it matter which one I use? Thanks guys
I wouldn't recommend using reiser 3.x nowadays, it seems not to be the most maintained FS around and anyway it always suffered important issues when it comes to file fragmentation and cpu usage (for me, anyway). But, to tell the truth, it's been long since the last time I tried it.
 
Old 04-11-2010, 11:51 AM   #9
cola
Senior Member
 
Registered: Sep 2007
Posts: 1,045

Rep: Reputation: 65
Quote:
Originally Posted by fedoralinuxjunkie View Post
Hey guys. I'm going to be installing some new Linux distros onto my computer, and I'm wondering: what's the best journaling filesystem among these: ext3, xfs, or reiserfs 3.6? I've heard that XFS is very fast, but it's also very prone to corruption if the power goes out unexpectedly. I've also heard that ReiserFS is very fast, but it suffers from the same problem that XFS does, and that ext3 is the best all around filesystem. Does it matter which one I use? Thanks guys
ext3,standard filesystem for linux.
 
Old 04-11-2010, 12:33 PM   #10
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,142

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
The fast systems (and the BBC reckon XFS is the fastest there is) are generally designed with servers in mind, where data is protected by the raid system. For a desktop or laptop, ext3 gives that extra security for a single drive. That's why the distros generally make it the default.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Ext3, ReiserFS & XFS in Windows thanks to coLinux LXer Syndicated Linux News 0 08-03-2008 12:00 PM
Filesystems ReiserFS - EXT3 - XFS RGummi Linux - General 7 11-02-2005 02:53 PM
which journalled FS is better ? ext3, reiserfs, XFS masand Linux - General 3 12-28-2004 10:49 PM
RedHat=EXT3 Choice=reiserfs,jfs,xfs myutopia Linux - Enterprise 7 07-09-2004 01:09 PM
ext3, reiserfs, jfs, and xfs ? sapilas Linux - Distributions 3 05-13-2002 09:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration