Changes between Initial Version and Version 6 of Ticket #2933
- Timestamp:
- 03/07/19 19:22:20 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2933
- Property Owner set to jkarder
- Property Status changed from new to readytorelease
- Property Version changed from to trunk
-
Ticket #2933 – Description
initial v6 1 1 In #2822 it was possible that multiple optimizers in an experiment were started in parallel. This led to problems that many random seeds were initialized to the same value. For instance, if you have 4 algorithms in an experiment and you execute that with 4 workers each run is likely started with the same random seed resulting in identical runs. 2 2 3 To fix the issue it was suggested to introduce a small timelag, e.g. 20ms when starting the workers. This does not impact the performance a lot and should resolve the problem. 3 ~~To fix the issue it was suggested to introduce a small timelag, e.g. 20ms when starting the workers. This does not impact the performance a lot and should resolve the problem.~~ 4 5 The issue is fixed by implementing a static class RandomSeedGenerator which returns one seed after another from a static instance of System.Random that is guarded by a lock.