Using QLogic dual port HCAs, this works for me when I disable port 1 on the 
client, server, or both while the test is running:

# qperf <server ipaddr> -ap 2 -t 30 rc_bw
rc_bw:
warning: -ap set but not used in test rc_bw
    bw  =  272 MB/sec

The warning can be ignored.  Using -ap is equivalent to using -rap and -lap 
with the same port.

The "failed to receive results" is qperf saying that once the test finished, 
the server did not contact the client.


Dean

> -----Original Message-----
> From: Suresh Shelvapille [mailto:[email protected]]
> Sent: Wednesday, March 06, 2013 4:24 PM
> To: Luick, Dean; [email protected]
> Subject: RE: Qperf and APM
> 
> I can see the packets going on the alternate path when the first link fails, 
> but
> at the end of the test, the result is a
> failure, so I am not sure!
> I tried this with both '-ap' and "-lap -rap" options. I am assuming they are
> equivalent.
> 
> ------------------------------
> [root]# qperf <server-ipaddr> -ap 2 -t 30 rc_bw
> rc_bw:
> warning: -ap set but not used in test rc_bw
> failed to receive results: timed out
> 
> 
> 
> -------------------------
> [root]# qperf <server-ipaddr> -lap 2 -rap 2 -t 30 rc_bw
> rc_bw:
> warning: -lap set but not used in test rc_bw
> warning: -rap set but not used in test rc_bw
> failed to receive results: timed out
> 
> thanks,
> Suri
> 
> > -----Original Message-----
> > From: Luick, Dean [mailto:[email protected]]
> > Sent: Wednesday, March 06, 2013 3:57 PM
> > To: Suresh Shelvapille; [email protected]
> > Subject: RE: Qperf and APM
> >
> > Have you tried ignoring the warning and checking of the alternate port
> works?  The qperf code looks
> > to be using the alternate port, but incorrectly fails to mark the argument 
> > as
> used.
> >
> > Dean
> >
> > > -----Original Message-----
> > > From: [email protected] [mailto:linux-rdma-
> > > [email protected]] On Behalf Of Suresh Shelvapille
> > > Sent: Wednesday, March 06, 2013 1:00 PM
> > > To: Luick, Dean; [email protected]
> > > Subject: RE: Qperf and APM
> > >
> > > This is the error I see on the client(the same warning is seen with -lap 
> > > and
> -
> > > rap options):
> > >
> > > ------------------------------
> > > qperf <server-ip-addr> -ap 2 rc_bw
> > > rc_bw:
> > > warning: -ap set but not used in test rc_bw
> > >     bw  =  3.39 GB/sec
> > >
> > > > -----Original Message-----
> > > > From: Luick, Dean [mailto:[email protected]]
> > > > Sent: Wednesday, March 06, 2013 1:52 PM
> > > > To: Suresh Shelvapille; [email protected]
> > > > Cc: Hefty, Sean
> > > > Subject: RE: Qperf and APM
> > > >
> > > > Hi,
> > > >
> > > > Can you be more specific?  What are you running and how is it failing?
> > > >
> > > > Thanks,
> > > > Dean
> > > >
> > > > > -----Original Message-----
> > > > > From: [email protected] [mailto:linux-rdma-
> > > > > [email protected]] On Behalf Of Suresh Shelvapille
> > > > > Sent: Wednesday, March 06, 2013 9:40 AM
> > > > > To: [email protected]
> > > > > Cc: Hefty, Sean
> > > > > Subject: Qperf and APM
> > > > >
> > > > > Folks:
> > > > > The qperf utility has -ap, -lap, -rap options in support of APM.
> > > Unfortunately
> > > > > they don't seem to work. Is there a way
> > > > > to make this work, or if you have any other ideas on testing failover
> using
> > > > > rdma please let me know. I have successfully
> > > > > used tcp_bw tests for this purpose already.
> > > > >
> > > > > Thanks,
> > > > > Suri
> > > > >
> > > > > --
> > > > > To unsubscribe from this list: send the line "unsubscribe linux-rdma"
> in
> > > > > the body of a message to [email protected]
> > > > > More majordomo info at  http://vger.kernel.org/majordomo-
> info.html
> > >
> > > --
> > > To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
> > > the body of a message to [email protected]
> > > More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to