source: experiments/frams/multi-threading/test-mt.cmd @ 184

Last change on this file since 184 was 116, checked in by Maciej Komosinski, 11 years ago

scripts useful to evaluate efficiency of parallel simulation/evolution and to analyze influence of parallelization parameters

File size: 1.1 KB
RevLine 
[116]1
2for %%C in (5,10,25,50,100,200) do (
3for %%T in (1,2,3,4,5,6) do (
4
5rem real task: maximize fitness=velocity
6rem frams "ex standard-mt" "ExpParams.threads=%%T;" "ExpParams.capacity=%%C;" "UserScripts.script_Multithreading_efficiency_test(0,120,10);" -q >exp-evol-speed\test_%%T_%%C.out
7
8
9rem real task: maximize fitness=height
10rem TODO show_evol_vertpos.sim >exp-evol-height\...
11
12
13rem no mutation, no crossover, only cloning - so that the same genotype is always evaluated. Useful to measure "raw" efficiency of parallel computation
14frams "ex standard-mt" "ExpParams.threads=%%T;" "ExpParams.p_mut=0;" "ExpParams.p_xov=0;" "ExpParams.capacity=%%C;" "UserScripts.script_Multithreading_efficiency_test(0,6,10);" -q >exp-evol-speed-nochange\test_%%T_%%C.out
15
16
17rem same as above but with a bigger genotype, so that the time spent on script processing is relatively shorter, and more time is used for pure simulation
18frams "ex standard-mt" "ExpParams.threads=%%T;" "ExpParams.p_mut=0;" "ExpParams.p_xov=0;" "ExpParams.capacity=%%C;" "UserScripts.script_Multithreading_efficiency_test(6,6,10);" -q >exp-evol-speed-nochange-biggeno\test_%%T_%%C.out
19
20))
21
Note: See TracBrowser for help on using the repository browser.