Re: Slowdown with randomize_va_space in 2.6.12.2

From: Andrew Morton
Date: Wed Jul 06 2005 - 20:16:19 EST


Dave Jones <davej@xxxxxxxxxx> wrote:
>
> On Wed, Jul 06, 2005 at 12:57:19PM -0700, David S. Miller wrote:
> > From: Paulo Marques <pmarques@xxxxxxxxxxxx>
> > Date: Wed, 06 Jul 2005 15:23:56 +0100
> >
> > > What is weird is that most of the extra time is being accounted as
> > > user-space time, but the user-space application is exactly the same in
> > > both runs, only the "randomize_va_space" parameter changed.
> >
> > It might be attributable to more cpu cache misses in userspace since
> > the virtual addresses of everything are changing each and every
> > invocation.
>
> On Transmeta CPUs that probably triggers a retranslation of
> x86->native bytecode, if it thinks it hasn't seen code at that
> address before.
>

ouch. What do we do? Default to off? Default to off on xmeta?
-
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/