LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   "how is ext4 disk read write happening?" (https://www.linuxquestions.org/questions/linux-general-1/how-is-ext4-disk-read-write-happening-4175447786/)

sujithspillai90 01-29-2013 11:02 PM

"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

frieza 01-29-2013 11:23 PM

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)

sujithspillai90 01-29-2013 11:47 PM

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.

sujithspillai90 01-30-2013 11:42 PM

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.

masterclassic 01-31-2013 08:16 AM

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.

Kaustubh5@ymail.com 01-31-2013 08:29 AM

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

sujithspillai90 02-01-2013 02:27 AM

Thank you for the help.


All times are GMT -5. The time now is 09:57 PM.