找回密码
 立即注册

QQ登录

只需一步,快速开始

铁威马网络网络存储

[求助大神] 提升my cloud samba速度的方法

[复制链接]
手动修改 /etc/samba/smb.conf.template
找到use sendfile = yes这一项,改为 use sendfile = no


重启一下samba服务
service samba restart
再试试读取写入速度。


关于这项其实很奇怪,理论上这个文件是没有被加载的。而且按照samba官方解释,这项设置为yes速度是最快。不过我实际测试了一下,改为no后,读取速度可以达到100M/s。只有两个可能,这个设置文件和smb.conf这个文件冲突,或者是这个版本的samba的bug,也有可能是my cloud的bug。

评分

参与人数 1云币 +1 金条 +8 碎银 +9 收起 理由
爆疯语 + 1 + 8 + 9 相当犀利的发现~

查看全部评分

使用道具 举报 回复
相当犀利的发现~~~!!!
使用道具 举报 回复 支持 反对
千兆网读取速度100MB/S? 这么牛?
使用道具 举报 回复 支持 反对
yangmajia 发表于 2014-1-22 10:53
千兆网读取速度100MB/S? 这么牛?

你可以试试,我这里确实达到了。
使用道具 举报 回复 支持 反对
liufanl 发表于 2014-1-22 21:54
你可以试试,我这里确实达到了。

试了下,稳定在87MB+,有点用,多谢
使用道具 举报 回复 支持 反对
目前MC可以开启Http服务吗,我看MBL可以开启,http://bbs.weiphone.com/read-htm-tid-5484774-page-2.html,照着指令找文件,没找到~~
使用道具 举报 回复 支持 反对
/etc/samba/smb.conf.template: line 1: [global]: command not found
/etc/samba/smb.conf.template: line 2: netbios: command not found
/etc/samba/smb.conf.template: line 2: NAME: command not found
/etc/samba/smb.conf.template: line 3: display: command not found
/etc/samba/smb.conf.template: line 3: CHARSET: command not found
/etc/samba/smb.conf.template: line 4: interfaces: command not found
/etc/samba/smb.conf.template: line 5: server: command not found
/etc/samba/smb.conf.template: line 4: INTERFACES: command not found
/etc/samba/smb.conf.template: line 6: workgroup: command not found
/etc/samba/smb.conf.template: line 6: WORKGROUP: command not found
/etc/samba/smb.conf.template: line 5: DESCRIPTION: command not found
/etc/samba/smb.conf.template: line 7: browseable: command not found
/etc/samba/smb.conf.template: line 8: deadtime: command not found
/etc/samba/smb.conf.template: line 9: domain: command not found
/etc/samba/smb.conf.template: line 10: encrypt: command not found
/etc/samba/smb.conf.template: line 11: enable: core: not a shell builtin
/etc/samba/smb.conf.template: line 11: enable: files: not a shell builtin
/etc/samba/smb.conf.template: line 11: enable: =: not a shell builtin
/etc/samba/smb.conf.template: line 11: enable: no: not a shell builtin
/etc/samba/smb.conf.template: line 12: guest: command not found
/etc/samba/smb.conf.template: line 13: guest: command not found
/etc/samba/smb.conf.template: line 14: local: can only be used in a function
/etc/samba/smb.conf.template: line 15: load: command not found
/etc/samba/smb.conf.template: line 16: map: command not found
/etc/samba/smb.conf.template: line 17: max: command not found
/etc/samba/smb.conf.template: line 18: min: command not found
/etc/samba/smb.conf.template: line 19: null: command not found
/etc/samba/smb.conf.template: line 20: obey: command not found
/etc/samba/smb.conf.template: line 21: os: command not found
/etc/samba/smb.conf.template: line 22: passdb: command not found
/etc/samba/smb.conf.template: line 23: preferred: command not found
/etc/samba/smb.conf.template: line 24: printable: command not found
/etc/samba/smb.conf.template: line 25: security: command not found
/etc/samba/smb.conf.template: line 26: smb: command not found
/etc/samba/smb.conf.template: line 27: smb: command not found
/etc/samba/smb.conf.template: line 28: socket: command not found
/etc/samba/smb.conf.template: line 29: syslog: command not found
/etc/samba/smb.conf.template: line 30: use: command not found
/etc/samba/smb.conf.template: line 31: writeable: command not found
使用道具 举报 回复 支持 反对
没有找到这个东东啊
使用道具 举报 回复 支持 反对
怎么开启smb,没找到啊
使用道具 举报 回复 支持 反对
我试了下反而慢了~~
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回列表 搜索 官方QQ群