public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Sasha Khapyorsky <sashak-smomgflXvOZWk0Htik3J/w@public.gmane.org>
To: Al Chu <chu11-i2BcT+NCU+M@public.gmane.org>
Cc: "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [infiniband-diags] [0/3] support --diff and --diffcheck in ibnetdiscover
Date: Tue, 13 Apr 2010 16:08:03 +0300	[thread overview]
Message-ID: <20100413130803.GG10830@me> (raw)
In-Reply-To: <1270659929.26381.38.camel-RLKWKRZIcZkVVsCFsIUZTRy+HRzXvqW9@public.gmane.org>

Hi Al,

On 10:05 Wed 07 Apr     , Al Chu wrote:
> 
> Others on the list may wonder how this is different than just using the
> normal 'diff' tool.  The differences I can think of are:
> 
> 1) This checks differences in the network, not text.  This is
> particularly important when lids, lmc, etc. are changed.  Otherwise
> there are many differences in a normal diff output that aren't
> necessary.
> 
> 2) This provides the appropriate "context" in the diff output, showing
> the appropriate system ids to allow a system administrator to identify
> ports on what switch have changed.  Under normal diff output, you may
> not get that appropriate context of information.  The system
> administrator can of course use options like --context in diff, but the
> goal is to make the diff output clear and concise, not outputting
> unnecessary junk.
> 
> 3) As parallelization has been added into ibnetdisocver/libibnetdiscover
> this becomes more critical as output in ibnetdiscover/libibnetdiscover
> can be re-ordered.  So a normal diff suddenly is non-functional.

I'm getting your arguments. And this remind me the question which was
already raised some time ago.

Would it be better to keep cache in a regular human readable
ibnetdiscover output format, so '--diff' will be usable not just against
cache, but also against a regular ibnetdiscover output files?

Sasha
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2010-04-13 13:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-07 17:05 [infiniband-diags] [0/3] support --diff and --diffcheck in ibnetdiscover Al Chu
     [not found] ` <1270659929.26381.38.camel-RLKWKRZIcZkVVsCFsIUZTRy+HRzXvqW9@public.gmane.org>
2010-04-13 13:08   ` Sasha Khapyorsky [this message]
2010-04-13 13:10     ` Sasha Khapyorsky
2010-04-13 17:17       ` Al Chu
     [not found]         ` <1271179075.17987.94.camel-X2zTWyBD0EhliZ7u+bvwcg@public.gmane.org>
2010-04-14  9:54           ` Sasha Khapyorsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100413130803.GG10830@me \
    --to=sashak-smomgflxvozwk0htik3j/w@public.gmane.org \
    --cc=chu11-i2BcT+NCU+M@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox