40 likes | 53 Views
Learn about different methods used to handle control messages in MPI, including polling, interrupts, and during MPI calls or periodic "polls". Understand the pros and cons of each method and their impact on performance.
E N D
When are control messages handled? • Polling • During MPI calls or periodic “polls” • Interrupts • When message arrives at process (e.g., OS signals an I/O event) • No method is “best”
MPI_Send User System Sync Delay Transfer Request Acknowledgment System User Polling Mode MPI
MPI_Send User System Transfer Acknowledgment Request System User Interrupt Mode MPI • Cost of interrupt higher than polling (usually)
Example of the effect of Polling • IBM SP2 MPI_Allreduce times for each mode • Times in usecs. Similar effects on other operations. • BUT some programs (with extensive computing) can show better performance with interrupt mode