diff mbox

[ibsim] increase max nodes and switches to support similation of larger fabrics

Message ID 1302629145.21002.12.camel@auk59.llnl.gov (mailing list archive)
State Rejected
Headers show

Commit Message

Al Chu April 12, 2011, 5:25 p.m. UTC
The maximum number of nodes and switches allowed by ibsim was too small
for some of our larger fabrics, so I increased the size.

Longer term, there shouldn't be a fixed size for these and the arrays
should grow in size as needed, however I'll leave that for another day.

Al

Comments

Hal Rosenstock April 12, 2011, 5:56 p.m. UTC | #1
Hi Al,

On 4/12/2011 1:25 PM, Albert Chu wrote:
> The maximum number of nodes and switches allowed by ibsim was too small
> for some of our larger fabrics, so I increased the size.
> 
> Longer term, there shouldn't be a fixed size for these and the arrays
> should grow in size as needed, however I'll leave that for another day.

These are really just defaults. There are command line options to take
larger values. Maybe an ibsim man page would be nice...

-- Hal

> Al

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Al Chu April 12, 2011, 6:07 p.m. UTC | #2
On Tue, 2011-04-12 at 10:56 -0700, Hal Rosenstock wrote:
> Hi Al,
> 
> On 4/12/2011 1:25 PM, Albert Chu wrote:
> > The maximum number of nodes and switches allowed by ibsim was too small
> > for some of our larger fabrics, so I increased the size.
> > 
> > Longer term, there shouldn't be a fixed size for these and the arrays
> > should grow in size as needed, however I'll leave that for another day.
> 
> These are really just defaults. There are command line options to take
> larger values. Maybe an ibsim man page would be nice...

Ahh, I completely missed that.  I only looked at the options in the
ibsim prompt.  A manpage would be nice, but no worries, I'll live w/ the
options on the command line now that I know about it.

Thanks,

Al

> -- Hal
> 
> > Al
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/ibsim/sim.h b/ibsim/sim.h
index 5a8a92f..a4d68bf 100644
--- a/ibsim/sim.h
+++ b/ibsim/sim.h
@@ -37,8 +37,8 @@ 
 
 #include <infiniband/mad.h>
 
-#define MAXNETNODES	2048
-#define MAXNETSWITCHS	256
+#define MAXNETNODES	8192
+#define MAXNETSWITCHS	1024
 #define MAXNETPORTS	(MAXNETSWITCHS*36+MAXNETNODES*2)
 #define MAXNETALIASES	MAXNETPORTS