性能维护

参考:https://wangchujiang.com/reference/docs/sysdig.html

1,top查看
top看不出来什么问题。wa或者sy si,单进程负载都无法衡量具体方向。us还算高分析具体的程序cpu耗时可能是个方向。

2,观察系统调用时间分析系统调用消耗
sysdig -c topscalls_time 此处无办法。futex太多,poll太频繁。

3,分析程序耗时
sysdig -c proc_exec_time


fio --name=randrw1 --ioengine=libaio --direct=1 --bs=16k --size=20G --rw=randwrite --gtod_reduce=1 -iodepth=120
iostat -dx 1
监控 https://doris.qianxin-inc.cn/api/v1/doris/charts?id=11485018&graph_type=h



io依据
disk.io.avgrq_sz:平均请求扇区的大小以扇区(512字节)为单位

disk.io.avgqu-sz:是平均请求队列的长度

并发依据
连接数 2000-3000

client rang 10000
put 2000-3000
leasa 100-200

浙公网安备 33010602011771号