From 4b4e3bc071120f4e25eae92244266567ec69c4fc Mon Sep 17 00:00:00 2001 From: Alice Date: Wed, 27 Sep 2023 11:41:52 +0100 Subject: [PATCH] vault backup: 2023-09-27 11:41:52 --- 4a1s/CP/PL - Aula 3.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/4a1s/CP/PL - Aula 3.md b/4a1s/CP/PL - Aula 3.md index a24ad11..49c44cf 100644 --- a/4a1s/CP/PL - Aula 3.md +++ b/4a1s/CP/PL - Aula 3.md @@ -6,7 +6,16 @@ Logically following the multiplication process of matrices, C and A have spacial ### b) cache size = 25600 KB cache line/alignment= 64 B +double -> 8 -n² misses +(64/8) = 8 elements +**Estimation of misses:** +- matrix C: n² / 8 +- matrix A: n² + + +>[!info]- Commands ran +>nano /proc/cpuinfo +>srun --partition=cpar perf cat /proc/cpuinfo ### c)