3279  
   0
vdbench报“Slave one-0 aborting Too many thread blocks”解决方法
作者:程辉于 2018年07月20日 发布在分类 / 经验案例 / 经验案例 下,并于 2018年07月20日 编辑
Vdbench aborting thread blocks

一、组网图

不涉及

二、问题描述

Vdbench测试文件系统,按照如下脚本进行测试

hd=default,vdbench=/root,user=root,shell=ssh

hd=one,system=linux-test2

fsd=fsd1,anchor=/mnt/1,depth=1,width=1,files=5,size=200M,shared=yes

fsd=fsd2,anchor=/mnt/2,depth=1,width=1,files=5,size=200M,shared=yes


fwd=fwd1,fsd=fsd1,operation=write,xfersizes=(64K,30,512K,70),fileio=sequential,fileselect=sequential,threads=10

fwd=fwd2,fsd=fsd2,operation=read,xfersizes=(64K,30,512K,70),fileio=sequential,fileselect=sequential,threads=10


rd=rd1,fwd=(fwd1,fwd2),fwdrate=max,format=yes,elapsed=120,interval=1

打印如下日志后vdbench运行中止:

16:21:00.340 Message from slave one-0:

16:21:00.340 file=/mnt/2/vdb.1_1.dir/vdb_f0001.file,busy=true

16:21:00.340 file=/mnt/2/vdb.1_1.dir/vdb_f0002.file,busy=true

16:21:00.340 file=/mnt/2/vdb.1_1.dir/vdb_f0003.file,busy=true

16:21:00.340 file=/mnt/2/vdb.1_1.dir/vdb_f0004.file,busy=true

16:21:00.340 file=/mnt/2/vdb.1_1.dir/vdb_f0005.file,busy=true

16:21:00.340 Thread: FwgThread read /mnt/2 rd=rd1 For loops: None

16:21:00.340

16:21:00.340 last_ok_request: Tue Jul 17 16:20:48 EDT 2018

16:21:00.340 Duration: 11.92 seconds

16:21:00.340 consecutive_blocks: 10001

16:21:00.340 last_block: FILE_BUSY File busy

16:21:00.340 operation: read

16:21:00.340

16:21:00.340 Do you maybe have more threads running than that you have

16:21:00.340 files and therefore some threads ultimately give up after 10000 tries?

16:21:00.896

16:21:00.896 **********************************************************

16:21:00.896 Slave one-0 aborting: Too many thread blocks

16:21:00.896 *********************************************************


三、过程分析

1、检查配置文件是否编写错误,发现threads设置大于文件个数。

四、解决方法

将threads设置改成小于或等于文件个数,如下所示(红色字体部分):

hd=default,vdbench=/root,user=root,shell=ssh

hd=one,system=linux-test2

fsd=fsd1,anchor=/mnt/1,depth=1,width=1,files=5,size=200M,shared=yes

fsd=fsd2,anchor=/mnt/2,depth=1,width=1,files=5,size=200M,shared=yes


fwd=fwd1,fsd=fsd1,operation=write,xfersizes=(64K,30,512K,70),fileio=sequential,fileselect=sequential, threads=5

fwd=fwd2,fsd=fsd2,operation=read,xfersizes=(64K,30,512K,70),fileio=sequential,fileselect=sequential, threads=5


rd=rd1,fwd=(fwd1,fwd2),fwdrate=max,format=yes,elapsed=120,interval=1


五、风险提示

六、关键字

Vdbench,aborting,thread blocks。


 知识评论当前评论数0

 推荐知识


 访问权限

创建人 程辉
文档编辑权限 创建者私有
文档阅读权限 来自分类
分类阅读权限 所有人
分类编辑权限 技术服务部  : 机构     渠道合作伙伴  : 机构     系统管理员 : 人员     
分类审核权限 审核小组  : 岗位    
分类预览权限 审核小组 : 岗位    
分类下载权限 技术服务部  : 机构    
 历史版本

修改日期 修改人 备注
2018-07-20 11:51:17[当前版本] 程辉 CREAT

 目录
    宏杉案例知识库-V4.0.1