Re: [PATCH] Mantaining turnstile aligned to 128 bytes in i386 CPUs
- From: John Baldwin <jhb@xxxxxxxxxxx>
- Date: Tue, 16 Jan 2007 18:06:26 -0500
On Tuesday 16 January 2007 17:54, Attilio Rao wrote:
2007/1/16, Ivan Voras <ivoras@xxxxxx>:benefit.
Kip Macy wrote:
x86 pre-P4 had 32-byte cache lines. Thus older processors will not
But it does seem to hurt the performance a bit - maybe it's time to add
another CPU option like I586_CPU and I686_CPU?
Well, it is my feeling that probabilly the align_cache parameter
should be a run-time settled parameter (in particular for ia32 CPUs
which changed a lot along the years).
Yes. I think UMA_ALIGN_CACHE should be a magic cookie value and that
the MD code should provide a cache line size to uma(4) during bootup,
and I think you can probably just axe UMA_ALIGN_SYNC and use UMA_ALIGN_CACHE
for the turnstile and sleep queue zones.
--
John Baldwin
_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"
- References:
- Re: [PATCH] Mantaining turnstile aligned to 128 bytes in i386 CPUs
- From: Attilio Rao
- Re: [PATCH] Mantaining turnstile aligned to 128 bytes in i386 CPUs
- Prev by Date: Re: [PATCH] Mantaining turnstile aligned to 128 bytes in i386 CPUs
- Next by Date: Re: [PATCH] Mantaining turnstile aligned to 128 bytes in i386 CPUs
- Previous by thread: Re: [PATCH] Mantaining turnstile aligned to 128 bytes in i386 CPUs
- Next by thread: Re: [PATCH] Mantaining turnstile aligned to 128 bytes in i386 CPUs
- Index(es):
Relevant Pages
|
|