Question & Answer: QUESTION 49 1 points Save Answer The tree structured implementation of the barrier routine has time complexity (where P…..

QUESTION 49 1 points Save Answer The tree structured implementation of the barrier routine has time complexity (where P is the number of processes) O A. O(P) ○ B. 0(PlogP) O D. O(logP)
media%2Fdba%2Fdbaa3954-636c-4c7d-829f-3c
media%2Fec5%2Fec5b7253-bac4-4bdc-abf8-eeDo not do the x
Please do in 20 min I will give you thumps up thank you

QUESTION 49 1 points Save Answer The tree structured implementation of the barrier routine has time complexity (where P is the number of processes) O A. O(P) ○ B. 0(PlogP) O D. O(logP)

Expert Answer

 

Q 49:

Don't use plagiarized sources. Get Your Custom Essay on
Question & Answer: QUESTION 49 1 points Save Answer The tree structured implementation of the barrier routine has time complexity (where P…..
GET AN ESSAY WRITTEN FOR YOU FROM AS LOW AS $13/PAGE
Order Essay

D. O(logP). Reason– In n – tree based implementation, there is local subgrouping of procecces into groups of n. So by this way the processes are executed in logP complexity. Because each time the number of processes become half.

Q 52

A. 2log2(n). This is because, a tree based implementation of barrier has two parts. The first part is the arrival phase. Here there is grouping of processes, and it takes log2(n) steps for this phase. Then comes the departure phase where they again split in an orderly format. which has log2(n) steps. So total is 2log2(n)

Q 55.

B.

Q 56. O(P). Central counter method maintain a single counter. The access to this counter by all processes are searlized, It is linear in nature, hence O(P)

Still stressed from student homework?
Get quality assistance from academic writers!