mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* cifs or win, who is slow ?
@ 2010-10-10 23:36 J.A. Magallón
  0 siblings, 0 replies; only message in thread
From: J.A. Magallón @ 2010-10-10 23:36 UTC (permalink / raw)
  To: Linux Kernel

Hi all...

I have a curious problem sharing files with windows.
I have a home linus desktop/server, my main box, and a Win7 HTPC.
I share files from linux via samba. I auto-mount the htpc drive
from linux via cifs filesystem.
Both are connected to a WRT320N router, running dd-wrt. Wired network
is gigabit in both boxes.

Now the weird part. If I read or write files from the linux box to the
win drive automounted on linux, I get speeds in the order of 8 Mbits/s.
If I do the same from the win box to samba in the linuz box, I get 70 Mbits
thoughput. Both reading and writing.
So operating from the linux box through cifs is much slower than working
from the win box through samba.
But....
if I access the window share without the automounter, just through the
Network browsing feature in Gnome, I get again good speeds, about 40 Mbits/s.

Mount state is the same, whatever the method I use to acces the windows
drive:

//htpc/media/ /net/htpc/media cifs rw,relatime,unc=\\htpc\media,username=media,uid=3001,forceuid,gid=3000,forcegid,addr=192.168.1.20,file_mode=0664,dir_mode=0775,serverino,rsize=16384,wsize=57344 0 0

Anybody has noticed this ? Any clue ?
Is Linux CIFS slow or is win7 server slow ?

TIA

-- 
J.A. Magallon <jamagallon()ono!com>     \               Software is like sex:
                                         \         It's better when it's free

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-10-10 23:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-10 23:36 cifs or win, who is slow ? J.A. Magallón

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®