{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

cop4600-sp08-hw2Solutions

# cop4600-sp08-hw2Solutions - Solution of HW2 Question 1...

This preview shows pages 1–4. Sign up to view the full content.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Solution of HW2 Question 1) Answer: CPU: P1, CS1, P2, CS2, P3, CS3, P4, CS4, P1, CS5, P3, CS6, P2 186MB P1 70MB 126MB P2 60MB P1 70MB 126MB P2 60MB 70MB 196MB P2 60MB 56MB P3 140MB P2 60MB ଻଴ெ஻ ଺଴ெ஻/௦௘௖ ଺଴ெ஻ ଺଴ெ஻/௦௘௖ ଻଴ெ஻ ଺଴ெ஻/௦௘௖ ଺଴ெ஻ ସ஻/ଶ଴௡௦௘௖ ଵସ଴ெ஻ ଺଴ெ஻/௦௘௖ 16MB P4 40MB P3 140MB P2 60MB 16MB P4 40MB 70MB P1 70MB P2 60MB 16MB P4 40MB 140MB P2 60MB 16MB P4 40MB 140MB P2 60MB 16MB P4 40MB P3 140MB P2 60MB ସ଴ெ஻ ଺଴ெ஻/௦௘௖ ଵସ଴ெ஻ ଺଴ெ஻/௦௘௖ ଻଴ெ஻ ଺଴ெ஻/௦௘௖ ଵସ଴ெ஻ ଺଴ெ஻/௦௘௖ ଻଴ெ஻ ଺଴ெ஻/௦௘௖ The overhead for each context switch: ܥܵ1 ൌ ଻଴ெ஻ ଺଴ெ஻/௦௘௖ ܥܵ2 ൌ ଻଴ெ஻ ଺଴ெ஻/௦௘௖ ൅ ଺଴ெ஻ ସ஻/ଶ଴௡௦௘௖ + ଵସ଴ெ஻ ଺଴ெ஻/௦௘௖ ܥܵ3 ൌ ସ଴ெ஻ ଺଴ெ஻/௦௘௖ ܥܵ4 ൌ ଵସ଴ெ஻ ଺଴ெ஻/௦௘௖...
View Full Document

{[ snackBarMessage ]}

### Page1 / 6

cop4600-sp08-hw2Solutions - Solution of HW2 Question 1...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online