自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(15)
  • 收藏
  • 关注

原创 fio server client模式配置

#所有server端写进配置文件:[root@nfs90 ~]# cat hostlist 192.168.12.90192.168.12.91192.168.12.92192.168.12.93192.168.12.94192.168.12.95192.168.12.96192.168.12.98#并启动fio --server --daemonize=/tmp/pidfile 守护进程#配置jobfile如下,参数directory执行目录是,多客户端会自动生成不同名称的测试文件.

2021-04-15 17:05:51 1922

转载 Shell中将分隔符的字符串转为数组的几种方法

要将字符串列表转变为数组,只需要在前面加(),所以关键是将分隔符转变为空格分隔,常用有下面几种方法 方法一: 借助于{str//,/}来处理 [root@host ~]# str="ONE,TWO,THREE,FOUR" [root@host ~]# arr=(${str//,/}) [root@host ~]# echo ${arr[@]} ONE TWO THREE FOUR 方法二: 借助于tr命令来处理 [root@host ~]# s...

2020-09-27 15:20:21 1046

转载 shell数组中元素含有空格处理

array=("I am Chinese" "Good")for item in "${array[@]}"; do echo $itemdonefor (( i = 0; i < ${#array[@]}; i++ )); do echo ${array[$i]}donehttps://www.jianshu.com/p/59579682ab14

2020-09-17 16:52:06 3096

转载 ior 测试工具使用说明

http://wiki.lustre.org/IOR#Commonly_Used_Options

2020-09-02 11:12:10 1692

原创 how to install IOR IO Benchmark

[15:17:17 root@host4 cy]# git clone https://github.com/hpc/ior.gitCloning into 'ior'...remote: Enumerating objects: 75, done.remote: Counting objects: 100% (75/75), done.remote: Compressing objects: 100% (49/49), done.remote: Total 3517 (delta 39), re

2020-08-28 15:34:40 1464

翻译 High memory usage with small database

Etcd 3.4.3. Very small (about 8 keys, probably just a few KB) database used for Traefik, reproducible both on single-node test cluster and in our production (3 nodes) cluster. Upon startup, memory (RSS) immediately balloons to about 6GB (!), despit...

2020-08-28 15:11:01 333

原创 make: DLinux: Command not found

[15:00:09 root@host4 mdtest]# makeDLinux -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D__USE_LARGEFILE64=1 -g -o mdtest mdtest.c -lmmake: DLinux: Command not foundmake: [mdtest] Error 127 (ignored)

2020-08-28 15:01:18 436 1

原创 XFS (bcache0): Internal error XFS_WANT_CORRUPTED_GOTO at line 1166 of file fs/xfs/libxfs/xfs_ialloc.

2020-08-21 14:57:46 506 1

原创 pytest + ddt 使用方法

最近看到了ddt数据驱动很是牛逼,但是貌似不能和pytest集合,代码都是用pytest框架写的,悲剧了。from ddt import ddt, data, file_data@ddtclass TestFooTest(): @file_data('test_create_file.yaml') def test_two(self, value): print(value)执行的话就报错了,只能是类集成了unitest才能成功。或者谁有解...

2020-08-06 17:42:53 2974 2

原创 fio verify数据校验失败

fio3.7使用verify校验失败,使用本地文件系统也是失败,不知道那块配置的问题,感觉是参数冲突引起的。--ioengine=psync \--directory=$dirs \--name=test \--bs=4K \--sync=$sync \--numjobs=$numjobs \--size=100M \--nrfiles=1--eta-newline=1 \--eta-interval=1 \--rw_sequencer=sequential \--rw=$rw \

2020-08-05 17:01:41 5919 2

原创 python 函数中超长行处理,

python 函数里超长行写法只有这个尿性吗?谁有更好的办法,必须要跟首行对比,这样的写法太丑了。如果缩进太多话,就成酱紫了。

2020-08-04 16:11:53 170

原创 vdbench 测试长时间无io数据,也TM没报错不知道为毛。

2020-07-31 09:39:50 420 1

原创 shell sed非贪婪模式字符区间匹配

这里写自定义目录标题欢迎使用Markdown编辑器新的改变功能快捷键合理的创建标题,有助于目录的生成如何改变文本的样式插入链接与图片如何插入一段漂亮的代码片生成一个适合你的列表创建一个表格设定内容居中、居左、居右SmartyPants创建一个自定义列表如何创建一个注脚注释也是必不可少的KaTeX数学公式新的甘特图功能,丰富你的文章UML 图表FLowchart流程图导出与导入导出导入sed 费贪模式匹配:字符串fsd=fsd1,anchor=test,depth=4,width=4,files=500

2020-07-24 17:46:32 1458

原创 python unittest makesuite用例组织

#coding=utf-8#测试用例组件import unittestimport sys,timeimport HTMLTestRunner#导入测试用例组sys.path.append("test_case/")from test_case import *#用例数组,添加用例alltestnames=[    domain_set.Domain_set,    check_license.L...

2018-05-25 10:16:01 1690

原创 3.10.0-514.10.2.el7.x86_64 Dec 23 18:14:19 site1 kernel: pcieport 0000:80:02.0: PCIe Bus Error:

Dec 23 18:14:19 site1 kernel: pcieport 0000:80:02.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=8010(Receiver ID)Dec 23 18:14:19 site1 kernel: pcieport 0000:80:02.0:   device [8086:

2017-12-23 18:27:54 1808 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除