CS 457/557 Assignment 1, Disks
Due Friday 19 January 2018
1. Moore's Law Exercises, p. 514, updated(?), or p. 561, 2nd edition
Exercise 11.2.1 describes the "typical computer in
2001" as 1.5GHz processor, 100 Mb main memory and 40 Gb disk.
(and in 2nd ed.) the "typical computer in 2008" as 2
processors of 3GHz , 1 Gb main memory and 250 Gb disk.
Moore's law says that these numbers double every 18 months
- How closely do these 2 computers follow Moore's Law?
- What is the "typical" PC today (2018)? Look at some current
ads.
- What will the typical computer be like in 2021? ( based on
your answer #2.)
Notes:
I bought my first computer, a low-end PC, in June 1987 (for
$1600). It had a 7MHz processor, 640 Kb main memory, and a 20 Mb
disk.
Processor speeds seem to have reached a thermodynamic limit, instead
more "cores" are being included in processors.
2. Exercises, p. 567, a) - e), g) [Graduate students do all]: (The
numbers were smaller in the 1st edition, except for mechanical ones
(disks can physically only spin so fast.)
Statistics for the "Megatron 777" disk:
- 10 surfaces, 100,000 tracks each
- Tracks average 1000 sectors of 1024 bytes
- Tracks average about 2 inches in diameter,
so let's say 6.4 circumference
- 20% of each track used for gaps
- 10,000 rpm
- Head moves n tracks in 1 + 0.0002n
milliseconds.
Calculate
(a) capacity,
(b) density of bits in the sectors of a
track,
(c) maximum seek time,
(d) maximum rotational latency ,
(e) 4Kb block transfer time,
(f) [Graduate students] What is the average seek time?
(g) average rotational latency
How to submit
- Write your answers on paper, and hand in on Friday, either in class, or bring to my office by 4 p.m. - J-115
- Since the Science secretary goes home at noon, do not put in her assignment box
- If you really want to submit a computer file: Submit it on the server linux.ubishops.ca
- Your account (username) is like your ubishops one, but WITHOUT numbers at the end.
initial password for new accounts is as announced in class
- Use scp to copy file(s) to linux. In a MAC terminal: scp somefile.txt youracct@linux.ubishops.ca:~ or in Windows, use WinSCP
- ssh youracct@linux.ubishops.ca or in Windows use Putty
- submit cs557 somefile.txt You should get a reassuring message.
- Please don't email me assignments, as that's a good way for me to lose them