Somebody please help me..

amet

Distinguished
Jun 15, 2003
1
0
18,510
dear all:
I am a student from oversea.
I am not good in english but I take a course in computer science,
recently our professer give me a test,and there is a lot of problem in it. I
am so afraid because most of them I cannot understand, so anybody can help
me to solve some?
I post frist 3 question in that test, and somebody please solve it,
please give me a anwser, and need to explain the process why it is the
answer, okay? :~~~
Q1:consider a memory system with the following parameters:Cache access
time is 100ns, Main memory access time is 1200ns, if we would like to have
effective(average) memory access time to be no more than 20% higher than
cache time, the HIT RATE for the cache must at least be:
1)80% 2)90% 3)98% 4)99% 5)95%
**this question i have to know how to caculate the answer


Q2:the term "aging" refers to:
1)keeping track of the time a page has been in memory for the purpose of LRU
replacement
2)Boosting up the priority of a process in multi-level queue with feedback
3)Gradually increasing the priority of jobs that wait in the system for a
long time to remedy indefinite blocking
4)letting jobs reside in memory for a certain amount of time so the number
of pages required can be estimated accurately.
5)keeping track of the total time a job has been in the system since it was
first submitted N-M
**this question I need to know which is correct, and others are means what.

Q3:a disk information is : track size 10000 bytes, rotational
latency:10ms/revolution, block size:1000bytes, the MAX transfer rate per
track measureed in bits per second as is conventional for this disk unit is:
1)400Mbps 2)8Mbps 3)6400Mbps 4)4250Mbps 5)10Mbps
**this question i need to know to caculate the answer.

thanks your help!! and it will be more thanksful if you reply me with email
 

Stain

Distinguished
Jun 28, 2002
331
0
18,780
I tried to do these to give my thinker a little exercise. I'm not college educated and for the most part this stuff is beyond me but I gave it a shot anyway. Hopefully some genius posts the real answers and how to do them so I can see how I did. Until then heres what I came up with maybe it will help you or someone else figure it out.


<b>Q1: 2</b>
I came up with this equation:
(1200 -(100 x 120%)) x H >= H x 1200
<i>The numbers represent:</i> (MemoryAccessTime -(CacheAccessTime x 20%Higher)) x HitRate >= HitRate x MemoryAccessTime
A little trial and error here because I'm not exactly a math wiz and I came up with 90% for the answer.


<b>Q2: 3</b>
I don't really have any idea but my logical guess would be 3 because it makes the most sense to me.


<b>Q3: 1</b>
I came up with this equation:
10000 x 8 / 10 = 8000 (bps) = 8 (Mbps)
<i>The numbers represent:</i> TrackSize x ConvertToBits / RotationalLatency = BitsPerSecond = ConvertToMegaBitsPerSecond

I think I was on the right path but I don't know what to do with the blocks. However I think it's 1)400Mbps because this is similar to real hard disks and that disk in Q3 runs at 6000RPM so i figure it's close enough.