lkml.org 
[lkml]   [2024]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RFC 0/4] perf sched: Introduce schedstat tool
From
>> TODO:
>> - This RFC series supports v15 layout of /proc/schedstat but v16 layout
>> is already being pushed upstream. We are planning to include v16 as
>> well in the next revision.
>> - Currently schedstat tool provides statistics of only one run but we
>> are planning to add `perf sched schedstat diff` which can compare
>> the data of two different runs (possibly good and bad) and highlight
>> where scheduler decisions are impacting workload performance.
>> - perf sched schedstat records /proc/schedstat which is a cpu and domain
>> level scheduler statistic. We are planning to add taskstat tool which
>> reads task stats from procfs and generate scheduler statistic report
>> at task granularity. this will probably a standalone tool, something
>> like `perf sched taskstat record/report`.
>> - /proc/schedstat shows cpumask in domain line to indicate a group of
>> cpus that belong to the domain. Since we are not using domain<->cpumask
>> data anywhere, we are not capturing it as part of perf sample. But we
>> are planning to include it in the next revision.
>> - We have tested the patch only on AMD machines, not on other platforms.
>
> This is great! Is it possible to add some basic shell script testing:
> https://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools-next.git/tree/tools/perf/tests/shell?h=perf-tools-next
> for the sake of coverage, other platform testing, etc. ?

Sure, I will think about adding some simple tests.

Thanks,
Ravi

\
 
 \ /
  Last update: 2024-05-09 07:09    [W:0.114 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site