1. 01 12月, 2022 6 次提交
    • O
      !259 cgroup: Support iocost for cgroup v1 · 886a7963
      openeuler-ci-bot 提交于
      Merge Pull Request from: @linan888 
       
      Since iocost can only be used in cgroup v2, add it to v1 now. 
       
      Link:https://gitee.com/openeuler/kernel/pulls/259 
      Reviewed-by: Hou Tao <houtao1@huawei.com> 
      Reviewed-by: Zheng Zengkai <zhengzengkai@huawei.com> 
      Signed-off-by: Zheng Zengkai <zhengzengkai@huawei.com> 
      886a7963
    • O
      !279 sched: programmable: bpf support programmable schedule capacity for scheduler · 9bf0bf6b
      openeuler-ci-bot 提交于
      Merge Pull Request from: @barry19901226 
       
      This patchset support programmable schedule capacity.The main modifications are as follows:
      
      1.support basic infrastructure for scheduler bpf.
      2.support for loading and attaching scheduler bpf programs.
      3.support tag-based programmable schedule capacity.
      4.supprot some basic helper functions.
      5.add a few more hooks in cfs scheduler to check preemption, pick task, enqueue/dequeue task
      and select task rq.
      6.provide the helper functions wrapper in libbpf. 
       
      Link:https://gitee.com/openeuler/kernel/pulls/279 
      Reviewed-by: Zheng Zengkai <zhengzengkai@huawei.com> 
      Signed-off-by: Zheng Zengkai <zhengzengkai@huawei.com> 
      9bf0bf6b
    • L
      cgroup: Support iocost for cgroup v1 · af40a33f
      Li Nan 提交于
      hulk inclusion
      category: feature
      bugzilla: https://gitee.com/openeuler/kernel/issues/I63YN6
      
      ---------------------------
      
      Since iocost can only be used in cgroup v2, add it to v1 now.
      Signed-off-by: NLi Nan <linan122@huawei.com>
      af40a33f
    • O
      !298 Perf tool add Hip09 json support. · a95251b0
      openeuler-ci-bot 提交于
      Merge Pull Request from: @hejunhao3 
       
      Perf tool add Hip09 json support.
      
      ```shell
      perf list will look like this:
      ...
      uncore ddrc:
        act_cnt                                           
             [count of DDRC active commands. Unit: hisi_sccl,ddrc]
        cycles                                            
             [Unit: hisi_sccl,ddrc]
        ddrc_cycles                                       
             [Count of DDRC cycles. Unit: hisi_sccl,ddrc]
        flux_rd                                           
             [DDRC read commands. Unit: hisi_sccl,ddrc]
        flux_wr                                           
             [DDRC write commands. Unit: hisi_sccl,ddrc]
        pre_act                                           
             [count of DDRC pre-active commands. Unit: hisi_sccl,ddrc]
        priority_cmd                                      
             [count of DMC commands with the highest priority. Unit: hisi_sccl,ddrc]
        read_cmd                                          
             [count of DDRC read commands. Unit: hisi_sccl,ddrc]
        read_cmd_occupancy                                
             [count of cycles occupied by the read command in the queue. Unit: hisi_sccl,ddrc]
        write_cmd                                         
             [count of DDRC write commands. Unit: hisi_sccl,ddrc]
      
      uncore sllc:
        cycles                                            
             [Unit: hisi_sccl,sllc]
        rx_data                                           
             [Count of the data received by SLLC. Unit: hisi_sccl,sllc]
        rx_data_sum                                       
             [total cycles SLLC taken to receive data. Unit: hisi_sccl,sllc]
        rx_req                                            
             [Count of the requests received by SLLC. Unit: hisi_sccl,sllc]
        rx_req_sum                                        
             [total cycles SLLC taken to receive requests. Unit: hisi_sccl,sllc]
        sllc_cycles                                       
             [Count of SLLC cycles. Unit: hisi_sccl,sllc]
        tx_data                                           
             [Count of the data transmitted by SLLC. Unit: hisi_sccl,sllc]
        retry_cpu                                         
             [Count of the number of retry that L3C suppresses the CPU operations. Unit: hisi_sccl,l3c]
        retry_ring                                        
             [Count of the number of retry that L3C suppresses the ring operations. Unit: hisi_sccl,l3c]
      ...
      ``` 
       
      Link:https://gitee.com/openeuler/kernel/pulls/298 
      Reviewed-by: Ling Mingqiang <lingmingqiang@huawei.com> 
      Reviewed-by: Zheng Zengkai <zhengzengkai@huawei.com> 
      Signed-off-by: Zheng Zengkai <zhengzengkai@huawei.com> 
      a95251b0
    • O
      !234 AMD: Support perf mem/c2c for AMD Zen platform. · 7abbfd05
      openeuler-ci-bot 提交于
      Merge Pull Request from: @haochengxie 
       
      Description:
        Add the perf mem/c2c feature support for AMD Zen platform.
      
      Test example:
        $ sudo ./perf mem record -- -c 10000
        ^C[ perf record: Woken up 227 times to write data ]
        [ perf record: Captured and wrote 58.760 MB perf.data (836978 samples) ]
      
        $ sudo ./perf mem report -F mem,sample,snoop
        Samples: 836K of event 'ibs_op//', Event count (approx.): 8418762
        Memory access                  Samples  Snoop
        N/A                             700620  N/A
        L1 hit                          126675  N/A
        L2 hit                             424  N/A
        L3 hit                             664  HitM
        L3 hit                              10  N/A
        Local RAM hit                        2  N/A
        Remote RAM (1 hop) hit            8558  N/A
        Remote Cache (1 hop) hit             3  N/A
        Remote Cache (1 hop) hit             2  HitM
        Remote Cache (2 hops) hit            10  HitM
        Remote Cache (2 hops) hit             6  N/A
        Uncached hit                         4  N/A
       
       
      Link:https://gitee.com/openeuler/kernel/pulls/234 
      Reviewed-by: Zheng Zengkai <zhengzengkai@huawei.com> 
      Signed-off-by: Zheng Zengkai <zhengzengkai@huawei.com> 
      7abbfd05
    • O
      !211 AMD: Add EPYC Gen4 PerfMonV2 uncore support · 24776e00
      openeuler-ci-bot 提交于
      Merge Pull Request from: @haochengxie 
       
      Add EPYC Gen4 PerfMonV2 uncore events support.
      
      relate to the issue: https://gitee.com/openeuler/kernel/issues/I5YLE2 
       
      Link:https://gitee.com/openeuler/kernel/pulls/211 
      Reviewed-by: Zheng Zengkai <zhengzengkai@huawei.com> 
      Signed-off-by: Zheng Zengkai <zhengzengkai@huawei.com> 
      24776e00
  2. 30 11月, 2022 34 次提交