Ext3: Why journal is better than ordered when data needs to be readfrom and written to disk at the same time

From: Jidong Xiao
Date: Fri Mar 25 2011 - 19:33:16 EST


Hi,

I see many literatures mentioned this, but I have never seen any one
explains it in detail.(Although this link exposed the original story:
http://lkml.indiana.edu/hypermail//linux/kernel/0107.1/0364.html)

"Journal mode: This mode is the slowest except when data needs to be
read from and written to disk at the same time where it outperform all
others mode."

Since this is counter-intuitive, I believe many people are not aware
about the root cause. Can any one kindly explain it so as to make it
more clear? Thank you!

Regards
Jidong
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/