https://github.com/mr-won/computer_structure_finalexam
컴퓨터구조 기말고사 정리입니다.
https://github.com/mr-won/computer_structure_finalexam
computer-structure
Last synced: about 2 months ago
JSON representation
컴퓨터구조 기말고사 정리입니다.
- Host: GitHub
- URL: https://github.com/mr-won/computer_structure_finalexam
- Owner: mr-won
- Created: 2023-05-15T13:10:56.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-18T14:08:11.000Z (almost 2 years ago)
- Last Synced: 2025-03-18T02:27:04.180Z (2 months ago)
- Topics: computer-structure
- Homepage:
- Size: 7.31 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Computer_Structure_Finalexam
컴퓨터구조 기말고사 정리입니다.## 기말고사 풀이






[기말고사 정리는 여기서](https://ttl-blog.tistory.com/1096)
[데이터 Harzard Forwarding](https://velog.io/@embeddedjune/%EC%BB%B4%ED%93%A8%ED%84%B0%EA%B5%AC%EC%A1%B0-%EC%9A%94%EC%95%BD-%EC%A0%95%EB%A6%AC-9.-Pipelined-Architecture-3)

```
1번 문제 풀이average rotational latency 즉 회전 지연 시간을 구하는 문제이다.
0.5rotation/(7,200/60RPS) = 4.167 (아마 근삿값으로 오차도 허용)transfer time 데이터에 접근해서 데이터를 전송하는데 걸리는 시간 거/속*시, 즉 transfer rate 속도가 34MB/sec 로 주어졌고 거리는 1024byte = 1KB로 주어져있으니까 시간은 거/속 1KB/(34MB/sec) = 0.029ms(오차범위허용) 1/34 해준 값임
controller overhead : 문제에서 주어진 480 Mbits/sec을 물리단위 변환하라는 문제 1byte는 8bit니까 (480*M/8)/sec 계산하면
60MB/sec 를 ms로 변환하면 1/60 하라는 거 그래서 0.017ms4개 (average rotational latency + transfer time + controller overhead + average seek time) 다 더하면
4.167 + 0.029 + 0.017 + 11 = 15.206
```

```
2번 문제 풀이
```

```
1번 문제 풀이block 개수 = (32K/2)/8 = 2K = 2의 11승
index size = 11
tag size = 64-(11+1+3) = 49valid + tag = metadata
total cache size = #blocks * (valid + tag + data) = 2의11 * (1 + 49 + 2*64)block 개수 = (64K/16)/8 = 0.5K = 2의 9승
index size = 9
tag size = 64-(9+4+3) = 48
total cache size = 2의9 * (1 + 48 + 16*64) = 549376 (콤마 쓰지 말것)
```

```
2번 문제 풀이문제 오류로 생략
```