nrn icon indicating copy to clipboard operation
nrn copied to clipboard

Integration test for stressing inter-thread event transfer

Open pramodk opened this issue 4 years ago • 1 comments

As discussed in https://github.com/BlueBrain/CoreNeuron/pull/685#issuecomment-964279999, we need a test that we can use for validating inter-thread event transfer. For both purposes - better code coverage and also identify possible bugs from refactoring work like BlueBrain/CoreNeuron/pull/685.

Michael suggested adaptation of https://github.com/nrnhines/tqperf with 1) introduction of threads 2) in case of missing event, weight should be updated so that results can be different (currently weight is 0 and hence it doesn't affect the results much)

pramodk avatar Nov 09 '21 16:11 pramodk

tqperf for validation testing helped fix a bug #1533 I think it will be easy to extend to all the multisend variations. Testing would be less naive it was extended to verify event arrival and send times for each cell instead of just counts. The mod/invlfire needs a function like

shahash_add(string)

to incrementally add: gid, time, eventtype; everytime the cell receives and sends an event.

nrnhines avatar Nov 15 '21 19:11 nrnhines