[Samba] CIFS slow on gigabit, doesn't support sockopt=TCP_NODELAY ?
Timothy Normand Miller
theosib at gmail.com
Sun Aug 23 18:32:49 MDT 2009
Hi, everyone. I originally sent this to the cifs-vfs mailing list,
but upon reading the descriptions of the lists, I think that might
have been the wrong place to ask. My apologies for the repeat. I
hope I got the right place this time. :)
I've noticed that the cifs client for Linux is slow over gigabit
ethernet. It seems to max out at about 10 megs/sec, while the drives
can go a lot faster. Also, if I mount the same network share from a
Mac, it's a lot faster. When _sharing_ via samba, one can set the
TCP_NODELAY option (among others), which fixes the problem. But with
the cifs client, I find that there appears to be no way to set the
option. When mounting manually, you can use "-o sockopt=TCP_NODELAY",
and you can also put that into /etc/fstab. Either way, the option
appears to be ignored.
I filed this bug with Gentoo: http://bugs.gentoo.org/265183
Am I doing this wrong? Is there a work-around? Or plans to fix it?
Thanks!
--
Timothy Normand Miller
http://www.cse.ohio-state.edu/~millerti
Open Graphics Project
More information about the samba
mailing list