[193] | 1 | |
---|
[463] | 2 | for %%C in (5,10,25,50,100,200,400,600) do ( |
---|
| 3 | for %%T in (1,2,3,4,5,6,7,8,9,10,11,12,16,20) do ( |
---|
[193] | 4 | |
---|
| 5 | rem real task: maximize fitness=velocity |
---|
[537] | 6 | rem frams "ex standard-mt" "ExpProperties.threads=%%T;" "ExpProperties.capacity=%%C;" "UserScripts.script_Multithreading_efficiency_test_args(0,120,10);" -q >exp-evol-speed\test_%%T_%%C.out |
---|
[193] | 7 | |
---|
| 8 | |
---|
| 9 | rem real task: maximize fitness=height |
---|
| 10 | rem TODO show_evol_vertpos.sim >exp-evol-height\... |
---|
| 11 | |
---|
| 12 | |
---|
| 13 | rem no mutation, no crossover, only cloning - so that the same genotype is always evaluated. Useful to measure "raw" efficiency of parallel computation |
---|
[537] | 14 | rem frams "ex standard-mt" "ExpProperties.threads=%%T;" "ExpProperties.p_mut=0;" "ExpProperties.p_xov=0;" "ExpProperties.capacity=%%C;" "UserScripts.script_Multithreading_efficiency_test_args(0,6,10);" -q >exp-evol-speed-nochange\test_%%T_%%C.out |
---|
[193] | 15 | |
---|
| 16 | |
---|
| 17 | rem 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 |
---|
[537] | 18 | rem frams "ex standard-mt" "ExpProperties.threads=%%T;" "ExpProperties.p_mut=0;" "ExpProperties.p_xov=0;" "ExpProperties.capacity=%%C;" "UserScripts.script_Multithreading_efficiency_test_args(6,6,10);" -q >exp-evol-speed-nochange-biggeno\test_%%T_%%C.out |
---|
[193] | 19 | |
---|
[463] | 20 | |
---|
| 21 | rem keep threads running and only cloning |
---|
[537] | 22 | frams "ex standard-mt" "ExpProperties.threads=%%T;" "ExpProperties.capacity=%%C;" "ExpProperties.p_mut=0;" "ExpProperties.p_xov=0;" "ExpProperties.keep_threads_running=1;" "UserScripts.script_Multithreading_efficiency_test_args(3,50,10);" -q >exp-evol-speed-nochange-keeprunning\test_%%T_%%C.out |
---|
[463] | 23 | |
---|
| 24 | |
---|
[193] | 25 | )) |
---|