Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Apr 1999 16:35:05 +0000 (GMT)
From:      eagle <eagle@eagle.phc.igs.net>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        freebsd-current@FreeBSD.ORG, syssgm@detir.qld.gov.au
Subject:   Re: EGCS breaks what(1)
Message-ID:  <Pine.BSF.3.96.990406163433.76265D-100000@eagle.phc.igs.net>
In-Reply-To: <199904060603.QAA18049@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help



On Tue, 6 Apr 1999, Bruce Evans wrote:

> >Alternately, we could jimmy around with the current hack, and prefix it
> >with 4 NULs, and see what happened.  Sorry, I haven't tested this idea, as
> >I've not yet made the EGCS jump.
> 
> egcs aligns long (>= about 28 bytes) strings to 32-byte boundaries.  This
> adds up to 27 NULs to sccsid[] depending on the alignment of sccsidp[].
> 
> Aligning long strings to 32-byte boundaries is a pessimisation in kernels
> (because it makes poor locality poorer), especially on 486's where the
> cache line size is 16.
> 
> Bruce
> 
not aligning data is extremely expensive on PII's

rob



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990406163433.76265D-100000>