Re: [PATCH] mm: meminit: Finish initialisation of struct pages before basic setup

From: Daniel J Blueman
Date: Mon Jul 06 2015 - 13:46:08 EST


Hi Nate,

On Wed, Jun 24, 2015 at 11:50 PM, Nathan Zimmer <nzimmer@xxxxxxx> wrote:
My apologies for taking so long to get back to this.

I think I did locate two potential sources of slowdown.
One is the set_cpus_allowed_ptr as I have noted previously.
However I only notice that on the very largest boxes.
I did cobble together a patch that seems to help.

The other spot I suspect is the zone lock in free_one_page.
I haven't been able to give that much thought as of yet though.

Daniel do you mind seeing if the attached patch helps out?

Just got back from travel, so apologies for the delays.

The patch doesn't mitigate the increasing initialisation time; summing the per-node times for an accurate measure, there was a total of 171.48s before the patch and 175.23s after. I double-checked and got similar data.

Thanks,
Daniel

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/