Get the latest tech news
AMD Linux Engineers Introduce New "schedstat" Tool
AMD Linux engineers have introduced a new perf tool called 'schedstat' that aims to be less resource intensive and convenient than the existing 'perf sched' tool for profiling kernel scheduler behavior.
The schedstat tool conveniently reports the time elapsed in jiffies and other CPU scheduling statistics. Unlike `perf sched record`, which hooks onto set of scheduler tracepoints and generates samples on a tracepoint hit, `perf sched schedstat record` takes snapshot of the /proc/schedstat file before and after the workload, i.e. there is zero interference on workload run. AMD's schedstat tool was presented today on the Linux kernel mailing list as part of this patch series seeking comments from other developers on interest and upstreaming this code into the perf tools within the Linux kernel source tree.
Or read this on Phoronix