Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 01-30-2013, 12:02 AM   #1
Registered: Jun 2011
Location: India
Posts: 31

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.

Old 01-30-2013, 12:23 AM   #2
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,227

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
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-30-2013, 12:47 AM   #3
Registered: Jun 2011
Location: India
Posts: 31

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-31-2013, 12:42 AM   #4
Registered: Jun 2011
Location: India
Posts: 31

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, 09:16 AM   #5
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, 09:29 AM   #6
LQ Newbie
Registered: Jan 2013
Location: India
Distribution: RedHat,Fedora
Posts: 11

Rep: Reputation: Disabled

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:

# iostat -d

this will show you I/O on the partition.

Hope this helps.

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

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


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 03:46 AM
How to edit file and make read/write / on "repair filesystem" mode? tovohery Linux - General 5 02-18-2008 02:39 AM
Making "/dev/snd/*" read/write for other consistently Minozake Linux - General 4 01-29-2008 09:12 PM
"YOU" says "could not write server list to disk" dushkinup Linux - Distributions 4 07-26-2004 01:01 PM
RH9 "remounting root filesystem in read-write mode" ChrisHax Linux - Newbie 3 07-23-2004 10:54 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration