mangix debug --0: scsi连接超时断开

38 篇文章 0 订阅

测试大概17分钟的样子,osd、mds和client均未出错,可是测试程序停止执行,在mds和client上执行dmesg如下:

fs93:~ # dmesg
[ 4052.000006]  connection2:0: ping timeout of 5 secs expired, recv timeout 5, last rx 4295902790, last ping 4295904042, now 4295905296
[ 4052.000014]  connection2:0: detected conn error (1011)
[ 4172.256063]  session2: session recovery timed out after 120 secs

 

bug:

  osd内部打印日志过于频繁导致响应client和mds的request太慢,超过了scsi驱动的时间限制,导致超时,连接自然断开,程序停止。

fixing-method:

  关闭大部分log,提升osd模块处理速度。

test_result:

  

fs96:~ # postmark pmk.cfg
PostMark v1.51 : 8/14/01
Reading configuration from file 'pmk.cfg'
Creating subdirectories...Done
Creating files...Done
Performing transactions..........Done
Deleting files...Done
Deleting subdirectories...Done
Time:
        5459 seconds total
                2226 seconds of transactions (8 per second)

        Files:
                30053 created (5 per second)
                        Creation alone: 20000 files (7 per second)
                        Mixed with transactions: 10053 files (4 per second)
                9979 read (4 per second)
                0 appended (0 per second)
                30053 deleted (5 per second)
                        Deletion alone: 20106 files (28 per second)
                        Mixed with transactions: 9947 files (4 per second)

        Data:
                38.98 megabytes read (7.31 kilobytes per second)
                117.39 megabytes written (22.02 kilobytes per second)

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值