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 SNIA CIFS Specification e.g. Samba and Windows
license: GPL
author: Steve French <email address hidden>
srcversion: CF4A226E475E7B9C049C66F
depends:
vermagic: 2.6.38-10-server SMP mod_unload modversions
parm: CIFSMaxBufSize:Network buffer size (not including header). Defau lt: 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 Ra nge: 2 to 256 (int)
parm: echo_retries:Number of echo attempts before giving up and reconn ecting server. Default: 5. 0 means never reconnect. (ushort)
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 C049C66F Network buffer size (not including header). Defau lt: 16384 Range: 8192 to 130048 (int) rcv:Network buffers in pool. Default: 4 Range: 1 to 64 (int) small:Small network buffers in pool. Default: 30 Range: 2 to 256 (int) pending: Simultaneous requests to server. Default: 50 Ra nge: 2 to 256 (int)
version: 1.71
description: VFS to access servers complying with the SNIA CIFS Specification e.g. Samba and Windows
license: GPL
author: Steve French <email address hidden>
srcversion: CF4A226E475E7B9
depends:
vermagic: 2.6.38-10-server SMP mod_unload modversions
parm: CIFSMaxBufSize:
parm: cifs_min_
parm: cifs_min_
parm: cifs_max_
parm: echo_retries:Number of echo attempts before giving up and reconn ecting server. Default: 5. 0 means never reconnect. (ushort)