lkml.org 
[lkml]   [2006]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectAnother ocfs2 performance bug
Hi guys,

Reading all the files in a big directory tree takes at least four times
as long on ocfs2 as ext3.

# ocfs2: Copy a kernel tree to /dev/null
mount -tocfs2 /dev/hdb /big
time find /big/linux-2.6.16-rc3 -type f -exec cp {} /dev/null \;
real 1m54.933s <===
user 0m0.896s
sys 0m1.844s

time find /big/linux-2.6.16-rc3 -type f -exec cp {} /dev/null \;
real 0m14.301s
user 0m5.172s
sys 0m9.093s

# ext3: Copy a kernel tree to /dev/null
mount -text3 /dev/hdb /big
time find /big/linux-2.6.16-rc3 -type f -exec cp {} /dev/null \;
real 0m23.899s <===
user 0m4.672s
sys 0m9.513s

time find /big/linux-2.6.16-rc3 -type f -exec cp {} /dev/null \;
real 0m14.198s
user 0m5.168s
sys 0m8.977s

Regards,

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

\
 
 \ /
  Last update: 2006-03-10 23:35    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site