Re: [RFC PATCH v3 0/7] Speed booting by sorting ORC unwind tables at build time

From: Shile Zhang
Date: Fri Nov 15 2019 - 03:25:00 EST




On 2019/11/15 15:25, Ingo Molnar wrote:
* Shile Zhang <shile.zhang@xxxxxxxxxxxxxxxxx> wrote:

Hi,

I refactored the sortextable code and add ORC unwind tables sort
support, for kernel boot speedup by sorting kernel tables at build time
as much as possible.

Followed Peter's suggestion, I put ORC tables sort into a separated
thread makes these tables sort concurrently. That helps to avoid
kernel's link time as possible.
Could you please also measure how much boot time this saves,
approximately, and how long it takes to do it at build time?

Thanks for your review!

I've tested on 2vcpu16GB VM (with 2.5GHz Xeon CPU), it can saves near 90ms.
And the new sorttable tool costs about 0.074s to do extable and orc tables sort,
on host with same CPU.

Thanks,

Ingo