看板 Grad-ProbAsk 關於我們 聯絡資訊
1.To achieve the speed-up of 91 on the previous larger problem with 100 processor , we assumed the load was perfectly balanced. That is, each of the 100 processors had 1% of the work to do . Instead , show the impack on speed-up if one processors's load is higher than all the rest. Calculate at 2% and 5% . ans: If one process has 2% of the parallel load, then it must do 2%*10000 or 200 additions, and the other 99 will share the remaining 9800. 我看不太懂什麼是 parallel load , 這題到底在問什麼?? 2.(T/F)A runing process is swapped to disk entirely when new page are moved into the main memory. and:False why??是因為要被replace的page不是dirty的嗎? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.43.77.75
sting47:第一題是在問你負載平衡的重要,並要你秀出如果其中一個 12/25 13:34
sting47:處理器做了2%跟5%的工作,會有什麼影響(你字應該打錯,是 12/25 13:35
sting47:impact 影響的意思) 12/25 13:35
BaaaSwin:恩恩,可是他給我們91的speed是用100個process 12/25 13:47
BaaaSwin:怎麼去定義它只用1個process的總時間以及 12/25 13:47
BaaaSwin:可以被平行執行的百分比?? 12/25 13:48
sting47:平行執行?現在題目就是假設現在100processors是平行執行且 12/25 18:09
sting47:perfectly balanced,也就是每個processor都做1%的工作。 12/25 18:10
sting47:所以其中一個執行了2%的工作的話,其餘99個processors就要 12/25 18:11
sting47:平行執行剩下的98%工作。另外看起來像是有上一題?如果上一 12/25 18:11
sting47:題沒提到總時間的數據,就自己假設個好算的數字就好 12/25 18:12
jkw552403:第二題 page fault也不一定要SWAP而且他寫SWAP entirely 12/26 00:08
jkw552403: 我覺得有點怪 參考一下 12/26 00:08
BaaaSwin:第一題真的有前面一提耶QQ那我會了謝謝 12/26 00:36
BaaaSwin:第二題的swap會不會是把整個programing放到disk??? 12/26 00:36