CIFS slow on gigabit, doesn't support sockopt=TCP_NODELAY ?

Timothy Normand Miller <[email protected]>
Newsgroups gmane.linux.file-systems.cifs
Message-ID <[email protected]>
Hi, everyone.

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?

It was actually suggested that I ask on samba-technical, but I thought
I'd start here.  Should I ask on that list?


Thanks!

-- 
Timothy Normand Miller
http://www.cse.ohio-state.edu/~millerti
Open Graphics Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.