better filesystem for linux

Taking care of your Linux box.

better filesystem for linux

Postby zaeemarshad » Mon Nov 03, 2003 11:11 pm

which is the better file system for running linux servers

XFS, Reizer4, JFS or the ext3?

and why

Regards
zaeem
zaeemarshad
Lieutenant Colonel
 
Posts: 660
Joined: Sat Jul 06, 2002 12:35 pm
Website: http://zaeem.no-ip.org
WLM: zarshadvirk@hotmail.com
Yahoo Messenger: negativecreep61@yahoo.com
AOL: zarshadvirk
Location: Islamabad

Re:

Postby LinuxFreaK » Tue Nov 04, 2003 12:37 am

Dear Zaeem Arshad,
Salam,

Man its Depend on the Server Function..."server" is a pretty generic term that could mean a lot of things from quake server to file server to email or database server or dns server.. all have different needs/requirements/etc...each of the filesystems you mentioned has its pros and cons.. so depending on what you're going to do with your server.. the answer will differ...ext3 is sufficient for many things.. reiser, xfs and jfs are for high-load servers or servers that involve very large numbers of files accessed frequently, like, for one example, qmail's maildir folders for email... and if you want information about each of these files systems you mention in your post then try http://www.google.com bcoz each has their own web site, but I don't have them all and their web sites should have links to feature and performance comparisons.....

Best Regards.

Best Regards.
Farrukh Ahmed
LinuxFreaK
Site Admin
 
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
ICQ: 82075802
Website: http://www.linuxpakistan.net/wiki/index.php?pagename=LinuxFreak
WLM: f4fahmed@hotmail.com
Yahoo Messenger: f4fahmed@yahoo.com
AOL: linuxpakistan@aol.com
Location: Karachi

Postby zaeemarshad » Tue Nov 04, 2003 3:43 am

i'd appreciate if you would comment about the strengths and weaknesses of each filesystem so that i can better understand which one is suited for what kind of server operations and environment. thanks for the definition though

regards
zaeem
zaeemarshad
Lieutenant Colonel
 
Posts: 660
Joined: Sat Jul 06, 2002 12:35 pm
Website: http://zaeem.no-ip.org
WLM: zarshadvirk@hotmail.com
Yahoo Messenger: negativecreep61@yahoo.com
AOL: zarshadvirk
Location: Islamabad

Correction

Postby s7r1k3r » Tue Nov 04, 2003 5:40 am

Assalam-O-Alaekum!

A small correction is in order. XFS is not a file system, it stands for X Font Server. It is used by X Windows.

Now which one is better, well if you want compatibility across different linux distros and tools, ext2 is the way to go because there are many tools and distros that use it as the FS.

Of course, JFS and Reizer4 have their own advantages which are better suited for server oriented systems.
a10n3 s7r1k3r
s7r1k3r
Battalion Quarter Master Havaldaar
 
Posts: 221
Joined: Wed Aug 07, 2002 3:02 pm
Location: Rawalpindi

Postby fawad » Tue Nov 04, 2003 5:44 am

s7r1k3r,
XFS is indeed a filesystem. It was donated by SGI to the Linux source tree. It is supposed to be good for real-time access to files (never used it myself).
fawad
Site Admin
 
Posts: 918
Joined: Wed Aug 07, 2002 8:00 pm
ICQ: 17672437
Website: http://www.fawad.net
WLM: fawadhalim@hotmail.com
Yahoo Messenger: fawad2048
AOL: fawadhalim
Location: Addison, IL

Re: Correction

Postby LinuxFreaK » Tue Nov 04, 2003 5:49 am

Dear s7r1k3r,
Salam,

May be Zaeem Arshad or LinuxFreak was Wrong but man XFS is a File System and for truth check out SGI - XFS File System

s7r1k3r wrote:Assalam-O-Alaekum!

A small correction is in order. XFS is not a file system, it stands for X Font Server. It is used by X Windows.

Now which one is better, well if you want compatibility across different linux distros and tools, ext2 is the way to go because there are many tools and distros that use it as the FS.

Of course, JFS and Reizer4 have their own advantages which are better suited for server oriented systems.


Best Regards.
Farrukh Ahmed
LinuxFreaK
Site Admin
 
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
ICQ: 82075802
Website: http://www.linuxpakistan.net/wiki/index.php?pagename=LinuxFreak
WLM: f4fahmed@hotmail.com
Yahoo Messenger: f4fahmed@yahoo.com
AOL: linuxpakistan@aol.com
Location: Karachi

Postby jargon » Tue Nov 04, 2003 7:02 am

Dont worry about SGI's XFS and IBM JFS's filesystem if you are the average user. Both reiser and ext3 are good. I prefer resier though - It just feels faster after using ext3 for a while.

Reiser4 Benchmarks:
http://www.namesys.com/benchmarks/v4marks.html
jargon
jargon
Lieutenant Colonel
 
Posts: 691
Joined: Mon Oct 13, 2003 9:40 am

Postby zaeemarshad » Tue Nov 04, 2003 4:06 pm

i was expecting a better technicaly inclined answer. does redhat supports reizerfs now reizer4- i mean there is no installation option like that in redhat install. will ihave tocopy my root partition to another partition. format the old root as reizer and then copy back the root stuff to this partition or some convert utility exists for such kinna task.
zaeemarshad
Lieutenant Colonel
 
Posts: 660
Joined: Sat Jul 06, 2002 12:35 pm
Website: http://zaeem.no-ip.org
WLM: zarshadvirk@hotmail.com
Yahoo Messenger: negativecreep61@yahoo.com
AOL: zarshadvirk
Location: Islamabad

Postby farhantoqeer » Tue Nov 04, 2003 4:17 pm

I havent used any filesystem migration utility, try QTParted may be it can do this or do it like you wrote. mkreiserfs can make the filesystem on redhat.

If you can try then install slackware i am using it and installed my system on reiserfs, its installer asks you where to put your files like redhat does but slack installer has option of reiserfs.
A: Yes
Q: Is top-posting bad?
farhantoqeer
Major General
 
Posts: 917
Joined: Thu Jun 27, 2002 5:45 pm
Website: http://www.emergen.biz
Location: Karachi

Postby zaeemarshad » Tue Nov 04, 2003 10:43 pm

i found the answers after doing a fair bit of googling and hope that others find it useful too.

http://www.osdl.org/docs/linux_journaling_filesystems_and_workloads.pdf

http://www.linuxgazette.com/issue68/dellomodarme.html


Regards
Zaeem
zaeemarshad
Lieutenant Colonel
 
Posts: 660
Joined: Sat Jul 06, 2002 12:35 pm
Website: http://zaeem.no-ip.org
WLM: zarshadvirk@hotmail.com
Yahoo Messenger: negativecreep61@yahoo.com
AOL: zarshadvirk
Location: Islamabad

Re: better filesystem for linux

Postby lambda » Wed Nov 05, 2003 8:29 pm

zaeemarshad wrote:which is the better file system for running linux servers

XFS, Reizer4, JFS or the ext3?

and why


let's turn this around and ask: what's your server going to do?

one good reason for sticking with ext3 is that all the cdroms you find will have a bootable kernel that supports ext3. in case your server's / won't mount, you can boot off any redhat, debian, slackware cd, and use the recovery tools. can't do that as easily with the other filesystems.

i use xfs on my home box (using http://people.debian.org/~blade/XFS-Install/) because i trust sgi to put out a good filesystem. it's been tested and worked on for years (maybe a decade?), and it's faster than jfs. i've never heard stories of anyone losing data on xfs, though i have heard that for older versions of reiserfs.
lambda
Major General
 
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Website: http://www.hungry.com/~fn/
Location: Lahore

Re:

Postby LinuxFreaK » Thu Nov 06, 2003 4:12 am

Dear Zaeem Arshad,
Salam,

XFS - File System

XFS® is the native file system for SGI® systems, from desktop workstations to supercomputers. Fully embraced by the open source community, XFS provides full 64-bit file capabilities and easily scales from gigabytes to exabytes to handle extremely large files. The XFS file system integrates volume management, guaranteed rate I/O, and journaling technology for fast, reliable recovery. File systems can be backed up while still in use, significantly reducing administrative overhead.

Reiser4

Reiser4 is the fastest filesystem, and here are the benchmarks.
Reiser4 is an atomic filesystem, which means that your filesystem operations either entirely occur, or they entirely don't, and they don't corrupt due to half occuring. We do this without significant performance losses, because we invented algorithms to do it without copying the data twice.
Reiser4 uses dancing trees, which obsolete the balanced tree algorithms used in databases (see farther down). This makes Reiser4 more space efficient than other filesystems because we squish small files together rather than wasting space due to block alignment like they do. It also means that Reiser4 scales better than any other filesystem. Do you want a million files in a directory, and want to create them fast? No problem.
Reiser4 is based on plugins, which means that it will attract many outside contributors, and you'll be able to upgrade to their innovations without reformatting your disk. If you like to code, you'll really like plugins....
Reiser4 is architected for military grade security. You'll find it is easy to audit the code, and that assertions guard the entrance to every function.
V3 of reiserfs is used as the default filesystem for SuSE, Lindows, and Gentoo. We don't touch the V3 code except to fix a bug, and as a result we don't get bug reports for the current mainstream kernel version. It shipped before the other journaling filesystems for Linux, and is the most stable of them as a result of having been out the longest. We must caution that just as Linux 2.6 is not yet as stable as Linux 2.4, it will also be some substantial time before V4 is as stable as V3.

JFS

IBM's journaled file system technology, currently used in IBM enterprise servers, is designed for high-throughput server environments, key to running intranet and other high-performance e-business file servers. IBM is contributing this technology to the Linux open source community with the hope that some or all of it will be useful in bringing the best of journaling capabilities to the Linux operating system.

Ext3

Why do you want to migrate from ext2 to ext3? Four main reasons: availability, data integrity, speed, and easy transition.

Best Regards.
Farrukh Ahmed
LinuxFreaK
Site Admin
 
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
ICQ: 82075802
Website: http://www.linuxpakistan.net/wiki/index.php?pagename=LinuxFreak
WLM: f4fahmed@hotmail.com
Yahoo Messenger: f4fahmed@yahoo.com
AOL: linuxpakistan@aol.com
Location: Karachi


Return to “%s” Administration

Who is online

Users browsing this forum: No registered users and 2 guests

cron