[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <858068da-0b2c-36f0-3ac0-9d223863ea28@kernel.org>
Date: Sat, 4 Dec 2021 15:16:31 +0100
From: Daniel Bristot de Oliveira <bristot@...nel.org>
To: Tao Zhou <tao.zhou@...ux.dev>
Cc: Steven Rostedt <rostedt@...dmis.org>,
Ingo Molnar <mingo@...hat.com>,
Tom Zanussi <zanussi@...nel.org>,
Masami Hiramatsu <mhiramat@...nel.org>,
Juri Lelli <juri.lelli@...hat.com>,
Clark Williams <williams@...hat.com>,
John Kacur <jkacur@...hat.com>,
Peter Zijlstra <peterz@...radead.org>,
Thomas Gleixner <tglx@...utronix.de>,
Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
linux-rt-users@...r.kernel.org, linux-trace-devel@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH V8 00/14] RTLA: An interface for osnoise/timerlat tracers
On 12/4/21 14:25, Tao Zhou wrote:
> On Mon, Nov 29, 2021 at 12:07:38PM +0100, Daniel Bristot de Oliveira wrote:
>
>> The rtla(1) is a meta-tool that includes a set of commands that
>> aims to analyze the real-time properties of Linux. But instead of
>> testing Linux as a black box, rtla leverages kernel tracing
>> capabilities to provide precise information about the properties
>> and root causes of unexpected results.
>>
>> To start, it presents an interface to the osnoise and timerlat tracers.
>> In the future, it will also serve as home to the rtsl [1] and other
>> latency/noise tracers.
>>
>> If you just want to run it, you can download the tarball here:
>> - https://bristot.me/files/rtla/tarball/rtla-0.4.tar.bz2
>>
>> To compile rtla on fedora you need:
>> $ git clone git://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git
>> $ cd libtraceevent/
>> $ make
>> $ sudo make install
>> $ cd ..
>> $ git clone git://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git
>> $ cd libtracefs/
>> $ make
>> $ sudo make install
>> $ cd ..
>> $ sudo dnf install python3-docutils procps-devel
>> $ cd $rtla_src
>> $ make
>> $ sudo make install
>
> Set osnoise/x to DEADLINE, the return is not success. see:
>
> tao@geo ~/opensource/rtla-0.4 $ sudo rtla osnoise top -P d:100us:1ms -c 0-3 -r 900000 -d 1M -q
> boost_with_deadline failed to boost pid 4766: Operation not permitted
> Failed to set sched parameters
Did you disable the admission control?
e.g.,
$ sudo sysctl -w kernel.sched_rt_runtime_us=-1
-- Daniel
Powered by blists - more mailing lists