Conversation

Jarkko Sakkinen

I got already boot time back down to 8.7s which is only 1.7s more given the encryption overhead but I think we can do better:

https://lore.kernel.org/linux-integrity/D4DICMSZJXCG.8X4SU03FPJ4X@kernel.org/

I noticed a lot of round trips to TPM with small requests of random data by hwrng.

So next thing I'm gonna do to improve performance is to create a fixed size chip pool for random and fill that and serve most of random data requests by fetching from internal pool.

This could have a small effect on improving the boot time but further this should factor out radically the amount of wait states caused by TPM after the boot while system is running :-)

Uh oh, now I really need to get off to the gym! Got stuck in LKML.

#linux #kernel
0
1
4