[openib-general] Re: Re: diff-perftest-07 replace pp_get_local_lid()

Bernhard Fischer blist at aon.at
Wed May 18 11:56:31 PDT 2005


On Wed, May 18, 2005 at 09:44:36PM +0300, Michael S. Tsirkin wrote:
>Quoting r. Bernhard Fischer <blist at aon.at>:
>> Subject: Re: Re: diff-perftest-07 replace pp_get_local_lid()
>> 
>> On Wed, May 18, 2005 at 11:06:20AM -0700, Grant Grundler wrote:

>> >hrm...that would work too though it's not as intuitive.
>> 
>> Would only work partly..
>
>Sorry, you need
>
> ssh server $PWD/rdma_lat & ( sleep 1 && $PWD/rdma_lat server)
>
>>  try:
>> ssh server $PWD/rdma_lat & ( sleep 1 && $PWD/rdma_lat -s 0 or -1)
>> and your server process will just hang.
>> I know.. don't do that then (checking if size<1 may just paper over
>> missing checks in verbs. i don't know).
>> 
>
>Size 0 doesnt make sense for this test since I'm polling on data:
>no data = nothing to poll upon.

If size 0 and -1 (not 1 as you seem to have read) are illegal (they
obviously are for malloc) you should check if(size <1){usage();exit(1);}
Same for the other arguments. I'll send a patchlet if noone did fix
that by next week.

>-s 1 should work - I'll check tomorrow.

-s 1 did work for me last time i looked.
In fact, back then only 1 worked, i got errors for bigger values i tried
(42,128,256,512,1k,2k,4k,16k,32k,64k,128k,42M etc).



More information about the general mailing list