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? 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> <<a href="mailto:Sunil.Mushran@oracle.com">Sunil.Mushran@oracle.com</a>> 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>> Hi all --<br>><br>> In the "what's new in OCFS2" document at<br>> <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>> it says that the 256 node limit is a software limit and could be<br>> lifted. Why is that limit there? Are there some algorithms that<br>> don't scale nicely with larger number of nodes? I'm guessing that
<br>> there is more to it than saving a byte of RAM in a few data structures.<br>><br>> Thanks,<br>> Bruce<br>><br>>------------------------------------------------------------------------<br>><br>>_______________________________________________
<br>>Ocfs2-devel mailing list<br>><a href="mailto:Ocfs2-devel@oss.oracle.com">Ocfs2-devel@oss.oracle.com</a><br>><a href="http://oss.oracle.com/mailman/listinfo/ocfs2-devel">http://oss.oracle.com/mailman/listinfo/ocfs2-devel
</a><br>><br>><br></blockquote></div><br>