|
본문 Chapter 1 Solutions S15 1.14.3 MIPS = Clock rate × 10 6 /CPI MIPS(P1) = 4 × 10 9 × 10 6 /1.25 = 3200 MIPS(P2) = 3 × 10 9 × 10 6 /0.75 = 4000 MIPS(P1) < MIPS(P2), performance(P1) < performance(P2) in this case (from 1.14.1) 1.14.4 a. FP op = 10 6 × 0.4 = 4 × 10 5 , clock cyles fp = CPI × No. FP instr. = 4 × 10 5 T fp = 4 × 10 5 × 0.33 × 10 9 = 1.32 × 10 4 then MFLOPS = 3.03 × 10 3 b. FP op = 3 × 10 6 × 0.4 = 1.2 × 10 6 , clock cyles fp = CPI × No. FP instr. = 0.70 × 1.2 × 10 6 T fp = 0.84 × 10 6 × 0.33 × 10 9 = 2.77 × 10 4 then MFLOPS = 4.33 × 10 3 1.14.5 CPU clock cycles = FP cycles + CPI(L/S) × No. instr. (L/S) + CPI(Branch) × No. instr. (Branch) a. 5 × 10 5 L/S instr., 4 × 10 5 FP instr. and 10 5 Branch instr. CPU clock cycles = 4 × 10 5 + 0.75 × 5 × 10 5 + 1.5 × 10 5 = 9.25 × 10 5 T cpu = 9.25 × 10 5 × 0.33 × 10 9 = 3.05 × 10 4 MIPS = 10 6 /(3.05 × 10 4 × 10 6 ) = 3.2 × 10 3 b. 1.2 × 10 6 L/S instr., 1.2 × 10 6 FP instr. and 0.6 × 10 6 Branch instr. CPU clock cycles = 0.84 × 10 6 + 1.25 × 1.2 × 10 6 + 1.25 × 0.6 × 10 6 = 3.09 × 10 6 T cpu = 3.09 × 10 6 × 0.33 × 10 9 = 1.01 × 10 3 MIPS = 3 × 10 6 /(1.01 × 10 3 × 10 6 ) = 2.97 × 10 3 1.14.6 a. performance = 1/T cpu = 3.2 × 10 3 b. performance = 1/T cpu = 9.9 × 10 2 The second program has the higher performance and the higher MFLOPS gure, but the rst program has the higher MIPS gure. Solution 1.15 1.15.1 a. T fp = 35 × 0.8 = 28 s, T p1 = 28 + 85 + 50 + 30 = 193 s. Reduction: 3.5% b. T fp = 50 × 0.8 = 40 s, T p4 = 40 + 80 + 50 + 30 = 200 s. Reduction: 4.7% 하고 싶은 말 좀 더 업그레이드하여 자료를 보완하여, 과제물을 꼼꼼하게 정성을 들어 작성했습니다. 위 자료 요약정리 잘되어 있으니 잘 참고하시어 학업에 나날이 발전이 있기를 기원합니다 ^^ 구입자 분의 앞날에 항상 무궁한 발전과 행복과 행운이 깃들기를 홧팅 키워드 설계, 답안, 구조, 컴퓨터 |
2018년 2월 4일 일요일
컴퓨터 구조 및 설계 4판 답안
컴퓨터 구조 및 설계 4판 답안
피드 구독하기:
댓글 (Atom)
이런 걸로 돈 받아쳐먹고 싶냐? 공부하는 사람한테 돈 뜯고 잇네
답글삭제