LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-29-2013, 11:02 PM   #1
sujithspillai90
Member
 
Registered: Jun 2011
Location: India
Posts: 30

Rep: Reputation: Disabled
Smile "how is ext4 disk read write happening?"


Hello All,

Please could someone help me to get the knowledge about read write happening on ext4 file system.I would like to know how ext4 is differ from ext3 in terms of read writes, also which are the disks supported ext4 to get the best performance.It should be great if any documents for the same.


thanks,
Sujith
 
Old 01-29-2013, 11:23 PM   #2
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,062

Rep: Reputation: 362Reputation: 362Reputation: 362Reputation: 362
http://www.thegeekstuff.com/2011/05/ext2-ext3-ext4/
this should help
although i believe the differences between ext3/4 are somewhat analogous to fat16/32 in some ways (larger file size, larger partition size capability, etc... rather than a real mechanical difference in how the actual read/writes happen)
 
Old 01-29-2013, 11:47 PM   #3
sujithspillai90
Member
 
Registered: Jun 2011
Location: India
Posts: 30

Original Poster
Rep: Reputation: Disabled
thank you friza.

But I am not looking only for the differences between the these file systems. I would like to know how the read write happening when using ext4 file sytems.Also the different types of disk can use for the better fie systems.
 
Old 01-30-2013, 11:42 PM   #4
sujithspillai90
Member
 
Registered: Jun 2011
Location: India
Posts: 30

Original Poster
Rep: Reputation: Disabled
please could anyone can help me in this? Just wanted to understand ext4 how the file system read write happening over a disk.Also is there any commands to find out the disk speed when the read/wrtite happens.
 
Old 01-31-2013, 08:16 AM   #5
masterclassic
Member
 
Registered: Jun 2007
Distribution: Knoppix
Posts: 140

Rep: Reputation: 23
I can't understand well the question.
Did you look at pages like this one or this?
I think the read and write on disk is quite complex, as there are factors like cache or journal.
 
Old 01-31-2013, 08:29 AM   #6
Kaustubh5@ymail.com
LQ Newbie
 
Registered: Jan 2013
Location: India
Distribution: RedHat,Fedora
Posts: 11

Rep: Reputation: Disabled
Hey,

Read/write totally depends on the kind of workload that you are putting on the server.

It vary for too many small files and few large files.
How it writes the data do the disk even depends on the parameters that you set while mounting.

There are by default differences in the ext4 like barrier is enabled write-back, support for larger files etc.

I personally like to read kernel docs, if you might wanna take a look at this: https://www.kernel.org/doc/Documenta...stems/ext4.txt

# iostat -d

this will show you I/O on the partition.

Hope this helps.

-Kaustubh
 
1 members found this post helpful.
Old 02-01-2013, 02:27 AM   #7
sujithspillai90
Member
 
Registered: Jun 2011
Location: India
Posts: 30

Original Poster
Rep: Reputation: Disabled
Thank you for the help.
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to read and write ethernet "link layer" packets maxreason Linux - Networking 10 08-19-2008 02:46 AM
How to edit file and make read/write / on "repair filesystem" mode? tovohery Linux - General 5 02-18-2008 01:39 AM
Making "/dev/snd/*" read/write for other consistently Minozake Linux - General 4 01-29-2008 08:12 PM
"YOU" says "could not write server list to disk" dushkinup Linux - Distributions 4 07-26-2004 12:01 PM
RH9 "remounting root filesystem in read-write mode" ChrisHax Linux - Newbie 3 07-23-2004 09:54 PM


All times are GMT -5. The time now is 07:22 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration