socket options

Ira Cooper ira at samba.org
Fri Feb 1 11:01:02 MST 2013


I never denied you can shoot yourself in the foot with them.

deprecated == going to remove at some point.

If you have a proposed doc update with a warning about changing them, and
their potential to have a massive negative impact on performance.  That
sounds quite reasonable.

Thanks,

-Ira


On Fri, Feb 1, 2013 at 12:54 PM, Ricky Nance <
ricky.nance at weaubleau.k12.mo.us> wrote:

> I didn't say remove, just mark it as a 'non favored' or 'depreciated'
> option. Again, in some situations I am sure they are great, but in some it
> seems to drop the connection speed by about 1800% (is that the right math?
> 5mb/s with socket options, 90 mb/s without?). I am really looking more for
> suggestions (opening a discussion) on what to do with the option rather
> than changing something right away.
>
> Ricky
>
>
> On Fri, Feb 1, 2013 at 11:47 AM, Ira Cooper <ira at samba.org> wrote:
>
>> I'm not in favor of removing them, because we actually use them for
>> "good".  Like proper tuning, TCP Keep Alive durations, etc.  They are an
>> important part of getting the server "right" for us.
>>
>> Thanks,
>>
>> -Ira
>>
>>
>> On Fri, Feb 1, 2013 at 12:42 PM, Ricky Nance <
>> ricky.nance at weaubleau.k12.mo.us> wrote:
>>
>>> Helping users on IRC (and watching kukks help them ;) ) has lead me to
>>> believe that "socket options" are often more of a problem than a help.
>>> Now
>>> I understand that with older kernels they likely provide some
>>> enhancement,
>>> but with the newer ones, they seem to cause 'slow transfers' in a lot of
>>> cases. I am curious if this option should be marked as deprecated in man
>>> smb.conf and also if testparm should throw a warning to the user about
>>> using them. What do you guys think on this?
>>>
>>> Ricky
>>>
>>> --
>>>
>>
>>
>
>
> --
>
>


More information about the samba-technical mailing list