dm-verity performance improvements
Riz <[email protected]> Thu, 26 Nov 2020 10:53:15 +0530
| Newsgroups | gmane.linux.kernel.device-mapper.dm-crypt |
|---|---|
| Message-ID | <CA+FSg4p_DGzmCciNgUdAUa2GRcDP9HH1VMXcmjirtnxiN7DPpw@mail.gmail.com> |
Hi Team, I am able to get dm-verity working on my i.mx6 board. But I observe that the boot time takes a lot more time than previous. I read in a blog (https://source.android.com/security/verifiedboot/dm-verity) that for dm-verity improvements, we need to 1. Use a better hash algorithm 2. Experiment with different read-ahead and prefetch_cluster settings to find the best configuration for your device For the above two suggestions, I tried... 1. Using the sha256_ARM hash algorithm which improved the performance but still the performance is not upto the mark. 2. How exactly can we acheive this with veritysetup ? Can we do something like this? Also, is there anything else that could be done to improve the dm-verity performance? Regards. _______________________________________________ dm-crypt mailing list [email protected] https://www.saout.de/mailman/listinfo/dm-crypt