Jiri Wiesner: Measuring latency with ftrace

Опубликовано: 10 Июнь 2024
на канале: SUSE Labs
125
5

Latency is a metric indispensable for assessing performance. There are various approaches suitable for measuring latency that compute latency values in the kernel: BPF (bcc-tools, bpftrace), systemtap or custom debugging modules. At times, it may be necessary to use only ftrace because none of the other tools are available (e.g. on production servers with strict policies). Histogram triggers and synthetic events can be leveraged to compute latency in the kernel in situations when capturing a full trace is not workable. The approaches to measuring the time spent in functions and measuring scheduling latency will be discussed. Synthetic events open new ways of utilizing the snapshot trigger, which is a means to capture a full trace after an event of interest has occurred. This is an introductory talk.


Смотрите видео Jiri Wiesner: Measuring latency with ftrace онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь SUSE Labs 10 Июнь 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 125 раз и оно понравилось 5 людям.