399 Star 1.4K Fork 1.3K

GVPopenEuler / kernel

 / 详情

【OLK-6.6】【perf】bugfix for perf

已完成
任务
创建于  
2024-03-07 16:16

This series mainly fix and optimize the several usage of the driver:

  • Add more events to complement the TLP bandwidth counting
  • Fix the wrong counting on using the event group
  • Properly check the target filter to avoid invalid filter value
  • Optimize the handling of related events which are not in an event group
  • Update the docs
  • Enable HiSilicon Erratum 162700402 quirk for HIP09

评论 (3)

夏兵 创建了任务

Hi xia-bing1, 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: Kernel, and any of the maintainers.

openeuler-ci-bot 添加了
 
sig/Kernel
标签
夏兵 修改了描述

[root@localhost ~]# perf stat -a -e hisi_pcie0_core1/event=0x104,port=0x1/ -e hisi_pcie0_core1/event=0x804,port=0x1/ -e hisi_pcie0_core1/event=0x2004,port=0x1/ -e hisi_pcie0_core1/event=0x105,port=0x1/ -e hisi_pcie0_core1/event=0x405,port=0x1/ -e hisi_pcie0_core1/event=0x1005,port=0x1/ iperf3 -c 192.168.101.110 -p 5050
Connecting to host 192.168.101.110, port 5050
[ 5] local 192.168.101.82 port 58500 connected to 192.168.101.110 port 5050
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 116 MBytes 969 Mbits/sec 45 882 KBytes
[ 5] 1.00-2.00 sec 112 MBytes 941 Mbits/sec 0 970 KBytes
[ 5] 2.00-3.00 sec 112 MBytes 941 Mbits/sec 0 1.03 MBytes
[ 5] 3.00-4.00 sec 112 MBytes 944 Mbits/sec 32 826 KBytes
[ 5] 4.00-5.00 sec 112 MBytes 941 Mbits/sec 0 925 KBytes
[ 5] 5.00-6.00 sec 112 MBytes 941 Mbits/sec 0 1015 KBytes
[ 5] 6.00-7.00 sec 112 MBytes 942 Mbits/sec 32 779 KBytes
[ 5] 7.00-8.00 sec 112 MBytes 941 Mbits/sec 0 881 KBytes
[ 5] 8.00-9.00 sec 112 MBytes 941 Mbits/sec 0 974 KBytes
[ 5] 9.00-10.00 sec 112 MBytes 940 Mbits/sec 0 1.03 MBytes


[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 1.10 GBytes 944 Mbits/sec 109 sender
[ 5] 0.00-10.01 sec 1.10 GBytes 941 Mbits/sec receiver

iperf Done.

Performance counter stats for 'system wide':

     1,219,561      hisi_pcie0_core1/event=0x104,port=0x1/
    10,775,754      hisi_pcie0_core1/event=0x804,port=0x1/
        12,668      hisi_pcie0_core1/event=0x2004,port=0x1/
       385,392      hisi_pcie0_core1/event=0x105,port=0x1/
        12,668      hisi_pcie0_core1/event=0x405,port=0x1/
   331,135,120      hisi_pcie0_core1/event=0x1005,port=0x1/

  10.027785610 seconds time elapsed

补丁自验符合预期

zhengzengkai 关联分支设置为OLK-6.6
夏兵 通过openeuler/kernel Pull Request !5972任务状态待办的 修改为已完成

登录 后才可以发表评论

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

搜索帮助

53164aa7 5694891 3bd8fe86 5694891