[ofa-general] Re: [PATCH] opensm/osm_node_info_rcv.c: create physp for the newly discovered port of the known node
Sasha Khapyorsky
sashak at voltaire.com
Tue Feb 24 06:37:06 PST 2009
Hi Yevgeny,
On 23:31 Wed 18 Feb , Yevgeny Kliteynik wrote:
[snip...]
>
> Good point.
> I'll repost the patch when we finish discussing it.
Let's go this way now. Please resend the patch.
After looking closer into scenario with SwithInfo/PortInfo race I'm
thinking about two optimizations there:
1. Initialize all switch ports (and not only local and port 0) right on
first NodeInfo receiving (via osm_node_new()) - this makes your patch
unnecessary, but it is a bigger change which will definitely require some
heavy testing, so it is fine IMO to do it subsequently.
2. Request PortInfo for all switch ports right on first NodeInfo
receiving (not wait for SwitchInfo), just in parallel with SwitchInfo
request. This should simplify subnet discovery flow and speed it up.
And also this will require some heavy testing...
What do you think about (1) and (2). Could you see any disadvantages?
Sasha
More information about the general
mailing list