Re: Cost of handling misaligned access

Liste des GroupesRevenir à c arch 
Sujet : Re: Cost of handling misaligned access
De : already5chosen (at) *nospam* yahoo.com (Michael S)
Groupes : comp.arch
Date : 03. Feb 2025, 15:23:00
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <20250203162300.000071b5@yahoo.com>
References : 1 2 3 4 5
User-Agent : Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-w64-mingw32)
On Mon, 03 Feb 2025 13:49:46 GMT
scott@slp53.sl.home (Scott Lurndal) wrote:

mitchalsup@aol.com (MitchAlsup1) writes:
On Sun, 2 Feb 2025 22:44:13 +0000, Chris M. Thomasson wrote:
 
On 2/2/2025 10:51 AM, MitchAlsup1 wrote: 
On Sun, 2 Feb 2025 16:45:19 +0000, EricP wrote: 
------------- 
I don't think there are line straddle consequences for coherence
because there is no ordering guarantees for misaligned accesses.
 
>
Generally stated as:: Misaligned accesses cannot be considered
ATOMIC. 
>
Try it on an x86/x64. Straddle a l2 cache line and use it with a
LOCK'ed RMW. It should assert the BUS lock. 
>
Consider this approach when you have a cabinet of slid in servers,
each server having 128 cores, the cabinet being cache coherent,
and the cabinet having 4096 cores.
>
Can you say "it donna scale" ?? 
 
We (3Leaf Systems) learned that the hard way 20 years ago.   AMD and
Intel processors will sometimes assert the BUS lock under high
contention for a target cache line, even in cases where the access is
aligned and doesn't straddle a page boundary.
 

According to my understanding, last Intel or AMD processor that had
physical bus lock signal was released in Sep 2008. Likely not many
still left operating and even fewer used in production.



Date Sujet#  Auteur
2 Feb 25 * Re: Cost of handling misaligned access7MitchAlsup1
2 Feb 25 +* Re: Cost of handling misaligned access5Chris M. Thomasson
3 Feb 25 i+* Re: Cost of handling misaligned access3MitchAlsup1
3 Feb 25 ii+- Re: Cost of handling misaligned access1Michael S
4 Feb 25 ii`- Re: Cost of handling misaligned access1Chris M. Thomasson
4 Feb 25 i`- Re: Cost of handling misaligned access1Chris M. Thomasson
3 Feb 25 `- Re: Cost of handling misaligned access1MitchAlsup1

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal