VectorLinux

The nuts and bolts => Technical General => Topic started by: Witek Mozga on June 11, 2008, 12:39:46 am

Title: What filesystem do you use for linux root partition?
Post by: Witek Mozga on June 11, 2008, 12:39:46 am
There are many filesystem available for linux
(benchmarks here: http://linuxgazette.net/122/TWDT.html#piszcz)

I`ve been using mainly reiserfs for 5 years but as its creator to be held in prison for many years which makes impeding of its progress very possible, I consider some alternatives.

I kept my data on ext3 but deleting large files took much times. I changed it to XFS few days ago.

I installed slackware recently on a machine and I chose JFS (encouraged by the above benchmarks) for root partition.
Title: Re: What filesystem do you use for linux root partition?
Post by: M0E-lnx on June 11, 2008, 03:38:47 am
XFS. I've noticed it's faster that others
Title: Re: What filesystem do you use for linux root partition?
Post by: Witek Mozga on June 11, 2008, 03:54:53 am
XFS. I've noticed it's faster that others

why then you did not vote for it  ???
the result for xfs is zero :(
Title: Re: What filesystem do you use for linux root partition?
Post by: M0E-lnx on June 11, 2008, 04:53:25 am
XFS. I've noticed it's faster that others

why then you did not vote for it  ???
the result for xfs is zero :(
Made the first post from my cell phone. Poll does not show up there... but I am voting for it now ;)
Title: Re: What filesystem do you use for linux root partition?
Post by: MikeCindi on June 11, 2008, 05:02:40 am
I user reiserfs for root as most of the files there are small in size (most less then 2Mb). My home partition I use XFS which has multimedia files which tend to be large (>10Mb).
Title: Re: What filesystem do you use for linux root partition?
Post by: alec on June 11, 2008, 05:35:30 am
I miseread the question as what FS would you use :)
So I voted for ext4. Read only good things about it, now it is supported in latest kernels, only need the tools to work with it.
Title: Re: What filesystem do you use for linux root partition?
Post by: toothandnail on June 11, 2008, 06:31:32 am
XFS. I've been  using it for the last 2 years. Its fast, and, in my experience, completely reliable.

paul.
Title: Re: What filesystem do you use for linux root partition?
Post by: exeterdad on June 11, 2008, 06:52:04 am
reiserfs for several years.  I want to try out JFS.  Just haven't investigated what's involved yet.
Title: Re: What filesystem do you use for linux root partition?
Post by: Witek Mozga on June 11, 2008, 07:04:57 am
reiserfs for several years.  I want to try out JFS.  Just haven't investigated what's involved yet.

I found these interesting comments on wikipedia:
http://linux.derkeiler.com/Mailing-Lists/Debian/2008-01/msg01808.html

Title: Re: What filesystem do you use for linux root partition?
Post by: Joe1962 on June 11, 2008, 11:27:06 am
I've been using reiserfs for years now, except for a few months with ext3, but that turned out to be surprisingly slower. Lately however, I've been moving to xfs on physical installs, but keeping reiserfs on virtual machines. Anyway, since I'm only allowed one vote, It was xfs, which should be my choice for now on, at least for a while.
Title: Re: What filesystem do you use for linux root partition?
Post by: Witek Mozga on June 11, 2008, 12:56:43 pm
I've been using reiserfs for years now, except for a few months with ext3, but that turned out to be surprisingly slower. Lately however, I've been moving to xfs on physical installs, but keeping reiserfs on virtual machines. Anyway, since I'm only allowed one vote, It was xfs, which should be my choice for now on, at least for a while.

I`ve just read that GRUB sometimes has problems with XFS/JFS partition to boot. :(
LILO should be used instead, for example: http://ubuntuforums.org/showthread.php?t=415623
Title: Re: What filesystem do you use for linux root partition?
Post by: Joe1962 on June 11, 2008, 02:12:59 pm
Well... I'm a lilo fan... ;D
Title: Re: What filesystem do you use for linux root partition?
Post by: MikeCindi on June 11, 2008, 08:20:23 pm
I`ve just read that GRUB sometimes has problems with XFS/JFS partition to boot. :(
LILO should be used instead, for example: http://ubuntuforums.org/showthread.php?t=415623
Another problem, and why I don't use XFS for root, is that you shouldn't load a bootloader in the boot-sector of an XFS partition (need to use MBR of the disk). While I was able to do the "bad thing" of putting lilo in the XFS partition boot-sector without adverse effects it would seem that my partition was at great risk because of it.
Title: Re: What filesystem do you use for linux root partition?
Post by: Joe1962 on June 12, 2008, 06:51:45 am
Indeed. That's pretty much the only issue with xfs that I found when chaining lilos with multiple distros installed. If you need to do this, then the secondary distros would need a different root filesystem. I'm down to a single VL install though (not much free time to experiment lately), so it's become a non-issue for me ATM.
Title: Re: What filesystem do you use for linux root partition?
Post by: Xeon on June 12, 2008, 12:06:26 pm
I was one of the people that asked XFS support for VL, and I am glad it was implemented. Since 2 years its XFS all the way here. Fast, and very decent (no corruption so far)
Title: Re: What filesystem do you use for linux root partition?
Post by: Witek Mozga on June 12, 2008, 02:04:03 pm
No vote for JFS so far. Seems to be forgotten but as I said before it looks best in the cited benchmarks.
Title: Re: What filesystem do you use for linux root partition?
Post by: caitlyn on June 12, 2008, 08:08:14 pm
I used to do consulting for <inset name of large corporate type distro maker here> and our customers that really needed high end file system performance chose xfs even though we didn't officially support it.  Despite the benchmarks cited it tested as by far the fastest (yes, faster than jfs) and it is 100% reliable.  I have had data corruption problems with reiserfs.  Never had any with xfs. 

grub doesn't support ext4 at this time, nor does it support ext3 with the new, larger default inode size.  I've used lilo with xfs and I have had zero problems to date.
Title: Re: What filesystem do you use for linux root partition?
Post by: MikeCindi on June 12, 2008, 09:22:08 pm
No vote for JFS so far. Seems to be forgotten but as I said before it looks best in the cited benchmarks.
Well, since you're asking on a VL forum where JFS is not offered during setup then you probably won't get any with JFS as root. VL formats the root partition during setup to one of the four default choices (ext2, ext3, reiserfs, or XFS). It would be a beyond the typical user to bypass that and manually setup VL. If JFS is added to that default set as an option perhaps more would use it.
Title: Re: What filesystem do you use for linux root partition?
Post by: wcs on July 22, 2008, 08:07:19 am
I just tried to install VL standard with XFS... The installation took a lot longer than with reiser.
Removing small files also seemed to incur a delay.
Maybe just my imagination, but it felt less responsive than with reiser... strange, given the good impressions about xfs above.
Title: Re: What filesystem do you use for linux root partition?
Post by: nightflier on July 22, 2008, 09:16:09 am
I use XFS, 5.8 SOHO and LILO. No problems. Have not done any performance testing, nor have I noticed any discernable difference from ReiserFS.
Title: Re: What filesystem do you use for linux root partition?
Post by: caitlyn on July 26, 2008, 11:25:58 am
You won't notice the difference between XFS and ReiserFS doing casual computing.  <Insert name of Hollywood animation studio here> measured significant difference processing their animation -- a process which uses huge amounts of I/O and all the computing power it can.  In that environment the difference was huge.

Please note that I am not disclosing company names due to an NDA I signed.
Title: Re: What filesystem do you use for linux root partition?
Post by: wcs on July 26, 2008, 11:42:52 am
It's weird because when I chose XFS, I felt the installation was a lot slower.
Two days later, I reinstalled with ReiserFS (same computer, same partition, same vector cd, same packages), and it was back to "normal".

But I guess it must have been some other reason... I actually wasn't expecting any discernible differences, and that's what surprised me.
Title: Re: What filesystem do you use for linux root partition?
Post by: Witek Mozga on July 28, 2008, 12:48:41 am
You won't notice the difference between XFS and ReiserFS doing casual computing.  <Insert name of Hollywood animation studio here> measured significant difference processing their animation -- a process which uses huge amounts of I/O and all the computing power it can.  In that environment the difference was huge.

Which was faster then? reiserfs or xfs?

Title: Re: What filesystem do you use for linux root partition?
Post by: MikeCindi on July 28, 2008, 04:59:56 am
XFS will peform better using large files (i.e. > 1 Gb) such as with video rendering/editing.
Title: Re: What filesystem do you use for linux root partition?
Post by: caitlyn on July 28, 2008, 10:55:03 pm
Yes, XFS was much faster in the environment I described.