Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 13th April 2010, 01:36 PM
gusamasan Offline
Registered User
 
Join Date: Jan 2010
Location: Asunción, Paraguay
Posts: 35
linuxfedorafirefox
Question ext3 file system

Hello, all.



I need evaluate the ext3 file system performance; i need define:

- services provided

- parameters and

- the performance with different parameter values; for example, changin the value of the "data" parameter (journal, ordered, writeback).



I do not know what services ext3 provides. Well, i know intuitively that it provides services to read, write and erase files. But, there are anything more?. Where can i find the API?. Is the ext3 file system POSIX compliant?


Thank you, in advance.

----------------
gusamasan
Reply With Quote
  #2  
Old 13th April 2010, 02:36 PM
aleph's Avatar
aleph Offline
Banned (for/from) behaving just like everybody else!
 
Join Date: Jul 2007
Location: Beijing, China
Posts: 1,307
linuxfedorafirefox
Re: ext3 file system

Is this some kind of assignment from your boss?
Quote:
- services provided
Do you mean technical support from its maintainers? I guess you can contact Red Hat for that if you're a paid RH customer.

On the other hand, Fedora has no commercial support. It's a distro by the community and for the community.

EDIT:

I re-read your post and saw what you mean. In that case, just read the doc linked below.
tl;dr version: the filesystem supports fsck, online resize, parameter tuning, etc besides the usual read and write.

About the API... what part of API are you interested in? The high-level API such as read(), write(), select() are mostly POSIX-compliant on Linux systems regardless of filesystem. If you're planning to use the filesystem-specific or "internal" API, consult documentation on the Linux kernel. The source code of e2fsprogs may also be of help because it's the no.1 user of ext* internal API.

Quote:
- parameters
The kernel documentation remains the definitive reference:
http://www.mjmwired.net/kernel/Docum...stems/ext3.txt

Quote:
- the performance with different parameter values; for example, changin the value of the "data" parameter (journal, ordered, writeback).
data=journal has less chance of corruption in the face of a filesystem failure, but ordered or writeback is faster, and more risky. (http://www.mjmwired.net/kernel/Docum...s/ext3.txt#166). Haven't looked up benchmark results though, but the Web is full of resources.
__________________
I believe in nerditarianism. I read FedoraForum for the Fedora-related posts.

Last edited by aleph; 13th April 2010 at 02:46 PM.
Reply With Quote
  #3  
Old 13th April 2010, 02:45 PM
forkbomb's Avatar
forkbomb Offline
Registered User
 
Join Date: May 2007
Location: U.S.
Posts: 4,852
linuxfedorafirefox
Re: ext3 file system

Quote:
Originally Posted by aleph View Post
Is this some kind of assignment from your boss?
Or professor? My first thought was end-of-semester paper-writing time.
__________________
- Tom
"What is freedom? To have the will to be responsible for one's self." - Stirner
Reply With Quote
  #4  
Old 13th April 2010, 03:32 PM
stevea's Avatar
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,300
linuxfedorafirefox
Re: ext3 file system

If the is a school assignment - then do your own work.

There is no API for a file system per se. File systems implement various features and these features may or may not be exposed these feature to aplpications via system call APIs.

You will find essentially all of the system calls in section 2 of the manuals. "ls -l /usr/share/man/man2"
Of these many relate specifically to files:
open, close, read, write, lseek - the basic I/O calls.
mmap, mmap32 - more data API
stat (various entry point, fstat, fstat64, ...), chmod ,chown, setfacl ,getfacl - set/get file metadata
link, unlink -

Among other newer features that exist in more recent *nix* file systems are ACLs (part of a POSIX 1002.1e draft) (see getfacl, setfacl). Capabilities - (also part of a POSIX draft) see setfcap, getfcap. Also SELinux context information, see setcontext, getcontext. These later features are built onto the basic file extended attribute data. See "man5 attr" and man 2 {getxattr,setxattr}". THe SELinux extensions never appeared in POSIX.

You'll need to read the POSIX standard IN DETAIL to understand the extent to which the POSIX methods and APIs are fully implemented, partly implemented and implemented in a non-compliant way. For example the default output of "ls -l" is NOT POSIX compliant on Linux, but there is a means to get compliant behavior. If I was looking for non-POSIX behavior in a Linux file system implementation I'd especially check into less used, more complex features like the open(2) O_ASYNC behavior of the flock(2) behavior, the fdatasync(2) behavior. ext3 is probably as POSIX compliant as any file system but that doesn't necessarily imply perfect POSIX compliance.

==

If you want to see the actual file system settable parameters - it's all under "man mke2fs" and check the "also see" list.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe

Last edited by stevea; 13th April 2010 at 03:49 PM.
Reply With Quote
  #5  
Old 13th April 2010, 03:59 PM
SlowJet Offline
Registered User
 
Join Date: Jan 2005
Posts: 5,002
linuxfedorafirefox
Re: ext3 file system

A professor usually has a PHD and this assignment sounds like a tech person teaching a C.C. class.

SJ
__________________
Do the Math
Reply With Quote
  #6  
Old 13th April 2010, 06:15 PM
gusamasan Offline
Registered User
 
Join Date: Jan 2010
Location: Asunción, Paraguay
Posts: 35
windows_xp_2003safari
Re: ext3 file system

Thank you, all.

I am only a student. I am coursing a Performance Evaluation semester.


------------
gusamasan
Reply With Quote
  #7  
Old 13th April 2010, 11:53 PM
stevea's Avatar
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,300
linuxfedorafirefox
Re: ext3 file system

Quote:
Originally Posted by gusamasan View Post
Thank you, all.

I am only a student. I am coursing a Performance Evaluation semester.


------------
gusamasan
You will find comparative performance test results for many of the modern Linux file systems are available at:
http://www.phoronix.com

ext3, ext4, btrfs, nilfs2, reiserfs, Reiserfs4 - also comparisons to some *nix FS's like SunMS's zfs.. Just be aware that some of these are still under development and the tests are of a work in progress.

-S
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
Reply With Quote
  #8  
Old 14th April 2010, 02:27 AM
gusamasan Offline
Registered User
 
Join Date: Jan 2010
Location: Asunción, Paraguay
Posts: 35
linuxfedorafirefox
Re: ext3 file system

Thank you, stevea

I will use those results to compare my measurements.
Reply With Quote
Reply

Tags
ext3, file

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to mount ext3 file system in RAM? viklahan Using Fedora 4 23rd October 2008 11:57 PM
File system ext3 going down ququ Using Fedora 7 23rd October 2008 09:56 PM
Problem in ext3 file system brunoadm Using Fedora 0 10th August 2005 12:05 AM
ext3 file system ShibbyCoder Using Fedora 6 17th February 2005 07:07 AM
ext3 file system woes EnnisMac Fedora Core 2 Test Releases 2 11th May 2004 06:44 PM


Current GMT-time: 01:29 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat