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
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.
-Wireless:802.11n Bit Rate:150 Mb/s
-Server:a) Linux-18.104.22.168 x86 Samba-3.0.23c-2
b) Windows Vista
-Client: Linux-22.214.171.124 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,
*** Bug 7198 has been marked as a duplicate of this bug. ***
This should be a bit better on more recent kernels. Do you see better performance with kernel version 3.3 or higher?
Having similar problems over a wired network. Could there be any relation to bug https://bugzilla.samba.org/show_bug.cgi?id=7699?