[Samba] Improving Samba write performance on Linux
jra at samba.org
Thu Dec 9 11:30:20 MST 2010
On Thu, Dec 09, 2010 at 02:58:27PM +0100, Björn Jacke wrote:
> On 2010-12-08 at 11:41 -0800 Jeremy Allison sent off:
> > How do I get the patch ?
> > ------------------------
> some additional info on this: for Samba 3.5.x setting "strict allocate
> = yes" is already doing that fast preallocation for file allocations
> done via the SET_FILE_INFO call - if filesystem, kernel and libc
> support that.
> For 3.5 Jeremy's patch adds the feature that preallocation is also
> being done for the mentioned 1-byte writes, which is being done by
> some applications.
No, you misunderstood. This isn't being done by "some applications",
this is being done by the Windows redirector on behalf of an application
requesting a large write. That's why this change is so powerful and
useful. You don't need to change any Windows apps to get the benefits.
More information about the samba