summaryrefslogtreecommitdiffstats
path: root/docs-xml/smbdotconf/tuning/allocationroundupsize.xml
blob: 08aa621fcc538a6f88ea43baeb78b2f6135335c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<samba:parameter name="allocation roundup size"
                 context="S"
                 type="bytes"
                 deprecated="1"
                 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
    <para>This parameter allows an administrator to tune the 
    allocation size reported to Windows clients. This is only
    useful for old SMB1 clients because modern SMB dialects
    eliminated that bottleneck and have better performance by
    default.  Using this parameter may cause
    difficulties for some applications, e.g. MS Visual Studio.
    If the MS Visual Studio compiler starts to crash with an
    internal error, set this parameter to zero for this share.
    Settings this parameter to a large value can also cause
    small files to allocate more space on the disk than
    needed.
    </para>
    <para>This parameter is deprecated and will be removed in
    one of the next Samba releases.
    </para>

    <para>The integer parameter specifies the roundup size in bytes.</para>
</description>

<value type="default">0</value>
<value type="example">1048576<comment>(to set it to the former default of 1 MiB)</comment></value>
</samba:parameter>