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

13th April 2010, 01:36 PM
|
|
Registered User
|
|
Join Date: Jan 2010
Location: Asunción, Paraguay
Posts: 35

|
|
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
|

13th April 2010, 02:36 PM
|
 |
Banned (for/from) behaving just like everybody else!
|
|
Join Date: Jul 2007
Location: Beijing, China
Posts: 1,307

|
|
|
Re: ext3 file system
Is this some kind of assignment from your boss?
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.
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.
|

13th April 2010, 02:45 PM
|
 |
Registered User
|
|
Join Date: May 2007
Location: U.S.
Posts: 4,852

|
|
|
Re: ext3 file system
Quote:
Originally Posted by aleph
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
|

13th April 2010, 03:32 PM
|
 |
Registered User
|
|
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,300

|
|
|
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.
|

13th April 2010, 03:59 PM
|
|
Registered User
|
|
Join Date: Jan 2005
Posts: 5,002

|
|
|
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
|

13th April 2010, 06:15 PM
|
|
Registered User
|
|
Join Date: Jan 2010
Location: Asunción, Paraguay
Posts: 35

|
|
|
Re: ext3 file system
Thank you, all.
I am only a student. I am coursing a Performance Evaluation semester.
------------
gusamasan
|

13th April 2010, 11:53 PM
|
 |
Registered User
|
|
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,300

|
|
|
Re: ext3 file system
Quote:
Originally Posted by gusamasan
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
|

14th April 2010, 02:27 AM
|
|
Registered User
|
|
Join Date: Jan 2010
Location: Asunción, Paraguay
Posts: 35

|
|
|
Re: ext3 file system
Thank you, stevea
I will use those results to compare my measurements.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 01:29 (Thursday, 23-05-2013)
|
|
 |
 |
 |
 |
|
|