LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 12-10-2010, 11:52 AM   #1
unkie888
Member
 
Registered: Aug 2007
Posts: 67

Rep: Reputation: 24
Exclamation ext4 slower than ext3


I have a 6 disk machine, i am using FC12, i created a software raid 5 device /dev/md1

i formatted it
Code:
mkfs.ext4 /dev/md1
and mounted with options as so:

Code:
/dev/md1 on /usr/local type ext4 (rw,noatime,user_xattr)
i then ran dd to see how fast i can write to it:

Code:
dd if=/dev/zero of=/usr/local/test.out bs=512k count=20k
20480+0 records in
20480+0 records out
10737418240 bytes (11 GB) copied, 77.4035 s, 139 MB/s
I did this a number of times and got similar speeds - 139MB/s each time.

I then unmounted and did mkfs.ext3 /dev/md1

and mounted again like so:

Code:
/dev/md1 on /usr/local type ext3 (rw,noatime,user_xattr)
Code:
dd if=/dev/zero of=/usr/local/test.out bs=512k count=20k
20480+0 records in
20480+0 records out
10737418240 bytes (11 GB) copied, 44.3047 s, 242 MB/s
I did it a number of times, always around 240MB/s

I guess I will stick with ext3

However, I would be very interested to know *why* the newer filesystem is slower, and by so much!

many thanks
 
Old 12-10-2010, 12:07 PM   #2
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
"Newer" isn't always "better".

And "better" isn't always "faster"

Here's an excellent article benchmarking ext4 performance, and listing some of the benefits of ext4 over other filesystems:

Real World Benchmarks of the Ext4 Filesystem

Last edited by paulsm4; 12-10-2010 at 12:11 PM.
 
1 members found this post helpful.
  


Reply

Tags
ext3, ext4


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
convert ext3 to ext4 cccc Debian 5 05-20-2010 07:58 PM
[SOLVED] Convert ext3 to ext4 ursusca Linux - General 5 03-10-2010 11:33 AM
mounting ext3 FS as ext4 info1686 Linux - General 1 07-08-2009 07:16 AM
From ext3 to ext4 rengo.Java Linux - Software 6 12-27-2008 09:58 AM
ext3 is it slower ???? Zvezda Linux - Distributions 1 11-05-2001 09:44 PM


All times are GMT -5. The time now is 02:16 AM.

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