计算机组成原理第二版唐朔飞课后习题答?doc - 百度文库 ر

3Cacheٶ6CacheCacheȣٶԼ߶ٱ

⣺1ÿֿ8֣ÿ32λ4ֽڣóֶַֿڵַΪ3+2=5λ

CacheΪ16KB=214BֿСΪ8*32/8=32=25BCacheַ14λCache214-5=29顣

·ӳ䣬CacheΪ29/22=27顣

Ϊ4MB=222Bַ22λֿΪ22-7-5=10λַʽΪ

ֿǣ10λ ַ7λ ֿڵַ5λ 2ÿֿ8֣ҳ̬ΪգCPU0ŵԪʱδУ棬ͬʱڵCache0еһڣCPU1~7ŵԪʱСͬCPU81688ʱδСɼCPU90й12δУ8ѭ90ȫУΪ

90?8?12?0.984 90?83CacheΪtΪ6tûCacheķʱΪ6t*90*8CacheķʱΪt90*8-12+6t*12CacheCacheȣٶߵıΪ

6t?90?8?1?5.54

(90?8?12)t?6t?1233Ҫ˵߷ôٶȿɲȡĴʩ

߷ôٶȿɲȡִʩ

1øô洢ڶ̵оƬ߷ôٶȡ 2CacheCPUҪʹõϢȵCacheCacheٶȱö࣬CPUÿֻCacheждϢӶ̷ôʱ䣬߷ôٶȡ

3ṹõֻöṹ洢

38. 6Ƭ̣Լ¼洢ھ22cm⾶33cmܶΪ40/cmڲܶΪ400λ/cmת3600ת/֣ʣ

1жٴ洢ã 2ж棿 3ܴ洢Ƕ٣ 4ݴǶ٣

⣺1У62=12洢á 2Ч洢=33-22/ 2 = 5.5cm = 40/cm 5.5= 220 3ڲܳ=?22=69.08cm =400λ/cm69.08cm= 3454B =3454B220=759880B

=759880B 12= 9118560B 4ת = 3600ת / 60 = 60ת/

ݴ = 3454B 60ת/ = 207240 B/S

39. ij̴洢תΪ3000ת/֣4¼棬ÿ5ÿ¼Ϣ12 288ֽڣСŵֱΪ230mm275 1̴洢Ĵ洢

2λܶȣСŵλܶȣλܶȡ 3ݴʡ 4ƽȴʱ䡣

⣺1洢 = 27512 288B/4 = 13 516 800B

2λܶ = 12 288B/?230= 17B/mm = 136λ/mmȡ

ŵֱ=230mm+2275/(5/mm) = 230mm + 110mm = 340mm

λܶ = 12 288B /(?340)= 11B/mm = 92λ / mm

ȡ

3ݴ= 12 288B 3000ת/=12 288B 50ת/=614 400B/s

4ƽȴʱ = 1s/50 / 2 = 10ms

5 ϵͳ

1. I/OЩַʽкص㣿

⣺õI/Oַʽ֣ I/OڴͳһַI/Oַ ص㣺I/OڴͳһַʽI/Oַ浥ԪַȫһĸʽI/O豸ռͬһַռ䣬CPUһI/O豸ҪרŵI/Oָ

I/OַʽʱΪI/O豸רŰһȫַͬʽĵַ룬ʱI/OַַĿռ䣬CPUҪͨרŵI/OָI/Oַռ䡣

2. Ҫ˵CPUI/O֮䴫Ϣɲļ緽ʽǷֱʲôϣ

CPUI/O֮䴫Ϣ緽ʽֱӿƣӦ ͬ첽 óϷֱΪ

ֱӿڽṹ򵥡ٶȼI/O豸CPUֱӿ账ij״̬źš

ͬʽͳһʱ磬CPUI/OٶȲ󣬽봫͵ijϡ

첽ʽӦƽ磬CPUI/OٶȲϴԶ봫͵ijϡ

6. ַʾĽӿڵ·л洢ֻ洢кã