most RAM efficient connections?

Moderator: wwlytton

Post Reply
rscorcio
Posts: 1
Joined: Wed Jan 09, 2008 1:34 pm

most RAM efficient connections?

Post by rscorcio »

I am looking for the most RAM efficient connection under NEURON. I want to simulate large (>200k) networks of either Integrate and Fire or McCulloch-Pitts units. These cases are usually RAM limited by the amount of connections.
I am using a simple hoc file (attached below) which requires ~150MB for 1M connections. This seems to indicate ~150 byte per connection (NetCon). Is this correct? Are there any other more efficient way to generate connections?

Thanks in advance for your help,
Ruggero

Code: Select all

load_file("nrngui.hoc") 

nsyn=1000000
weight=1

objref nc[nsyn], s,c

c=new IntFire1()

s = new NetStim(0.5)

for i=0, nsyn-1 {	
	nc[i] = new NetCon(s,c,0,0,weight*1.e-3)
}

tstop = 100
hines
Site Admin
Posts: 1600
Joined: Wed May 18, 2005 3:32 pm

Post by hines »

try reconfiguring (and then rebuilding)
using the configure argument
--disable-DiscreteEventObserver
And please let me know how much size reduction that achieved. Bill Lytton may also be able to comment on his attempts to reduce the NetCon footprint.
Post Reply