1. 01 12月, 2020 7 次提交
  2. 28 11月, 2020 2 次提交
  3. 27 11月, 2020 8 次提交
  4. 26 11月, 2020 4 次提交
  5. 25 11月, 2020 6 次提交
  6. 21 11月, 2020 1 次提交
  7. 20 11月, 2020 1 次提交
    • Y
      bpftool: Add {i,d}tlb_misses support for bpftool profile · 450d060e
      Yonghong Song 提交于
      Commit 47c09d6a("bpftool: Introduce "prog profile" command")
      introduced "bpftool prog profile" command which can be used
      to profile bpf program with metrics like # of instructions,
      
      This patch added support for itlb_misses and dtlb_misses.
      During an internal bpf program performance evaluation,
      I found these two metrics are also very useful. The following
      is an example output:
      
       $ bpftool prog profile id 324 duration 3 cycles itlb_misses
      
                 1885029 run_cnt
              5134686073 cycles
                  306893 itlb_misses
      
       $ bpftool prog profile id 324 duration 3 cycles dtlb_misses
      
                 1827382 run_cnt
              4943593648 cycles
                 5975636 dtlb_misses
      
       $ bpftool prog profile id 324 duration 3 cycles llc_misses
      
                 1836527 run_cnt
              5019612972 cycles
                 4161041 llc_misses
      
      From the above, we can see quite some dtlb misses, 3 dtlb misses
      perf prog run. This might be something worth further investigation.
      Signed-off-by: NYonghong Song <yhs@fb.com>
      Signed-off-by: NDaniel Borkmann <daniel@iogearbox.net>
      Acked-by: NSong Liu <songliubraving@fb.com>
      Link: https://lore.kernel.org/bpf/20201119073039.4060095-1-yhs@fb.com
      450d060e
  8. 19 11月, 2020 5 次提交
  9. 18 11月, 2020 6 次提交