***SPAM*** Re: [ofa-general] [infiniband-diags] specify -l(loop_ports) in ibclearerrors and ibclearcounters
Hal Rosenstock
hal.rosenstock at gmail.com
Thu Oct 9 13:52:06 PDT 2008
On Thu, Oct 9, 2008 at 4:32 PM, Al Chu <chu11 at llnl.gov> wrote:
> Hey Sasha, Hal, all,
>
> Now I'm thinking this:
>
> if user specifies port 255 - they are expecting AllPortSelect. So error
> out.
>
> if user specifies '-a' - Do whatever it takes to query/reset on all
> ports. If it means looping do that. Aggregate counters appropriately
> for a single output.
>
> if user specifies --loop-ports - loop through the ports one by one no
> matter what. This includes outputting port counters for each port.
>
> Sound like a good idea?
Sounds good to me too.
-- Hal
> Al
>
> On Thu, 2008-10-09 at 21:39 +0200, Sasha Khapyorsky wrote:
>> On 09:31 Thu 09 Oct , Al Chu wrote:
>> >
>> > I just re-read this sentence, now I get what you're asking. I made --
>> > loop_ports only loop if AllPortSelect isn't supported. So if the
>> > switches already support AllPortSelect, the number of resets should be
>> > the same.
>>
>> OTOH perfquery is diagnostic tool. Reset with AllPortSelect may not work
>> as expected or an user may have another reason to loop over ports
>> regardless to AllPortSelect support.
>>
>> Sasha
> --
> Albert Chu
> chu11 at llnl.gov
> Computer Scientist
> High Performance Systems Division
> Lawrence Livermore National Laboratory
>
>
More information about the general
mailing list