From 2b24f2ac318465a3e6b97f4a2ee2161ca86c7f7a Mon Sep 17 00:00:00 2001 From: Alice Date: Wed, 27 Sep 2023 11:31:52 +0100 Subject: [PATCH] vault backup: 2023-09-27 11:31:52 --- 4a1s/CP/PL - Aula 3.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/4a1s/CP/PL - Aula 3.md b/4a1s/CP/PL - Aula 3.md index c0b352a..a24ad11 100644 --- a/4a1s/CP/PL - Aula 3.md +++ b/4a1s/CP/PL - Aula 3.md @@ -1,9 +1,12 @@ ## Ex. 1 ### a) -Spacial locality - proximity of memory spaces relative to our reference memory space (?) +Spacial locality -(constant) proximity of memory spaces relative to a reference memory space -Logically following the multiplication process of matrices, C and A have spacial locality (while B does not, due to advancing in columns and not rows). +Logically following the multiplication process of matrices, C and A have spacial locality (while B does not, due to advancing in columns and not rows). Matrix C also has temporal locality. ### b) cache size = 25600 KB -cache alignment= 64 +cache line/alignment= 64 B + +n² misses + ### c)