LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-27-2003, 10:18 AM   #1
calimer
Member
 
Registered: Apr 2002
Distribution: Mandrake 10.1
Posts: 181

Rep: Reputation: 30
What is the best filesystem? (mainly xfs vs ext3)


I've been reading a bunch of articles about linux filesystems and it seems that as far as speed xfs is one of, if not, the top linux filesystem. I was wondering is it more reliable and easier to recover from a crash using ext3? Also, does ext3 have any benifits over xfs? I believe they are both journaling filesystems so I know that helps with crash recovery. In addition, I was wondering, can you read fat32 and ntfs if using a xfs filesystem? I'm thinking about reformating my linux with xfs filesystems so any information would be greatly appreciated. Thank you for your time.
-calimer
PS any other pros and cons of other linux filesystems are more than welcome.
 
Old 10-27-2003, 10:37 AM   #2
kasperhans
Member
 
Registered: Oct 2003
Location: right behind the moon
Distribution: gentoo
Posts: 466

Rep: Reputation: 30
im using reiserfs and think its a pretty good one have you ever thought about it?
 
Old 10-27-2003, 10:59 AM   #3
calimer
Member
 
Registered: Apr 2002
Distribution: Mandrake 10.1
Posts: 181

Original Poster
Rep: Reputation: 30
I have, but it seems like there has been more positive to say about xfs. Can you give me more feedback than that on reiser? I'm very interested in it. My main reason for moving away from ext3 is because it does seem to go quite slow. I don't want to compromise reliability or crash recovery though. Thanks for the post.
-calimer
 
Old 10-27-2003, 11:38 AM   #4
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
Linux: Journaling Filesystem Shootout

Mike Benoit recently posted a link to results from his new and improved file system shootout, using better hardware and running more tests. Using two benchmarks that are designed to measure hard drive and file system performance, Bonnie++ and IOZone, he's compared a number journaling filesystems found in the 2.6 kernel [forum]. Included in the lineup are EXT2 (not journaling, but an effective baseline [story]), JFS, XFS, ReiserFS, Reiser4, and EXT3 each compared head to head on both SCSI and IDE drives.

http://kerneltrap.org/node/view/1054

 
Old 10-27-2003, 02:46 PM   #5
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
I'm using ext3 mainly and ReiserFS for /tmp and /var/tmp as you can check at this part of my website.
 
Old 10-28-2003, 10:15 AM   #6
calimer
Member
 
Registered: Apr 2002
Distribution: Mandrake 10.1
Posts: 181

Original Poster
Rep: Reputation: 30
Can you read ntfs and fat32 when using xfs?
-calimer
 
Old 10-28-2003, 11:21 AM   #7
alacos
LQ Newbie
 
Registered: Oct 2003
Location: South Africa
Distribution: SuSE
Posts: 2

Rep: Reputation: 0
calimer asked:

"Also, does ext3 have any benifits over xfs?"

Yes, one in particular: PartitionMagic -- which is a very useful (though somewhat expensive) program for creating/moving/resizing (etc) partitions -- can currently deal with Linux ext3 partitions but not with xfs.
 
Old 10-28-2003, 11:33 AM   #8
calimer
Member
 
Registered: Apr 2002
Distribution: Mandrake 10.1
Posts: 181

Original Poster
Rep: Reputation: 30
Personally I feel that partition magic is overrated. I did setup my linux partitions, and windows partitions too for that matter, with partition magic. My fat32 filesystems, especially my main "c drive" has been failing lately. Partition magic is unable to repair, won't even give me the option actually. I've had problems with failing partitions before with partition magic as well. Also, several times when shrinking a partition, partition magic has filled some of my txt files with random code. Being a writer I jot down quick thoughts and ideas into txt files I have, so them being overwritten could of cost me dearly if I didn't have the proper backups. When it comes to creating xfs filesystems, can't I just use diskdruid or whatever comes with mandrake (my OS of choice). Also, can't I just overwrite the ext3 filesystems with xfs? I'm not sure exactly how to go about it but that's how I'm thinking it would go down. Thank you for your info.
-calimer
PS does ext3 have any other advantages over xfs? from what I've been reading xfs really seems like the way to go.
 
Old 10-28-2003, 12:24 PM   #9
Robert0380
Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
partition magic is not needed to resize and re-partition. resierfs has tools that do it and im sure the others have the same tools. no need to buy a commercial product for that.

to pick the best file system, it depends on your needs. the article that Genesee basically says just that. It depends on what u are looking for. He says that for pure speed, use Reiser. i use reiser and ext3 (resier for / and ext3 for /boot) and to be honest, i cant tell the difference between any of the file systems i've ever used except for ext2 vs. any journaling file system. i dont pay attention to hundreds of miliseconds and i dont do a lot of drive-intensive stuff.
 
Old 10-28-2003, 01:32 PM   #10
Fascistchicken
Member
 
Registered: Jul 2003
Location: hellifniknow
Distribution: slackware for chickens
Posts: 182

Rep: Reputation: 30
you can't read fat32 or ntfs with any other file system than that which they are, ntfs and fat32. as for any filesystem, you would use their relevent programs to read them regardless of what kind of filesystem the programs were stored on
 
Old 10-28-2003, 02:54 PM   #11
calimer
Member
 
Registered: Apr 2002
Distribution: Mandrake 10.1
Posts: 181

Original Poster
Rep: Reputation: 30
Whoops, sorry for my ignorance about filesystems being able to read other filesystems. I thought that there was something special with ext3 where it made it easier to swap files with a fat32 but I guess as long as I'm on mandrake I can do it (or any other linux OS that supports it). To be clear on why I am thinking of converting from ext3 to xfs, it is mostly because I want improved speed. My linux seems to run slower than windows. I have seen posts of people mentioning that ext3 is "slow" and I thought that might be one of the problems. I anxiously want to get rid of windows altogether but until I can get starcraft to a playable speed then that's not going to happen unfortunately. My computer is a 350 amd k-6 so it is a slow machine but still, I don't know why linux is running slower than windows. I don't want to sacrifice reliablity though. I will be getting a new computer soon however, but I still need as much speed as I can get since I will be doing gaming and game design. Thank you for the information you have all given me, it's greatly appreciated.
-calimer
 
Old 10-28-2003, 04:06 PM   #12
Fascistchicken
Member
 
Registered: Jul 2003
Location: hellifniknow
Distribution: slackware for chickens
Posts: 182

Rep: Reputation: 30
i would think installing less options or using a distribution more aimed at speed would be your best bet.
i don't think the difference in speed would all that dramatic between the file systems. mostly i think only it matters for web servers or other applications that use the hard disk a lot
the biggest slowdowns i see are gnome and kde
 
Old 10-28-2003, 05:40 PM   #13
davecs
Member
 
Registered: Feb 2003
Location: Dagenham, Essex, Britain
Distribution: PCLinuxOS
Posts: 485

Rep: Reputation: 31
I understand that the only advantage of ext3 is that it is just ext2 without the journalling and it is possible to convert one to the other. So an older kernel may be able to manage it.

I use Reiserfs3.6 for no particular reason, other than Mandy9.1 uses it, but I understand that versions earlier than 3.6 should be avoided.

DAVE
 
Old 10-29-2003, 06:24 PM   #14
calimer
Member
 
Registered: Apr 2002
Distribution: Mandrake 10.1
Posts: 181

Original Poster
Rep: Reputation: 30
Thank you for all the information, it has helped me a lot. In response to "Fascistchicken" thanks for the headsup about KDE and Gnome. I'm trying IceWM and it seems to go much faster than gnome and KDE. It doesn't seem to play nicely with konqueror but I'm hoping to fix that. Do you have any other desktop environments that you recommend? Thank you for your time.
-calimer
 
Old 10-30-2003, 03:15 PM   #15
davecs
Member
 
Registered: Feb 2003
Location: Dagenham, Essex, Britain
Distribution: PCLinuxOS
Posts: 485

Rep: Reputation: 31
KDE and GNOME may be memory-hungry, but then you'd probably need 512Mb to run Windows XP. KDE is the worst in this respect but should run OK with 256Mb. I have effectively 224Mb (due to 32Mb onboard graphics) and KDE is no trouble at all.

DAVE
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
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
XFS vs ext3 vs RieserFS Filesystem choice orbiteleven Linux - General 2 03-24-2004 04:53 PM
XFS Filesystem on RH 9.0 Necessary? GATTACA Red Hat 7 12-29-2003 04:42 AM
XFS 64-bit filesystem sneeze Linux - Newbie 3 07-14-2003 05:15 AM


All times are GMT -5. The time now is 04:32 AM.

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