Week9 Tutorial Solution
Week9 Tutorial Solution
1. Suppose the daytime processing load consists of 60% CPU activity and 40% disk activity.
Your customers are complaining that the system is slow. After doing some research, you learn
that you can upgrade your disks for $8,000 to make them 2.5 times as fast as they are currently.
You have also learned that you can upgrade your CPU to make it 1.4 times as fast for $5,000.
a) Which would you choose to yield the best performance improvement for the least amount
of money?
b) Which option would you choose if you don’t care about the money, but want a faster
system?
Answer:
1.
rotational delay:
2. a) 4 surfaces x 1,024 tracks per surface x 128 sectors per track x 512 bytes/sector =
4*1024*128*512/(2^20 bytes/MB) = 256MB.
3. a) 5 surfaces x 1,024 tracks per surface x 256 sectors per track x 512 bytes/sector =
5*1024*256*512/(2^20 bytes/MB) = 640MB.
b) Rotational delay = (60 seconds/7500 rpm) * (1000ms/second)]/2 = 4ms + 8ms seek time
= 12ms.
c) The track-to-track seek time makes it slower.