[Bug 699123] New: Reading from a samba share mounted with cifs is too slow
https://bugzilla.novell.com/show_bug.cgi?id=699123 https://bugzilla.novell.com/show_bug.cgi?id=699123#c0 Summary: Reading from a samba share mounted with cifs is too slow Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86-64 OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: praise.tazio@tiscalinet.it QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 Reading from a Samba Share on a Gigabit ethernet enver goes above 10Mbyte/s, when FTP can reach 95Mbyte/s and a Windows Client. I does not help changing mount options. Reproducible: Always Steps to Reproduce: 1.Mount a remote samba (or Windows) share with mount.cifs 2.Read a large file 3. Actual Results: It never reaches 10Mbyte/s Expected Results: It is slow. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=699123 https://bugzilla.novell.com/show_bug.cgi?id=699123#c1 Suresh Jayaraman <sjayaraman@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |sjayaraman@novell.com AssignedTo|kernel-maintainers@forge.pr |sjayaraman@novell.com |ovo.novell.com | --- Comment #1 from Suresh Jayaraman <sjayaraman@novell.com> 2011-06-10 09:05:52 UTC --- Thanks for the bug report. I'll take a look. What are your mount options? What is the Samba Server version? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=699123 https://bugzilla.novell.com/show_bug.cgi?id=699123#c2 --- Comment #2 from Tazio Ceri <praise.tazio@tiscalinet.it> 2011-06-10 11:33:06 UTC --- (In reply to comment #1)
Thanks for the bug report. I'll take a look.
What are your mount options?
I tried many options, without changing the problem. For example I switched: directio,rsize,and these module configuration options: parm: CIFSMaxBufSize:Network buffer size (not including header). Default: 16384 Range: 8192 to 130048 (int) parm: cifs_min_rcv:Network buffers in pool. Default: 4 Range: 1 to 64 (int) parm: cifs_min_small:Small network buffers in pool. Default: 30 Range: 2 to 256 (int) parm: cifs_max_pending:Simultaneous requests to server. Default: 50 Range: 2 to 256 (int)
What is the Samba Server version?
Samba 3.4.12 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=699123 https://bugzilla.novell.com/show_bug.cgi?id=699123#c3 --- Comment #3 from Suresh Jayaraman <sjayaraman@novell.com> 2011-06-22 11:32:04 UTC --- Created an attachment (id=435953) --> (http://bugzilla.novell.com/attachment.cgi?id=435953) Upstream fix Please find attached an upstream fix. Apply this patch and see whether it fixes the problem and report. Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=699123 https://bugzilla.novell.com/show_bug.cgi?id=699123#c Suresh Jayaraman <sjayaraman@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |praise.tazio@tiscalinet.it -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=699123 https://bugzilla.novell.com/show_bug.cgi?id=699123#c4 --- Comment #4 from Tazio Ceri <praise.tazio@tiscalinet.it> 2011-06-27 20:00:24 UTC --- This patch improves the situation, I have been able to read at 20Mbyte/s instead of 7/8. I will be doing further testing though. 20 is still slow but usable. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=699123 https://bugzilla.novell.com/show_bug.cgi?id=699123#c5 --- Comment #5 from Suresh Jayaraman <sjayaraman@novell.com> 2011-06-28 05:44:20 UTC --- Could you try without changing any module parameters and mount options (i.e. the default options) and see whether you see better improvements? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=699123 https://bugzilla.novell.com/show_bug.cgi?id=699123#c6 --- Comment #6 from Tazio Ceri <praise.tazio@tiscalinet.it> 2011-06-28 10:35:45 UTC --- CIFSMaxBufSize=130048 and I have reached 57Mbyte/s. Further testing is coming. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=699123 https://bugzilla.novell.com/show_bug.cgi?id=699123#c7 --- Comment #7 from Tazio Ceri <praise.tazio@tiscalinet.it> 2011-06-28 13:22:40 UTC --- I got my best results with: CIFSMaxBufSize=130048 cifs_min_rcv=64 It looks I don't have any regression, too, when writing. At least not about performance. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=699123 https://bugzilla.novell.com/show_bug.cgi?id=699123#c8 Suresh Jayaraman <sjayaraman@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|praise.tazio@tiscalinet.it | Resolution| |FIXED --- Comment #8 from Suresh Jayaraman <sjayaraman@novell.com> 2011-06-30 05:25:47 UTC --- Ok, thanks for the testing and feedback. I'd consider this one as resolved. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=699123 https://bugzilla.novell.com/show_bug.cgi?id=699123#c9 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:released:11.4:42361 --- Comment #9 from Swamp Workflow Management <swamp@suse.de> 2011-08-02 08:01:12 UTC --- Update released for: kernel-debug, kernel-debug-base, kernel-debug-base-debuginfo, kernel-debug-debuginfo, kernel-debug-debugsource, kernel-debug-devel, kernel-debug-devel-debuginfo, kernel-default, kernel-default-base, kernel-default-base-debuginfo, kernel-default-debuginfo, kernel-default-debugsource, kernel-default-devel, kernel-default-devel-debuginfo, kernel-desktop, kernel-desktop-base, kernel-desktop-base-debuginfo, kernel-desktop-debuginfo, kernel-desktop-debugsource, kernel-desktop-devel, kernel-desktop-devel-debuginfo, kernel-devel, kernel-docs, kernel-ec2, kernel-ec2-base, kernel-ec2-base-debuginfo, kernel-ec2-debuginfo, kernel-ec2-debugsource, kernel-ec2-devel, kernel-ec2-devel-debuginfo, kernel-ec2-extra, kernel-ec2-extra-debuginfo, kernel-pae, kernel-pae-base, kernel-pae-base-debuginfo, kernel-pae-debuginfo, kernel-pae-debugsource, kernel-pae-devel, kernel-pae-devel-debuginfo, kernel-source, kernel-source-vanilla, kernel-syms, kernel-trace, kernel-trace-base, kernel-trace-base-debuginfo, kernel-trace-debuginfo, kernel-trace-debugsource, kernel-trace-devel, kernel-trace-devel-debuginfo, kernel-vanilla, kernel-vanilla-base, kernel-vanilla-base-debuginfo, kernel-vanilla-debuginfo, kernel-vanilla-debugsource, kernel-vanilla-devel, kernel-vanilla-devel-debuginfo, kernel-vmi, kernel-vmi-base, kernel-vmi-base-debuginfo, kernel-vmi-debuginfo, kernel-vmi-debugsource, kernel-vmi-devel, kernel-vmi-devel-debuginfo, kernel-xen, kernel-xen-base, kernel-xen-base-debuginfo, kernel-xen-debuginfo, kernel-xen-debugsource, kernel-xen-devel, kernel-xen-devel-debuginfo, preload-kmp-default, preload-kmp-desktop Products: openSUSE 11.4 (debug, i586, x86_64) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com