<div dir="ltr"><div>Hi Brian,<br><br></div>Here are some things to try, in order of how much effort they will take:<br><br>1) Make sure you are taking advantage of "quick mode", where possible (<a href="http://www.nengo.ca/docs/html/quick.html">http://www.nengo.ca/docs/html/quick.html</a>). Note that this will speed up model creation speed, but not simulation speed.<br><div><div><br>2) Adjust the number of threads used by Nengo (<a href="http://www.nengo.ca/javadoc/ca/nengo/util/impl/NodeThreadPool.html">http://www.nengo.ca/javadoc/ca/nengo/util/impl/NodeThreadPool.html</a>). The optimal number will depend on your computer and your model, but you can just play around with different numbers and see what is fastest.<br><br></div><div>3) Install scipy to speed up matrix operations (<a href="http://www.nengo.ca/docs/html/advanced/large_ensembles.html">http://www.nengo.ca/docs/html/advanced/large_ensembles.html</a>). This will also only affect model creation speed, not simulation speed.<br><br></div><div>4) Install the CUDA drivers to run Nengo models on your GPU (<a href="http://nengo.ca/docs/html/advanced/gpu.html">http://nengo.ca/docs/html/advanced/gpu.html</a>).<br><br></div><div>There will also be a new release of Nengo coming soon that should provide significant speed improvements (see <a href="http://compneuro.uwaterloo.ca/publications/bekolay2014.html">http://compneuro.uwaterloo.ca/publications/bekolay2014.html</a>).<br><br></div><div>Daniel<br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 10 September 2014 15:00, Brian Krainer <span dir="ltr"><<a href="mailto:bkrainer731@gmail.com" target="_blank">bkrainer731@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello,<br><br>I've been running some simulations that have been taking a while, and I was wondering if there's anything I can do to speed up the simulation time.<br><br>Thanks!<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888">Brian<br></font></span></div>
<br>_______________________________________________<br>
nengo-user mailing list<br>
<a href="mailto:nengo-user@ctnsrv.uwaterloo.ca">nengo-user@ctnsrv.uwaterloo.ca</a><br>
<a href="http://ctnsrv.uwaterloo.ca/mailman/listinfo/nengo-user" target="_blank">http://ctnsrv.uwaterloo.ca/mailman/listinfo/nengo-user</a><br>
<br></blockquote></div><br></div>