[openib-general] pingpong problem

Michael S. Tsirkin mst at mellanox.co.il
Sun Feb 27 08:02:08 PST 2005


Hi!
I'm running on x86_64 64 bit user and kernel space.
the pingpong test does not seem to work with size other than the
default 4096 (I am running with external loopback):

# ibv_pingpong --size=2048 &
local address:  LID 0x0001, QPN 0x1f0404, PSN 0x65e4f6
# ibv_pingpong --size=2048 10.4.8.155
  local address:  LID 0x0001, QPN 0x1d0405, PSN 0xf53639
  remote address: LID 0x0001, QPN 0x1d0405, PSN 0xf53639
  remote address: LID 0x0001, QPN 0x1d0404, PSN 0xa7fc92
  [ 0] 001d0405
  [ 4] b5000000
  [ 8] 0f000000
  [ c] 51010000
  [10] 01d701f3
  [14] 00000000
  [18] 00000002
  [1c] fe100000
  [ 0] 001d0405
  [ 4] b5000000
  [ 8] 0f000000
  [ 0] 001d0404
  [ 4] 00f83ced
  [ 8] 001da414
  [ c] 00c03800
  [10] 128a0000
  [14] 00000000
  [18] 00007d02
  [1c] ff100000
  [ c] 51010000
  [10] 05d701f2
  [14] 00000000
  [18] 00000042
  [1c] fe100000
Failed status 1 for wr_id 1
  [ 0] 001d0404
  [ 4] a5000000
  [ 8] 0f000002
  [ c] 510100c0
  [10] 05f401f2
  [14] 00000000
  [18] 00000042
  [1c] fe100000
Failed status 9 for wr_id 2
[2]+  Exit 1                  ibv_pingpong


Works fine with the default size:

# ibv_pingpong --size=2048 &
local address:  LID 0x0001, QPN 0x1f0404, PSN 0x65e4f6

# ibv_pingpong --size=4096 10.4.8.155
  local address:  LID 0x0001, QPN 0x1f0405, PSN 0xd206a0
  remote address: LID 0x0001, QPN 0x1f0404, PSN 0x65e4f6
  remote address: LID 0x0001, QPN 0x1f0405, PSN 0xd206a0
8192000 bytes in 0.02 seconds = 2935.41 Mbit/sec
8192000 bytes in 0.02 seconds = 3183.83 Mbit/sec
1000 iters in 0.02 seconds = 20.58 usec/iter
1000 iters in 0.02 seconds = 22.33 usec/iter

thanks,

-- 
MST - Michael S. Tsirkin



More information about the general mailing list