[Bug 810606] Re: Slow cifs in 11.04

2012-07-06 Thread Chris
I'm running into this issue myself. I just loaded up a new application on my linux system that is being bottlenecked by the smbfs I/O issue. I've been reading through these threads (among others) I've done as many tweaks as I can. As one person above tested using smbclient vs smbfs/cifs you can

[Bug 810606] Re: Slow cifs in 11.04

2012-06-21 Thread Josh Burghandy
Same issues here. See https://bugzilla.samba.org/process_bug.cgi and http://www.overclockers.com/forums/showthread.php?t=683188 for suggestions. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/810606

[Bug 810606] Re: Slow cifs in 11.04

2011-12-07 Thread Josu Lazkano
Same problem here on Oneiric. The upload speed is good (11.X MB/sec), but the download is pper (5.X MB/sec) on a 100mbps LAN. I try all parameters of cifs module. Regards. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 810606] Re: Slow cifs in 11.04

2011-11-13 Thread Launchpad Bug Tracker
[Expired for cifs-utils (Ubuntu) because there has been no activity for 60 days.] ** Changed in: cifs-utils (Ubuntu) Status: Incomplete = Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 810606] Re: Slow cifs in 11.04

2011-09-14 Thread Ubuntu Uefi User
Tried on same system using windows 8 -- Windows 7 resulting in 40% link utilization (50MB/s) Windows 8 thus has double the cifs speed ubuntu mount.cifs has at the moment. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 810606] Re: Slow cifs in 11.04

2011-09-09 Thread Ubuntu Uefi User
I'm trying it in Ubuntu server 11.10 beta kernel 3.0.0-10. Windows 7 -- Ubuntu server via mount cifs = 20 % link utilization in windows 7 task manager Ubuntu server -- Windows 7 via samba in explorer = 30 % link utilization in windows 7 task manager General further slowness can be deduced to

[Bug 810606] Re: Slow cifs in 11.04

2011-09-08 Thread Massimo Forti
Hello Bohdan excuse the delay, but I was on vacation. The 2.6.38.11 kernel should be available in the Ubuntu repositories 11.04. However, the cifs seems to work much better now. If, after some time, there will be no further problems, I shall put the status of the following bug as invalid. --

[Bug 810606] Re: Slow cifs in 11.04

2011-08-13 Thread Bohdan
Massimo, 38-11 is still proposed, I am syncing with backports and there is 38-10. How it will be dealt with required configuration with respect to the ubuntu istallation? Regards, Bohdan -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 810606] Re: Slow cifs in 11.04

2011-08-08 Thread Bohdan
Hello Massimo, I think we still speak about different things. My solution has two halves: 1. Adding required configuration parameters, which improve performance. In this step I agree with you completely 2. Upgrading from 2.6.38-8 (got it from main) to 2.6.38-10 (got it from backports) which

[Bug 810606] Re: Slow cifs in 11.04

2011-08-08 Thread Massimo Forti
Hello Bohdan, You have right about the patch apply to kenrel 2.6.38-10: * cifs: change bleft in decode_unicode_ssetup back to signed type - LP: #788691 * cifs: check for bytes_remaining going to zero in CIFS_SessSetup - LP: #788691 * cifs: sanitize length checking in coalesce_t2

[Bug 810606] Re: Slow cifs in 11.04

2011-08-03 Thread Massimo Forti
Hi Bohdan I understand what you mean and I think I don't explained myself well. This is holding me back from confirming this bug is that, how could you see yourself, playing with the parameters set by the programmer, for the module cifs.ko, you can increase or decrease the speed of transfer.

[Bug 810606] Re: Slow cifs in 11.04

2011-08-01 Thread Bohdan
cannot confirm this. On my system with modifiers at cifs.ko and mount options: 733964288 bytes (734 MB) copied, 40.3041 s, 18.2 MB/s without cifs.ko (CIFSMaxBufSize) 734793728 bytes (735 MB) copied, 57.1226 s, 12.9 MB/s without mount options(rsize=32768,wsize=32768): 733282304 bytes (733 MB)

[Bug 810606] Re: Slow cifs in 11.04

2011-07-31 Thread Bohdan
Definitely rotten cifs module in distribution's kernel. Yesterday upgraded to backport. Went form 2.6.38-8 to 2.6.38-10-generic as Boletis. Speed dramatically improved: 734793728 bytes (735 MB) copied, 38.0731 s, 19.3 MB/s -- You received this bug notification because you are a member of Ubuntu

[Bug 810606] Re: Slow cifs in 11.04

2011-07-31 Thread Massimo Forti
Hi all, my test: copy file from Ubuntu to WinXP and viceversa. File is Ubuntu ISO 733 mb. My network is a wi-fi with about 20 MB transmission speed from PC to router and 100 MB transmission from router to Ubuntu Server. This is my modinfo cifs: ~$ modinfo cifs filename:

[Bug 810606] Re: Slow cifs in 11.04

2011-07-30 Thread zzarko
Something happend after one of updates in the last few days, as my speed dropped from ~7.5MB/s to ~3.5MB/s using cifs. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/810606 Title: Slow cifs in 11.04

[Bug 810606] Re: Slow cifs in 11.04

2011-07-27 Thread Massimo Forti
Hi at all. Unfortunately I have not yet completely finished configuring my Ubuntu home server to replicate your setup and make accurate tests. Conducting research in google, though, I have found many differences about the cifs module works. It seems that not all people which use cifs module have

[Bug 810606] Re: Slow cifs in 11.04

2011-07-26 Thread Bohdan
# modinfo cifs filename: /lib/modules/2.6.38-8-generic/kernel/fs/cifs/cifs.ko version:1.71 description:VFS to access servers complying with the SNIA CIFS Specification e.g. Samba and Windows license:GPL author: Steve French sfre...@us.ibm.com srcversion:

[Bug 810606] Re: Slow cifs in 11.04

2011-07-26 Thread Bohdan
Boletis: the package was deleted cannot check, but contains many fixes for cifs module -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/810606 Title: Slow cifs in 11.04 To manage notifications about

[Bug 810606] Re: Slow cifs in 11.04

2011-07-25 Thread Boletis Georgios
Here's mine: filename: /lib/modules/2.6.38-10-generic/kernel/fs/cifs/cifs.ko version:1.71 description:VFS to access servers complying with the SNIA CIFS Specification e.g. Samba and Windows license:GPL author: Steve French sfre...@us.ibm.com srcversion:

[Bug 810606] Re: Slow cifs in 11.04

2011-07-23 Thread Massimo Forti
Hi at all, to continue a test i must know your exact configuration. Can you please post the result of: :\ modinfo cifs So i try to replicate your situation. Many, many thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 810606] Re: Slow cifs in 11.04

2011-07-23 Thread Jean-
jean@xps:~$ modinfo cifs filename: /lib/modules/2.6.38-10-generic/kernel/fs/cifs/cifs.ko version:1.71 description:VFS to access servers complying with the SNIA CIFS Specification e.g. Samba and Windows license:GPL author: Steve French sfre...@us.ibm.com

[Bug 810606] Re: Slow cifs in 11.04

2011-07-23 Thread zzarko
Here is mine: filename: /lib/modules/2.6.38-10-generic/kernel/fs/cifs/cifs.ko version:1.71 description:VFS to access servers complying with the SNIA CIFS Specification e.g. Samba and Windows license:GPL author: Steve French sfre...@us.ibm.com srcversion:

[Bug 810606] Re: Slow cifs in 11.04

2011-07-23 Thread Ubuntu Uefi User
I got to 20MB/sec by reconfiguring Windows 7 to disable autotuning. forcedirectio or not now has no speed effect anymore. Tested on a gigabit network. filename: /lib/modules/2.6.38-10-server/kernel/fs/cifs/cifs.ko version:1.71 description:VFS to access servers complying with the

[Bug 810606] Re: Slow cifs in 11.04

2011-07-23 Thread Ubuntu Uefi User
Jean- (jean-helou) and I use the same model network switch (Netgear GS108 Gigabit switch), could it be related to that? Do the other users also have the same switch? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 810606] Re: Slow cifs in 11.04

2011-07-20 Thread Massimo Forti
Hello, sorry for the delay. I'm trying to do the test on my server trying to replicate your situation. I think in the coming days to give you some more info on which to deal. Thanks to all -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 810606] Re: Slow cifs in 11.04

2011-07-18 Thread Boletis Georgios
Copying my post from Bug #471512 that closed: This is what I use for mounting in fstab: //.../... /.../... cifs directio,rsize=130048,guest,uid=1000,iocharset=utf 8,codepage=unicode,unicode 0 0 Then I created a file named cifs.conf in /etc/modprobe.d/ which has the following: options cifs

[Bug 810606] Re: Slow cifs in 11.04

2011-07-18 Thread Jean-
Here is the result of my extensive tests For all tests: 192.168.1.10 is a synology NAS with 1Gb ethernet - smbd 3.2.8 (DSM 3.1-1613) 192.168.1.9 is a dell xps 1330 with 100Mb ethernet - upto date 11.04 distro (smbclient says 3.5.8) 192.168.1.11 is an asus U36jc with 1Gb ethernet up to date

[Bug 810606] Re: Slow cifs in 11.04

2011-07-18 Thread Massimo Forti
Hello everyone. I must admit that what is strange is that each of you has a different result about the speed tests: @ Boletis Georgios said to reach about 60MB out of Nautilus and 8-10MB in Nautilus; @ Bohdan says that no more than 4-5MB; @ zzarko having reached the 7-8MB; @ Ubuntu Uefi User

[Bug 810606] Re: Slow cifs in 11.04

2011-07-18 Thread Massimo Forti
I can ask to you to do the command cat /proc/fs/cifs/DebugData (except @Bohdan who has just post the result). This command is necessary to understand the version of cifs module in use in your ubuntu box. Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 810606] Re: Slow cifs in 11.04

2011-07-18 Thread Boletis Georgios
Here is mine: Display Internal CIFS Data Structures for Debugging --- CIFS Version 1.71 Features: dfs lanman posix spnego xattr Active VFS Requests: 0 Servers: 1) Name: 192.168.1.108 Domain: NODENS Uses: 1 OS: Unix NOS: Samba 3.5.8

[Bug 810606] Re: Slow cifs in 11.04

2011-07-18 Thread Jean-
there you go with both mounts on jean@xps:/mnt$ cat /proc/fs/cifs/DebugData Display Internal CIFS Data Structures for Debugging --- CIFS Version 1.71 Features: dfs lanman posix spnego xattr Active VFS Requests: 0 Servers: 1) Name: 192.168.1.10

[Bug 810606] Re: Slow cifs in 11.04

2011-07-18 Thread Bohdan
One more snippet, why I think it is in CIFS: $ smbclient //server/share Enter bohdan's password: Domain=[LABS] OS=[Unix] Server=[Samba 3.5.6] Server not using user level security and no password supplied. smb: \ get test getting file \test of size 102400 as test (24693.8 KiloBytes/sec)

[Bug 810606] Re: Slow cifs in 11.04

2011-07-17 Thread zzarko
I forgot to mention, I got [ 6078.439293] cifs: `' invalid for parameter `CIFSMaxBufSize' with options cifs CIFSMaxBufSize = 130048 After I removed the spaces, it was OK: options cifs CIFSMaxBufSize=130048 -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 810606] Re: Slow cifs in 11.04

2011-07-17 Thread Bohdan
$ cat /etc/modprobe.d/cifs.conf options cifs CIFSMaxBufSize=130048 options in fstab is

[Bug 810606] Re: Slow cifs in 11.04

2011-07-17 Thread Ubuntu Uefi User
Confirming bug again as of 9.10 till 11.04. Windows 7 -- samba share on ubuntu 11.04 = 70 MB/sec Read -- Write on Gigabit Lan mount.cifs on ubuntu 11.04 -- Windows 7 = 16 MB/sec Write -- Read on Gigabit Lan Using mount.cifs parameters: mount.cifs $volume $backupvolme -o

[Bug 810606] Re: Slow cifs in 11.04

2011-07-17 Thread Massimo Forti
Hi at all. Thanks for your replay. Can you poste the result of cat /proc/fs/cifs/DebugData. Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/810606 Title: Slow cifs in 11.04 To manage

[Bug 810606] Re: Slow cifs in 11.04

2011-07-17 Thread Massimo Forti
Hi, last little thing. We now increase the debug msg to try to understand the problem: besides giving cat /proc/fs/cifs/DebugData giving: cat /proc/fs/cifs/Stats echo 4 /proc/fs/cifs/cifsFYI (this command enabled additional timing information be logged in dmesg file) and then, after copying a

[Bug 810606] Re: Slow cifs in 11.04

2011-07-17 Thread Bohdan
$ cat /proc/fs/cifs/DebugData Display Internal CIFS Data Structures for Debugging --- CIFS Version 1.71 Features: dfs lanman posix spnego xattr Active VFS Requests: 0 Servers: 1) Name: 192.168.11.1 Domain: LABS Uses: 2 OS: Unix NOS: Samba

[Bug 810606] Re: Slow cifs in 11.04

2011-07-16 Thread zzarko
I tried the tweaks as suggested by Massimo Forti, and I can say that they did the trick. The speed with cifs jumped to ~7.5 MB/s (read and write), which is much better than 500 KB/s with cifs I had until now and ~5 MB/s with gvfs (but, still, less than ~10 MB/s I had before). These settings almost

[Bug 810606] Re: Slow cifs in 11.04

2011-07-15 Thread Massimo Forti
** Changed in: cifs-utils (Ubuntu) Assignee: Massimo Forti (maxforti) = (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/810606 Title: Slow cifs in 11.04 To manage notifications

[Bug 810606] Re: Slow cifs in 11.04

2011-07-15 Thread Jean-
I know this is open source and anyone can help. I don't have the skillset to do it or I definitely would. This bug is not a blocker and power users can easily work around it using ftp for example. But NAS , Gb ethernet and/or mutiple computers at home has become usual. setting file shares in

[Bug 810606] Re: Slow cifs in 11.04

2011-07-15 Thread Massimo Forti
Hi, we understand your disappointment. Now we try to see a couple of things: - You have created the file /etc/modprobe.d/cifs.conf with the inside option: options cifs CIFSMaxBufSize = 130048? - You have put in /etc/fstab the following two options in the mount points: rsize=32768, wsize=32768?

[Bug 810606] Re: Slow cifs in 11.04

2011-07-15 Thread Massimo Forti
** Changed in: cifs-utils (Ubuntu) Status: New = Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/810606 Title: Slow cifs in 11.04 To manage notifications about this bug go to:

[Bug 810606] Re: Slow cifs in 11.04

2011-07-14 Thread Bohdan
I can confirm similar bug in 11.04: $ iperf -c 192.168.11.1 -f MBytes [ 3] 0.0-10.0 sec 695 MBytes 69.5 MBytes/sec [ 3] 0.0-10.0 sec 683 MBytes 68.3 MBytes/sec [ 3] 0.0-10.0 sec 693 MBytes 69.3 MBytes/sec smbclient: getting file \test of size 30720 as test (28702.6 KiloBytes/sec) (average

[Bug 810606] Re: Slow cifs in 11.04

2011-07-14 Thread Massimo Forti
Hi, can you post your /etc/fstab client file to see you mount option. Thanks many. ** Changed in: cifs-utils (Ubuntu) Assignee: (unassigned) = Massimo Forti (maxforti) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 810606] Re: Slow cifs in 11.04

2011-07-14 Thread zzarko
Here are my mount options: //192.168.2.100/del1 /media/Del1 cifs credentials=/etc/credentials.del,rw,_netdev,uid=zzarko,gid=users 0 0 //192.168.2.100/del2 /media/Del2 cifs credentials=/etc/credentials.del,rw,_netdev,uid=zzarko,gid=users 0 0 -- You received this bug notification because you are