86 Star 464 Fork 271

GVPopenEuler / iSulad

 / 详情

增加系统调用执行的超时统计

已完成
需求
创建于  
2022-10-11 16:07

【特性描述】
在定位创建删除容器等操作比较慢的问题时,最先需要确定的是该操作慢是否是由于isulad自身的bug导致的,目前没有效的手段可以直接从日志中加以判断。是否可以在创建删除容器,以及加载镜像的一些关键点,例如mount/umount操作/读写配置操作之类的关键系统调用,增加简单的超时计算,当耗费的时间超过预期时间比较多的情况下,就打印异常耗时日志,方便直接定界是否isulad自身问题还是由于系统环境的性能异常导致的操作慢。例如mount正常情况下可能只需要0.02秒,当一个mount系统调用耗时达到了1秒,则可以认为环境出现了异常,可以打印出实际的耗时时间。

【特性竞争力】
增加维测能力,直接定界isulad自身问题还是环境问题。

【硬件架构】
NoArch

【特性约束】
NA

【涉及仓库】
isulad的master分支以及stable分支

【交付个人/团队】

评论 (3)

wangfengtu 创建了需求

Hi wangfengtu, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: iSulad, and any of the maintainers: @haomintsai , @lifeng_isula , @haozi007 , @jingxiaolu , @JingWoo

openeuler-ci-bot 添加了
 
sig/iSulad
标签

加入路标,issue暂时关闭

openeuler-ci-bot 任务状态新建 修改为已完成

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(4)
5329419 openeuler ci bot 1632792936 5595769 duguhaotian 1605235330
C
1
https://gitee.com/openeuler/iSulad.git
git@gitee.com:openeuler/iSulad.git
openeuler
iSulad
iSulad

搜索帮助

14c37bed 8189591 565d56ea 8189591