<html><head><base href="x-msg://273/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Dec 16, 2010, at 4:21 PM, Lo, Caleb K. wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div lang="EN-US" link="blue" vlink="purple"><div class="WordSection1" style="page: WordSection1; "><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Hi Henning and Markus,<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">                Thank you for your helpful replies and insights.<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: 0.5in; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">I did try running the test that I mentioned below (with olsr_switch) for olsrd-0.6.1, and I ran into the following error: “</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Error, cannot aquire [sic] OLSR lock ‘/var/run/olsrd-ipv4.lock’, Another OLSR instance might be running. OLSR EXIT:</span><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><span class="Apple-converted-space"> </span></span><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Terminated”<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: 0.5in; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">So I’m not sure if olsr_switch is compatible with the newer olsrd versions that you listed.  As for the seg fault error that I mentioned below, I’m wondering if by simply being more generous in the memory allocation of a few pertinent arrays, I can support more distinct olsrd processes.<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: 0.5in; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">At this point, my intention is to see how many distinct olsrd processes can be supported on a single Linux kernel.  Ideally I’d like to have 100 distinct olsrd processes running simultaneously on the same kernel; from browsing the olrsd website, it seemed that olsr_switch would be a useful tool for me in that regard.<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; text-indent: 0.5in; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">If my proposed bugfix (i.e. more generous memory allocation) doesn’t work, I’ll go with your suggestion of using olsrd-0.6.1 in conjunction with a few VMs.  I do see that Xen has been discussed on the mailing list, so that would be a good place for me to start:<span class="Apple-converted-space"> </span></span><a href="http://lists.olsr.org/pipermail/olsr-users/2009-April/003389.html" style="color: blue; text-decoration: underline; ">http://lists.olsr.org/pipermail/olsr-users/2009-April/003389.html</a><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-bottom: 0.0001pt; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); "><o:p> </o:p></span></div></div></div></span></blockquote><div><br></div>Caleb,</div><div>I had some success with UML (usermode Linux (with debian images)) and recently changed my setup to KVM (as by Henning's suggestions) (with openwrt images)</div><div>With UML I was able to start ~ 1000 instances with OLSR in parallel.</div><div>However, here you will notice quite some starvation (the linux kernels (and their respective scheduler inside each instance) in the UMLs dont' get enough CPU power . But - memory-wise it worked very well with UML. :)</div><div><br></div><div>I would assume with a decent quad core or hexacore  machine you would have no problems to run 100 openwrts + olsr in either a UML or KVM setup. I guess you can also do the same with Xen.</div><div><br></div><div>Caleb, also take a look at Cloonix: <a href="http://clownix.net/">http://clownix.net/</a></div><div>Cloonix rocks! It is very nice for experiments...</div><div><br></div><div><br></div></body></html>