1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Luden [163]
3 years ago
8

Consider a disk with the following characteristics (these are not parameters of any particular disk unit): block size B 512 byte

s; inter block gap size G 128 bytes; number of blocks per track 20; number of tracks per surface 400. A disk pack consists of 15 double-sided disks. a. What is the total capacity of a track, and what is its useful capacity (excluding inter block gaps)? b. How many cylinders are there? c. What are the total capacity and the useful capacity of a cylinder? d. What are the total capacity and the useful capacity of a disk pack? e. Suppose that the disk drive rotates the disk pack at a speed of 2,400 rpm (revolutions per minute); what are the transfer rate (tr) in bytes/msec and the block transfer time (btt) in msec? What is the average rotational delay (rd) in msec? What is the bulk transfer rate? f. Suppose that the average seek time is 30 msec. How much time does it take (on the average) in msec to locate and transfer a single block, given its block address? g. Calculate the average time it would take to transfer 20 random blocks, and compare this with the time it would take to transfer 20 consecutive blocks using double buffering to save seek time and rotational delay.
Computers and Technology
1 answer:
telo118 [61]3 years ago
7 0

Answer:

a) total capacity = (Block size + I. Gap size)*N

total capacity = (512+128 Bytes)* 20= 12800 Bytes = 12.8 Kb

Useful.cap = Block size * N = 512*20 = 10240 Bytes = 10.24 Hb

b) Cylinders c) [tex] T = (512+128 Gb) *20 *15*2 = 384000 Bytes= 384Kb

U = 512Gb*20*15*2= 307200 Bytes= 307.2 Kb

d) TS= 384000 Bytes *400 =153600000 Bytes= 153500 Kb= 153. 6Mb

UT = 307200 Bytes*400=122880000 Bytes = 122880 Kb = 122.88 Mb

e) RS= 2400 rpm * \frac{60 s}{1 min}= 144000 rps

Tr= \frac{total capacity}{RS} = \frac{12800 By}{144000 rps}= 0.0889 bytes/s

And if we convert using 1 s = 1000 ms we have"

0.0889 bytes/s * 1000 =88.89 bytes/ms

The block transfer time btt would be given by:

btt= \frac{512 bytes}{88.9 bytes/ms}=5.76 ms

And the average rotational delay would be given by:

rd= \frac{1}{2} (\frac{1}{2400 rpm}) 60 s  \frac{1000 ms}{1 s}= 12.5 ms

f) For this case we can calculate the average time to locate and transfer adding the following time:

TT= btt +rd+ st = 5.76 +12.5 +30 ms= 48.26 ms

g) For this case we can calculate the time to transfer 20 random blocks like this:

t_1 = 20*(s+rd+btt) = 20*(30+12.5+5.76) =965.2 ms

And the time to transfer 20 consecutive blocks using double buffering would be:

t_2 = s+ rd+ 20 btt = 30 +12.5 + 20 (5.76)=157.7 ms

Explanation:

Part a

For this case we need to calculate first the total capcity like this:

total capacity = (Block size + I. Gap size)*N

Where N represent the number of blocs per track, and if we replace we got:

total capacity = (512+128 Bytes)* 20= 12800 Bytes = 12.8 Kb

And the useful capacity is given by:

Useful.cap = Block size * N = 512*20 = 10240 Bytes = 10.24 Hb

Part b

For this case the number of cylinders correspond to the number of tracks.

Cylinders = tracks= 400

Part c

First we can calculate the total cylinder capacity like this:

T = (512+128 Gb) *20 *15*2 = 384000 Bytes= 384Kb

And the useful capacity is:

U = 512Gb*20*15*2= 307200 Bytes= 307.2 Kb

Part d

We can calculate the totals like on part d but we just need to multiply by 400 since that represent the number of tracks per surface

TS= 384000 Bytes *400 =153600000 Bytes= 153500 Kb= 153. 6Mb

UT = 307200 Bytes*400=122880000 Bytes = 122880 Kb = 122.88 Mb

Part e

For this case we can convert the revolution per minute in revolutions per second like this:

RS= 2400 rpm * \frac{60 s}{1 min}= 144000 rps

And we can calculate the transfer rate like this:

Tr= \frac{total capacity}{RS} = \frac{12800 By}{144000 rps}= 0.0889 bytes/s

And if we convert using 1 s = 1000 ms we have"

0.0889 bytes/s * 1000 =88.89 bytes/ms

The block transfer time btt would be given by:

btt= \frac{512 bytes}{88.9 bytes/ms}=5.76 ms

And the average rotational delay would be given by:

rd= \frac{1}{2} (\frac{1}{2400 rpm}) 60 s \frac{1000 ms}{1 s}= 12.5 ms

Part f

For this case we can calculate the average time to locate and transfer adding the following time:

TT= btt +rd+ st = 5.76 +12.5 +30 ms= 48.26 ms

Part g

For this case we can calculate the time to transfer 20 random blocks like this:

t_1 = 20*(s+rd+btt) = 20*(30+12.5+5.76) =965.2 ms

And the time to transfer 20 consecutive blocks using double buffering would be:

t_2 = s+ rd+ 20 btt = 30 +12.5 + 20 (5.76)=157.7 ms

You might be interested in
The process of engineering design typically starts with what ?
klemol [59]

The process of engineering typically starts with brainstorming.
6 0
3 years ago
What is the part of a file, the .pptx, or .txt etc called?
Lunna [17]
It is called the file extension or filename extension. It is a suffix that indicates the file format.
7 0
4 years ago
Read 2 more answers
Use tar to create a full compressed back up of the /var/log folder. Use the bzip2 compression. The name of the archive should be
Komok [63]

Answer:

mkdir ~/home/backups

tar -cjf YOURFIRSTNAME.tar.bz /var/log

mv YOURFIRSTNAME.tar.bz ~/home/backups

Explanation:

The bash script makes a new directory called backups in the home directory then archives and compresses the log files in the /var/log folder. Then the compressed file is moved to the newly created backups folder.

5 0
3 years ago
Styles are selected using the _____ tab. file home insert page layout
MrMuchimi
It is using the page layout for page styles, home for title/word styles

6 0
4 years ago
Read 2 more answers
Sorting data in Excel Online hides content that does not fit your criteria. True False
Katarina [22]

False, sorting doesn't hide them

6 0
4 years ago
Read 2 more answers
Other questions:
  • A group of researchers is designing an experiment to test whether meditation helps people fall asleep faster. The researchers se
    14·1 answer
  • In server-side discovery pattern, load balancing and routing of the request to the service instances are taken care of by the se
    9·1 answer
  • Is the internet a private place?
    15·2 answers
  • Why do you think flowers are a popular topic for macro photography? Do you think you’d like to photograph flowers?
    10·1 answer
  • What city, the major financial center of its country, is located on the northern coast of the island where the poet who wrote "A
    8·2 answers
  • Como se diseña y produce un material audiovisual
    5·1 answer
  • Can someone plz explain me what this button does and I’m scared to click it
    11·1 answer
  • What are the different methods of enhancing/decorating<br> bamboo product​
    15·1 answer
  • What does ADAC mean <br> pls answer quickly i will mrk brainliest
    14·2 answers
  • Python Coding:
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!