CSCE 3612 ch6-4

CSCE 3612 ch6-4 - © 2008 Wayne Wolf Overheads for...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: © 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Processes and operating systems ❚ Interprocess communication. ❚ Operating system performance. ❚ Power management. © 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Interprocess communication ❚ OS provides interprocess communication mechanisms: ❙ various efficiencies; ❙ communication power. © 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Interprocess communication ❚ Interprocess communication ( IPC ): OS provides mechanisms so that processes can pass data. ❚ Two types of semantics: ❙ blocking : sending process waits for response; ❙ non-blocking : sending process continues. © 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. IPC styles ❚ Shared memory: ❙ processes have some memory in common; ❙ must cooperate to avoid destroying/missing messages. ❚ Message passing: ❙ processes send messages along a communication channel---no common address space. © 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Shared memory ❚ Shared memory on a bus: CPU 1 CPU 2 memory © 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Race condition in shared memory ❚ Problem when two CPUs try to write the same location: ❙ CPU 1 reads flag and sees 0. ❙ CPU 2 reads flag and sees 0. ❙ CPU 1 sets flag to one and writes location....
View Full Document

This note was uploaded on 09/30/2008 for the course CSCE 3612 taught by Professor Goodrum during the Fall '08 term at North Texas.

Page1 / 23

CSCE 3612 ch6-4 - © 2008 Wayne Wolf Overheads for...

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online