0% found this document useful (0 votes)
0 views3 pages

Week9 Tutorial Solution

The document discusses performance improvements for a system experiencing slow processing, comparing CPU and disk upgrades. It provides calculations for disk drive capacities and access times for two different disk configurations. The analysis concludes that upgrading the CPU is more cost-effective, while the disk option offers better performance if budget is not a concern.

Uploaded by

shreyashwetaloff
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
0 views3 pages

Week9 Tutorial Solution

The document discusses performance improvements for a system experiencing slow processing, comparing CPU and disk upgrades. It provides calculations for disk drive capacities and access times for two different disk configurations. The analysis concludes that upgrading the CPU is more cost-effective, while the disk option offers better performance if budget is not a concern.

Uploaded by

shreyashwetaloff
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

COMP9601: Tutorial for Week 9

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?

2. Suppose a disk drive has the following characteristics:


a. 4 surfaces
b. 1024 tracks per surface
c. 128 sectors per track
d. 512 bytes/sector
e. Track-to-track seek time of 5 milliseconds
f. Rotational speed of 5000 RPM.

a) What is the capacity of the drive?

b) What is the access time?

3. Suppose a disk drive has the following characteristics:


a) 5 surfaces
b) 1024 tracks per surface
c) 256 sectors per track
d) 512 bytes/sector
e) Track-to-track seek time of 8 milliseconds
f) Rotational speed of 7500 RPM.

a) What is the capacity of the drive?


b) What is the access time?

c) Is this disk faster than the one described in Question 2? Explain

Answer:

1.

Answer: Fraction of work: 60% CPU, 40% disk.

a. Choose the CPU Upgrade: $5000/120.69%=$41.43 ($8000/131.58%=$60.80)


b. The disk option gives a better performance improvement.
• Seek time + rotational delay = access time

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.

b) Rotational delay = (60 seconds/5000 rpm) * (1000ms/second)]/2 = 6ms


6ms+ 5ms seek time = 11ms.

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.

You might also like