Re: [PATCH] rteval: Allow configuration from stdin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2025-01-13 at 16:34 -0500, John Kacur wrote:
> 
> 
> On Mon, 13 Jan 2025, Gabriele Monaco wrote:
> 
> > Modules can currently be set only via configuration file, if rteval
> > is
> > called from a script run on different systems, the only way to make
> > sure
> > the loaded modules are known is to provide (or generate) a
> > configuration
> > file and pass it via -f/--infile .
> 
> The config files are almost obsolete.
> Everything has a reasonable default, or can be set from the CMI
> The one exception is for the measurement module.
> 
> What would be useful would be a CMI interface to switch from rtla
> timerlat
> to cyclictest.
> 

Mmh, that was actually my first idea, something like --measurement-
modules=timerlat,cyclictest --loads-modules=hackbench
Basically behaving just like the measurement and loads sections in the
config.

I opted for this as it was simpler but if the config file is getting
obsolete, I think you can just ignore the patch.

I could start drafting a patch for the CLI options to specify modules
if they look alright to you.

Another not too different option could be kinda like stress-ng,
specifying the modules just like --cyclictest , --timerlat , --
hackbench , etc.

Both would require a bit of refactoring how we load modules.
I don't have any strong opinion on this, thoughts?

Thanks,
Gabriele






[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux