cifs.ko should default to CIFSMaxBufSize=65535
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Won't Fix
|
Undecided
|
Tim Gardner | ||
Saucy |
Won't Fix
|
Undecided
|
Tim Gardner |
Bug Description
Win 7 and other clients can handle a CIFS max buffer size of 64k, and default to this value when talking to Windows or Linux SMB servers. The practical effect of this is drag-drop file operations in Windows can run at near gigabit speeds (80-90mb/s over a gigabit LAN) even when talking to a Linux Samba server.
The 'cifs' filesystem on the other hand struggles to achieve this by default because it's buffer size is constrained to just 16k. Boosting the buffer size with a modprobe.d options file like so:
options cifs CIFSMaxBufSize=
or even:
options cifs CIFSMaxBufSize=
produces a speed up in file operations (as measured with rsync -W between two mountpoints, or dd | pv | dd) which is on par with the speed achieved by Windows - taking cifs from averaging 40-50 mb/s on my machine, to the 80-90 mb/s the same machine running Windows (and talking to a Linux samba server) can achieve.
There doesn't seem to be any real downside to this in the common desktop use case in the modern age (memory is not a constraint), so shipping a modprobe.d cifs.conf file seems like a sensible way to close the perceived gap in user experience.
---
ApportVersion: 2.9.2-0ubuntu8.3
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
/dev/snd/
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
DistroRelease: LinuxMint 15
HibernationDevice: RESUME=
InstallationDate: Installed on 2012-07-12 (452 days ago)
InstallationMedia: Linux Mint 13 "Maya" - Release amd64 (20120520)
IwConfig:
eth0 no wireless extensions.
lo no wireless extensions.
MachineType: Gigabyte Technology Co., Ltd. P67A-UD3P-B3
MarkForUpload: True
NonfreeKernelMo
Package: linux 3.8.0.31.49 [origin: Ubuntu]
PackageArchitec
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.106
RfKill:
3: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
Tags: third-party-
Uname: Linux 3.8.0-31-generic x86_64
UnreportableReason: This is not an official LinuxMint package. Please remove any third party package and try again.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom debian-tor dialout dip libvirtd lpadmin plugdev sambashare sudo vboxusers wireshark
dmi.bios.date: 03/21/2012
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F9
dmi.board.name: P67A-UD3P-B3
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSof
dmi.product.name: P67A-UD3P-B3
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
affects: | linux-meta (Ubuntu) → linux (Ubuntu) |
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1236607
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.