Re: [PATCH] Stackgap
From: Julian Elischer (julian_at_elischer.org)
Date: 05/31/05
- Previous message: Dag-Erling Smørgrav: "Re: [CFR] correct type of addrinfo.ai_addrlen and netent.n_net"
- In reply to: Robert Watson: "Re: [PATCH] Stackgap"
- Next in thread: Robert Watson: "Re: [PATCH] Stackgap"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 31 May 2005 10:15:40 -0700 To: Robert Watson <ratson@freebsd.org>
Stack gap can actually improve performance in some cases..
the cache for the base of teh stack can become overly flushed by the
fact that all stacks start with the same offset
from the page. making this random can actually help this.
Robert Watson wrote:
>
> On Fri, 27 May 2005, Suleiman Souhlal wrote:
>
> In the past, substantial performance hits have been measured due to
> poor stack alignment. Specifically, in combination with less optimal
> compiler behavior, the results have been pretty nasty. Have you tried
> micro-benchmarking a series of runs with this stack offset randomness
> using floating point on stack arguments to see if there's a measurable
> cost to moving the stack around? Hopefull if all is well, there will
> be little or no difference, but a small error here could result in a
> substantial performance hit...
Stack gap can actually improve performance in some cases..
the cache for the base of teh stack can become overly flushed by the
fact that all stacks
start with the same offset from the page. making this random can
actually help this.
>
>
> Robert N M Watson
> _______________________________________________
> freebsd-arch@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arch
> To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
_______________________________________________
freebsd-arch@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Dag-Erling Smørgrav: "Re: [CFR] correct type of addrinfo.ai_addrlen and netent.n_net"
- In reply to: Robert Watson: "Re: [PATCH] Stackgap"
- Next in thread: Robert Watson: "Re: [PATCH] Stackgap"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|