vault backup: 2023-09-27 12:21:52
This commit is contained in:
parent
1b0d5da2f0
commit
b57bc5857c
1 changed files with 24 additions and 8 deletions
|
@ -27,15 +27,31 @@ double -> 8
|
||||||
|
|
||||||
### d)
|
### d)
|
||||||
|
|
||||||
| N | Version | Time | CPI | \#I| L1_DMiss (estimated) | L1_DMiss | |
|
| N | Version | Time | CPI | \#I| L1_DMiss (estimated) | L1_DMiss | Miss/\#I |
|
||||||
| --------- | --- | --- | -------- | ----------- | ---------- | -------------- | ---------- | ------ | ------ |
|
| --------- | --- | --- | -------- | ----------- | ---------- | -------------- | ---------- |
|
||||||
| 512 | base() | | 1 | 0 | 1 | 1 | 0 | 0 | 1 |
|
| 512 | base() | | 1 | 0 | 1 | 1 | 0 |
|
||||||
| 512 | transp() | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 1 |
|
| 512 | transp() | 0 | 1 | 0 | 0 | 1 | 1 |
|
||||||
|
|
||||||
512x512x8 = 2 MB
|
512x512x8 = 2 MB
|
||||||
512x8 = 4KB
|
512x8 = 4KB
|
||||||
|
|
||||||
Impacto (n=512):
|
**Base: (n=512):**
|
||||||
- C -> n² / 8 = 32
|
- C -> n² / 8 = 262144
|
||||||
- A -> n² / 8
|
- A -> n³ / 8 = 16777216
|
||||||
- B -> n³ ( 8)
|
- 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
|
Loading…
Reference in a new issue