LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 05-22-2004, 09:18 PM   #1
irfanhab
Member
 
Registered: Jan 2004
Location: Pakistan
Distribution: OpenSuse 10.2, Slackware 11, Solaris 10
Posts: 415

Rep: Reputation: 34
windows filesystems vs. linux filesystems


Hi all,

Does anyone have any benchmarks, or any study to show how linux filesystems compare with windows filesytems.

What are journaling filesystems, and how are they different from common filesystems. (XFS, Reiserfs etc)
 
Old 05-22-2004, 09:46 PM   #2
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
XFS, ReiserFS, EXT3, NTFS, JFS are journalized. My gathering is that your filesystem is living in realtime, instead of "after" you stop using it for the day. My real life examples of journalized vs not: ReiserFS-->I don't have to reinstall the OS after a power failure (I live in the country). NTFS-->generally the same as ReiserFS, FAT32-->reinstall ater a good outage, especially with a few false starts, EXT2---reinstall!

A journallized FS is also usually faster, as the files are catalogued in the journal. I'm a fan.
 
Old 05-22-2004, 10:08 PM   #3
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
NTFS is one of the all in 1 FS's (or trys to be), not a very good thing to do

i prefer reiserfs....

and theres not to many windows FS's. most of them were just dos FS's that were slightly modified, i think NTFS was the first FS they actually might have made
 
Old 05-24-2004, 10:32 AM   #4
irfanhab
Member
 
Registered: Jan 2004
Location: Pakistan
Distribution: OpenSuse 10.2, Slackware 11, Solaris 10
Posts: 415

Original Poster
Rep: Reputation: 34
Quote:
My gathering is that your filesystem is living in realtime, instead of "after" you stop using it for the day.
I dont really understand what you mean. I think every file system "lives in realtime"
 
Old 05-24-2004, 05:16 PM   #5
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
I really don't know what I meant either.
 
Old 05-24-2004, 07:30 PM   #6
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
With journelling. the file system is ALWAYS in a stable state.
you can cut the power at any time, and although files being writen to or modified maybecome corrupt, the filesystem will still be perfectly intact.

with non journalling file systems, dureing some stages the filesystem is not intact, but is then quickly fixed. if the power fails at a bad time, you will need to re-format.
 
Old 05-24-2004, 10:59 PM   #7
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
i like reiser, if you pull the plug all that happens is the last thing you did to the hard drive is undone at worst..
 
Old 05-25-2004, 01:47 AM   #8
scott_R
Member
 
Registered: Jul 2003
Location: Brighton, Michigan, USA
Distribution: Lots of distros in the past, now Linux Mint
Posts: 748

Rep: Reputation: 31
"Does anyone have any benchmarks, or any study to show how linux filesystems compare with windows filesytems.

What are journaling filesystems, and how are they different from common filesystems. (XFS, Reiserfs etc)"

Well first off, most "modern filesystems" (XFS, Reiserfs, and many more) are journaling. This, for most practical purposes, is actually a dividing line. NTFS kind of falls in the middle, meaning you can crash it and it will probably work, but I wouldn't intentionally do so, or trust my data to NTFS's abilities. NTFS itself is fine, it's the other items in windows that sometimes prevent NTFS from doing what it's meant to, for "performance" reasons.

On a more basic level, a normal filesystem will wait till the most opportune time to flush data to disk. This is a performance increase. An older filesystem (ext2, fat, vfat, etc.) will simply drop everything if the power fails. "Journaling" means dropping data to an optimized part of the drive, then pushing the data to the proper spots when appropriate. Instead of finding, then opening/altering each file on disk, the journal simply records the changes as needed, preventing corruption if the computer is shut off. If the power is shut off while the computer is updating the journal, you might lose the journal, but the rest of your system is fine. If your system is updating a file from the journal when power is lost, it has the journal to help it "guess" which file was corrupted, greatly speeding repairs.

None of this means you'll regain your lost data, but it does mean you avoid several minutes of drive checks during boot. In the old system, skipping these checks was possible too, but at the risk of much bigger problems down the line, because when the FS hit a problem, that error sometimes propagated through the drive.

For the record, many filesystems are comptemplating database like systems, which has the advantage that a corrupted system might be able to extrapolate missing data using certain algorithms. This is great in theory, but it also bears the risk that a relatively simple, but severe, corruption can wipe out your entire drive. The problem's being worked on by several groups, but MS is making vaporware threats to include this with longhorn...another reason to avoid that software, as if there aren't enough already.
 
Old 05-25-2004, 07:21 AM   #9
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
In an interview with Theo de Raadt, the founder of OpenBSD, he discussed the filesystem issue. He referred the interviewer to this paper about journalled filesystems versus the *BSD softupdates. He didn't seem to think that ext2 was a very good idea at all. Its a good read.
 
  


Reply

Tags
filesystems, linux, windows


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
Linux filesystems and fragmentation Frogular Linux - General 1 04-29-2005 03:47 AM
What filesystems can be seen by both windows and linux? Necronomicom Linux - Newbie 17 08-23-2004 10:18 AM
Accessing Linux filesystems from Windows Burgin Linux - General 7 08-14-2004 12:18 PM
Linux Filesystems Teoryn Linux - Newbie 2 01-25-2004 12:24 AM
Journaling Filesystems for Linux jeremy Linux - General 3 12-04-2003 06:12 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 08:06 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration