Skip to contentSkip to conversation

Ext3 vs NTFS performance

DISCUSSION Al Boldi 1 participant 1 message May 3, 2007

lore
Share & tools
lore

Al Boldi

author
#0 lore raw
Quoted 10 lines · David Chinner
Quoted 9 lines · Mason B

I've been testing the NAS performance of ext3/Openfiler 2.2 against NTFS/WinXP and have found that NTFS significantly outperforms ext3 for video workloads. The Windows CIFS client will attempt a poor-man's pre-allocation of the file on the server by sending 1-byte writes at 128K-byte strides, breaking block allocation on ext3 and leading to fragmentation and poor performance. This will happen for many applications (including iTunes) as the CIFS client issues these pre-allocates under the application layer.

Quoted 5 lines
Quoted 5 lines

I've posted a brief paper on Intel's OSS website
(http://softwarecommunity.intel.com/articles/eng/1259.htm). Please give it a read and let me know what you think. In particular, I'd like to arrive at the right place to fix this problem: is it in the filesystem, VFS, or Samba?

It's a Samba problem. Samba doesn't do async writes, which v3.0 should have fixed. Did you try that?

Quoted 2 lines

As I commented on IRC to Val Henson - the XFS performance indicates that it is not a VFS or Samba problem.

XFS somewhat hides the Samba problem, by efficiently syncing to disk.

Thanks!

--
Al