74 Star 357 Fork 215

GVPopenEuler / A-Tune

 / 详情

benchmark运行结果中如果有性能指标为0,则会出现调优中断

已完成
缺陷
创建于  
2021-04-02 21:00

【问题复现步骤】
在执行对coremail进行调优是,client配置如下:

project: "coremail"
engine : "gbrt"
iterations : 20
random_starts : 5

benchmark : "sh /home/coremail.sh"
evaluations :
  -
    name: "throughput"
    info:
        get: "echo '$out' | grep 'throughput' | awk '{print $3}' | awk -F',' '{print $1}'"
        type: "negative"
        weight: 98
  -
    name: "pct1ResTime"
    info:
        get: "echo '$out' | grep 'pct1ResTime' | awk '{print $3}' | awk -F',' '{print $1}'"
        type: "positive"
        threshold: 3000
        weight: 1
  -
    name: "errorPct"
    info:
        get: "echo '$out' | grep 'errorPct' | awk '{print $3}' | awk -F',' '{print $1}'`"
        type: "positive"
        threshold: 5
        weight: 1

当结果中errorPct的值为0.0,并且调优后的结果也为0.0时,调优会中断。

输入图片说明

评论 (3)

huangduirong 创建了缺陷
huangduirong 关联仓库设置为openEuler/A-Tune
展开全部操作日志

Hey huangduirong, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.

初步怀疑可能是由于进行优化效果比例计算的时候,未考虑值为0的场景,需要进一步分析下代码。

gaoruoshu 任务状态待办的 修改为已挂起

该问题已添加至TODO中,暂时关闭issue,后续投入时再次开启。

gaoruoshu 任务状态已挂起 修改为已完成

登录 后才可以发表评论

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

搜索帮助