lkml.org 
[lkml]   [2021]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH V8 00/14] RTLA: An interface for osnoise/timerlat tracers
From
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

\
 
 \ /
  Last update: 2021-12-04 15:16    [W:0.565 / U:0.840 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site