[LTP] [PATCH] read_all: limit sysfs tpm entries to single worker

Li Wang liwan@redhat.com
Tue Oct 22 15:04:56 CEST 2024


On Tue, Oct 22, 2024 at 5:45 PM Jan Stancek <jstancek@redhat.com> wrote:

> Repeated reads from TPM entries (tcg_operations, vs_operations,
> caps,..) are causing big delays with 3 or more repetitions,
> which has signs of some kind of rate-limitting on firmware side.
>
> This patch introduces a new kind of blacklist, which doesn't
> completely skips the entry, but assigns it to only single
> worker.
>

Did you test that a single worker is faster enough with the
default '.max_runtime = 100' on those kind of systems?

If that's still timeout on the rate-limited files, what should we do (move
to blacklist)?

Anyway, the patch itself looks good to me.
Reviewed-by: Li Wang <liwang@redhat.com>


More information about the ltp mailing list