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 see
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
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.
https://bugs
[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.
https://bugs.launchpad.net/bugs/
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.
https://bugs.l
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 t
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.
--
Y
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 Ubuntu
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 (tr
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 bro
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. J
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) copi
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: /lib/modules/2.6.38-1
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
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
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
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 t
# 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
srcversion: 9D5FB508C3F48DB44F28CAF
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
srcversion: CF4A226E475E7B9C049C66F
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.
https://bugs.launchpa
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
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
srcversion: CF4A226E475E7B9C049C66F
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
srcversion: CF4A226E475E
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.
https://
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 Ubuntu
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) (avera
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 Doma
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.8Ca
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
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 said
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
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 CIFSMa
$ 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 3.5
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 copyi
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 notifi
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
credentials=$file
$ cat /etc/modprobe.d/cifs.conf
options cifs CIFSMaxBufSize=130048
options in fstab is
rsize=32768,wsize=32768,_netdev,password=,dir_mode=0775,file_mode=0664,gid=floppy,iocharset=utf8,uid
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
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
** 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:
http
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?
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 wind
** 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 abo
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
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.
https://bugs
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
28
46 matches
Mail list logo