Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confusion with 'highest' and 'lowest' in hierarchy.md. #160

Open
iago-lito opened this issue Aug 16, 2022 · 0 comments
Open

Confusion with 'highest' and 'lowest' in hierarchy.md. #160

iago-lito opened this issue Aug 16, 2022 · 0 comments

Comments

@iago-lito
Copy link
Contributor

In this section, "higher" seem to mean "closest from CPU". As suggested by the pyramid picture and sentences like:

Modern CPUs have multiple layers of cache (L1, L2, often L3, and rarely even L4). The lowest layer is shared between cores and is usually scaled with their number (e.g., a 10-core CPU should have around 10M of L3 cache).

However, this logic seems to be reverted in the following?

When accessed, the contents of a cache line are emplaced onto the lowest cache layer and then gradually evicted to higher levels unless accessed again in time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant