Bug 7201 - Poor performance with cifs mount with wireless network..
Summary: Poor performance with cifs mount with wireless network..
Status: ASSIGNED
Alias: None
Product: CifsVFS
Classification: Unclassified
Component: kernel fs (show other bugs)
Version: 2.6
Hardware: x86 Linux
: P3 normal
Target Milestone: ---
Assignee: Jeff Layton
QA Contact: cifs QA contact
URL:
Keywords:
: 7198 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-03-02 19:35 UTC by Terry.Kao (mail address dead)
Modified: 2020-07-16 00:12 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Terry.Kao (mail address dead) 2010-03-02 19:35:15 UTC
Hi all:

I'm trying to play a high bit-rate 1080p film(about 30Mbps) through cifs mount with wireless network. But the max bandwidth can only reach 20Mbps.
I did some efforts to trace the issue as below:
 
1). Mount and play the file through nfs instead of cifs with wireless network.
    The bandwidth can reach 30Mbps without problems. Then I try to copy a file
    from cifs it even reach 70~80Mbps with nfs. But it holds on 20~25Mbps with
    cifs.

2). Mount and play the file through cifs with wired network.
    The bandwidth can reach 30Mbps. Copy action works well too.

3). Using iperf to detect the max bandwidth of wireless network. 
    It shows at least 40~50Mpbs.

4). All films with bit-rate below 20Mbps play smooth through cifs with wireless network.

5). And I have tested more than one wireless AP and wireless dongle. They all lead to the same result.

6). I also modified the CIFSMazBufSize, cifs_min_rcv, cifs_min_small, cifs_max_pending values. That doesn't have great improvement.

Environment information:
-Wireless:802.11n Bit Rate:150 Mb/s
-Server:a) Linux-2.6.27.10 x86 Samba-3.0.23c-2
        b) Windows Vista 
-Client:  Linux-2.6.23.9 x86 cifs-1.50

I wonder if the problem comes from cifs file system?
Are there any suggestions to tune the performance? 

Thx and best regards,
Terry
Comment 1 Terry.Kao (mail address dead) 2010-03-15 03:52:56 UTC
*** Bug 7198 has been marked as a duplicate of this bug. ***
Comment 2 Jeff Layton 2012-05-19 12:47:15 UTC
This should be a bit better on more recent kernels. Do you see better performance with kernel version 3.3 or higher?
Comment 3 Josh B. 2012-06-21 18:22:14 UTC
Having similar problems over a wired network. Could there be any relation to bug https://bugzilla.samba.org/show_bug.cgi?id=7699?