[nengo-user] Multi-threading

Daniel Rasmussen dhrsmss at gmail.com
Wed Sep 10 15:21:54 EDT 2014


Hi Brian,

Here are some things to try, in order of how much effort they will take:

1) Make sure you are taking advantage of "quick mode", where possible (
http://www.nengo.ca/docs/html/quick.html).  Note that this will speed up
model creation speed, but not simulation speed.

2) Adjust the number of threads used by Nengo (
http://www.nengo.ca/javadoc/ca/nengo/util/impl/NodeThreadPool.html).  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.

3) Install scipy to speed up matrix operations (
http://www.nengo.ca/docs/html/advanced/large_ensembles.html).  This will
also only affect model creation speed, not simulation speed.

4) Install the CUDA drivers to run Nengo models on your GPU (
http://nengo.ca/docs/html/advanced/gpu.html).

There will also be a new release of Nengo coming soon that should provide
significant speed improvements (see
http://compneuro.uwaterloo.ca/publications/bekolay2014.html).

Daniel

On 10 September 2014 15:00, Brian Krainer <bkrainer731 at gmail.com> wrote:

> Hello,
>
> 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.
>
> Thanks!
>
> Brian
>
> _______________________________________________
> nengo-user mailing list
> nengo-user at ctnsrv.uwaterloo.ca
> http://ctnsrv.uwaterloo.ca/mailman/listinfo/nengo-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://artsservices.uwaterloo.ca/pipermail/nengo-user/attachments/20140910/96761325/attachment-0002.html>


More information about the nengo-user mailing list