• 那是云首页
  • 快捷导航
  • 更多
    设为首页收藏本站
  • |
花生壳

提升my cloud samba速度的方法

My Cloud NAS  / 求助大神  / 正序浏览   © 著作权归作者本人所有

#楼主# 2014-1-20 11:30

跳转到指定楼层
手动修改 /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 相当犀利的发现~

查看全部评分

那是云论坛 - 国内知名的NAS交流平台
http://www.nasyun.com
分享淘帖
回复 印象

使用道具

0

精华

22

回帖

86

积分

入门用户

Rank: 1

云币
0
贡献
15
活跃
0
精华
0
keanu008 发表于 2015-5-31 18:12 来自 中国北京
能说说怎么开启samba吗,dlna和电视不能挂字幕
回复 支持 反对 印象

使用道具 举报

0

精华

24

回帖

526

积分

入门用户

Rank: 1

云币
0
贡献
95
活跃
39
精华
0
北歐童話 发表于 2014-11-12 15:13 来自 中国山西
mark 回家试试
回复 支持 反对 印象

使用道具 举报

0

精华

6

回帖

227

积分

入门用户

Rank: 1

云币
0
贡献
44
活跃
3
精华
0
猫仔 发表于 2014-4-29 12:04 来自 中国浙江宁波
我试了下反而慢了~~
回复 支持 反对 印象

使用道具 举报

0

精华

3

回帖

148

积分

入门用户

Rank: 1

云币
0
贡献
29
活跃
0
精华
0
shihuabo 发表于 2014-4-12 18:28 来自 中国重庆
怎么开启smb,没找到啊
回复 支持 反对 印象

使用道具 举报

0

精华

6

回帖

159

积分

入门用户

Rank: 1

云币
0
贡献
31
活跃
0
精华
0
誘人魷魚 发表于 2014-4-8 14:03 来自 中国福建漳州
没有找到这个东东啊
回复 支持 反对 印象

使用道具 举报

0

精华

6

回帖

159

积分

入门用户

Rank: 1

云币
0
贡献
31
活跃
0
精华
0
誘人魷魚 发表于 2014-4-8 14:00 来自 中国福建漳州
/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
回复 支持 反对 印象

使用道具 举报

0

精华

24

回帖

662

积分

入门用户

Rank: 1

云币
0
贡献
121
活跃
45
精华
0
kakaxi707 发表于 2014-2-19 12:36 来自 中国天津
目前MC可以开启Http服务吗,我看MBL可以开启,http://bbs.weiphone.com/read-htm-tid-5484774-page-2.html,照着指令找文件,没找到~~
回复 支持 反对 印象

使用道具 举报

0

精华

14

回帖

508

积分

入门用户

Rank: 1

云币
0
贡献
100
活跃
0
精华
0
yangmajia 发表于 2014-1-22 22:17 来自 中国江苏南京
liufanl 发表于 2014-1-22 21:54
你可以试试,我这里确实达到了。

试了下,稳定在87MB+,有点用,多谢
回复 支持 反对 印象

使用道具 举报

1

精华

21

回帖

6727

积分

人机合一

Rank: 4

云币
2
贡献
525
活跃
3990
精华
1

NAS发烧友

liufanl 发表于 2014-1-22 21:54 来自 中国重庆
yangmajia 发表于 2014-1-22 10:53
千兆网读取速度100MB/S? 这么牛?

你可以试试,我这里确实达到了。
回复 支持 反对 印象

使用道具 举报

0

精华

14

回帖

508

积分

入门用户

Rank: 1

云币
0
贡献
100
活跃
0
精华
0
yangmajia 发表于 2014-1-22 10:53 来自 中国江苏南京
千兆网读取速度100MB/S? 这么牛?
回复 支持 反对 印象

使用道具 举报

12下一页
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关于作者

liufanl

人机合一

  • 主题

    2

  • 帖子

    23

  • 关注者

    28

etsme
快速回复 返回列表 搜索 官方QQ群
懒人地图| 手机版|小黑屋| 智能生活 , 上那是云 |闽ICP备2020018196号-1 |网站地图