Re: [RFC - V2] - Mapping ACPI tables as CACHED

From: Jack Steiner
Date: Wed Dec 08 2010 - 22:50:34 EST


On Wed, Dec 08, 2010 at 05:27:39PM -0800, H. Peter Anvin wrote:
> On 12/08/2010 01:22 PM, Jack Steiner wrote:
> >
> > This patch substantially reduces the time to run ACPIDUMP on a large system:
> > 527 seconds without the patch
> > 8 seconds with the patch
> >
>
> This is probably the worst possible motivation you can give here.
> Bootup time is much more of an issue.
>
> However, this really needs Len's ack.

Sorry - should have included more info from the original posting.
The boot time speedup is the most critical. From the original mail:

...
The following experimental patch changes the kernel mapping for ACPI tables
to CACHED. This eliminates the page attibute conflict & allows users to map
the tables CACHEABLE. This significantly speeds up boot:

38 minutes without the patch
27 minutes with the patch
~30% improvement
...

(Since the original posting, we've made additional reductions in
boot times. The absolute improvement from this patch is still the same
but the percentage improvement is now larger).


This is on a large SGI system. Boot time is reduced on smaller systems
but obviously the improvement is much less.

See the original mail for more details.

Len - the original patch had the cached/uncached mapping controlled by a
platform attribute (I'm paranoid). However, the community concensus was
that cached mappings were safe for all platforms.





--- jack
--
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/