Q-Logic IB6054601-00 D Uživatelský manuál Strana 69

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 122
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 68
A – Benchmark Programs
Benchmark 4: Measuring MPI Latency in Host Rings
IB6054601-00 D A-5
Q
A.4
Benchmark 4: Measuring MPI Latency in Host Rings
The program mpi_latency can be used to measure latency in a ring of hosts. Its
syntax is a bit different from Benchmark 1 in that it takes command line arguments
that let you specify the message size and the number of messages over which to
average the results. So, for example, if you have a hosts file listing four or more
nodes, the command:
$ mpirun -np 4 -ppn 1 -m mpihosts mpi_latency 100 0
might produce output like this:
0 1.760125
This indicates that it took an average of 1.76 microseconds per hop to send a
zero-length message from the first host, to the second, to the third, to the fourth,
and then get replies back in the other direction.
Zobrazit stránku 68
1 2 ... 64 65 66 67 68 69 70 71 72 73 74 ... 121 122

Komentáře k této Příručce

Žádné komentáře