You are not logged in.

#26 2007-12-29 16:36:16

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: ext3+dir_index vs JFS, XFS, ReiserFS. Choice problem

It's not hellbent belief, it's knowledge based on experience. On perfectly healthy hard drives, I've had JFS lose written files after forced reboots many, many times, when other filesystems did not. I'd have X freeze up and have to hit the interrupt switch, and when I'd reboot, half the man pages would be gone, or /var/lib/pacman, or all the text files in /etc.

Offline

#27 2007-12-29 17:41:11

VikM
Member
Registered: 2007-11-10
Posts: 50

Re: ext3+dir_index vs JFS, XFS, ReiserFS. Choice problem

Seems that JFS raises most questions, since it is my favorite let me share some success and personal opinions:
- my home computer has jfs on all partitions, including / and /boot (with lilo, old habits die hard).
- I'm in charge of a web server delivering an average 50GB/day from an external iscsi device (yes, it's Arch), jfs formated. There is also an mysql server with the databases on the iscsi storage, also jfs, several hundreds of queries per second. Soon this setup will celebrate 1 year without any filesystem problems.
- I also run smaller servers, no problems with jfs, but much less load.
- I used reiserfs many years with little problems, but I lost once some files after repeated power failures.
- ext3 on Fedora (FC3 and 4 I think...) was a nightmare. I let the system boot after a failure, it said it was going to fix the filesystem an I let it do so... /etc/fstab turned into a binary file after that. Many other files where completely damaged. This happened twice.
- I only set up one xfs system. Pacman is obviously much slower than on similar computers with jfs or reiserfs.

XFS seems targeted to big (realy big) machines with big ups backup, but has a lot of utilities. Reiserfs is in a dead end and does not have a big company behind. Ext3 has his limits because of its, well..., primitive roots.

Frankly I think any fs in kernel is good enough. After all the decision is yours, it's like choosing a distro, they are all a linux kernel with a GNU environment, more or less.

Offline

#28 2007-12-29 17:54:56

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

Re: ext3+dir_index vs JFS, XFS, ReiserFS. Choice problem

This is a great thread as I am waiting to receive my new laptop and will be deciding what file system to use. I have never really learned much about file systems. I have always used ext3 or reiserfs with no problems.

Offline

#29 2007-12-29 18:27:36

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: ext3+dir_index vs JFS, XFS, ReiserFS. Choice problem

I use xfs, never had any problems, even after power outage recovery was as fast as default boot.
however i don't use default format settings.
These are mine:
mkfs.xfs -l version=1,internal,size=128m -i size=2048,attr=2 -d unwritten=0,agcount=4 -f /dev/sda2

to prevent fragmentation completely I have additional flags in fstab
xfs defaults,nodiratime,noatime,logbufs=8,biosize=16,allocsize=512m

so after two yrs
fragmentation factor 0.58%
I don't suggest xfs but I really like it

Offline

#30 2007-12-29 18:37:35

kishd
Member
Registered: 2006-06-14
Posts: 401

Re: ext3+dir_index vs JFS, XFS, ReiserFS. Choice problem

I live in an area where there are frequent power outages. I have set up my system using Ext3 with full journaling enabled and have not noticed any loss in performance in fact subjectively the system seems much more responsive. The up side is that even though I have not used a UPS I have not lost data over countless unexpected shutdowns.

Check out this thread http://bbs.archlinux.org/viewtopic.php?id=12865

Last edited by kishd (2007-12-29 18:38:10)


---for there is nothing either good or bad, but only thinking makes it so....
Hamlet, W Shakespeare

Offline

#31 2007-12-29 20:11:18

vagif
Member
Registered: 2007-12-26
Posts: 37

Re: ext3+dir_index vs JFS, XFS, ReiserFS. Choice problem

Great thread! I decided to go with JFS.
So my next question.
Lot's of people talk about deadline scheduler. As far as I understand advise to use deadline shcedule comes from times when default scheduler was some not good scheduler. Now kernel comes with new default scheduler - CFS.
Should'nt CFS be better than deadline ?
If I change scheduler does it affects only FS or all running applications ?
Can I use different scheduler for FS, and different one for everything else ?
What is the visible difference between deadline and CFS for end user ?

Offline

#32 2007-12-29 20:18:52

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: ext3+dir_index vs JFS, XFS, ReiserFS. Choice problem

these are I/O schedulers, not sure what "everything else" do you mean?
you can set elevator cfq or as or deadline.
I would suggest either as or cfq Currently these seems best for mixed workload (desktop).
You can test each scheduler easily by appending elevator to the kernel line in your menu.lst

Offline

#33 2007-12-29 20:28:47

vagif
Member
Registered: 2007-12-26
Posts: 37

Re: ext3+dir_index vs JFS, XFS, ReiserFS. Choice problem

broch wrote:

these are I/O schedulers, not sure what "everything else" do you mean?

I'm a noob, so forgive me if I do not know what the heck a scheduler is. I thought it is a thread/process switching scheduler. So it affects all applications. I do not know what an IO scheduler is. I probably need to read more on that smile

EDIT: I just read wikipedia on IO schedulers. Never mind my stupid question. I confused CFS which is a task scheduler with deadline scheduler which is IO scheduler.

Last edited by vagif (2007-12-29 20:36:27)

Offline

#34 2007-12-29 21:09:47

burk
Member
From: Norway
Registered: 2007-06-17
Posts: 46

Re: ext3+dir_index vs JFS, XFS, ReiserFS. Choice problem

I got a new hard drive for christmas and found this thread very helpful.. I'm just wondering, what is considered a large file (thinking about using XFS)? I suppose video files at 150mb are qualified?

Last edited by burk (2007-12-30 11:15:21)

Offline

#35 2007-12-30 04:44:53

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: ext3+dir_index vs JFS, XFS, ReiserFS. Choice problem

xfs is optimized for multimedia more than any other fs

Offline

#36 2007-12-30 09:05:20

attila
Member
Registered: 2006-11-14
Posts: 293

Re: ext3+dir_index vs JFS, XFS, ReiserFS. Choice problem

delphiki wrote:

One quick question, but do you use JFS for your / partition as well? or do you use a combination of different file systems?

I have a small /boot with ext2. All other partitions be jfs. I'm not a fan of mixing file systems instead of it could be a good idea to use different for at example /var and /home.

VikM wrote:

I think any fs in kernel is good enough. After all the decision is yours, it's like choosing a distro, they are all a linux kernel with a GNU environment, more or less.

That is the best summary. Where have i to sign?:)

One other thing before i forgot it: Thanks PDExperiment626 for the fantastic wiki about jfs.

Last edited by attila (2007-12-30 09:22:37)

Offline

#37 2007-12-30 20:02:28

delphiki
Member
Registered: 2007-11-17
Posts: 66
Website

Re: ext3+dir_index vs JFS, XFS, ReiserFS. Choice problem

@attila: Thanks for your input to my question! I'm actually trying out different setups on a spare box just to see what might be best/optimal configuration might be.

If I hit on anything interesting, I'll post my findings in these forums :-)

Offline

#38 2008-01-03 21:06:22

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: ext3+dir_index vs JFS, XFS, ReiserFS. Choice problem

broch wrote:

I use xfs, never had any problems, even after power outage recovery was as fast as default boot.
however i don't use default format settings.
These are mine:
mkfs.xfs -l version=1,internal,size=128m -i size=2048,attr=2 -d unwritten=0,agcount=4 -f /dev/sda2

to prevent fragmentation completely I have additional flags in fstab
xfs defaults,nodiratime,noatime,logbufs=8,biosize=16,allocsize=512m

Uhh, broch, I really hope you meant "512k" not "512m"... Because it is possible to allocate 512 MB for growing files, and it isn't pretty. lol

Offline

#39 2008-01-04 00:44:25

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: ext3+dir_index vs JFS, XFS, ReiserFS. Choice problem

my mistake
however for MythTV
http://s.webarmadillo.net/wordpress/?p=12
http://gentoo-wiki.com/HOWTO_Setup_Kern … for_MythTV
512m

Last edited by broch (2008-01-04 00:51:53)

Offline

#40 2008-01-04 02:29:20

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: ext3+dir_index vs JFS, XFS, ReiserFS. Choice problem

It's also worth setting lazy-count to 1 when using mkfs.xfs, since recently.

Offline

#41 2008-01-04 18:45:21

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 971
Website

Re: ext3+dir_index vs JFS, XFS, ReiserFS. Choice problem

Large files usually refer to the Gigabytes' range, especially so for XFS since the old Y2K FS benchmarks. Now it's probably in the terra's. I don't know how effective XFS can be with the average Joe's multimedia files since I remember having read it wouldn't make sense for a Desktop home computer. I'd guess portions on the disk where a lot of writes occur are the best places to put XFS on?

I don't think it's alright to take authority over something based on just experience alone. The comments on JFS have not been just, and are a little unfair. True, I have experienced the cons more than 1 time (I do have a sane system though), but I also remember having done something out of ordinary before the incidents. For now, everything is good and going strong and I hope it remains so for every other JFS user smile


I need real, proper pen and paper for this.

Offline

#42 2008-01-05 14:36:21

Bralkein
Member
Registered: 2004-10-26
Posts: 354

Re: ext3+dir_index vs JFS, XFS, ReiserFS. Choice problem

Just for the record, I'd like to chime in with my support for JFS. I've been running it as my FS of choice for quite some time now, and I've never encountered any problems.

The thing I don't like about ext3 is that you have to mess about with all of these options when you make a filesystem in order to make sure it doesn't spend an hour running fsck every 99 boots or whatever. With JFS, you just point it at a partition and straight away you've got a decent, well-performing journaled FS.

If you want to point the finger anywhere safety-wise, I believe that ReiserFS (v3) is particularly susceptible to data loss. I can't find the link ATM, but apparently on sudden power loss, the RAM is pretty much the first thing to suffer. If the ReiserFS driver reads from the corrupted RAM, it may in turn corrupt the FS superblock, and POW! all of your data is gone, since the superblock cannot be restored. I think the thing that makes this specific to ReiserFS is that with other FSes, it is possible to restore the superblock by churning through all of the data on the HDD and retrieving the lost files, but the way ReiserFS stores the files makes this impossible.

Having said all of the above, I actually used ReiserFS for years and never lost any data, even with lots of sudden power losses.

Also, I don't think anyone's yet mentioned that the JFS fsck utility is really nice and gives lots of useful output.

Offline

#43 2008-01-05 19:47:01

kensai
Member
From: Puerto Rico
Registered: 2005-06-03
Posts: 2,484
Website

Re: ext3+dir_index vs JFS, XFS, ReiserFS. Choice problem

JFS + Deadline Scheduler = Greatness, enough said. I have never had problems with JFS. And well, I'm not that worried about losing man pages. lol


Follow me in: Identi.ca, Twitter, Google+

Offline

#44 2008-01-06 08:50:26

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 971
Website

Re: ext3+dir_index vs JFS, XFS, ReiserFS. Choice problem

Bralkein wrote:

I don't think anyone's yet mentioned that the JFS fsck utility is really nice and gives lots of useful output.

And it's fast!


I need real, proper pen and paper for this.

Offline

#45 2008-01-09 23:47:46

vagif
Member
Registered: 2007-12-26
Posts: 37

Re: ext3+dir_index vs JFS, XFS, ReiserFS. Choice problem

Since i started this post, i just want to say, that I put JFS on my laptop.
So far works great.

Offline

#46 2008-01-10 00:33:18

theringmaster
Member
From: Air Force
Registered: 2007-07-16
Posts: 581
Website

Re: ext3+dir_index vs JFS, XFS, ReiserFS. Choice problem

I use ext3 and have been experience many problems, but I think it is because my hard drive is Y2K quality... yeah that might be it.

Last edited by theringmaster (2008-01-10 00:42:54)


Check me out on twitter!!! twitter.com/The_Ringmaster

Offline

Board footer

Powered by FluxBB