lkml.org 
[lkml]   [2007]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRE: Ext3 vs NTFS performance
Date
From
> 
> Cabot, Mason B wrote:
> > 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.
>
> This is rather hard to believe so I think some more information is in
> order. Specifically, how do you know that it is the windows
> kernel that
> is issuing these writes and not the application? Under what
> application
> access patterns does it do this?
>
> This is just rather hard to believe seeing as how, iirc, the CIFS
> protocol has commands to extend the file size properly rather
> than with
> this hack, and unless it is asked to by the application, the
> cifs client
> should not be trying to extend files.
>

Philip:

the best response I can offer is that we have traced the application's
file system accesses and seen no such one-byte writes occuring at that
level. They are generated somewhere below the application. Additionally,
while we have observed iTunes on Windows issuing these one-byte writes,
ethereal traces for iTunes on Mac OSX show no such behavior. Because of
these observations I think it is reasonable to conclude that the Windows
CIFS client is generating the one-byte writes.

thanks,
Mason

-
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: 2007-05-04 21:55    [W:0.262 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site