slow boot with 7fef431be9c9 ("mm/page_alloc: place pages to tail in __free_pages_core()")

Liang, Liang (Leo) Liang.Liang at amd.com
Tue Mar 16 08:43:12 UTC 2021


[AMD Public Use]

Hi David,

Thanks for your explanation. We saw slow boot issue on our farm/QA's machines and mine. All of machines are same SoC/board.

BRs,
Leo
-----Original Message-----
From: David Hildenbrand <david at redhat.com> 
Sent: Tuesday, March 16, 2021 4:38 PM
To: Liang, Liang (Leo) <Liang.Liang at amd.com>; Mike Rapoport <rppt at linux.ibm.com>
Cc: Deucher, Alexander <Alexander.Deucher at amd.com>; linux-kernel at vger.kernel.org; amd-gfx list <amd-gfx at lists.freedesktop.org>; Andrew Morton <akpm at linux-foundation.org>; Huang, Ray <Ray.Huang at amd.com>; Koenig, Christian <Christian.Koenig at amd.com>; Rafael J. Wysocki <rafael at kernel.org>; George Kennedy <george.kennedy at oracle.com>
Subject: Re: slow boot with 7fef431be9c9 ("mm/page_alloc: place pages to tail in __free_pages_core()")

On 16.03.21 09:00, Liang, Liang (Leo) wrote:
> [AMD Public Use]
> 
> Hi Mike,
> 
> Thanks for help. The patch works for me and boot time back to normal. So it's a fix, or just WA?

Hi Leo,

excluding up to 16 MiB of memory on every system just because that single platform is weird is not acceptable.

I think we have to figure out

a) why that memory is so special. This is weird.
b) why the platform doesn't indicate it in a special way. Why is it ordinary system RAM but still *that* slow?
c) how we can reliably identify such memory and exclude it.

I'll have a peek at the memory layout of that machine from boot logs next to figure out if we can answer any of these questions.

Just to verify: this does happen on multiple machines, not just a single one? (i.e., we're not dealing with faulty RAM)

--
Thanks,

David / dhildenb


More information about the amd-gfx mailing list