Re: [PATCH] Mantaining turnstile aligned to 128 bytes in i386 CPUs



On Tuesday 16 January 2007 17:54, Attilio Rao wrote:
2007/1/16, Ivan Voras <ivoras@xxxxxx>:
Kip Macy wrote:
x86 pre-P4 had 32-byte cache lines. Thus older processors will not
benefit.

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"



Relevant Pages

  • Re: Tech update- changed roms CPU boots but game resets
    ... It doesn't hurt to look over the cpu for loose ... any that are socketed be sure the legs aren't tarnished. ... so I would lay initial suspicion on the CPU board. ...
    (rec.games.pinball)
  • Re: How to lower priority of a process
    ... If the CPU is heating up too much, ... fans in the system. ... A better cooling plan would never hurt and will always ...
    (microsoft.public.windowsxp.general)
  • Re: Performance 5450 vs 2210
    ... 400MHz so I thought they might have the same processor built in. ... > even old devices with StrongARM 206MHz CPU have better performance. ... But the battery life will hurt then. ...
    (microsoft.public.pocketpc)
  • Re: Performance 5450 vs 2210
    ... even old devices with StrongARM 206MHz CPU have better performance. ... But the battery life will hurt then. ... -- .: Jakub Kanczugowski ...
    (microsoft.public.pocketpc)