Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jun 2000 10:17:52 -0700 (PDT)
From:      John Polstra <jdp@polstra.com>
To:        tpnelson@echidna.stu.cowan.edu.au
Cc:        alpha@freebsd.org
Subject:   Re: Cache line size for the Alpha
Message-ID:  <200006301717.KAA25927@vashon.polstra.com>
In-Reply-To: <395B0487.9D94D2A8@student.cowan.edu.au>
References:  <XFMail.000628213509.jdp@polstra.com> <395A0EE8.28E6C524@student.cowan.edu.au> <200006291628.JAA23243@vashon.polstra.com> <395B0487.9D94D2A8@student.cowan.edu.au>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <395B0487.9D94D2A8@student.cowan.edu.au>,
Trent Nelson  <tpnelson@echidna.stu.cowan.edu.au> wrote:
> 
>     From the Alpha Architecture Handbook, v4.0, Appendix A.3:
> 
>         "Software locks are aligned quadwords and should be allocated
>          to large cache blocks that either contain no other data or
>          read-mostly data whose usage is correlated with the lock."
>                                                 [Pg. 279-280]

Thanks -- that settles the issue.

>       From what I've read, I think the biggest performance
> consideration is the locality of the resource in contention. For
> high contention locks, it seems desirable to ensure that the
> spinlock code and the resource in contention are placed on separate
> 128-byte cache block boundaries.

The 128-byte figure confuses me.  I thought the biggest cache line
size you mentioned before was 64 bytes.  Is a cache "block" different
from a cache line?

John
-- 
  John Polstra                                               jdp@polstra.com
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Disappointment is a good sign of basic intelligence."  -- Chögyam Trungpa



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006301717.KAA25927>