Thanks.  From looking at the code it appears that the maximum
number of nodes are controlled by some #defines
(OCFS2_NODE_MAP_MAX_NODES, O2NM_MAX_NODES) and that bumping the number
up to something like 300 should be a simple matter.  There is a
note in the code that reads: "if we need more, we can do a kmalloc for
the map" which I would guess addresses the case where you'd want
thousands of nodes.<br>

<br>

Is my reading correct?&nbsp; And would it be a bad idea to try to set up a 300+ node OCFS2 system?<br>
<br>
Thanks,<br>
Bruce<br><br><div><span class="gmail_quote">On 7/5/05, <b class="gmail_sendername">Sunil Mushran</b> &lt;<a href="mailto:Sunil.Mushran@oracle.com">Sunil.Mushran@oracle.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
It's actually 255. Yes, that doc needs to be updated.<br><br>No, the algorithms did not play much role in setting this limit.<br>Guess, can say the limit is part arbitrary, part practical.<br>(That extra byte adds up pretty quickly.)
<br><br>Bruce Schwartz wrote:<br><br>&gt; Hi all --<br>&gt;<br>&gt; In the &quot;what's new in OCFS2&quot; document at<br>&gt; <a href="http://oss.oracle.com/projects/ocfs2/dist/documentation/ocfs2-whats-new.txt">http://oss.oracle.com/projects/ocfs2/dist/documentation/ocfs2-whats-new.txt
</a><br>&gt; it says that the 256 node limit is a software limit and could be<br>&gt; lifted.&nbsp;&nbsp;Why is that limit there?&nbsp;&nbsp;Are there some algorithms that<br>&gt; don't scale nicely with larger number of nodes?&nbsp;&nbsp;I'm guessing that
<br>&gt; there is more to it than saving a byte of RAM in a few data structures.<br>&gt;<br>&gt; Thanks,<br>&gt; Bruce<br>&gt;<br>&gt;------------------------------------------------------------------------<br>&gt;<br>&gt;_______________________________________________
<br>&gt;Ocfs2-devel mailing list<br>&gt;<a href="mailto:Ocfs2-devel@oss.oracle.com">Ocfs2-devel@oss.oracle.com</a><br>&gt;<a href="http://oss.oracle.com/mailman/listinfo/ocfs2-devel">http://oss.oracle.com/mailman/listinfo/ocfs2-devel
</a><br>&gt;<br>&gt;<br></blockquote></div><br>