Re: [PATCH v2 2/3] rt-tests: cyclictest: Support idle state disabling via libcpupower

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

 



pá 6. 12. 2024 v 12:52 odesílatel Sebastian Andrzej Siewior
<bigeasy@xxxxxxxxxxxxx> napsal:
> What is the default behaviour and what is the intended behaviour?
> Couldn't we somehow avoid adding yet another option?

The default behavior is to hold /dev/cpu_dma_latency at zero, which
disables all idle states on all CPUs, not only those on which
cyclictest measurements are running. This has the disadvantage of a
higher power consumption than needed in most cases. With
--deepest-idle-state, idle states are limited only on CPUs cyclictest
is running on.

There are two reasons why we can't just use the latter and have to
have options for both. Firstly, some hardware does not support
disabling idle states on individual CPUs via the cpuidle sysfs
interface, which is used by --deepest-idle-state. Secondly, latencies
measured with --deepest-idle-state might still be higher in some cases
compared to holding /dev/cpu_dma_latency.

>
> > I suggest deferring this to a future patch that would remove the
> > warnings and another one to refactor the code.
>
> Sebastian
>

Tomas






[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