LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 11-24-2008, 09:15 AM   #1
tea of evil
Member
 
Registered: Aug 2006
Location: South Florida
Distribution: openSuSE, Ubuntu
Posts: 46

Rep: Reputation: 15
XFS or JFS?


I need some clarification here. Which one is easier to recover from, XFS or JFS?

I'm rebuilding my mythtv box, the filesystem is going to be used for my recorded TV partition. Ext3 is out, last time I used ext3 it was unable to handle the large files well.

So I just want people's opinion on the two. I've read various things from Googling, but I'm still not sure of the benefit of one over the other.
 
Old 11-24-2008, 10:07 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
If you're dealing with large files, go with XFS from what I've experienced with it. Recovering from either can probably go both ways, just depends on your expertise and knowledge.
 
Old 11-24-2008, 10:45 AM   #3
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,036

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
Quote:
Originally Posted by tea of evil View Post
I need some clarification here. Which one is easier to recover from, XFS or JFS?
I only advise XFS if you have any means to guarantee uninterrupted power supply. It's not the most resistant fs when it comes to power outages.

Quote:
I'm rebuilding my mythtv box, the filesystem is going to be used for my recorded TV partition. Ext3 is out, last time I used ext3 it was unable to handle the large files well.
I am curious in which way wasn't it handling the files well. XFS is said to handle "large" files well. But that depends on what do you mean by "large". On the XFS context, a so-called "large file" is a file in the range of terabytes, not just a file with a few gigabytes, like a movie... Most people using XFS because of that reason are simply wrong from that point of view. Not that XFS is a bad fs, but a 3 GB file is not a "large file" in which respect the XFS semantics.

Quote:
So I just want people's opinion on the two. I've read various things from Googling, but I'm still not sure of the benefit of one over the other.
Most threads of this nature will eventually turn into something confussing. By each opinion telling you how good a given fs is you will find a lot of opinions against that same fs. That goes for all imaginable fs's. My bet for now is ext3 when data integrity matters, and ext2 when it doesn't. Looking closely over btrfs and ext4, which for now are unusable for anything serious.
 
Old 11-24-2008, 01:41 PM   #4
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Both are just as easy to recover from and both are very high performance. I would recommend that if you use XFS, make sure to look into the options, there some options which are not safe, such as caching to RAM. I use JFS, mostly because it has lower CPU usage and slightly better performance than XFS.
 
Old 11-25-2008, 06:45 PM   #5
tea of evil
Member
 
Registered: Aug 2006
Location: South Florida
Distribution: openSuSE, Ubuntu
Posts: 46

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by i92guboj View Post
I am curious in which way wasn't it handling the files well.
Sorry for being accidentally vague. When I had mythtv doing several things to the filesystem (such as recording, streaming, and transcoding) at the same time, I wound up with some slight file corruption when using ext3.

Ext3 wasn't the only bottleneck, but switching to XFS helped.
 
Old 11-25-2008, 06:49 PM   #6
tea of evil
Member
 
Registered: Aug 2006
Location: South Florida
Distribution: openSuSE, Ubuntu
Posts: 46

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by H_TeXMeX_H View Post
I use JFS, mostly because it has lower CPU usage and slightly better performance than XFS.
By slightly better, is that anything that would be significant on a P4 1.8 Ghz (w/ 512 MB RAM)?

What? I scrounge.
 
Old 11-26-2008, 01:16 AM   #7
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
I dunno, look at some benchmarks:
http://linuxgazette.net/122/piszcz.html
new one:
http://tservice.net.ru/~s0mbre/old/?...em=fs_contest2
(btrfs looks promising, but is not ready for production use)

Also, don't listen to people saying to use ext2 or ext3 for this. They are inadequate for such a task, it even says so in the mythtv wiki.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
JFS vs XFS vs EXT3 --> power failure Ashrack Linux - General 9 11-28-2009 07:03 AM
What to choose: JFS, XFS or ext3 ? spinner_0 Slackware 18 01-31-2006 08:52 PM
jfs and xfs - experience anydoby? crashmeister Linux - General 4 11-30-2002 11:52 AM
ext3, reiserfs, jfs, and xfs ? sapilas Linux - Distributions 3 05-13-2002 09:22 AM
Great article comparing ReiserFS, JFS and XFS jeremy Linux - General 0 08-29-2001 08:22 AM


All times are GMT -5. The time now is 01:14 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration