[理工] [計組] 97台大資工
97台大資工計組第2題(d)題目重點如下:
An application has been fully parallelized to run on a SMP system, but for
an 8-processor run, 50% of time a processor has to stall because the processor
is waiting to access the disk.There is only one disk in the system.Assume that
the OS issues one disk accesses at a time.
(d) Suppose that the application runs for 100 sec when only one processor is
used,how many sec would tha application requires to run on the 8-processor
SMP system? (Note that the 100 sec is the wall clock time,measured from the
beginning to the end of the application.)
--
張凡解答這樣寫:Suppose x is the I/O time, (100-x)/(0.5*8)=x => x=20
execution time = 20+20 = 40 sec
其實看不太懂這個式子...想請教一下各位,謝謝!!
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 118.171.44.204
→
01/31 16:27, , 1F
01/31 16:27, 1F
→
01/31 16:28, , 2F
01/31 16:28, 2F
→
01/31 16:29, , 3F
01/31 16:29, 3F
→
01/31 16:38, , 4F
01/31 16:38, 4F
→
01/31 16:39, , 5F
01/31 16:39, 5F
→
01/31 16:39, , 6F
01/31 16:39, 6F
→
01/31 16:54, , 7F
01/31 16:54, 7F
→
01/31 16:55, , 8F
01/31 16:55, 8F
→
01/31 16:58, , 9F
01/31 16:58, 9F
→
01/31 16:59, , 10F
01/31 16:59, 10F
→
01/31 17:03, , 11F
01/31 17:03, 11F
→
01/31 17:04, , 12F
01/31 17:04, 12F
→
01/31 17:06, , 13F
01/31 17:06, 13F
→
01/31 17:07, , 14F
01/31 17:07, 14F
→
01/31 17:11, , 15F
01/31 17:11, 15F
→
01/31 17:11, , 16F
01/31 17:11, 16F
→
01/31 17:11, , 17F
01/31 17:11, 17F
→
01/31 17:12, , 18F
01/31 17:12, 18F
→
01/31 20:18, , 19F
01/31 20:18, 19F
※ 編輯: boy5548 來自: 114.27.125.101 (01/31 20:19)
推
02/01 10:52, , 20F
02/01 10:52, 20F
→
02/01 12:46, , 21F
02/01 12:46, 21F
→
02/01 12:49, , 22F
02/01 12:49, 22F
→
02/01 12:49, , 23F
02/01 12:49, 23F
推
02/01 16:23, , 24F
02/01 16:23, 24F
→
02/01 16:24, , 25F
02/01 16:24, 25F
推
02/01 23:58, , 26F
02/01 23:58, 26F
→
02/01 23:58, , 27F
02/01 23:58, 27F
→
09/11 14:12, , 28F
09/11 14:12, 28F