vault backup: 2023-09-27 12:21:52

This commit is contained in:
Alice 2023-09-27 12:21:53 +01:00
parent 1b0d5da2f0
commit b57bc5857c

View file

@ -27,15 +27,31 @@ double -> 8
### d)
| N | Version | Time | CPI | \#I| L1_DMiss (estimated) | L1_DMiss | |
| --------- | --- | --- | -------- | ----------- | ---------- | -------------- | ---------- | ------ | ------ |
| 512 | base() | | 1 | 0 | 1 | 1 | 0 | 0 | 1 |
| 512 | transp() | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 1 |
| N | Version | Time | CPI | \#I| L1_DMiss (estimated) | L1_DMiss | Miss/\#I |
| --------- | --- | --- | -------- | ----------- | ---------- | -------------- | ---------- |
| 512 | base() | | 1 | 0 | 1 | 1 | 0 |
| 512 | transp() | 0 | 1 | 0 | 0 | 1 | 1 |
512x512x8 = 2 MB
512x8 = 4KB
Impacto (n=512):
- C -> n² / 8 = 32
- A -> n² / 8
- B -> n³ ( 8)
**Base: (n=512):**
- C -> n² / 8 = 262144
- A -> n³ / 8 = 16777216
- B -> n³ ( 8) = 16777216
- Total =
**Transp: Impacto (n=512):**
- C -> n² / 8 = 262144
- A -> n² / 8 = 262144
- B -> n³ ( 8) = 16777216
- Total = 17072128
>[!note]- Commands run
>srun --partition=cpar perf stat -e L1-dcache-load-misses -M cpi ./b.out
### e)
### f)
## Ex. 2