[linux-cifs-client] CIFS slow on gigabit, doesn't support sockopt=TCP_NODELAY ?

Timothy Normand Miller theosib at gmail.com
Tue Aug 25 10:55:53 MDT 2009


On Tue, Aug 25, 2009 at 7:09 AM, Jeff Layton<jlayton at redhat.com> wrote:
>
>> Thus, for IPTOS_LOWDELAY, would I do this?
>>
>>         val = IPTOS_LOWDELAY;
>>         socket->ops->setsockopt(socket, SOL_IP, IP_TOS,
>>                                             (char __user *)&val, sizeof(val));
>>
>>
>
> Hmm...never used setsockopt to set TOS bits, but I suppose it would
> work. You could also do that with iptables rules too.

Sounds complicated.  Any hints you can give me about how to do it?




-- 
Timothy Normand Miller
http://www.cse.ohio-state.edu/~millerti
Open Graphics Project


More information about the linux-cifs-client mailing list