Thread: MPI programming

  1. #1
    Eager young mind
    Join Date
    Jun 2006
    Posts
    342

    MPI programming

    I recently read an article about optimizing MPI collecive calls . I learnt from a reliable source that MPI uses the services provided by TCP/IP or infiniband . My doubt is, suppose we have a bottleneck in the TCP/IP layer itself, how will optimizing the MPI calls really help the performance.
    In the middle of difficulty, lies opportunity

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    If you reduce the number of MPI calls, the TCP bottleneck will matter less.

    But in principle, you're right. If TCP/IP happens to be the bottleneck in your particular application/setup (in many cluster computers that use MPI it is not, because these things are interconnected by networks that sometimes outperform the persistent storage) then the right thing to optimize is the TCP/IP setup. Profiling is the key, no matter the size of the project.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Communication using MPI
    By Cell in forum Linux Programming
    Replies: 9
    Last Post: 08-13-2009, 02:28 AM
  2. MPI, which way will be best?
    By maverick_starst in forum C++ Programming
    Replies: 5
    Last Post: 06-30-2009, 02:17 PM
  3. MPI in C
    By ltee in forum C Programming
    Replies: 5
    Last Post: 03-26-2009, 06:10 AM
  4. Sorting whit MPI
    By isato in forum C Programming
    Replies: 0
    Last Post: 03-03-2009, 10:38 AM
  5. Malloc and MPI
    By moddinati in forum C Programming
    Replies: 17
    Last Post: 03-07-2008, 07:55 PM